Download data/lean/OAI/Geometry/CAT0Fillings/Calculus/VectorLimit.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.69 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CAT0Fillings/Calculus/VectorLimit.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/CAT0Fillings/Calculus/VectorLimit.lean
-
curl -L -o VectorLimit.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CAT0Fillings/Calculus/VectorLimit.lean
5.69 kB
| import Mathlib | |
| import OAI.Geometry.CAT0Fillings.Gradient.ClosedLinear | |
| import OAI.Geometry.CAT0Fillings.Gradient.Multiplier | |
| import OAI.Geometry.CAT0Fillings.Calculus.ClosedChain | |
| namespace OAI | |
| section | |
| open Set Filter MeasureTheory | |
| open scoped Topology ENNReal NNReal | |
| namespace CAT0Fillings.ClosedCalculus | |
| variable {Ξ± E : Type*} [MeasurableSpace Ξ±] {ΞΌ : Measure Ξ±} | |
| [NormedAddCommGroup E] [InnerProductSpace β E] | |
| lemma mulLp_tendsto_smul {b : β β Ξ± β β} {c : Ξ± β β} | |
| (hb : β j, AEStronglyMeasurable (b j) ΞΌ) (hc : AEStronglyMeasurable c ΞΌ) | |
| {C : β} (_hC : 0 β€ C) | |
| (hbC : β j, βα΅ x βΞΌ, |b j x| β€ C) (hcC : βα΅ x βΞΌ, |c x| β€ C) | |
| (h : Lp E 2 ΞΌ) | |
| (hbc : βα΅ x βΞΌ, Tendsto (fun j => b j x β’ h x) atTop (π (c x β’ h x))) : | |
| Tendsto (fun j => mulLp (hb j) (hbC j) h) atTop (π (mulLp hc hcC h)) := by | |
| have hfixed : Tendsto (fun j => mulLp (hb j) (hbC j) h-mulLp hc hcC h) atTop (π 0) := by | |
| apply l2_tendsto_zero_of_bound _ (fun x => 2*C*βh xβ) | |
| Β· have hi := (Lp.memLp h).integrable_norm_pow (by norm_num : (2:β) β 0) | |
| convert hi.const_mul ((2*C)^2) using 1 | |
| funext x | |
| ring | |
| Β· intro j | |
| filter_upwards [Lp.coeFn_sub (mulLp (hb j) (hbC j) h) (mulLp hc hcC h), | |
| mulLp_ae (hb j) (hbC j) h,mulLp_ae hc hcC h,hbC j,hcC] with x hs hb hc hbC hcC | |
| rw [hs,Pi.sub_apply,hb,hc,βsub_smul,norm_smul,Real.norm_eq_abs] | |
| exact mul_le_mul_of_nonneg_right ((abs_sub (b j x) (c x)).trans (by linarith)) (norm_nonneg _) | |
| Β· have hall : βα΅ x βΞΌ, β j, (mulLp (hb j) (hbC j) h-mulLp hc hcC h) x = | |
| (b j x-c x) β’ h x := by | |
| apply ae_all_iff.mpr | |
| intro j | |
| filter_upwards [Lp.coeFn_sub (mulLp (hb j) (hbC j) h) (mulLp hc hcC h), | |
| mulLp_ae (hb j) (hbC j) h,mulLp_ae hc hcC h] with x hs hb hc | |
| rw [hs,Pi.sub_apply,hb,hc,sub_smul] | |
| filter_upwards [hall,hbc] with x he hx | |
| simp_rw [he,sub_smul] | |
| simpa only [sub_self] using hx.sub_const (c x β’ h x) | |
| have hf := hfixed.add_const (mulLp hc hcC h) | |
| simpa only [sub_add_cancel,zero_add] using hf | |
| end CAT0Fillings.ClosedCalculus | |
| namespace CAT0Fillings.ChartGeometry | |
| variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] | |
| [CompactSpace X] [Nonempty X] {k : β} {T : Functional X (k+1)} | |
| {hT : IsMetricCurrent T} (q : ChartGeometry hT) | |
| lemma closed_chain_uniform_smul {F D : β β β} {J : ββ₯0} (hF : LipschitzWith J F) | |
| (hD : Measurable D) {C : β} (hC : 0 β€ C) (hbD : β t, |D t| β€ C) | |
| (Fj Dj : β β β β β) (K : β β ββ₯0) | |
| (hFj : β j, LipschitzWith (K j) (Fj j)) | |
| (hdj : β j t, HasDerivAt (Fj j) (Dj j t) t) | |
| (hcj : β j, Continuous (Dj j)) (hbj : β j t, |Dj j t| β€ C) | |
| (a : β β β) (ha : Tendsto a atTop (π 0)) | |
| (he : β j t, |Fj j t-F t| β€ a j) (P : q.Sobolev) | |
| (hdlim : βα΅ w βq.atlasMeasure, Tendsto | |
| (fun j => Dj j ((q.inclusion P) (q.atlasParam w)) β’ (q.closedGradient P) w) atTop | |
| (π (D ((q.inclusion P) (q.atlasParam w)) β’ (q.closedGradient P) w))) : | |
| β Q : q.Sobolev, | |
| (q.inclusion Q : X β β) =α΅[MassMeasure.currentMassMeasure hT] | |
| (fun x => F ((q.inclusion P) x)) β§ | |
| (q.closedGradient Q : (β Γ Euc (k+1)) β Euc (k+1)) =α΅[q.atlasMeasure] | |
| (fun w => D ((q.inclusion P) (q.atlasParam w)) β’ (q.closedGradient P) w) := by | |
| choose Q hQ hG using (fun j => q.closed_chain (hFj j) (hdj j) (hcj j) hC (hbj j) P) | |
| let b (j : β) (w : β Γ Euc (k+1)) := Dj j ((q.inclusion P) (q.atlasParam w)) | |
| let c (w : β Γ Euc (k+1)) := D ((q.inclusion P) (q.atlasParam w)) | |
| have hpm := (Lp.aestronglyMeasurable (q.inclusion P)).comp_measurePreserving q.atlas_preserving | |
| have hb (j : β) : AEStronglyMeasurable (b j) q.atlasMeasure := (hcj j).comp_aestronglyMeasurable hpm | |
| have hc : AEStronglyMeasurable c q.atlasMeasure := (hD.comp_aemeasurable hpm.aemeasurable).aestronglyMeasurable | |
| have hbC (j : β) : βα΅ w βq.atlasMeasure, |b j w| β€ C := Eventually.of_forall fun _ => hbj j _ | |
| have hcC : βα΅ w βq.atlasMeasure, |c w| β€ C := Eventually.of_forall fun _ => hbD _ | |
| have hgl := ClosedCalculus.mulLp_tendsto_smul hb hc hC hbC hcC (q.closedGradient P) hdlim | |
| have heG (j : β) : ClosedCalculus.mulLp (hb j) (hbC j) (q.closedGradient P) = q.closedGradient (Q j) := by | |
| apply Lp.ext | |
| exact (ClosedCalculus.mulLp_ae (hb j) (hbC j) _).trans (hG j).symm | |
| simp only [heG] at hgl | |
| let V := q.composeValue hF (q.inclusion P) | |
| have hv : Tendsto (fun j => q.inclusion (Q j)) atTop (π V) := by | |
| apply tendsto_iff_norm_sub_tendsto_zero.mpr | |
| apply squeeze_zero (fun _ => norm_nonneg _) | |
| (g := fun j => a j*βvalue (hT := hT) (LipschitzWith.const (1:β))β) | |
| Β· intro j | |
| apply Lp.norm_le_mul_norm_of_ae_le_mul | |
| filter_upwards [Lp.coeFn_sub (q.inclusion (Q j)) V,hQ j,q.composeValue_ae hF (q.inclusion P), | |
| ((Foundations.boundedLip_of_lipschitz (LipschitzWith.const (1:β))).memLp | |
| (ΞΌ := MassMeasure.currentMassMeasure hT) 2).coeFn_toLp] with x hs hq hv h1 | |
| change (value (hT := hT) (LipschitzWith.const (1:β)) : X β β) x = 1 at h1 | |
| rw [hs,Pi.sub_apply,hq,hv,h1,Real.norm_eq_abs,norm_one,mul_one] | |
| exact he j _ | |
| Β· simpa only [zero_mul] using ha.mul_const βvalue (hT := hT) (LipschitzWith.const (1:β))β | |
| obtain β¨R,hR,hRGβ© := q.closedGradient_closed V (ClosedCalculus.mulLp hc hcC (q.closedGradient P)) Q hv hgl | |
| refine β¨R,?_,?_β© | |
| Β· rw [hR] | |
| exact q.composeValue_ae hF (q.inclusion P) | |
| Β· rw [hRG] | |
| exact ClosedCalculus.mulLp_ae hc hcC _ | |
| end CAT0Fillings.ChartGeometry | |
| end | |
| end OAI | |