Download data/lean/OAI/Analysis/BiholderTransport/LocalFlow/CotangentFlow.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.09 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/LocalFlow/CotangentFlow.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/BiholderTransport/LocalFlow/CotangentFlow.lean
-
curl -L -o CotangentFlow.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/LocalFlow/CotangentFlow.lean
5.09 kB
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Coordinates.ChartGradientMap | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff | |
| namespace WeakMTWTransport | |
| 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] | |
| abbrev Phase (n:β) := Model n Γ (Model n βL[β] β) | |
| def phaseRaise (a:M) (q:Phase n) : Model n Γ Model n := | |
| (q.1,(riemannianCoordinateMetric a q.1).inverse q.2) | |
| def phaseLower (a:M) (q:Model n Γ Model n) : Phase n := | |
| (q.1,riemannianCoordinateMetric a q.1 q.2) | |
| def coordinatePhaseFlow (a:M) (q:βΓPhase n) : Phase n := | |
| let Ο := extChartAt (π(β,Model n).prod π(β,Model n)) | |
| (β¨a,0β©:TangentBundle π(β,Model n) M) | |
| phaseLower a (Ο (sprayFlow (-q.1) (Ο.symm (phaseRaise a q.2)))) | |
| omit [CompactSpace M] [Nonempty M] [IsRiemannianManifold π(β,Model n) M] in | |
| lemma phaseLower_contDiffAt {a:M} {q:Model n Γ Model n} | |
| (hq:q.1β(extChartAt π(β,Model n) a).target) : | |
| ContDiffAt β β (phaseLower a) q := by | |
| have hg := (contDiffOn_riemannianCoordinateMetric (E := Model n) a).contDiffAt | |
| ((isOpen_extChartAt_target a).mem_nhds hq) | |
| exact contDiffAt_fst.prodMk ((hg.comp q contDiffAt_fst).clm_apply contDiffAt_snd) | |
| omit [CompactSpace M] [Nonempty M] | |
| [IsContMDiffRiemannianBundle π(β,Model n) β (Model n) | |
| (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsRiemannianManifold π(β,Model n) M] in | |
| lemma phaseLower_raise {a:M} {q:Phase n} | |
| (hq:q.1β(extChartAt π(β,Model n) a).target) : phaseLower a (phaseRaise a q)=q := by | |
| exact Prod.ext rfl ((riemannianCoordinateMetric_isInvertible hq).self_apply_inverse q.2) | |
| omit [Nonempty M] [IsRiemannianManifold π(β,Model n) M] in | |
| lemma coordinatePhaseFlow_zero {a:M} {q:Phase n} | |
| (hq:q.1β(extChartAt π(β,Model n) a).target) : coordinatePhaseFlow a (0,q)=q := by | |
| let Ο := extChartAt (π(β,Model n).prod π(β,Model n)) | |
| (β¨a,0β©:TangentBundle π(β,Model n) M) | |
| have ht:phaseRaise a qβΟ.target := (tangent_chart_target_iff _ _).mpr hq | |
| dsimp only [coordinatePhaseFlow] | |
| rw [neg_zero,sprayFlow_zero,Ο.right_inv ht] | |
| exact phaseLower_raise hq | |
| omit [Nonempty M] [IsRiemannianManifold π(β,Model n) M] in | |
| lemma coordinatePhaseFlow_contDiffAt {a:M} {q:Phase n} | |
| (hq:q.1β(extChartAt π(β,Model n) a).target) : | |
| ContDiffAt β β (coordinatePhaseFlow a) (0,q) := by | |
| let Ο := extChartAt (π(β,Model n).prod π(β,Model n)) | |
| (β¨a,0β©:TangentBundle π(β,Model n) M) | |
| have ht:phaseRaise a qβΟ.target := (tangent_chart_target_iff _ _).mpr hq | |
| have hi := (contMDiffOn_extChartAt_symm (n := β) (β¨a,0β©:TangentBundle π(β,Model n) M)).contMDiffAt | |
| ((isOpen_extChartAt_target _).mem_nhds ht) | |
| have hr:ContDiffAt β β (phaseRaise a) q := coordinateRaise_contDiffAt hq | |
| have hinput := hi.comp (f:=fun p:βΓPhase n=>phaseRaise a p.2) (0,q) | |
| (hr.comp (0,q) contDiffAt_snd).contMDiffAt | |
| have hf := contMDiff_sprayFlow.contMDiffAt.comp (f:=fun p:βΓPhase n=> | |
| (-p.1,Ο.symm (phaseRaise a p.2))) (0,q) | |
| (contDiffAt_fst.neg.contMDiffAt.prodMk hinput) | |
| have he:sprayFlow (-(0:β)) (Ο.symm (phaseRaise a q))=Ο.symm (phaseRaise a q) := by | |
| rw [neg_zero,sprayFlow_zero] | |
| have hc:ContMDiffAt (π(β,Model n).prod π(β,Model n)) | |
| π(β,Model n Γ Model n) β Ο (sprayFlow (-(0:β)) (Ο.symm (phaseRaise a q))) := by | |
| rw [he] | |
| exact contMDiffAt_extChartAt' (by simpa only [Ο,extChartAt_source] using Ο.map_target ht) | |
| have hout := (hc.comp (f:=fun p:βΓPhase n=> | |
| sprayFlow (-p.1) (Ο.symm (phaseRaise a p.2))) (0,q) hf).contDiffAt | |
| have hbase:(Ο (sprayFlow (-(0:β)) (Ο.symm (phaseRaise a q)))).1β | |
| (extChartAt π(β,Model n) a).target := by | |
| rw [he,Ο.right_inv ht]; exact hq | |
| exact (phaseLower_contDiffAt hbase).comp (0,q) hout | |
| omit [Nonempty M] [IsRiemannianManifold π(β,Model n) M] in | |
| lemma coordinatePhaseFlow_derivative_limit {a:M} {q:Phase n} | |
| (hq:q.1β(extChartAt π(β,Model n) a).target) : | |
| Tendsto (fun p:βΓPhase n=>fderiv β (fun v=>coordinatePhaseFlow a (p.1,v)) p.2) | |
| (π (0,q)) (π (ContinuousLinearMap.id β (Phase n))) := by | |
| have hd := ContDiffAt.partial_snd_fderiv (f:=fun t v=>coordinatePhaseFlow a (t,v)) (coordinatePhaseFlow_contDiffAt hq) | |
| have he:(fun v:Phase n=>coordinatePhaseFlow a (0,v))=αΆ [π q] id := by | |
| filter_upwards [continuousAt_fst.preimage_mem_nhds ((isOpen_extChartAt_target a).mem_nhds hq)] with v hv | |
| exact coordinatePhaseFlow_zero hv | |
| have hev:fderiv β (fun v=>coordinatePhaseFlow a (0,v)) q=ContinuousLinearMap.id β (Phase n) := by | |
| rw [he.fderiv_eq,fderiv_id] | |
| simpa only [hev] using hd.continuousAt.tendsto | |
| end WeakMTWTransport | |
| end | |
| end OAI | |