Skip to content

Commit b2a5b0e

Browse files
committed
feat(MeasureTheory): prove strong measurability for inner regular measures
1 parent 1bcfaaa commit b2a5b0e

1 file changed

Lines changed: 75 additions & 1 deletion

File tree

Mathlib/MeasureTheory/Function/StronglyMeasurable/InnerRegular.lean

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ Authors: Yongxi Lin
66
module
77

88
public import Mathlib.MeasureTheory.Function.StronglyMeasurable.AEStronglyMeasurable
9+
public import Mathlib.MeasureTheory.Measure.Regular
910
public import Mathlib.Topology.DiscreteFamily
1011

1112
import Mathlib.Data.Set.Card
1213
import Mathlib.Data.Finset.Max
1314
import Mathlib.Analysis.Real.Cardinality
15+
import Mathlib.MeasureTheory.Function.LusinContinuous
1416
import Mathlib.MeasureTheory.Integral.Lebesgue.Add
15-
import Mathlib.MeasureTheory.Measure.Regular
1617
import Mathlib.MeasureTheory.Measure.Real
1718
import Mathlib.Order.Filter.CardinalInter
1819
import Mathlib.Order.Filter.Ultrafilter.Basic
@@ -1194,6 +1195,42 @@ private theorem Measure.measure_iUnion_eq_zero_of_pairwiseDisjoint_of_lusin_aux
11941195
· exact μ.measure_iUnion_eq_zero_of_pairwiseDisjoint_of_splits_aux A hA hAmeas hLusin hsplit
11951196
· exact μ.measure_iUnion_eq_zero_of_pairwiseDisjoint_of_atom_aux A hA hnull hAmeas hatom
11961197

1198+
/-- An arbitrary union of a pairwise disjoint family of null sets is null if every subunion is
1199+
measurable and the finite measure is compact-inner-regular. -/
1200+
theorem Measure.measure_iUnion_eq_zero_of_pairwiseDisjoint
1201+
[TopologicalSpace X] [OpensMeasurableSpace X] [T2Space X]
1202+
[IsFiniteMeasure μ] [μ.InnerRegularCompactLTTop] {i : Type u} (A : i → Set X)
1203+
(hA : Pairwise (Disjoint on A)) (hnull : ∀ j, μ (A j) = 0)
1204+
(hAmeas : ∀ s : Set i, MeasurableSet (⋃ j ∈ s, A j)) :
1205+
μ (⋃ j, A j) = 0 := by
1206+
apply μ.measure_iUnion_eq_zero_of_pairwiseDisjoint_of_lusin_aux A hA hnull hAmeas
1207+
intro g hg U hUmeas hUpos
1208+
obtain ⟨K, hKU, hKcompact, hgK, hUK⟩ :=
1209+
Measurable.exists_isCompact_continuousOn μ hg hUmeas (measure_ne_top μ U) hUpos
1210+
refine ⟨K, hKU, hKcompact, hgK, ?_⟩
1211+
rw [pos_iff_ne_zero]
1212+
intro hKzero
1213+
rw [measure_sdiff_null hKzero] at hUK
1214+
exact hUK.false
1215+
1216+
/-- The measure of an arbitrary measurable union of pairwise disjoint sets is the sum of their
1217+
measures for a finite compact-inner-regular measure. -/
1218+
theorem Measure.measure_iUnion_eq_tsum_of_pairwiseDisjoint
1219+
[TopologicalSpace X] [OpensMeasurableSpace X] [T2Space X]
1220+
[IsFiniteMeasure μ] [μ.InnerRegularCompactLTTop] {i : Type u} (s : i → Set X)
1221+
(hdisj : Pairwise (Disjoint on s))
1222+
(hmeas : ∀ I : Set i, MeasurableSet (⋃ j ∈ I, s j)) :
1223+
μ (⋃ j, s j) = ∑' j, μ (s j) := by
1224+
refine μ.measure_iUnion_eq_tsum_of_pairwiseDisjoint_of_null s hdisj hmeas ?_
1225+
let i₀ := {j | μ (s j) = 0}
1226+
refine μ.measure_iUnion_eq_zero_of_pairwiseDisjoint (fun j : i₀ ↦ s j)
1227+
(fun j k hjk ↦ hdisj fun hjk' ↦ hjk (Subtype.ext hjk')) (fun j ↦ j.2) ?_
1228+
intro I
1229+
convert hmeas ((↑) '' I) using 1
1230+
ext x
1231+
simp only [mem_iUnion, mem_image, Subtype.exists, exists_and_right, exists_eq_right]
1232+
aesop
1233+
11971234
omit [PseudoMetrizableSpace Y] in
11981235
private theorem measure_preimage_iUnion_null_of_discreteFamily_aux [SFinite μ]
11991236
(hf : Measurable f) {b : Set (Set Y)} (hb_open : ∀ U ∈ b, IsOpen U)
@@ -1357,4 +1394,41 @@ theorem aestronglyMeasurable_iff_aemeasurable_of_iUnion_null [SFinite μ]
13571394
⟨AEStronglyMeasurable.aemeasurable,
13581395
fun hf ↦ AEMeasurable.aestronglyMeasurable_of_iUnion_null hf hnull⟩
13591396

