Download data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/ChartTrueMatrix.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.43 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/ChartTrueMatrix.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/ChartTrueMatrix.lean
-
curl -L -o ChartTrueMatrix.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/ChartTrueMatrix.lean
5.43 kB
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Regularity.FrameMetric | |
| import OAI.Analysis.BiholderTransport.Coordinates.NormalFrameTaylor | |
| import OAI.Analysis.BiholderTransport.Calculus.JetTranslation | |
| namespace OAI | |
| section | |
| noncomputable section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff | |
| namespace WeakMTWTransport | |
| section ChartTrueMatrix | |
| 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] | |
| def chartJetMatrix (a c:M) (b q:Model n) (p:Model n βL[β] β) | |
| (A:Model n βL[β] Model n βL[β] β) : Model n βL[β] Model n βL[β] β := | |
| frameMetric a b+secondJetPullback p A (fderiv β (movingPrefixChart a c 1 b) q) | |
| (fderiv β (fderiv β (movingPrefixChart a c 1 b)) q) | |
| omit [Nonempty M] in | |
| lemma chartJetMatrix_normal_identity {f:M β β} {a c y:M} {b q:Model n} | |
| (hb:bβ(extChartAt π(β,Model n) a).target) | |
| (hq:chartFiberInverse a b qβinjectivityDomain ((extChartAt π(β,Model n) a).symm b)) | |
| (hy:movingPrefix a 1 b q=y) (hc:yβ(extChartAt π(β,Model n) c).source) | |
| {r:TangentSpace π(β,Model n) y} (hr:rβinjectivityDomain y) | |
| (hrx:riemannianExp y r=(extChartAt π(β,Model n) a).symm b) | |
| {S:TangentSpace π(β,Model n) y βL[β] TangentSpace π(β,Model n) y} | |
| (hS:HasQuadraticExpansion (fun h=>f (riemannianExp y h)) r S) | |
| {p:Model n} {A:Model n βL[β] Model n} (hA:βd e,inner β (A d) e=inner β d (A e)) | |
| (hAe:HasQuadraticExpansion (fun h=>f ((extChartAt π(β,Model n) c).symm | |
| (extChartAt π(β,Model n) c y+h))) p A) | |
| {R:TangentSpace π(β,Model n) ((extChartAt π(β,Model n) a).symm b) β TangentSpace π(β,Model n) y} | |
| (hR:DifferentiableAt β R (chartFiberInverse a b q)) (hR0:R (chartFiberInverse a b q)=0) | |
| (hRe:βαΆ v in π (chartFiberInverse a b q),riemannianExp y (R v)= | |
| riemannianExp ((extChartAt π(β,Model n) a).symm b) v) : | |
| βd,chartJetMatrix a c b q (innerSL β p) ((innerSL β).comp A) d d= | |
| inner β (S (fderiv β R (chartFiberInverse a b q) (chartFiberInverse a b d))) | |
| (fderiv β R (chartFiberInverse a b q) (chartFiberInverse a b d))+ | |
| normalHessian y r (fderiv β R (chartFiberInverse a b q) (chartFiberInverse a b d)) | |
| (fderiv β R (chartFiberInverse a b q) (chartFiberInverse a b d)) := by | |
| let B:=chartFiberInverse a b | |
| have he:riemannianExp ((extChartAt π(β,Model n) a).symm b) (B q)=y:=by | |
| simpa only [movingPrefix_eq hb,one_smul,B,chartFiberInverse] using hy | |
| have H:=chart_normal_pole_frame_identity B hr hq hrx he hc hS hA hAe hR hR0 hRe | |
| have hg:ContDiffAt β 2 (movingPrefixChart a c 1 b) q:=by | |
| exact ((movingPrefixChart_contDiffAt hb (hy.symm βΈ hc)).comp q | |
| (contDiffAt_const.prodMk contDiffAt_id)).of_le | |
| (ENat.natCast_le_of_coe_top_le_withTop le_rfl 2) | |
| have heq:(fun h=>movingPrefixChart a c 1 b (q+h)-extChartAt π(β,Model n) c y)= | |
| (fun h=>extChartAt π(β,Model n) c (riemannianExp | |
| ((extChartAt π(β,Model n) a).symm b) (B q+B h))-extChartAt π(β,Model n) c y):=by | |
| funext h | |
| simp only [movingPrefixChart,movingPrefix_eq hb,one_smul,map_add,B,chartFiberInverse] | |
| rw [βheq] at H | |
| dsimp only at H | |
| rw [fderiv_translate_at_zero (hg.differentiableAt (by norm_num)), | |
| second_fderiv_translate_at_zero hg] at H | |
| intro d | |
| rw [chartJetMatrix,add_apply,add_apply, | |
| frameMetric_apply hb,real_inner_self_eq_norm_sq] | |
| exact H d | |
| omit [Nonempty M] in | |
| lemma chartJetMatrix_tendsto {a c:M} {b q:β β Model n} {b0 q0:Model n} | |
| {p:β β Model n βL[β] β} {p0:Model n βL[β] β} | |
| {A:β β Model n βL[β] Model n βL[β] β} {A0:Model n βL[β] Model n βL[β] β} | |
| (hb0:b0β(extChartAt π(β,Model n) a).target) | |
| (hc:movingPrefix a 1 b0 q0β(extChartAt π(β,Model n) c).source) | |
| (hb:Tendsto b atTop (π b0)) (hq:Tendsto q atTop (π q0)) | |
| (hp:Tendsto p atTop (π p0)) (hA:Tendsto A atTop (π A0)) : | |
| Tendsto (fun k=>chartJetMatrix a c (b k) (q k) (p k) (A k)) atTop | |
| (π (chartJetMatrix a c b0 q0 p0 A0)) := by | |
| let : NormedAddCommGroup (Model n βL[β] β) := ContinuousLinearMap.toNormedAddCommGroup | |
| let : NormedSpace β (Model n βL[β] β) := ContinuousLinearMap.toNormedSpace | |
| have hg:=movingPrefixChart_contDiffAt hb0 hc | |
| have hbx:=hb.prodMk_nhds hq | |
| have hD:=((ContDiffAt.partial_snd_fderiv hg).continuousAt.tendsto).comp hbx | |
| have hD2:=((ContDiffAt.partial_snd_fderiv_two hg).continuousAt.tendsto).comp hbx | |
| have hf : Tendsto (fun k=>frameMetric a (b k)) atTop (π (frameMetric a b0)) := | |
| (frameMetric_continuousAt hb0).tendsto.comp hb | |
| have hs : Tendsto (fun k=>secondJetPullback (p k) (A k) | |
| (fderiv β (movingPrefixChart a c 1 (b k)) (q k)) | |
| (fderiv β (fderiv β (movingPrefixChart a c 1 (b k))) (q k))) atTop | |
| (π (secondJetPullback p0 A0 (fderiv β (movingPrefixChart a c 1 b0) q0) | |
| (fderiv β (fderiv β (movingPrefixChart a c 1 b0)) q0))) := | |
| secondJetPullback_tendsto hp hA hD hD2 | |
| exact hf.add hs | |
| end ChartTrueMatrix | |
| end WeakMTWTransport | |
| end | |
| end | |
| end OAI | |