Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Coordinates.KernelRadial | |
| import OAI.Analysis.BiholderTransport.Calculus.SecondTaylorComposition | |
| namespace OAI | |
| section | |
| section | |
| noncomputable section | |
| open Set Filter Manifold Bundle ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| namespace WeakMTWTransport | |
| section SplitLogInjective | |
| 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 prefix_log_fderiv_injective {x y : M} | |
| {p : TangentSpace π(β,Model n) x} {t : β} (ht : tβ 0) | |
| (hleft : t β’ pβinjectivityDomain x) | |
| {q : TangentSpace π(β,Model n) x β TangentSpace π(β,Model n) y} | |
| (hq : DifferentiableAt β q p) | |
| (hqr : βαΆ a in π p, riemannianExp y (q a)=riemannianExp x (t β’ a)) : | |
| Function.Injective (fderiv β q p) := by | |
| let X := TangentSpace π(β,Model n) x | |
| let Y := TangentSpace π(β,Model n) y | |
| apply (injective_iff_map_eq_zero (fderiv β q p)).mpr | |
| intro v hv | |
| have he := (contMDiff_riemannianExp_fiber y (q p)).mdifferentiableAt (by simp) | |
| have hD := he.hasMFDerivAt.comp p hq.hasFDerivAt.hasMFDerivAt | |
| have hqr' : (riemannianExp y β q) =αΆ [π p] (fun a : X => riemannianExp x (t β’ a)) := hqr | |
| have hD' := hD.congr_of_eventuallyEq hqr'.symm | |
| have hE := hD'.mfderiv | |
| have hV : mfderiv π(β,X) π(β,Model n) (fun a : X => riemannianExp x (t β’ a)) p v=0 := by | |
| rw [hE] | |
| change mfderiv π(β,Y) π(β,Model n) (riemannianExp y) (q p) (fderiv β q p v)=0 | |
| rw [hv] | |
| exact map_zero _ | |
| have hscale : HasFDerivAt (fun a : X => t β’ a) (t β’ ContinuousLinearMap.id β X) p := | |
| (t β’ ContinuousLinearMap.id β X).hasFDerivAt | |
| have hExp := ((contMDiff_riemannianExp_fiber x (t β’ p)).mdifferentiableAt | |
| (by simp)).hasMFDerivAt.comp p hscale.hasMFDerivAt | |
| have hEV := congrArg (fun L : X βL[β] TangentSpace π(β,Model n) (riemannianExp x (t β’ p)) => L v) hExp.mfderiv | |
| have hW : mfderiv π(β,X) π(β,Model n) (riemannianExp x) (t β’ p) (t β’ v)=0 := | |
| hEV.symm.trans hV | |
| rw [exp_mfderiv_apply_eq_coordinate] at hW | |
| have htv : t β’ v=0 := (riemannianExp_interior_nonconjugate hleft) | |
| (hW.trans (map_zero _).symm) | |
| exact (smul_eq_zero.mp htv).resolve_left ht | |
| end SplitLogInjective | |
| end WeakMTWTransport | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open Set Filter Manifold Bundle ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| namespace WeakMTWTransport | |
| section ExpCoordinates | |
| 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] | |
| def coordinateEndpoint (c : TangentBundle π(β,Model n) M) (q : Model nΓModel n) : Model n := | |
| let Ο := extChartAt (π(β,Model n).prod π(β,Model n)) c | |
| extChartAt π(β,Model n) (riemannianExp c.1 c.2) | |
| (riemannianExp (Ο.symm q).1 (Ο.symm q).2) | |
| def coordinateEndpointVertical (c z : TangentBundle π(β,Model n) M) : Model n βL[β] Model n := | |
| (fderiv β (coordinateEndpoint c) | |
| (extChartAt (π(β,Model n).prod π(β,Model n)) c z)).comp (inr β (Model n) (Model n)) | |
| lemma coordinateEndpoint_contDiffAt (c z : TangentBundle π(β,Model n) M) | |
| (hz : zβ(extChartAt (π(β,Model n).prod π(β,Model n)) c).source) | |
| (hy : riemannianExp z.1 z.2β(extChartAt π(β,Model n) (riemannianExp c.1 c.2)).source) : | |
| ContDiffAt β β (coordinateEndpoint c) | |
| (extChartAt (π(β,Model n).prod π(β,Model n)) c z) := by | |
| let Ο := extChartAt (π(β,Model n).prod π(β,Model n)) c | |
| let d := extChartAt π(β,Model n) (riemannianExp c.1 c.2) | |
| have hΟ : ContMDiffAt π(β,Model nΓModel n) (π(β,Model n).prod π(β,Model n)) β Ο.symm (Ο z) := | |
| (contMDiffOn_extChartAt_symm c).contMDiffAt ((isOpen_extChartAt_target c).mem_nhds (Ο.map_source hz)) | |
| have hE := contMDiff_riemannianExp.contMDiffAt.comp (Ο z) hΟ | |
| have hd : ContMDiffAt π(β,Model n) π(β,Model n) β d (riemannianExp z.1 z.2) := | |
| (contMDiffOn_extChartAt (n := β) (x := riemannianExp c.1 c.2)).contMDiffAt | |
| (by simpa only [extChartAt_source] using (isOpen_extChartAt_source _).mem_nhds hy) | |
| have hd' : ContMDiffAt π(β,Model n) π(β,Model n) β d | |
| (riemannianExp (Ο.symm (Ο z)).1 (Ο.symm (Ο z)).2) := by rwa [Ο.left_inv hz] | |
| exact (hd'.comp (Ο z) hE).contDiffAt | |
| omit [CompactSpace 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] in | |
| lemma tangent_chart_fiber_inverse (c z : TangentBundle π(β,Model n) M) | |
| (hz : zβ(extChartAt (π(β,Model n).prod π(β,Model n)) c).source) : | |
| let Ο := extChartAt (π(β,Model n).prod π(β,Model n)) c | |
| let Ο := trivializationAt (Model n) (fun x : M => TangentSpace π(β,Model n) x) c.1 | |
| let L := Ο.continuousLinearEquivAt β z.1 (by simpa only [Ο,TangentBundle.trivializationAt_baseSet,extChartAt_source] using (tangent_chart_source_iff c z).mp hz) | |
| β w, Ο.symm ((Ο z).1,w)=(β¨z.1,L.symm wβ© : TangentBundle π(β,Model n) M) := by | |
| intro Ο Ο L w | |
| have hf : Ο (β¨z.1,L.symm wβ© : TangentBundle π(β,Model n) M)=((Ο z).1,w) := by | |
| apply Prod.ext | |
| Β· rfl | |
| Β· change L (L.symm w)=w | |
| exact L.apply_symm_apply w | |
| rw [βhf] | |
| exact Ο.left_inv ((tangent_chart_source_iff c _).mpr (by simpa only [Ο,TangentBundle.trivializationAt_baseSet,extChartAt_source] using (tangent_chart_source_iff c z).mp hz)) | |
| lemma coordinateEndpointVertical_apply (c z : TangentBundle π(β,Model n) M) | |
| (hz : zβ(extChartAt (π(β,Model n).prod π(β,Model n)) c).source) | |
| (hy : riemannianExp z.1 z.2β(extChartAt π(β,Model n) (riemannianExp c.1 c.2)).source) | |
| (v : TangentSpace π(β,Model n) z.1) : | |
| coordinateEndpointVertical c z | |
| ((trivializationAt (Model n) (fun x : M => TangentSpace π(β,Model n) x) c.1).continuousLinearMapAt β z.1 v)= | |
| (trivializationAt (Model n) (fun x : M => TangentSpace π(β,Model n) x) | |
| (riemannianExp c.1 c.2)).continuousLinearMapAt β (riemannianExp z.1 z.2) | |
| (mfderiv π(β,TangentSpace π(β,Model n) z.1) π(β,Model n) (riemannianExp z.1) z.2 v) := by | |
| let Ο := extChartAt (π(β,Model n).prod π(β,Model n)) c | |
| let d := extChartAt π(β,Model n) (riemannianExp c.1 c.2) | |
| let X := TangentSpace π(β,Model n) z.1 | |
| let Ο := trivializationAt (Model n) (fun x : M => TangentSpace π(β,Model n) x) c.1 | |
| let L := Ο.continuousLinearEquivAt β z.1 (by simpa only [Ο,TangentBundle.trivializationAt_baseSet,extChartAt_source] using (tangent_chart_source_iff c z).mp hz) | |
| let F : X β Model n := fun a => d (riemannianExp z.1 a) | |
| have hd : ContMDiffAt π(β,Model n) π(β,Model n) β d (riemannianExp z.1 z.2) := | |
| (contMDiffOn_extChartAt (n := β) (x := riemannianExp c.1 c.2)).contMDiffAt | |
| (by simpa only [extChartAt_source] using (isOpen_extChartAt_source _).mem_nhds hy) | |
| have hF : ContDiffAt β β F z.2 := | |
| (hd.comp z.2 (contMDiff_riemannianExp_fiber z.1 z.2)).contDiffAt | |
| have hpart : (fun w => coordinateEndpoint c ((Ο z).1,w))=F β L.symm := by | |
| funext w | |
| dsimp only [coordinateEndpoint,F,Function.comp_apply] | |
| rw [tangent_chart_fiber_inverse c z hz w] | |
| have hG := (coordinateEndpoint_contDiffAt c z hz hy).differentiableAt (by simp) | |
| have hpartD := (hG.hasFDerivAt.comp (Ο z).2 | |
| ((hasFDerivAt_const (Ο z).1 (Ο z).2).prodMk (hasFDerivAt_id (Ο z).2))).fderiv | |
| have hLz : (Ο z).2=L z.2 := rfl | |
| have hFD : HasFDerivAt F (fderiv β F z.2) (L.symm (Ο z).2) := by | |
| rw [hLz,L.symm_apply_apply] | |
| exact (hF.differentiableAt (by simp)).hasFDerivAt | |
| have hRD := (hFD.comp (Ο z).2 L.symm.hasFDerivAt).fderiv | |
| change fderiv β (fun w => coordinateEndpoint c ((Ο z).1,w)) (Ο z).2 = | |
| (fderiv β (coordinateEndpoint c) (Ο z)).comp (inr β _ _) at hpartD | |
| rw [hpart] at hpartD | |
| have hA : coordinateEndpointVertical c z=(fderiv β F z.2).comp (L.symm : Model n βL[β] X) := | |
| hpartD.symm.trans hRD | |
| have hD := (hd.mdifferentiableAt (by simp)).hasMFDerivAt.comp z.2 | |
| ((contMDiff_riemannianExp_fiber z.1 z.2).mdifferentiableAt (by simp)).hasMFDerivAt | |
| have hDE : fderiv β F z.2=(mfderiv π(β,Model n) π(β,Model n) d (riemannianExp z.1 z.2)).comp | |
| (mfderiv π(β,X) π(β,Model n) (riemannianExp z.1) z.2) := by | |
| have hm := hD.mfderiv | |
| rw [mfderiv_eq_fderiv] at hm | |
| exact hm | |
| have hLv : Ο.continuousLinearMapAt β z.1 v=L v := by | |
| simp only [L,Trivialization.coe_continuousLinearEquivAt_eq] | |
| rw [hLv] | |
| rw [hA,ContinuousLinearMap.comp_apply] | |
| change fderiv β F z.2 (L.symm (L v))=_ | |
| rw [L.symm_apply_apply,hDE] | |
| rw [TangentBundle.continuousLinearMapAt_trivializationAt (by simpa only [extChartAt_source] using hy)] | |
| rfl | |
| end ExpCoordinates | |
| end WeakMTWTransport | |
| end | |
| end | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 9.51 kB
- Xet hash:
- c23e6212b6675ce57b560ca4ae68cbb41365e6914330dd6685a5c6c00ab40f0c
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.