cfahlgren1's picture
download
raw
4.9 kB
import Mathlib
import OAI.Analysis.BiholderTransport.LinearAlgebra.LocalMountains
import OAI.Analysis.BiholderTransport.Coordinates.ChartGradientMap
import OAI.Analysis.BiholderTransport.Regularity.SecondFderivAdd
namespace OAI
section
section
noncomputable section
open Set Filter Manifold Bundle
open scoped Topology ContDiff
namespace WeakMTWTransport
section TestMountains
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]
omit [Nonempty M] in
lemma exists_test_mountains {a : M} {z : Model n} {Ο† : Model n β†’ ℝ} {m : ℝ}
(hz : z∈(extChartAt π“˜(ℝ,Model n) a).target) (hΟ† : ContDiffAt ℝ 2 Ο† z)
(hp : chartGradientVector a z (fderiv ℝ Ο† z)∈injectivityDomain
((extChartAt π“˜(ℝ,Model n) a).symm z)) (hm : 0 < m)
(hpos : βˆ€ d : Model n, m*β€–dβ€–^2 ≀
fderiv ℝ (fderiv ℝ Ο†) z d d +
fderiv ℝ (fderiv ℝ (chartCost a (coordinateBackward a (-1,z,fderiv ℝ Ο† z)))) z d d) :
βˆƒ r>0, Metric.closedBall z rβŠ†(extChartAt π“˜(ℝ,Model n) a).target ∧
βˆ€ w∈Metric.closedBall z r, βˆ€ q∈Metric.closedBall z r,
Ο† w+chartCost a (coordinateBackward a (-1,w,fderiv ℝ Ο† w)) w ≀
Ο† q+chartCost a (coordinateBackward a (-1,w,fderiv ℝ Ο† w)) q := by
let Y := fun w => coordinateBackward a (-1,w,fderiv ℝ Ο† w)
let F := fun y w => Ο† w+chartCost a y w
have hc : ContMDiffAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n)) π“˜(ℝ,ℝ) ∞
(fun q : MΓ—M => cost q.1 q.2) ((extChartAt π“˜(ℝ,Model n) a).symm z,Y z) := by
rw [show Y z=riemannianExp ((extChartAt π“˜(ℝ,Model n) a).symm z)
(chartGradientVector a z (fderiv ℝ Ο† z)) from coordinateBackward_eq_exp_chartGradient hz _]
exact cost_contMDiffAt_of_injectivityDomain
(⟨(extChartAt π“˜(ℝ,Model n) a).symm z,chartGradientVector a z (fderiv ℝ Ο† z)⟩ :
TangentBundle π“˜(ℝ,Model n) M) hp
obtain ⟨hC,hD⟩ := chartCost_jet_continuous hz hc
have hDn : βˆ€αΆ  q : Model nΓ—M in 𝓝 (z,Y z), ContDiffAt ℝ 2 Ο† q.1 :=
continuousAt_fst.eventually (hφ.eventually (by norm_num))
have he : βˆ€αΆ  q : Model nΓ—M in 𝓝 (z,Y z),
fderiv ℝ (fderiv ℝ (F q.2)) q.1 =
fderiv ℝ (fderiv ℝ Ο†) q.1+fderiv ℝ (fderiv ℝ (chartCost a q.2)) q.1 := by
filter_upwards [hDn,hD] with q hq hq'
exact second_fderiv_add_eq hq hq'
have hFC : ContinuousAt (fun q : Model nΓ—M => fderiv ℝ (fderiv ℝ (F q.2)) q.1) (z,Y z) := by
apply ((((hφ.fderiv_right (m := 1) (by norm_num)).fderiv_right (m := 0)
(by norm_num)).continuousAt.comp continuousAt_fst).add hC).congr_of_eventuallyEq he
have hFD : βˆ€αΆ  q : Model nΓ—M in 𝓝 (z,Y z), ContDiffAt ℝ 2 (F q.2) q.1 := by
filter_upwards [hDn,hD] with q hq hq'
exact hq.add hq'
obtain ⟨rβ‚€,hrβ‚€,V,hV,H⟩ := exists_local_mountains hm hFC hFD (by
intro d
rw [he.self_of_nhds]
exact hpos d)
have hj : ContinuousAt (fun w : Model n => (w,fderiv ℝ Ο† w)) z :=
continuousAt_id.prodMk ((hφ.fderiv_right (m := 1) (by norm_num)).continuousAt)
have hY : ContinuousAt Y z :=
(coordinateBackward_contMDiffAt (q := (-1,z,fderiv ℝ Ο† z)) hz).continuousAt.comp (x := z) (f := fun w : Model n => ((-1:ℝ),w,fderiv ℝ Ο† w))
(continuousAt_const.prodMk hj)
have hchart : βˆ€αΆ  w : Model n in 𝓝 z, w∈(extChartAt π“˜(ℝ,Model n) a).target :=
(isOpen_extChartAt_target a).mem_nhds hz
have hnear : βˆ€αΆ  w : Model n in 𝓝 z,
w∈(extChartAt π“˜(ℝ,Model n) a).target ∧
chartGradientVector a w (fderiv ℝ Ο† w)∈injectivityDomain
((extChartAt π“˜(ℝ,Model n) a).symm w) ∧
ContDiffAt ℝ 2 Ο† w ∧ Y w∈V ∧ w∈Metric.ball z rβ‚€ :=
by
filter_upwards [hchart,hj.eventually (chartGradientVector_regular_near hz hp),
hφ.eventually (by norm_num),hY.preimage_mem_nhds hV,Metric.ball_mem_nhds z hr₀]
with w hw hpw hφw hyw hrw
exact ⟨hw,hpw,hΟ†w,hyw,hrw⟩
obtain ⟨r,hr,hrsub⟩ := Metric.nhds_basis_closedBall.mem_iff.mp hnear
refine ⟨r,hr,fun w hw => (hrsub hw).1,?_⟩
intro w hw q hq
have hw' := hrsub hw
apply H (Y w) hw'.2.2.2.1 w (Metric.ball_subset_closedBall hw'.2.2.2.2) ?_
q (Metric.ball_subset_closedBall (hrsub hq).2.2.2.2)
have HD := (hw'.2.2.1.differentiableAt (by norm_num)).hasFDerivAt.add
(chartCost_gradient_at_contact hw'.1 hw'.2.1)
change fderiv ℝ (Ο† + chartCost a (coordinateBackward a (-1,w,fderiv ℝ Ο† w))) w=0
simpa only [add_neg_cancel] using HD.fderiv
end TestMountains
end WeakMTWTransport
end
end
end
end OAI

Xet Storage Details

Size:
4.9 kB
Β·
Xet hash:
9677173d7ac34a6a63ca9e84a2073d9dca665fae73bad4771e9246c17ac80609

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