Download data/lean/OAI/Analysis/BiholderTransport/Geodesics/GeodesicExistence.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.62 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/Geodesics/GeodesicExistence.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/BiholderTransport/Geodesics/GeodesicExistence.lean
-
curl -L -o GeodesicExistence.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/Geodesics/GeodesicExistence.lean
7.62 kB
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Model | |
| import OAI.Analysis.BiholderTransport.Geodesics.SprayMinimizing | |
| import OAI.Analysis.BiholderTransport.Geodesics.EndpointIdentity | |
| namespace OAI | |
| noncomputable section | |
| open Set MeasureTheory Manifold Bundle | |
| open scoped ContDiff Manifold ENNReal NNReal Topology | |
| open Set Filter | |
| open scoped Topology NNReal | |
| open Set Filter | |
| open scoped Topology | |
| open Set Manifold MeasureTheory Bundle | |
| open scoped ENNReal ContDiff Topology | |
| open Set | |
| open scoped Topology | |
| open Set Filter Manifold Bundle ContinuousLinearMap | |
| open scoped Topology ContDiff Manifold Bundle | |
| open Set Filter ContinuousLinearMap InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Set Filter ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| open Set Filter ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| open Set Filter ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| open scoped NNReal | |
| open Set Filter ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| open Set Filter ContinuousLinearMap | |
| open scoped Topology | |
| open MeasureTheory | |
| open scoped ContDiff ENNReal | |
| open Set Filter Manifold Bundle ContinuousLinearMap MeasureTheory | |
| open scoped Topology ContDiff Manifold Bundle ENNReal | |
| open Set Filter Manifold MeasureTheory Bundle | |
| open scoped ENNReal ContDiff Topology Manifold | |
| open Set Filter Manifold Bundle ContinuousLinearMap | |
| open scoped Topology ContDiff Manifold Bundle | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff Manifold Bundle | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff Manifold Bundle | |
| open Set Filter Bundle | |
| open scoped Topology Bundle | |
| open scoped Topology | |
| open Function Manifold Set | |
| open Manifold Bundle | |
| open scoped Manifold Bundle | |
| open Set | |
| namespace WeakMTWTransport | |
| section | |
| variable {n : β} {M : Type*} [MetricSpace M] [CompactSpace 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] | |
| lemma sprayFlow_isGeodesicWithInitialData (x : M) (v : TangentSpace π(β,Model n) x) : | |
| IsGeodesicWithInitialData x v (fun t => (sprayFlow t β¨x,vβ©).1) := by | |
| have hsm : ContMDiff π(β,β) (π(β,Model n).prod π(β,Model n)) β | |
| (fun t => sprayFlow t (β¨x,vβ© : TangentBundle π(β,Model n) M)) := | |
| contMDiff_sprayFlow.comp (contMDiff_id.prodMk contMDiff_const) | |
| refine β¨(Bundle.contMDiff_proj (fun x : M => TangentSpace π(β,Model n) x)).comp hsm,?_,?_β© | |
| Β· rw [spray_velocity_eq_mfderiv ((sprayFlow_curve β¨x,vβ©).isMIntegralCurveAt 0)] | |
| exact sprayFlow_zero β¨x,vβ© | |
| Β· exact sprayFlow_locally_minimizing β¨x,vβ© | |
| lemma exists_geodesicWithInitialData (x : M) (v : TangentSpace π(β,Model n) x) : | |
| β Ξ³ : β β M, IsGeodesicWithInitialData x v Ξ³ := | |
| β¨_,sprayFlow_isGeodesicWithInitialData x vβ© | |
| lemma riemannianExp_eq_chosen_geodesic (x : M) (v : TangentSpace π(β,Model n) x) : | |
| riemannianExp x v = Classical.choose (exists_geodesicWithInitialData x v) 1 := by | |
| rw [riemannianExp,dite_eq_left (exists_geodesicWithInitialData x v)] | |
| end | |
| variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace β E] | |
| [FiniteDimensional β E] | |
| {M : Type*} [TopologicalSpace M] [T2Space M] [CompactSpace M] [ChartedSpace E M] | |
| [IsManifold π(β,E) β M] | |
| [RiemannianBundle (fun x : M => TangentSpace π(β,E) x)] | |
| [IsContMDiffRiemannianBundle π(β,E) β E (fun x : M => TangentSpace π(β,E) x)] | |
| lemma coordinate_flow_eq_spray (a : M) {r : β} (hr : 0 < r) | |
| {Ξ¨ W : β Γ E β E} | |
| (hinit : β v β Metric.ball (0:E) r, | |
| Ξ¨ (0,v) = extChartAt π(β,E) a a β§ W (0,v) = v) | |
| (hode : β t β Ioo (-r) r, β v β Metric.ball (0:E) r, | |
| Ξ¨ (t,v) β (extChartAt π(β,E) a).target β§ | |
| HasDerivAt (fun s => Ξ¨ (s,v)) (W (t,v)) t β§ | |
| HasDerivAt (fun s => W (s,v)) | |
| (-coordinateChristoffel (riemannianCoordinateMetric a) (Ξ¨ (t,v)) (W (t,v)) (W (t,v))) t) | |
| {v : E} (hv : v β Metric.ball (0:E) r) {t : β} (ht : t β Ioo (-r) r) : | |
| Ξ¨ (t,v) = extChartAt π(β,E) a (sprayFlow t β¨a,vβ©).1 := by | |
| let z : TangentBundle π(β,E) M := β¨a,0β© | |
| have H := sprayFlow_eq_coordinate_curve z hr | |
| (fun s hs => (hode s hs v hv).1) | |
| (fun s hs => (hode s hs v hv).2.1.prodMk (hode s hs v hv).2.2) | |
| (show (extChartAt (π(β,E).prod π(β,E)) z).symm (Ξ¨ (0,v), W (0,v)) = β¨a,vβ© by | |
| rw [(hinit v hv).1,(hinit v hv).2] | |
| exact tangent_chart_at_self_base_symm z v) ht | |
| have Hc := congrArg (fun p : TangentBundle π(β,E) M => extChartAt π(β,E) a p.1) H | |
| rw [tangent_chart_symm_base,(extChartAt π(β,E) a).right_inv (hode t ht v hv).1] at Hc | |
| exact Hc.symm | |
| lemma coordinate_endpoint_radial (a : M) {r : β} (hr : 0 < r) | |
| {Ξ¨ W : β Γ E β E} | |
| (hΞ¨ : ContDiffOn β β Ξ¨ (Ioo (-r) r ΓΛ’ Metric.ball 0 r)) | |
| (hinit : β v β Metric.ball (0:E) r, | |
| Ξ¨ (0,v) = extChartAt π(β,E) a a β§ W (0,v) = v) | |
| (hode : β t β Ioo (-r) r, β v β Metric.ball (0:E) r, | |
| Ξ¨ (t,v) β (extChartAt π(β,E) a).target β§ | |
| HasDerivAt (fun s => Ξ¨ (s,v)) (W (t,v)) t β§ | |
| HasDerivAt (fun s => W (s,v)) | |
| (-coordinateChristoffel (riemannianCoordinateMetric a) (Ξ¨ (t,v)) (W (t,v)) (W (t,v))) t) | |
| {v : E} (hv : v β Metric.ball (0:E) r) {Ο : β} (hΟ : Ο β Ioo (-r) r) : | |
| fderiv β (fun w => Ξ¨ (Ο,w)) v v = Ο β’ W (Ο,v) := by | |
| have hn1 : βαΆ s : β in π 1, s β’ v β Metric.ball (0:E) r := | |
| ((continuousAt_id.smul continuousAt_const) : ContinuousAt (fun s : β => s β’ v) 1) | |
| (by change Metric.ball (0:E) r β π ((1:β) β’ v) | |
| simpa only [one_smul] using Metric.isOpen_ball.mem_nhds hv) | |
| have hn2 : βαΆ s : β in π 1, s*Ο β Ioo (-r) r := | |
| ((continuousAt_id.mul continuousAt_const) : | |
| ContinuousAt (fun scalar : β => scalar * Ο) 1).preimage_mem_nhds | |
| (by change Ioo (-r) r β π ((1:β)*Ο) | |
| simpa only [one_mul] using isOpen_Ioo.mem_nhds hΟ) | |
| have heq : (fun s : β => Ξ¨ (Ο,s β’ v)) =αΆ [π 1] (fun s => Ξ¨ (s*Ο,v)) := by | |
| filter_upwards [hn1,hn2] with s hs ht | |
| rw [coordinate_flow_eq_spray a hr hinit hode hs hΟ, | |
| coordinate_flow_eq_spray a hr hinit hode hv ht] | |
| rw [show (β¨a,s β’ vβ© : TangentBundle π(β,E) M) = tangentScale s β¨a,vβ© from rfl, | |
| sprayFlow_scale] | |
| rfl | |
| have hD : DifferentiableAt β (fun w => Ξ¨ (Ο,w)) v := | |
| ((hΞ¨.contDiffAt ((isOpen_Ioo.prod Metric.isOpen_ball).mem_nhds β¨hΟ,hvβ©)).comp v | |
| (contDiffAt_const.prodMk contDiffAt_id)).differentiableAt (by simp) | |
| have hleft : HasDerivAt (fun s : β => Ξ¨ (Ο,s β’ v)) | |
| (fderiv β (fun w => Ξ¨ (Ο,w)) v v) 1 := by | |
| have hs : HasDerivAt (fun s : β => s β’ v) v 1 := by | |
| simpa only [one_smul] using (hasDerivAt_id' (1:β)).smul_const v | |
| have hD' : HasFDerivAt (fun w => Ξ¨ (Ο,w)) | |
| (fderiv β (fun w => Ξ¨ (Ο,w)) v) ((1:β) β’ v) := by | |
| simpa only [one_smul] using hD.hasFDerivAt | |
| exact hD'.comp_hasDerivAt 1 hs | |
| have hright : HasDerivAt (fun s : β => Ξ¨ (s*Ο,v)) (Ο β’ W (Ο,v)) 1 := by | |
| have hs : HasDerivAt (fun s : β => s*Ο) Ο 1 := hasDerivAt_mul_const Ο | |
| have hW : HasDerivAt (fun s => Ξ¨ (s,v)) (W (Ο,v)) ((1:β)*Ο) := by | |
| simpa only [one_mul] using (hode Ο hΟ v hv).2.1 | |
| exact hW.scomp 1 hs | |
| exact (hleft.congr_of_eventuallyEq heq.symm).unique hright | |
| end WeakMTWTransport | |
| end | |
| end OAI | |