Download data/lean/OAI/Analysis/CircleDomains/Modulus/CriticalFiberLength.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.11 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/CircleDomains/Modulus/CriticalFiberLength.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/CircleDomains/Modulus/CriticalFiberLength.lean
-
curl -L -o CriticalFiberLength.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/CircleDomains/Modulus/CriticalFiberLength.lean
5.11 kB
| import OAI.Analysis.CircleDomains.Sobolev.LipschitzLengthFiberMajorant | |
| import OAI.Analysis.CircleDomains.Sobolev.LocalDerivativeCover | |
| import Mathlib.MeasureTheory.Measure.Lebesgue.Complex | |
| namespace OAI | |
| /-! Critical points of a C1 scalar planar map contribute zero fiber length | |
| for almost every level. No assertion that C1 critical values have measure | |
| zero is used. -/ | |
| open Set Function Filter MeasureTheory Metric | |
| open scoped ENNReal NNReal Topology Classical | |
| noncomputable section | |
| namespace CircleDomainRigidity | |
| lemma critical_fiber_majorant | |
| {D : Set ā} (hD : IsOpen D) {f : ā ā ā} (hf : ContDiffOn ā 1 f D) | |
| {A : Set ā} (hA : MeasurableSet A) (hAD : A ā D) | |
| (hAfin : (μH[2] : Measure ā) A < ā) | |
| (hcrit : ā x ā A, fderiv ā f x = 0) (ε : āā„0) (hε : 0 < ε) : | |
| ā G : ā ā āā„0ā, Measurable G ā§ | |
| (ā y, (μH[1] : Measure ā) (A ā© f ā»Ā¹' {y}) ⤠G y) ā§ | |
| (ā«ā» y, G y) ⤠(ε : āā„0ā) * (μH[2] : Measure ā) A := by | |
| obtain āØU, L, hU, hcover, hUD, hLip, hnormā© := | |
| exists_countable_derivative_cover hD hf (show (0 : ā) < ε from hε) | |
| let P : ā ā Set ā := fun n => A ā© disjointed U n | |
| have hP : ā n, MeasurableSet (P n) := fun n => | |
| hA.inter (MeasurableSet.disjointed (fun j => (hU j).measurableSet) n) | |
| have hPA : ā n, P n ā A := fun _ => inter_subset_left | |
| have hPU : ā n, P n ā U n := fun n => inter_subset_right.trans (disjointed_subset U n) | |
| have hdj : Pairwise (Disjoint on P) := fun i j hij => | |
| (disjoint_disjointed U hij).mono inter_subset_right inter_subset_right | |
| have heqA : (ā n, P n) = A := by | |
| dsimp only [P] | |
| rw [ā inter_iUnion, iUnion_disjointed, inter_eq_left.mpr (hAD.trans hcover)] | |
| have hLP : ā n, LipschitzOnWith ε f (P n) := by | |
| intro n | |
| apply lipschitzOnWith_iff_dist_le_mul.mpr | |
| intro a ha b hb | |
| have hL : (L n : ā) ⤠ε := by | |
| have h := hnorm n a (hPU n ha) | |
| simpa only [hcrit a (hPA n ha), norm_zero, zero_add] using h | |
| exact ((hLip n).dist_le_mul a (hPU n ha) b (hPU n hb)).trans | |
| (mul_le_mul_of_nonneg_right hL (dist_nonneg)) | |
| choose g hg heq using fun n => (hLP n).extend_real | |
| have hfin : ā n, (μH[2] : Measure ā) (P n) < ā := fun n => | |
| (measure_mono (hPA n)).trans_lt hAfin | |
| choose G hG hbound hint using fun n => | |
| exists_exact_lipschitz_length_fiber_majorant (P n) (hfin n) ε (g n) (hg n) | |
| have heqfiber : ā n y, P n ā© (g n) ā»Ā¹' {y} = P n ā© f ā»Ā¹' {y} := by | |
| intro n y | |
| ext x | |
| by_cases hx : x ā P n | |
| Ā· simp only [mem_inter_iff, hx, true_and, mem_preimage, mem_singleton_iff, ā heq n hx] | |
| Ā· simp only [mem_inter_iff, hx, false_and] | |
| refine āØfun y => ā' n, G n y, Measurable.tsum hG, ?_, ?_ā© | |
| Ā· intro y | |
| calc | |
| (μH[1] : Measure ā) (A ā© f ā»Ā¹' {y}) = | |
| (μH[1] : Measure ā) (ā n, P n ā© f ā»Ā¹' {y}) := by rw [ā iUnion_inter, heqA] | |
| _ ⤠ā' n, (μH[1] : Measure ā) (P n ā© f ā»Ā¹' {y}) := measure_iUnion_le _ | |
| _ ⤠ā' n, G n y := ENNReal.tsum_le_tsum (fun n => by rw [ā heqfiber]; exact hbound n y) | |
| Ā· rw [lintegral_tsum (fun n => (hG n).aemeasurable)] | |
| calc | |
| (ā' n, ā«ā» y, G n y) ⤠ā' n, (ε : āā„0ā) * (μH[2] : Measure ā) (P n) := | |
| ENNReal.tsum_le_tsum hint | |
| _ = (ε : āā„0ā) * (μH[2] : Measure ā) A := by | |
| rw [ENNReal.tsum_mul_left, ā measure_iUnion hdj hP, heqA] | |
| lemma ae_zero_critical_fiber_length | |
| {D : Set ā} (hD : IsOpen D) {f : ā ā ā} (hf : ContDiffOn ā 1 f D) | |
| {A : Set ā} (hA : MeasurableSet A) (hAD : A ā D) | |
| (hAfin : (μH[2] : Measure ā) A < ā) | |
| (hcrit : ā x ā A, fderiv ā f x = 0) : | |
| āįµ y, (μH[1] : Measure ā) (A ā© f ā»Ā¹' {y}) = 0 := by | |
| let ε : ā ā āā„0 := fun n => āØ1 / (n + 1 : ā), by positivityā© | |
| have hε : ā n, 0 < ε n := fun n => by change (0 : ā) < 1 / (n + 1 : ā); positivity | |
| choose G hG hbound hint using fun n => critical_fiber_majorant hD hf hA hAD hAfin hcrit (ε n) (hε n) | |
| let H : ā ā āā„0ā := fun y => ⨠n, G n y | |
| have hH : Measurable H := Measurable.iInf hG | |
| have hεlim : Tendsto (fun n => (ε n : āā„0ā)) atTop (š 0) := by | |
| have h := ENNReal.continuous_ofReal.continuousAt.tendsto.comp | |
| (tendsto_one_div_add_atTop_nhds_zero_nat (š := ā)) | |
| have heq : (fun n => (ε n : āā„0ā)) = fun n : ā => ENNReal.ofReal (1 / (n + 1 : ā)) := by | |
| funext n | |
| exact (ENNReal.ofReal_eq_coe_nnreal (by positivity)).symm | |
| rw [heq] | |
| simpa only [ENNReal.ofReal_zero, Function.comp_def] using h | |
| have hintH : (ā«ā» y, H y) = 0 := by | |
| apply le_antisymm _ bot_le | |
| have ht := ENNReal.Tendsto.mul_const hεlim (Or.inr hAfin.ne) | |
| simp only [zero_mul] at ht | |
| apply ge_of_tendsto' ht | |
| intro n | |
| exact (lintegral_mono (fun y => iInf_le (fun k => G k y) n)).trans (hint n) | |
| filter_upwards [(lintegral_eq_zero_iff hH).mp hintH] with y hy | |
| apply le_antisymm _ bot_le | |
| change H y = 0 at hy | |
| exact (le_iInf (fun n => hbound n y)).trans_eq hy | |
| end CircleDomainRigidity | |
| end | |
| end OAI | |