cfahlgren1's picture
download
raw
6.88 kB
import Mathlib
import OAI.Analysis.BiholderTransport.Geodesics.GeodesicSpray
namespace OAI
noncomputable section
open Set MeasureTheory Manifold Bundle
open scoped ContDiff Manifold ENNReal NNReal Topology
open Set Filter
open scoped Topology NNReal
open Set Filter
open scoped Topology
open Set Manifold MeasureTheory Bundle
open scoped ENNReal ContDiff Topology
open Set
open scoped Topology
open Set Filter Manifold Bundle ContinuousLinearMap
open scoped Topology ContDiff Manifold Bundle
open Set Filter ContinuousLinearMap InnerProductSpace
open scoped Topology ContDiff
open Set Filter ContinuousLinearMap
open scoped Topology ContDiff
open Set Filter ContinuousLinearMap
open scoped Topology ContDiff
open Set Filter ContinuousLinearMap
open scoped Topology ContDiff
open scoped NNReal
open Set Filter ContinuousLinearMap
open scoped Topology ContDiff
open Set Filter ContinuousLinearMap
open scoped Topology
open MeasureTheory
open scoped ContDiff ENNReal
open Set Filter Manifold Bundle ContinuousLinearMap MeasureTheory
open scoped Topology ContDiff Manifold Bundle ENNReal
open Set Filter Manifold MeasureTheory Bundle
open scoped ENNReal ContDiff Topology Manifold
open Set Filter Manifold Bundle ContinuousLinearMap
open scoped Topology ContDiff Manifold Bundle
open Set Filter Manifold Bundle
open scoped Topology ContDiff Manifold Bundle
open Set Filter Manifold Bundle
open scoped Topology ContDiff Manifold Bundle
open Set Filter Bundle
open scoped Topology Bundle
open scoped Topology
open Function Manifold Set
open Manifold Bundle
open scoped Manifold Bundle
namespace WeakMTWTransport
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace โ„ E]
{M : Type*} [TopologicalSpace M] [ChartedSpace E M]
[IsManifold ๐“˜(โ„,E) โˆž M]
[RiemannianBundle (fun x : M => TangentSpace ๐“˜(โ„,E) x)]
lemma coordinate_spray_energy_symm (a : TangentBundle ๐“˜(โ„,E) M) (q : E ร— E)
(hq : q.1 โˆˆ (extChartAt ๐“˜(โ„,E) a.1).target) :
riemannianCoordinateMetric a.1 q.1 q.2 q.2 =
โ€–((extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) a).symm q).2โ€– ^ 2 := by
rw [riemannianCoordinateMetric_apply]
have hbase : (extChartAt ๐“˜(โ„,E) a.1).symm q.1 โˆˆ
(trivializationAt E (fun x : M => TangentSpace ๐“˜(โ„,E) x) a.1).baseSet := by
simpa only [TangentBundle.trivializationAt_baseSet,โ† extChartAt_source ๐“˜(โ„,E)] using
(extChartAt ๐“˜(โ„,E) a.1).map_target hq
rw [Trivialization.symmL_apply _ hbase]
have he : (trivializationAt E (fun x : M => TangentSpace ๐“˜(โ„,E) x) a.1).symm
((extChartAt ๐“˜(โ„,E) a.1).symm q.1) q.2 =
tangentCoordChange ๐“˜(โ„,E) a.1 ((extChartAt ๐“˜(โ„,E) a.1).symm q.1)
((extChartAt ๐“˜(โ„,E) a.1).symm q.1) q.2 :=
(tangentBundleCore ๐“˜(โ„,E) M).localTriv_symm_apply (i := achart E a.1) hbase q.2
rw [he]
change inner โ„ ((extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) a).symm q).2
((extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) a).symm q).2 = _
exact real_inner_self_eq_norm_sq _
lemma coordinate_spray_energy (a z : TangentBundle ๐“˜(โ„,E) M)
(hz : z.1 โˆˆ (extChartAt ๐“˜(โ„,E) a.1).source) :
riemannianCoordinateMetric a.1
(extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) a z).1
(extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) a z).2
(extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) a z).2 = โ€–z.2โ€– ^ 2 := by
rw [coordinate_spray_energy_symm a _ ((extChartAt ๐“˜(โ„,E) a.1).map_source hz)]
rw [(extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) a).left_inv
((tangent_chart_source_iff a z).mpr hz)]
variable [FiniteDimensional โ„ E]
[IsContMDiffRiemannianBundle ๐“˜(โ„,E) โˆž E (fun x : M => TangentSpace ๐“˜(โ„,E) x)]
lemma spray_chart_hasDerivAt {ฮณ : โ„ โ†’ TangentBundle ๐“˜(โ„,E) M} {t : โ„}
(hฮณ : IsMIntegralCurveAt ฮณ (geodesicSpray (E := E)) t) :
HasDerivAt (extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) (ฮณ t) โˆ˜ ฮณ)
(coordinateGeodesicField (riemannianCoordinateMetric (ฮณ t).1)
(extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) (ฮณ t) (ฮณ t))) t := by
have hd := Filter.Eventually.self_of_nhds hฮณ.eventually_hasDerivAt
rw [geodesicSpray_coordinates (ฮณ t) (ฮณ t)
(mem_extChartAt_source (I := ๐“˜(โ„,E)) (ฮณ t).1)] at hd
exact hd
lemma spray_coordinate_energy_hasDerivAt {ฮณ : โ„ โ†’ TangentBundle ๐“˜(โ„,E) M} {t : โ„}
(hฮณ : IsMIntegralCurveAt ฮณ (geodesicSpray (E := E)) t) :
let q := extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) (ฮณ t) โˆ˜ ฮณ
HasDerivAt (fun s => riemannianCoordinateMetric (ฮณ t).1 (q s).1 (q s).2 (q s).2) 0 t := by
let q := extChartAt (๐“˜(โ„,E).prod ๐“˜(โ„,E)) (ฮณ t) โˆ˜ ฮณ
have hd := spray_chart_hasDerivAt hฮณ
have hqt : (q t).1 โˆˆ (extChartAt ๐“˜(โ„,E) (ฮณ t).1).target :=
(extChartAt ๐“˜(โ„,E) (ฮณ t).1).map_source (mem_extChartAt_source (ฮณ t).1)
have hg : DifferentiableAt โ„ (riemannianCoordinateMetric (ฮณ t).1) (q t).1 :=
((contDiffOn_riemannianCoordinateMetric (ฮณ t).1).contDiffAt
((isOpen_extChartAt_target (ฮณ t).1).mem_nhds hqt)).differentiableAt (by simp)
have hpos : HasDerivAt (fun s => (q s).1) (q t).2 t :=
(ContinuousLinearMap.fst โ„ E E).hasFDerivAt.comp_hasDerivAt t hd
have hvel : HasDerivAt (fun s => (q s).2)
(-coordinateChristoffel (riemannianCoordinateMetric (ฮณ t).1) (q t).1 (q t).2 (q t).2) t :=
(ContinuousLinearMap.snd โ„ E E).hasFDerivAt.comp_hasDerivAt t hd
exact metric_speed_derivative (E := E) hg
(riemannianCoordinateMetric_isInvertible hqt)
(riemannianCoordinateMetric_symm _ _) hpos hvel
lemma hasDerivAt_spray_energy {ฮณ : โ„ โ†’ TangentBundle ๐“˜(โ„,E) M} {t : โ„}
(hฮณ : IsMIntegralCurveAt ฮณ (geodesicSpray (E := E)) t) :
HasDerivAt (fun s => โ€–(ฮณ s).2โ€– ^ 2) 0 t := by
apply (spray_coordinate_energy_hasDerivAt hฮณ).congr_of_eventuallyEq
have hnear : โˆ€แถ  s in ๐“ t, (ฮณ s).1 โˆˆ (extChartAt ๐“˜(โ„,E) (ฮณ t).1).source := by
have h := hฮณ.continuousAt.preimage_mem_nhds
(extChartAt_source_mem_nhds (I := ๐“˜(โ„,E).prod ๐“˜(โ„,E)) (ฮณ t))
filter_upwards [h] with s hs
exact (tangent_chart_source_iff (ฮณ t) (ฮณ s)).mp hs
filter_upwards [hnear] with s hs
exact (coordinate_spray_energy (ฮณ t) (ฮณ s) hs).symm
lemma spray_speed_constant {ฮณ : โ„ โ†’ TangentBundle ๐“˜(โ„,E) M} {a b s t : โ„}
(hฮณ : IsMIntegralCurveOn ฮณ (geodesicSpray (E := E)) (Ioo a b))
(hs : s โˆˆ Ioo a b) (ht : t โˆˆ Ioo a b) : โ€–(ฮณ s).2โ€– = โ€–(ฮณ t).2โ€– := by
have hd (r : โ„) (hr : r โˆˆ Ioo a b) := hasDerivAt_spray_energy
(hฮณ.isMIntegralCurveAt (isOpen_Ioo.mem_nhds hr))
have he := isOpen_Ioo.is_const_of_deriv_eq_zero (convex_Ioo a b).isPreconnected
(fun r hr => (hd r hr).differentiableAt.differentiableWithinAt)
(fun r hr => (hd r hr).deriv) hs ht
nlinarith [norm_nonneg (ฮณ s).2,norm_nonneg (ฮณ t).2]
end WeakMTWTransport
end
end OAI

Xet Storage Details

Size:
6.88 kB
ยท
Xet hash:
76de9eb8da59618a72f94532eaae0e7f0801855d7b5ae1adcebd7167913af22d

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