Download data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/ChartOuterMatrix.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.01 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/ChartOuterMatrix.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/ChartOuterMatrix.lean
-
curl -L -o ChartOuterMatrix.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/ChartOuterMatrix.lean
5.01 kB
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Regularity.FrameMetric | |
| import OAI.Analysis.BiholderTransport.LinearAlgebra.OuterActiveMatrix | |
| namespace OAI | |
| section | |
| noncomputable section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff BoundedContinuousFunction | |
| namespace WeakMTWTransport | |
| section ChartOuterMatrix | |
| variable {n : β} {M : Type*} [MetricSpace M] [CompactSpace M] [Nonempty M] | |
| [MeasurableSpace M] [BorelSpace 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] | |
| local instance chartOuterFinite (x:M):FiniteDimensional β (TangentSpace π(β,Model n) x):= | |
| inferInstanceAs (FiniteDimensional β (Model n)) | |
| local instance chartOuterComplete (x:M):CompleteSpace (TangentSpace π(β,Model n) x):= | |
| FiniteDimensional.complete β _ | |
| lemma WeakMTW.exists_uniform_chart_outer_matrix | |
| (hmtw:WeakMTW (n:=n) (M:=M)) {lam cap:β} (hlam:0 < lam) (hcap:0 β€ cap) : | |
| βK>0,β (x0:M) (uv:(M βα΅ β)Γ(M βα΅ β)) (Ο:β β β), | |
| uvβdensityDualClass (metricVolume n) lam cap x0 β Continuous Ο β StrictMono Ο β | |
| β (a:M) (b p:Model n),bβ(extChartAt π(β,Model n) a).target β | |
| let z:TangentBundle π(β,Model n) M:=β¨(extChartAt π(β,Model n) a).symm b,chartFiberInverse a b pβ© | |
| β l:β,z.2βactiveLogs (Ο β uv.2) z.1 β | |
| ContDiffAt β 2 Ο (uv.2 (riemannianExp z.1 z.2)) β | |
| HasDerivAt Ο l (uv.2 (riemannianExp z.1 z.2)) β 1 < l β | |
| iteratedDeriv 2 Ο (uv.2 (riemannianExp z.1 z.2)) β€ 0 β | |
| β B:Model n βL[β] Model n βL[β] β, | |
| (βd e,B d e=B e d) β (βd,0 β€ B d d) β | |
| HasLowerSecondTaylor (fun d=>Ο (uv.2 (movingNormal a (b,p+d)))+ | |
| βchartFiberInverse a b (p+d)β^2/2) 0 B β | |
| βV:Model n βL[β] Model n, | |
| (βd e,inner β (V d) e=inner β d (V e)) β§ | |
| (βd,dβ 0 β 0 < inner β (V d) d) β§ | |
| (βd,B d d-(iteratedDeriv 2 Ο (uv.2 (riemannianExp z.1 z.2))/l^2)* | |
| (frameMetric a b p d)^2 β€ inner β (V d) d) β§ | |
| 0 < expJacobian (n:=n) z.1 z.2 β§ | |
| 0 < expJacobian (n:=n) (reverseRay z).1 (lβ»ΒΉ β’ (reverseRay z).2) β§ | |
| expJacobian (n:=n) (reverseRay z).1 (lβ»ΒΉ β’ (reverseRay z).2)*V.det β€ | |
| (chartFiberInverse a b).toLinearMap.normDet^2*l^n*K*(expJacobian (n:=n) z.1 z.2)^2 := by | |
| obtain β¨K,hK,HKβ©:=hmtw.exists_uniform_active_outer_matrix hlam hcap | |
| refine β¨K,hK,?_β© | |
| intro x0 uv Ο huv hΟ hm a b p hb z l ha hΟ2 hd hl hconc B hBs hB hjet | |
| let x:M:=(extChartAt π(β,Model n) a).symm b | |
| let T:=trivializationAt (Model n) (TangentSpace π(β,Model n)) a | |
| have hx:xβT.baseSet:=by | |
| simpa only [x,T,TangentBundle.trivializationAt_baseSet,extChartAt_source] using | |
| (extChartAt π(β,Model n) a).map_target hb | |
| let e:=T.continuousLinearEquivAt β x hx | |
| let A:=chartFiberInverse a b | |
| have hAe:(A:Model n β TangentSpace π(β,Model n) x)=e.symm:= | |
| (T.symm_continuousLinearEquivAt_eq hx).symm | |
| have hEA (d:Model n):e (A d)=d:=by rw [hAe]; exact e.apply_symm_apply d | |
| have hAE (d:TangentSpace π(β,Model n) x):A (e d)=d:=by rw [hAe]; exact e.symm_apply_apply d | |
| let C:=pullBilinear B e.toContinuousLinearMap | |
| have hC:HasLowerSecondTaylor (fun d:TangentSpace π(β,Model n) x=> | |
| Ο (uv.2 (riemannianExp x (A p+d)))+βA p+dβ^2/2) 0 C:=by | |
| convert hjet.comp_stationary e.hasFDerivAt e.map_zero using 1 | |
| funext d | |
| simp only [movingNormal_eq hb,map_add] | |
| change Ο (uv.2 (riemannianExp x (A p+d)))+βA p+dβ^2/2= | |
| Ο (uv.2 (riemannianExp x (A p+A (e d))))+βA p+A (e d)β^2/2 | |
| rw [hAE] | |
| obtain β¨V,hVs,hVp,hgain,hΟ,hΟs,hdetβ©:=HK x0 uv Ο huv hΟ hm z l ha hΟ2 hd hl hconc | |
| C (fun d f=>hBs _ _) (fun d=>hB _) hC | |
| let W:=A.adjoint.comp (V.comp A) | |
| have hdim:Module.finrank β (Model n)=Module.finrank β (TangentSpace π(β,Model n) x):=by | |
| rw [tangent_finrank,finrank_euclideanSpace_fin] | |
| have hP:=det_positive_hessian_pullback (B:=A) (W:=V) hdim | |
| (chartFiberInverse_injective hb) hVs hVp (show (0:β)<1 by norm_num) | |
| simp only [one_smul,one_pow,one_mul] at hP | |
| refine β¨W,?_,hP.1,?_,hΟ,hΟs,?_β© | |
| Β· intro d f | |
| simp only [W,ContinuousLinearMap.comp_apply,ContinuousLinearMap.adjoint_inner_left, | |
| ContinuousLinearMap.adjoint_inner_right,hVs] | |
| Β· intro d | |
| have H:=hgain (A d) | |
| simpa only [C,pullBilinear_apply,ContinuousLinearEquiv.coe_coe,hEA, | |
| frameMetric_apply hb,W,ContinuousLinearMap.comp_apply,ContinuousLinearMap.adjoint_inner_left] using H | |
| Β· change _*(A.adjoint.comp (V.comp A)).detβ€_ | |
| rw [hP.2] | |
| have H:=mul_le_mul_of_nonneg_left hdet (sq_nonneg A.toLinearMap.normDet) | |
| nlinarith only [H] | |
| end ChartOuterMatrix | |
| end WeakMTWTransport | |
| end | |
| end | |
| end OAI | |