cfahlgren1's picture
download
raw
4.46 kB
import Mathlib
import OAI.Analysis.BiholderTransport.CostGeometry.CostSmooth
import OAI.Analysis.BiholderTransport.Coordinates.ChartCostJets
namespace OAI
noncomputable section
open Set Filter Manifold Bundle Metric
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]
lemma uniform_half_cost_hessian (a : M) :
βˆƒ B>0, βˆƒ r>0,
ball (extChartAt π“˜(ℝ,Model n) a a) r βŠ† (extChartAt π“˜(ℝ,Model n) a).target ∧
βˆ€ x∈ball (extChartAt π“˜(ℝ,Model n) a a) r,
βˆ€ p : TangentSpace π“˜(ℝ,Model n) ((extChartAt π“˜(ℝ,Model n) a).symm x),
p∈minimizingVectors ((extChartAt π“˜(ℝ,Model n) a).symm x) β†’
βˆ€ z∈ball (extChartAt π“˜(ℝ,Model n) a a) r,
ContDiffAt ℝ 2 (chartCost a (riemannianExp _ ((1/2:ℝ) β€’ p))) z ∧
β€–fderiv ℝ (fderiv ℝ (chartCost a (riemannianExp _ ((1/2:ℝ) β€’ p)))) z‖≀B := by
let Ο‡ := extChartAt π“˜(ℝ,Model n) a
let zβ‚€ := Ο‡ a
let Y : TangentBundle π“˜(ℝ,Model n) M β†’ M := fun V => riemannianExp V.1 ((1/2:ℝ) β€’ V.2)
have hY : Continuous Y := contMDiff_riemannianExp.continuous.comp
(contMDiff_tangentScale.continuous.comp (continuous_const.prodMk continuous_id))
have haT : zβ‚€βˆˆΟ‡.target := Ο‡.map_source (mem_extChartAt_source a)
have hχ : ContinuousAt χ.symm z₀ :=
(continuousOn_extChartAt_symm a zβ‚€ haT).continuousAt ((isOpen_extChartAt_target a).mem_nhds haT)
have hproj : Continuous (fun V : TangentBundle π“˜(ℝ,Model n) M => V.1) :=
FiberBundle.continuous_proj _ _
have hg : ContinuousAt (fun q : Model nΓ—Model n => Ο‡.symm q.1) (zβ‚€,zβ‚€) :=
hχ.comp (x := (z₀,z₀)) (f := fun q : Model n×Model n => q.1) continuousAt_fst
have hloc : βˆ€ V : TangentBundle π“˜(ℝ,Model n) M,
V.2∈minimizingVectors V.1 β†’ V.1=Ο‡.symm zβ‚€ β†’
ContinuousAt (fun q : Model nΓ—M => fderiv ℝ (fderiv ℝ (chartCost a q.2)) q.1) (zβ‚€,Y V) ∧
βˆ€αΆ  q : Model nΓ—M in 𝓝 (zβ‚€,Y V), ContDiffAt ℝ 2 (chartCost a q.2) q.1 := by
intro V hV he
apply chartCost_jet_continuous haT
have hc := cost_contMDiffAt_of_injectivityDomain
(⟨V.1,(1/2:ℝ) β€’ V.2⟩ : TangentBundle π“˜(ℝ,Model n) M)
(contracted_minimizer_mem_injectivityDomain hV (by norm_num : (0:ℝ)<1/2) (by norm_num : (1/2:ℝ)<1))
change ContMDiffAt _ _ ∞ (fun q : MΓ—M => cost q.1 q.2) (Ο‡.symm zβ‚€,Y V)
rw [←he]
exact hc
let H := fun q : (Model nΓ—Model n)Γ—TangentBundle π“˜(ℝ,Model n) M =>
fderiv ℝ (fderiv ℝ (chartCost a (Y q.2))) q.1.2
have hc : Continuous (fun q : (Model nΓ—Model n)Γ—TangentBundle π“˜(ℝ,Model n) M =>
(q.1.2,Y q.2)) := continuous_fst.snd.prodMk (hY.comp continuous_snd)
obtain ⟨B,hB,hBnear⟩ := compact_eventually_fiberwise_bound isCompact_total_minimizingVectors
hproj hg (h := H) (fun V hV he => by
convert (hloc V hV he).1.comp
(x := ((zβ‚€,zβ‚€),V)) (f := fun q : (Model nΓ—Model n)Γ—TangentBundle π“˜(ℝ,Model n) M => (q.1.2,Y q.2)) hc.continuousAt using 1
rfl)
have hSnear : βˆ€αΆ  q : Model nΓ—Model n in 𝓝 (zβ‚€,zβ‚€),
βˆ€ V : TangentBundle π“˜(ℝ,Model n) M, V.2∈minimizingVectors V.1 β†’ V.1=Ο‡.symm q.1 β†’
ContDiffAt ℝ 2 (chartCost a (Y V)) q.2 := by
apply compact_eventually_fiberwise isCompact_total_minimizingVectors hproj hg
intro V hV he
exact (hc.continuousAt (x := ((zβ‚€,zβ‚€),V))).tendsto.eventually (hloc V hV he).2
obtain ⟨r₁,hr₁,hr⟩ := Metric.eventually_nhds_iff.mp (hSnear.and hBnear)
obtain ⟨rβ‚‚,hrβ‚‚,hrT⟩ := Metric.mem_nhds_iff.mp ((isOpen_extChartAt_target a).mem_nhds haT)
refine ⟨B,hB,min r₁ rβ‚‚,lt_min hr₁ hrβ‚‚,?_,?_⟩
Β· exact fun x hx => hrT (ball_subset_ball (min_le_right _ _) hx)
Β· intro x hx p hp z hz
have hpair : dist (x,z) (zβ‚€,zβ‚€)<r₁ := by
rw [Prod.dist_eq,max_lt_iff]
exact ⟨lt_of_lt_of_le hx (min_le_left _ _),lt_of_lt_of_le hz (min_le_left _ _)⟩
exact ⟨(hr hpair).1 βŸ¨Ο‡.symm x,p⟩ hp rfl,(hr hpair).2 βŸ¨Ο‡.symm x,p⟩ hp rfl⟩
end WeakMTWTransport
end
end OAI

Xet Storage Details

Size:
4.46 kB
Β·
Xet hash:
cbac4205a8d83d5d968ddcbb7e6a7c9a8c1a9a2a80bde61c4f2b12933d274cd2

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