cfahlgren1/math / lean /OAI /Geometry /WeakMTW /Geodesics /GeodesicDistance.lean
cfahlgren1's picture
download
raw
3.42 kB
import Mathlib
import OAI.Geometry.WeakMTW.Geodesics.GeodesicFlow
namespace OAI
namespace WeakMTWGlobalSupport
section
open Set Filter Manifold Bundle MeasureTheory
open scoped Topology ContDiff Manifold ENNReal
namespace WeakMTW
noncomputable section
open RiemannianLocal
variable {n : ℕ} {M : Type*} [MetricSpace 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] [CompactSpace M]
theorem geodesic_pathELength (p : TangentBundle (model n) M) (a b : ℝ) :
pathELength (model n) (geodesic p) a b = ENNReal.ofReal (‖p.2‖ * (b-a)) := by
rw [pathELength_eq_lintegral_mfderiv_Icc]
have heq : (fun t : ℝ => ‖mfderiv 𝓘(ℝ, ℝ) (model n) (geodesic p) t 1‖ₑ) =
fun _ : ℝ => ENNReal.ofReal ‖p.2‖ := by
funext t
rw [← ofReal_norm]
congr 1
exact geodesicFlow_norm t p
rw [heq, lintegral_const, Measure.restrict_apply_univ, Real.volume_Icc, ← ENNReal.ofReal_mul (norm_nonneg _)]
theorem geodesic_dist_le (p : TangentBundle (model n) M) (a b : ℝ) :
dist (geodesic p a) (geodesic p b) ≤ ‖p.2‖ * |b-a| := by
wlog hab : a ≤ b generalizing a b
· rw [dist_comm, abs_sub_comm]
exact this b a (le_of_not_ge hab)
have hh := riemannianEDist_le_pathELength (I := model n) (γ := geodesic p)
((geodesic_smooth p).of_le (by simp)).contMDiffOn rfl rfl hab
rw [← IsRiemannianManifold.out (I := model n), geodesic_pathELength, edist_dist] at hh
rw [abs_of_nonneg (sub_nonneg.mpr hab)]
exact (ENNReal.ofReal_le_ofReal_iff (mul_nonneg (norm_nonneg _) (sub_nonneg.mpr hab))).mp hh
theorem dist_exp_le (x : M) (v : TangentSpace (model n) x) :
dist x (exp x v) ≤ ‖v‖ := by
have hh := geodesic_dist_le (⟨x,v⟩ : TangentBundle (model n) M) 0 1
have hz := congrArg TotalSpace.proj (geodesic_state_zero (⟨x,v⟩ : TangentBundle (model n) M))
simpa only [show geodesic (⟨x,v⟩ : TangentBundle (model n) M) 0 = x from hz,
← exp_eq_geodesic, sub_zero, abs_one, mul_one] using hh
theorem minimizing_radial {x : M} {v : TangentSpace (model n) x}
(hv : v ∈ minimizingDomain x) {t : ℝ} (ht : t ∈ Icc (0 : ℝ) 1) :
t • v ∈ minimizingDomain x := by
change dist x (exp x (t • v)) = ‖t • v‖
apply le_antisymm (dist_exp_le x _)
have hh := geodesic_dist_le (⟨x,v⟩ : TangentBundle (model n) M) t 1
rw [← exp_eq_geodesic, ← exp_mul_eq_geodesic] at hh
rw [abs_of_nonneg (sub_nonneg.mpr ht.2)] at hh
have htri := dist_triangle x (exp x (t • v)) (exp x v)
change dist x (exp x v) = ‖v‖ at hv
rw [hv] at htri
rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg ht.1]
nlinarith
theorem injectivity_subset_minimizing (x : M) : injectivityDomain (n := n) x ⊆ minimizingDomain (n := n) x := by
rintro v ⟨a,ha,he⟩
have hapos : 0 < a := lt_trans zero_lt_one ha
have hmin : a • v ∈ minimizingDomain x := by
change dist x (exp x (a • v)) = ‖a • v‖
rw [he, norm_smul, Real.norm_eq_abs, abs_of_pos hapos]
have hh := minimizing_radial hmin (t := a⁻¹) ⟨inv_nonneg.mpr hapos.le, (inv_le_one₀ hapos).mpr ha.le⟩
simpa only [smul_smul, inv_mul_cancel₀ hapos.ne', one_smul] using hh
end
end WeakMTW
end
end WeakMTWGlobalSupport
end OAI

Xet Storage Details

Size:
3.42 kB
·
Xet hash:
9b9df74ef67a9769ad62437ed2a7c1d3eef40d5cc80b8a27ac601eedb162ea16

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