cfahlgren1's picture
download
raw
9.43 kB
import Mathlib
import OAI.Analysis.BiholderTransport.Coordinates.BranchInverse
import OAI.Analysis.BiholderTransport.Regularity.ReverseRegular
namespace OAI
noncomputable section
open Set Filter Manifold MeasureTheory Bundle
open scoped ENNReal ContDiff Topology
namespace WeakMTWTransport
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 exists_smooth_cost_branch_with_action (z : TangentBundle π“˜(ℝ,Model n) M)
(hz : Function.Injective (fderiv ℝ (fun v => extChartAt π“˜(ℝ,Model n)
(riemannianExp z.1 z.2) (riemannianExp z.1 v)) z.2)) :
βˆƒ G : MΓ—M β†’ ℝ,
ContMDiffAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) π“˜(ℝ,ℝ) ∞ G
(z.1,riemannianExp z.1 z.2) ∧
(βˆ€αΆ  r in 𝓝 z,G (r.1,riemannianExp r.1 r.2)=β€–r.2β€–^2/2) ∧
βˆ€αΆ  r in 𝓝 z, r.2 ∈ injectivityDomain r.1 β†’
(fun q : MΓ—M => cost q.1 q.2) =αΆ [𝓝 (r.1,riemannianExp r.1 r.2)] G := by
obtain ⟨P,hP,hPz,hleft,hright⟩ := exists_smooth_exp_branch z hz
let G : MΓ—M β†’ ℝ := fun q => β€–(P q).2β€–^2/2
refine ⟨G,(contMDiff_tangent_energy (P (z.1,riemannianExp z.1 z.2))).comp _ hP,?_,?_⟩
Β· filter_upwards [hleft] with r hr
change β€–(P (r.1,riemannianExp r.1 r.2)).2β€–^2/2=β€–r.2β€–^2/2
rw [hr]
let F : TangentBundle π“˜(ℝ,Model n) M β†’ MΓ—M := fun r => (r.1,riemannianExp r.1 r.2)
have hF : Continuous F :=
((Bundle.contMDiff_proj (fun v : M => TangentSpace π“˜(ℝ,Model n) v)).prodMk contMDiff_riemannianExp).continuous
have hPnear : βˆ€αΆ  q in 𝓝 (F z), ContinuousAt P q := by
have hzero : ContMDiffAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) 0 P (F z) := hP.of_le bot_le
exact ((contMDiffAt_iff_contMDiffAt_nhds (by simp)).mp hzero).mono
(fun point hpoint => hpoint.continuousAt)
have hRnear : βˆ€αΆ  q in 𝓝 (F z), βˆ€αΆ  q' in 𝓝 q,
(P q').1=q'.1 ∧ riemannianExp (P q').1 (P q').2=q'.2 :=
eventually_eventually_nhds.mpr hright
filter_upwards [hleft,(hF.continuousAt.eventually (hPnear.and hRnear))] with r hr hnear
intro hrID
have hC : {v : TangentBundle π“˜(ℝ,Model n) M | v.2 ∈ minimizingVectors v.1} ∈ 𝓝 (P (F r)) := by
rw [show P (F r)=r from hr]
exact mem_interior_iff_mem_nhds.mp (interior_total_minimizingVectors r hrID)
have hmin := hnear.1.preimage_mem_nhds hC
filter_upwards [hmin,hnear.2] with q hqmin hq
change dist q.1 q.2^2/2=β€–(P q).2β€–^2/2
change dist (P q).1 (riemannianExp (P q).1 (P q).2)=β€–(P q).2β€– at hqmin
have hd : dist q.1 q.2=β€–(P q).2β€– :=
(congrArgβ‚‚ dist hq.1.symm hq.2.symm).trans hqmin
rw [hd]
end WeakMTWTransport
end
noncomputable section
open Set Filter Manifold Bundle
open scoped Topology ContDiff
namespace WeakMTWTransport
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]
omit [IsRiemannianManifold π“˜(ℝ,Model n) M] in
lemma contMDiff_reverseRay : ContMDiff
(π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) ∞ (reverseRay (n := n) (M := M)) := by
exact contMDiff_tangentScale.comp
(contMDiff_const.prodMk (contMDiff_sprayFlow.comp (contMDiff_const.prodMk contMDiff_id)))
lemma reverseRay_base (z : TangentBundle π“˜(ℝ,Model n) M) :
(reverseRay z).1=riemannianExp z.1 z.2 := by
rw [riemannianExp_eq_sprayFlow]
rfl
lemma reverseRay_endpoint (z : TangentBundle π“˜(ℝ,Model n) M) :
riemannianExp (reverseRay z).1 (reverseRay z).2=z.1 := by
rw [←reverseRay_base,reverseRay_involutive]
lemma fiber_nonconjugate_of_smooth_left_inverse
(z : TangentBundle π“˜(ℝ,Model n) M)
(P : MΓ—M β†’ TangentBundle π“˜(ℝ,Model n) M)
(hP : ContMDiffAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) ∞ P (z.1,riemannianExp z.1 z.2))
(hPz : P (z.1,riemannianExp z.1 z.2)=z)
(hleft : βˆ€αΆ  r in 𝓝 z,P (r.1,riemannianExp r.1 r.2)=r) :
Function.Injective (fderiv ℝ (fun v => extChartAt π“˜(ℝ,Model n)
(riemannianExp z.1 z.2) (riemannianExp z.1 v)) z.2) := by
let V := TangentSpace π“˜(ℝ,Model n) z.1
let y := riemannianExp z.1 z.2
let d := extChartAt π“˜(ℝ,Model n) y
let Ο‡ := extChartAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) z
let Ο„ := trivializationAt (Model n) (fun b : M => TangentSpace π“˜(ℝ,Model n) b) z.1
let L : V ≃L[ℝ] Model n :=
Ο„.continuousLinearEquivAt ℝ z.1 (mem_baseSet_trivializationAt (Model n) _ z.1)
let f : V β†’ Model n := fun v => d (riemannianExp z.1 v)
let g : Model n β†’ Model n := fun w => (Ο‡ (P (z.1,d.symm w))).2
have hdy : d.symm (d y)=y := d.left_inv (mem_extChartAt_source y)
have hd : ContMDiffAt π“˜(ℝ,Model n) π“˜(ℝ,Model n) ∞ d.symm (d y) :=
(contMDiffOn_extChartAt_symm y).contMDiffAt
((isOpen_extChartAt_target y).mem_nhds (d.map_source (mem_extChartAt_source y)))
have hp : ContMDiffAt π“˜(ℝ,Model n) (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) ∞
(fun w => P (z.1,d.symm w)) (d y) := by
have hm : ContMDiffAt π“˜(ℝ,Model n) (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) ∞
(fun w => (z.1,d.symm w)) (d y) := contMDiffAt_const.prodMk hd
have hP' : ContMDiffAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) ∞ P (z.1,d.symm (d y)) := by
rw [hdy]; exact hP
exact hP'.comp (d y) hm
have hΟ‡ : ContMDiffAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
π“˜(ℝ,Model nΓ—Model n) ∞ Ο‡ (P (z.1,d.symm (d y))) := by
rw [hdy,hPz]
exact contMDiffAt_extChartAt
have hg : ContDiffAt ℝ ∞ g (f z.2) :=
contDiffAt_snd.comp (f z.2) (hχ.comp (d y) hp).contDiffAt
have hf : ContDiffAt ℝ ∞ f z.2 :=
((show ContMDiffAt π“˜(ℝ,Model n) π“˜(ℝ,Model n) ∞ d y from
contMDiffAt_extChartAt).comp z.2 (contMDiff_riemannianExp_fiber z.1 z.2)).contDiffAt
have hfiber : Continuous (fun v : V => (⟨z.1,v⟩ : TangentBundle π“˜(ℝ,Model n) M)) :=
(contMDiff_fiber_embedding z.1).continuous
have hfleft : βˆ€αΆ  v in 𝓝 z.2,P (z.1,riemannianExp z.1 v)=⟨z.1,v⟩ :=
hfiber.continuousAt.eventually hleft
have hsrc : βˆ€αΆ  v in 𝓝 z.2,riemannianExp z.1 v∈d.source :=
(continuous_riemannianExp z.1).continuousAt.eventually (extChartAt_source_mem_nhds y)
have heq : g ∘ f =αΆ [𝓝 z.2] L := by
filter_upwards [hfleft,hsrc] with v hv hvs
change (Ο‡ (P (z.1,d.symm (d (riemannianExp z.1 v))))).2=L v
rw [d.left_inv hvs,hv]
rfl
have hD : (fderiv ℝ g (f z.2)).comp (fderiv ℝ f z.2)=(L : V β†’L[ℝ] Model n) := by
rw [←fderiv_comp _ (hg.differentiableAt (by simp)) (hf.differentiableAt (by simp)),
heq.fderiv_eq,L.fderiv]
intro u v huv
apply L.injective
have H := congrArg (fderiv ℝ g (f z.2)) huv
change ((fderiv ℝ g (f z.2)).comp (fderiv ℝ f z.2)) u=
((fderiv ℝ g (f z.2)).comp (fderiv ℝ f z.2)) v at H
rw [hD] at H
exact H
lemma reverseRay_nonconjugate (z : TangentBundle π“˜(ℝ,Model n) M)
(hz : Function.Injective (fderiv ℝ (fun v => extChartAt π“˜(ℝ,Model n)
(riemannianExp z.1 z.2) (riemannianExp z.1 v)) z.2)) :
Function.Injective (fderiv ℝ (fun v => extChartAt π“˜(ℝ,Model n)
(riemannianExp (reverseRay z).1 (reverseRay z).2)
(riemannianExp (reverseRay z).1 v)) (reverseRay z).2) := by
obtain ⟨P,hP,hPz,hleft,_⟩ := exists_smooth_exp_branch z hz
let Q : MΓ—M β†’ TangentBundle π“˜(ℝ,Model n) M := fun q => reverseRay (P (q.2,q.1))
have hQ : ContMDiffAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) ∞ Q
((reverseRay z).1,riemannianExp (reverseRay z).1 (reverseRay z).2) := by
rw [reverseRay_endpoint,reverseRay_base]
have hs : ContMDiffAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) ∞ (fun q : MΓ—M => (q.2,q.1))
(riemannianExp z.1 z.2,z.1) := contMDiffAt_snd.prodMk contMDiffAt_fst
have hp : ContMDiffAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) ∞ (fun q : MΓ—M => P (q.2,q.1))
(riemannianExp z.1 z.2,z.1) := hP.comp (riemannianExp z.1 z.2,z.1) hs
exact contMDiff_reverseRay.contMDiffAt.comp (riemannianExp z.1 z.2,z.1) hp
apply fiber_nonconjugate_of_smooth_left_inverse (reverseRay z) Q hQ
Β· dsimp only [Q]
rw [reverseRay_endpoint,reverseRay_base,hPz]
Β· have H := continuous_reverseRay.continuousAt.eventually
(show βˆ€αΆ  r in 𝓝 (reverseRay (reverseRay z)),P (r.1,riemannianExp r.1 r.2)=r from
by rw [reverseRay_involutive]; exact hleft)
filter_upwards [H] with r hr
dsimp only [Q]
rw [reverseRay_endpoint,reverseRay_base] at hr
rw [hr,reverseRay_involutive]
end WeakMTWTransport
end
end OAI

Xet Storage Details

Size:
9.43 kB
Β·
Xet hash:
093087750991237a00860c8c1b65a3e93ee6038ddc0b980cc7915ea6c397d005

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.