1397+
/-- A measurable map into a pseudometrizable Borel space has an almost everywhere closed separable
1398+
range with respect to a finite compact-inner-regular measure. -/
1399+
theorem Measurable.exists_isClosed_isSeparable_ae_mem
1400+
[TopologicalSpace X] [OpensMeasurableSpace X] [T2Space X]
1401+
[IsFiniteMeasure μ] [μ.InnerRegularCompactLTTop] (hf : Measurable f) :
1402+
∃ s : Set Y, IsClosed s ∧ IsSeparable s ∧ ∀ᵐ x ∂μ, f x ∈ s :=
1403+
Measurable.exists_isClosed_isSeparable_ae_mem_of_iUnion_null hf fun s hdisj hnull hmeas ↦
1404+
μ.measure_iUnion_eq_zero_of_pairwiseDisjoint s hdisj hnull hmeas
1405+
1406+
/-- An almost everywhere measurable map into a pseudometrizable Borel space has an almost
1407+
everywhere closed separable range with respect to a finite compact-inner-regular measure. -/
1408+
theorem AEMeasurable.exists_isClosed_isSeparable_ae_mem
1409+
[TopologicalSpace X] [OpensMeasurableSpace X] [T2Space X]
1410+
[IsFiniteMeasure μ] [μ.InnerRegularCompactLTTop] (hf : AEMeasurable f μ) :
1411+
∃ s : Set Y, IsClosed s ∧ IsSeparable s ∧ ∀ᵐ x ∂μ, f x ∈ s :=
1412+
AEMeasurable.exists_isClosed_isSeparable_ae_mem_of_iUnion_null hf fun s hdisj hnull hmeas ↦
1413+
μ.measure_iUnion_eq_zero_of_pairwiseDisjoint s hdisj hnull hmeas
1414+
1415+
/-- Almost everywhere measurable maps into pseudometrizable Borel spaces are almost everywhere
1416+
strongly measurable with respect to finite compact-inner-regular measures. -/
1417+
theorem AEMeasurable.aestronglyMeasurable_of_innerRegular
1418+
[TopologicalSpace X] [OpensMeasurableSpace X] [T2Space X]
1419+
[IsFiniteMeasure μ] [μ.InnerRegularCompactLTTop] (hf : AEMeasurable f μ) :
1420+
AEStronglyMeasurable f μ := by
1421+
refine aestronglyMeasurable_iff_aemeasurable_separable.2 ⟨hf, ?_⟩
1422+
obtain ⟨s, -, hs, hfs⟩ := AEMeasurable.exists_isClosed_isSeparable_ae_mem hf
1423+
exact ⟨s, hs, hfs⟩
1424+
1425+
/-- Almost everywhere strong measurability and almost everywhere measurability agree for maps into
1426+
pseudometrizable Borel spaces with respect to finite compact-inner-regular measures. -/
1427+
theorem aestronglyMeasurable_iff_aemeasurable_of_innerRegular
1428+
[TopologicalSpace X] [OpensMeasurableSpace X] [T2Space X]
1429+
[IsFiniteMeasure μ] [μ.InnerRegularCompactLTTop] :
1430+
AEStronglyMeasurable f μ ↔ AEMeasurable f μ :=
1431+
⟨AEStronglyMeasurable.aemeasurable,
1432+
AEMeasurable.aestronglyMeasurable_of_innerRegular⟩
1433+
13601434
end MeasureTheory

0 commit comments

Comments
 (0)