cfahlgren1's picture
download
raw
9.51 kB
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.