cfahlgren1's picture
download
raw
6.93 kB
import Mathlib
import OAI.Analysis.BiholderTransport.Coordinates.PoleCoordinates
namespace OAI
noncomputable section
open Set Filter Manifold Bundle
open scoped Topology ContDiff
namespace WeakMTWTransport
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]
def chartGradientVector (a : M) (z : Model n) (L : Model n β†’L[ℝ] ℝ) :
TangentSpace π“˜(ℝ,Model n) ((extChartAt π“˜(ℝ,Model n) a).symm z) :=
(trivializationAt (Model n) (TangentSpace π“˜(ℝ,Model n)) a).symmL ℝ
((extChartAt π“˜(ℝ,Model n) a).symm z) ((riemannianCoordinateMetric a z).inverse L)
omit [CompactSpace M] [Nonempty M]
[IsContMDiffRiemannianBundle π“˜(ℝ,Model n) ∞ (Model n)
(fun x : M => TangentSpace π“˜(ℝ,Model n) x)]
[IsRiemannianManifold π“˜(ℝ,Model n) M] in
lemma coordinateBackward_eq_exp_chartGradient {a : M} {z : Model n}
(hz : z∈(extChartAt π“˜(ℝ,Model n) a).target) (L : Model n β†’L[ℝ] ℝ) :
coordinateBackward a (-1,z,L)=riemannianExp
((extChartAt π“˜(ℝ,Model n) a).symm z) (chartGradientVector a z L) := by
rw [coordinateBackward,neg_neg,one_smul,movingNormal_eq hz]
rfl
omit [CompactSpace M] [Nonempty M]
[IsContMDiffRiemannianBundle π“˜(ℝ,Model n) ∞ (Model n)
(fun x : M => TangentSpace π“˜(ℝ,Model n) x)]
[IsRiemannianManifold π“˜(ℝ,Model n) M] in
lemma chartGradientVector_total_eq {a : M} {q : Model nΓ—(Model n β†’L[ℝ] ℝ)}
(hq : q.1∈(extChartAt π“˜(ℝ,Model n) a).target) :
(⟨(extChartAt π“˜(ℝ,Model n) a).symm q.1,chartGradientVector a q.1 q.2⟩ :
TangentBundle π“˜(ℝ,Model n) M) =
(extChartAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(⟨a,0⟩ : TangentBundle π“˜(ℝ,Model n) M)).symm
(q.1,(riemannianCoordinateMetric a q.1).inverse q.2) := by
have hx : (extChartAt π“˜(ℝ,Model n) a).symm q.1∈(chartAt (Model n) a).source := by
simpa only [extChartAt_source] using (extChartAt π“˜(ℝ,Model n) a).map_target hq
dsimp only [chartGradientVector]
rw [TangentBundle.symmL_trivializationAt_eq_core hx]
rfl
omit [CompactSpace M] [Nonempty M] [IsRiemannianManifold π“˜(ℝ,Model n) M] in
lemma coordinateRaise_contDiffAt {a : M} {q : Model nΓ—(Model n β†’L[ℝ] ℝ)}
(hq : q.1∈(extChartAt π“˜(ℝ,Model n) a).target) :
ContDiffAt ℝ ∞ (fun q : Model nΓ—(Model n β†’L[ℝ] ℝ) =>
(q.1,(riemannianCoordinateMetric a q.1).inverse q.2)) q := by
have hg := (contDiffOn_riemannianCoordinateMetric (E := Model n) a).contDiffAt
((isOpen_extChartAt_target a).mem_nhds hq)
have hi := (riemannianCoordinateMetric_isInvertible hq).contDiffAt_map_inverse.comp q.1 hg
exact contDiffAt_fst.prodMk ((hi.comp q contDiffAt_fst).clm_apply contDiffAt_snd)
omit [CompactSpace M] [Nonempty M] [IsRiemannianManifold π“˜(ℝ,Model n) M] in
lemma chartGradientVector_total_continuousAt {a : M} {q : Model nΓ—(Model n β†’L[ℝ] ℝ)}
(hq : q.1∈(extChartAt π“˜(ℝ,Model n) a).target) :
ContinuousAt (fun q : Model nΓ—(Model n β†’L[ℝ] ℝ) =>
(⟨(extChartAt π“˜(ℝ,Model n) a).symm q.1,chartGradientVector a q.1 q.2⟩ :
TangentBundle π“˜(ℝ,Model n) M)) q := by
let c := extChartAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(⟨a,0⟩ : TangentBundle π“˜(ℝ,Model n) M)
let f := fun q : Model nΓ—(Model n β†’L[ℝ] ℝ) =>
(q.1,(riemannianCoordinateMetric a q.1).inverse q.2)
have hT : f q∈c.target := (tangent_chart_target_iff _ (f q)).mpr hq
have hc : ContinuousAt c.symm (f q) :=
(continuousOn_extChartAt_symm _).continuousAt ((isOpen_extChartAt_target _).mem_nhds hT)
have hf : ContinuousAt f q := (coordinateRaise_contDiffAt hq).continuousAt
apply (hc.comp (x := q) hf).congr_of_eventuallyEq
have he : βˆ€αΆ  q' : Model nΓ—(Model n β†’L[ℝ] ℝ) in 𝓝 q,
q'.1∈(extChartAt π“˜(ℝ,Model n) a).target :=
continuousAt_fst.preimage_mem_nhds ((isOpen_extChartAt_target a).mem_nhds hq)
filter_upwards [he] with q' hq'
exact chartGradientVector_total_eq hq'
omit [Nonempty M] in
lemma chartGradientVector_regular_near {a : M} {q : Model nΓ—(Model n β†’L[ℝ] ℝ)}
(hq : q.1∈(extChartAt π“˜(ℝ,Model n) a).target)
(hp : chartGradientVector a q.1 q.2∈injectivityDomain
((extChartAt π“˜(ℝ,Model n) a).symm q.1)) :
βˆ€αΆ  q' : Model nΓ—(Model n β†’L[ℝ] ℝ) in 𝓝 q,
chartGradientVector a q'.1 q'.2∈injectivityDomain
((extChartAt π“˜(ℝ,Model n) a).symm q'.1) :=
(chartGradientVector_total_continuousAt hq).preimage_mem_nhds
(isOpen_total_injectivityDomain.mem_nhds hp)
omit [Nonempty M] in
lemma chartCost_gradient_at_contact {a : M} {z : Model n} {L : Model n β†’L[ℝ] ℝ}
(hz : z∈(extChartAt π“˜(ℝ,Model n) a).target)
(hp : chartGradientVector a z L∈injectivityDomain
((extChartAt π“˜(ℝ,Model n) a).symm z)) :
HasFDerivAt (chartCost a (coordinateBackward a (-1,z,L))) (-L) z := by
let Ο‡ := extChartAt π“˜(ℝ,Model n) a
let x := Ο‡.symm z
let p := chartGradientVector a z L
have hx : xβˆˆΟ‡.source := Ο‡.map_target hz
have hx' : x∈(chartAt (Model n) a).source := by simpa only [Ο‡,extChartAt_source] using hx
have H := coordinate_gradient_of_hasMFDerivAt (⟨x,p⟩ : TangentBundle π“˜(ℝ,Model n) M)
hx (fun w => cost w (riemannianExp x p)) (-1)
(by simpa only [neg_one_smul] using cost_start_gradient_of_injectivityDomain hp)
have hcoord : (extChartAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(⟨a,0⟩ : TangentBundle π“˜(ℝ,Model n) M) (⟨x,p⟩ : TangentBundle π“˜(ℝ,Model n) M)).2 =
(riemannianCoordinateMetric a z).inverse L := by
have hsame : (extChartAt (π“˜(ℝ,Model n).prod π“˜(ℝ,Model n))
(⟨a,0⟩ : TangentBundle π“˜(ℝ,Model n) M) (⟨x,p⟩ : TangentBundle π“˜(ℝ,Model n) M)).2 =
(trivializationAt (Model n) (TangentSpace π“˜(ℝ,Model n)) a).continuousLinearMapAt ℝ x p := by
rw [TangentBundle.continuousLinearMapAt_trivializationAt_eq_core hx']
rfl
rw [hsame]
exact Trivialization.continuousLinearMapAt_symmL _ hx' _
dsimp only [Bundle.TotalSpace.proj,Bundle.TotalSpace.snd] at H
rw [hcoord] at H
have he : Ο‡ x=z := Ο‡.right_inv hz
change HasFDerivAt (fun q => cost (Ο‡.symm q) (riemannianExp x p))
((-1:ℝ) β€’ riemannianCoordinateMetric a (Ο‡ x) ((riemannianCoordinateMetric a z).inverse L)) (Ο‡ x) at H
rw [he,(riemannianCoordinateMetric_isInvertible hz).self_apply_inverse] at H
rw [coordinateBackward_eq_exp_chartGradient hz]
apply H.congr_fderiv
ext w
change (-1:ℝ)*L w= -L w
ring
end WeakMTWTransport
end
end OAI

Xet Storage Details

Size:
6.93 kB
Β·
Xet hash:
f55c2b5c4c26b30e6c4ae11cb4f97017c8c9dcc55d9fc6ccefa551999714561f

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