cfahlgren1/math / lean /OAI /MeasureTheory /Falconer /Measures /FirstExclusionMass.lean
cfahlgren1's picture
download
raw
1.79 kB
12
def firstExclusion (E : ℕ → Set X) (n : ℕ) : Set X :=
body · 1 line
  E n \ ⋃ j ∈ Finset.range n, E j
15
theorem measurableSet_firstExclusion (E : ℕ → Set X)
    (hE : ∀ n, MeasurableSet (E n)) (n : ℕ) : MeasurableSet (firstExclusion E n) :=
proof · 1 line
  (hE n).diff (Finset.measurableSet_biUnion _ (fun j _ => hE j))
20
theorem union_exclusion_subset_initial_first (E : ℕ → Set X) (K : ℕ) :
    (⋃ n, E n) ⊆ (⋃ j ∈ Finset.range K, E j) ∪ ⋃ n, firstExclusion E (K+n) := by
proof · 16 lines
  classical
  intro x hx
  have hex : ∃ n, x ∈ E n := mem_iUnion.mp hx
  let N := Nat.find hex
  have hN : x ∈ E N := Nat.find_spec hex
  by_cases hNK : N < K
  · exact Or.inl (mem_iUnion₂.mpr ⟨N,Finset.mem_range.mpr hNK,hN⟩)
  · have hKN : K ≤ N := Nat.le_of_not_gt hNK
    apply Or.inr
    apply mem_iUnion.mpr
    refine ⟨N-K,?_⟩
    rw [Nat.add_sub_of_le hKN]
    refine ⟨hN,?_⟩
    intro hprev
    obtain ⟨j,hj,hxj⟩ := mem_iUnion₂.mp hprev
    exact Nat.find_min hex (Finset.mem_range.mp hj) hxj
39
theorem union_exclusion_mass (μ : Measure X) (E : ℕ → Set X) (K : ℕ)
    {A : ℝ≥0∞} (cost : ℕ → ℝ≥0∞)
    (hinit : μ (⋃ j ∈ Finset.range K, E j) ≤ A)
    (hlate : ∀ n, μ (firstExclusion E (K+n)) ≤ cost n) :
    μ (⋃ n, E n) ≤ A+∑' n, cost n := by
proof · 3 lines
  apply (measure_mono (union_exclusion_subset_initial_first E K)).trans
  apply (measure_union_le _ _).trans
  exact add_le_add hinit ((measure_iUnion_le _).trans (ENNReal.tsum_le_tsum hlate))

Xet Storage Details

Size:
1.79 kB
·
Xet hash:
cd1940a3c12f0d43917b0e4e5a9c21473a368102aacbf989ff2da59d839fdd37

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.