Skip to content

Commit e528b6f

Browse files
committed
chore(MeasureTheory): update the Lusin dependency
1 parent 3490c98 commit e528b6f

1 file changed

Lines changed: 4 additions & 41 deletions

File tree

Mathlib/MeasureTheory/Function/LusinContinuous.Lean

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -61,22 +61,6 @@ open MeasureTheory NNReal ENNReal Topology Set Filter TopologicalSpace
6161

6262
variable {α β ι : Type*} {m : MeasurableSpace α} {μ : Measure α} {p : Set α → Prop}
6363

64-
section prereq
65-
66-
variable [TopologicalSpace α] [TopologicalSpace β]
67-
68-
theorem _root_.Set.iInter_eq_empty_of_eq_empty {i : ι} {f : ι → Set β} (h : f i = ∅) :
69-
⋂ j, f j = ∅ :=
70-
subset_eq_empty (iInter_subset _ i) h
71-
72-
theorem _root_.Set.iUnion_symmDiff_iUnion_subset {f g : ι → Set β} :
73-
(⋃ n, f n) ∆ ⋃ n, g n ⊆ ⋃ n, f n ∆ g n := by
74-
intro
75-
simp_all [symmDiff]
76-
grind
77-
78-
end prereq
79-
8064
namespace MeasureTheory
8165

8266
namespace Measure
@@ -390,8 +374,10 @@ instance [μ.OuterRegular] [SigmaFinite μ] : μ.Smooth where
390374
refine ⟨⋃ n, U n, isOpen_iUnion ho, ?_⟩
391375
calc
392376
_ = μ ((⋃ n, U n) \ A) := by
393-
suffices ⋃ i, (spanningSets μ i) ∩ A ⊆ ⋃ i, U i from by simp_all [← iUnion_inter, symmDiff]
394-
exact iUnion_mono'' hsub
377+
have hAU : A ⊆ ⋃ i, U i := by
378+
have h : ⋃ i, spanningSets μ i ∩ A ⊆ ⋃ i, U i := iUnion_mono'' hsub
379+
simpa only [← iUnion_inter, iUnion_spanningSets, univ_inter] using h
380+
simp [symmDiff_def, sdiff_eq_empty.2 hAU]
395381
_ ≤ ∑' n, μ (U n \ A) := by simp [iUnion_diff, measure_iUnion_le]
396382
_ ≤ ∑' n, μ (U n \ (((spanningSets μ n) ∩ A))) := by gcongr; exact inter_subset_right
397383
_ ≤ ∑' (n : ℕ), r * 2 ^ (-1 - n : ℤ) := by gcongr; apply hle
@@ -485,29 +471,6 @@ theorem _root_.PerfectlyNormalSpace.smooth_of_finiteSpanningSetsInOpen [Perfectl
485471
_ ≤ ∑' (n : ℕ), r * 2 ^ (-1 - n : ℤ) := by gcongr; apply hle
486472
_ = _ := by simp [ENNReal.tsum_mul_left, ENNReal.tsum_two_zpow_neg_add_one]
487473

488-
@[simp]
489-
lemma isTopologicalBasis_empty : IsTopologicalBasis {(∅ : Set α)} ↔ IsEmpty α where
490-
mp h := by simpa using h.diff_empty
491-
mpr h := ⟨by simp, by simp [Set.univ_eq_empty_iff.2], Subsingleton.elim ..⟩
492-
493-
theorem _root_.TopologicalSpace.exists_seq_basis (β) [TopologicalSpace β]
494-
[SecondCountableTopology β] :
495-
∃ b : ℕ → Set β, IsTopologicalBasis (range b) := by
496-
obtain ⟨t, ht⟩ := TopologicalSpace.exists_countable_basis β
497-
by_cases! hn : t.Nonempty
498-
· obtain ⟨b, rfl⟩ := ht.1.exists_eq_range hn
499-
exact ⟨b, ht.2.2
500-
· exact ⟨fun n => ∅, by simp_all⟩
501-
502-
theorem _root_.TopologicalSpace.IsTopologicalBasis.continuousOn_iff {b : Set (Set β)}
503-
(hb : IsTopologicalBasis b) (f : α → β) (s : Set α) :
504-
ContinuousOn f s ↔ ∀ t ∈ b, ∃ u, IsOpen u ∧ f ⁻¹' t ∩ s = u ∩ s := by
505-
rw [continuousOn_iff']
506-
refine ⟨fun h t ht => h t (hb.isOpen ht), fun h t ht => ?_⟩
507-
obtain ⟨ι, g, rfl, hg⟩ := hb.open_eq_iUnion ht
508-
choose v hv he using (fun i => h (g i) (hg i))
509-
exact ⟨⋃ i, v i, isOpen_iUnion hv, by simp_all [iUnion_inter]⟩
510-
511474
/-- **Lusin's theorem**: if `f : α → β` is a measurable function, `μ` is smooth, and `β` is second
512475
countable, then for all `ε > 0`, there exists a measurable set `s` such that `μ sᶜ ≤ ε` and the
513476
restriction of `f` onto `s` is continuous. -/

0 commit comments

Comments
 (0)