Buckets:
cfahlgren1/math / lean /OAI /Analysis /BiholderTransport /LinearAlgebra /NormalRelativeHessianBound.lean
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Regularity.NormLower | |
| import OAI.Analysis.BiholderTransport.LinearAlgebra.ActualRelativeHessianBound | |
| import OAI.Analysis.BiholderTransport.Coordinates.CoordinateTrueLog | |
| namespace OAI | |
| section | |
| section | |
| noncomputable section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff BoundedContinuousFunction | |
| namespace WeakMTWTransport | |
| section NormalRelativeHessianBound | |
| variable {n : β} {M : Type*} [MetricSpace M] [CompactSpace M] [Nonempty M] | |
| [ChartedSpace (Model n) M] [IsManifold π(β,Model n) β M] | |
| [RiemannianBundle (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsContMDiffRiemannianBundle π(β,Model n) β (Model n) | |
| (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsRiemannianManifold π(β,Model n) M] | |
| [MeasurableSpace M] [BorelSpace M] | |
| lemma WeakMTW.exists_normal_relative_hessian_bound (hmtw : WeakMTW (n := n) (M := M)) | |
| {lam cap : β} (hlam : 0 < lam) (hcap : 0 β€ cap) {a : M} | |
| {p : TangentSpace π(β,Model n) a} (hp : pβinjectivityDomain a) | |
| {m : β} (hm : 0 < m) : | |
| β Cβ₯0, β (x0 : M) (uv : (M βα΅ β)Γ(M βα΅ β)), | |
| uvβdensityDualClass (metricVolume n) lam cap x0 β | |
| β Ο : TangentSpace π(β,Model n) a β β, | |
| ContDiffAt β 2 Ο 0 β fderiv β Ο 0=innerSL β p β uv.1 a=Ο 0 β | |
| (βαΆ w in π 0,Ο wβ€uv.1 (riemannianExp a w)) β | |
| (β d,m*βdβ^2β€fderiv β (fderiv β Ο) 0 d d+hessianValue a p d) β | |
| β d,fderiv β (fderiv β Ο) 0 d d+hessianValue a p dβ€C*βdβ^2 := by | |
| let z := extChartAt π(β,Model n) a a | |
| let V := TangentSpace π(β,Model n) a | |
| let : FiniteDimensional β (TangentSpace π(β,Model n) a) := inferInstanceAs (FiniteDimensional β (Model n)) | |
| let c := normalCost a p | |
| obtain β¨L,hLreg,hLb,hLDβ© := exists_chart_covector_for_log hp | |
| obtain β¨e,he,he0,hei,hiβ© := exists_smooth_chart_fiber_log (a := a) | |
| (zero_mem_injectivityDomain (n := n) a) | |
| (by simpa only [riemannianExp_zero] using mem_extChartAt_source (I := π(β,Model n)) a) | |
| simp only [riemannianExp_zero] at he he0 hei hi | |
| change ContDiffAt β β e z at he | |
| change e z=0 at he0 | |
| change Function.Injective (fderiv β e z) at hi | |
| have he2 : ContDiffAt β 2 e z := he.of_le (ENat.natCast_le_of_coe_top_le_withTop le_rfl 2) | |
| obtain β¨k,hk,Hkβ© := exists_norm_sq_lower_of_injective (fderiv β e z) hi | |
| have hsur : Function.Surjective (fderiv β e z) := | |
| (LinearMap.injective_iff_surjective_of_finrank_eq_finrank (by rfl)).mp hi | |
| obtain β¨C,hC,HCβ© := hmtw.exists_relative_hessian_bound hlam hcap a L hLreg (mul_pos hm hk) | |
| refine β¨C/k,div_nonneg hC hk.le,?_β© | |
| intro x0 uv huv Ο hΟ hΟD hval hlo hpos d | |
| let Ο : Model n β β := fun w => Ο (e w) | |
| have hΟ : ContDiffAt β 2 Ο z := (he0.symm βΈ hΟ).comp z he2 | |
| have hc : ContDiffAt β 2 c 0 := | |
| (normalCost_contDiffAt hp).of_le (ENat.natCast_le_of_coe_top_le_withTop le_rfl 2) | |
| have hce : chartCost a (riemannianExp a p) =αΆ [π z] (fun w => c (e w)) := by | |
| filter_upwards [hei] with w hw | |
| simp only [c,normalCost,chartCost,hw] | |
| have hcc : ContDiffAt β 2 (chartCost a (riemannianExp a p)) z := | |
| ((he0.symm βΈ hc).comp z he2).congr_of_eventuallyEq hce | |
| have hΟD : fderiv β Ο z=L := by | |
| have Hc := hce.fderiv_eq (π := β) | |
| rw [hLD.fderiv,fderiv_fun_comp z | |
| (by simpa only [he0] using hc.differentiableAt (by norm_num)) | |
| (he2.differentiableAt (by norm_num)),he0,(normalCost_hasFDerivAt_zero hp).fderiv] at Hc | |
| rw [show Ο=(fun w => Ο (e w)) from rfl,fderiv_fun_comp z | |
| (by simpa only [he0] using hΟ.differentiableAt (by norm_num)) | |
| (he2.differentiableAt (by norm_num)),he0,hΟD] | |
| apply ContinuousLinearMap.ext | |
| intro d | |
| have H := congrArg (fun A : Model n βL[β] β => A d) Hc | |
| simpa only [neg_apply,ContinuousLinearMap.comp_apply, | |
| innerSL_apply_apply,inner_neg_left,neg_inj] using H.symm | |
| have hΟval : uv.1 a=Ο z := by simpa only [Ο,he0] using hval | |
| have hΟlo : βαΆ w in π z,Ο wβ€uv.1 ((extChartAt π(β,Model n) a).symm w) := by | |
| have H := he.continuousAt.eventually (show βαΆ v in π (e z),Ο vβ€uv.1 (riemannianExp a v) by rwa [he0]) | |
| filter_upwards [H,hei] with w hw hwi | |
| simpa only [Ο,hwi] using hw | |
| have Hpull (d : Model n) : fderiv β (fderiv β Ο) z d d+ | |
| fderiv β (fderiv β (chartCost a (riemannianExp a p))) z d d = | |
| fderiv β (fderiv β Ο) 0 (fderiv β e z d) (fderiv β e z d)+ | |
| hessianValue a p (fderiv β e z d) := by | |
| have hzF : fderiv β (fun v => Ο v+c v) 0=0 := by | |
| rw [fderiv_fun_add (hΟ.differentiableAt (by norm_num)) (hc.differentiableAt (by norm_num)), | |
| hΟD,(normalCost_hasFDerivAt_zero hp).fderiv] | |
| simp only [map_neg,add_neg_cancel] | |
| have HF := second_fderiv_comp_stationary (f := fun v => Ο v+c v) (g := e) | |
| (he0.symm βΈ hΟ.add hc) he2 (by rwa [he0]) d d | |
| rw [he0,second_fderiv_add_eq hΟ hc] at HF | |
| rw [hessianValue_eq_normalHessian hp] | |
| have Heq : (fun w => Ο w+chartCost a (riemannianExp a p) w) =αΆ [π z] | |
| (fun w => Ο (e w)+c (e w)) := by | |
| filter_upwards [hce] with w hw | |
| rw [hw] | |
| have HH := congrArg (fun A : Model n βL[β] Model n βL[β] β => A d d) Heq.fderiv.fderiv_eq | |
| rw [second_fderiv_add_eq hΟ hcc] at HH | |
| exact HH.trans HF | |
| have hΟpos (d : Model n) : (m*k)*βdβ^2β€fderiv β (fderiv β Ο) z d d+ | |
| fderiv β (fderiv β (chartCost a (coordinateBackward a (-1,z,L)))) z d d := by | |
| rw [hLb,Hpull] | |
| calc | |
| _ = m*(k*βdβ^2) := by ring | |
| _ β€ m*βfderiv β e z dβ^2 := mul_le_mul_of_nonneg_left (Hk d) hm.le | |
| _ β€ _ := hpos _ | |
| obtain β¨w,hwβ© := hsur d | |
| have HB := HC x0 uv huv Ο hΟ hΟD hΟval hΟlo hΟpos w | |
| rw [hLb,Hpull,hw] at HB | |
| have Hb := Hk w | |
| rw [hw] at Hb | |
| calc | |
| _ β€ C*βwβ^2 := HB | |
| _ β€ (C/k)*βdβ^2 := by | |
| have HH : βwβ^2β€βdβ^2/k := (le_div_iffβ hk).mpr (by nlinarith only [Hb]) | |
| convert! mul_le_mul_of_nonneg_left HH hC using 1; ring | |
| end NormalRelativeHessianBound | |
| end WeakMTWTransport | |
| end | |
| end | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 6.19 kB
- Xet hash:
- 521446ea4a1a5439476038f107cbeecb60cea48486f7427457060c9847ca9c4c
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.