cfahlgren1/math / lean /OAI /Geometry /WeakMTW /Geodesics /IntrinsicExistence.lean
cfahlgren1's picture
download
raw
4.93 kB
import Mathlib
import OAI.Geometry.WeakMTW.Geodesics.IntrinsicOn
import OAI.Geometry.WeakMTW.Geodesics.LocalGeodesic
import OAI.Geometry.WeakMTW.Coordinates.CoordinateExistence
namespace OAI
namespace WeakMTWGlobalSupport
section
open Set Filter Manifold Bundle
open scoped Topology ContDiff Manifold
namespace RiemannianLocal
noncomputable section
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E]
{M : Type*} [MetricSpace M] [ChartedSpace E M] [IsManifold π“˜(ℝ, E) ∞ M]
[RiemannianBundle (fun x : M => TangentSpace π“˜(ℝ, E) x)]
[IsContMDiffRiemannianBundle π“˜(ℝ, E) ∞ E (fun x : M => TangentSpace π“˜(ℝ, E) x)]
[IsRiemannianManifold π“˜(ℝ, E) M]
open ChartMetric CoordinateGeometry
omit [FiniteDimensional ℝ E]
[IsContMDiffRiemannianBundle π“˜(ℝ, E) ∞ E (fun x : M => TangentSpace π“˜(ℝ, E) x)]
[IsRiemannianManifold π“˜(ℝ, E) M] in
theorem coordinate_curve_state (x : M) {q : ℝ β†’ E Γ— E} {t : ℝ}
(ht : (q t).1 ∈ (chartAt E x).target)
(hq : HasDerivAt q (geodesicSpray (metric x) (q t)) t) :
curveState (E := E) (fun s => (chartAt E x).symm (q s).1) t =
⟨(chartAt E x).symm (q t).1, chartLift x (q t).1 (q t).2⟩ := by
have hc : HasDerivAt (fun s => (q s).1) (q t).2 t := hq.fst
have hmc := mdifferentiableAt_iff_differentiableAt.mpr hc.differentiableAt
have hms := mdifferentiableAt_atlas_symm (I := π“˜(ℝ, E)) (chart_mem_atlas E x) ht
refine TotalSpace.ext ?_ ?_
Β· rfl
apply heq_of_eq
dsimp only [curveState]
rw [chartLift_eq_mfderiv_symm x ht]
change mfderiv π“˜(ℝ, ℝ) π“˜(ℝ, E) ((chartAt E x).symm ∘ fun s => (q s).1) t 1 = _
rw [mfderiv_comp t hms hmc]
simp only [mfderiv_eq_fderiv]
change (mfderiv π“˜(ℝ, E) π“˜(ℝ, E) (chartAt E x).symm (q t).1)
(fderiv ℝ (fun s : ℝ => (q s).1) t 1) = _
rw [fderiv_apply_one_eq_deriv, hc.deriv]
rfl
theorem coordinate_intrinsic (x : M) {U : Set ℝ} (hU : IsOpen U) (hUc : IsPreconnected U)
{q : ℝ β†’ E Γ— E} (hqs : ContDiffOn ℝ ∞ q U)
(hq : βˆ€ t ∈ U, (q t).1 ∈ (chartAt E x).target ∧
HasDerivAt q (geodesicSpray (metric x) (q t)) t)
{a : ℝ} (ha : a ∈ U) :
IsIntrinsicGeodesicOn (E := E) (fun t => (chartAt E x).symm (q t).1)
(Real.sqrt (metric x (q a).1 (q a).2 (q a).2)) U := by
refine ⟨contMDiffOn_chart_symm.comp (contMDiffOn_iff_contDiffOn.mpr hqs.fst)
(fun t ht => (hq t ht).1), ?_⟩
intro t ht
obtain ⟨Ρ, hΡ, _, hdist⟩ := coordinate_geodesic_locally_minimizes x hU hqs hq ht
have he := geodesic_energy_on_connected (chartAt E x).open_target
((metric_smooth x).differentiableOn (by simp)) (fun z _ => metric_symmetric x z)
(fun z hz v hv => metric_positive x hz hv) hU hUc hq ht ha
exact ⟨Ρ, hΡ, by simpa only [he] using hdist⟩
theorem uniformly_local_intrinsic (x : M) {C : ℝ} (hC : 0 ≀ C) :
βˆƒ Ξ΅ : ℝ, 0 < Ξ΅ ∧ βˆƒ V : Set M, IsOpen V ∧ x ∈ V ∧
βˆ€ y ∈ V, βˆ€ v : TangentSpace π“˜(ℝ, E) y, β€–vβ€– ≀ C β†’
βˆƒ Ξ³ : ℝ β†’ M, curveState (E := E) Ξ³ 0 = ⟨y, v⟩ ∧
IsIntrinsicGeodesicOn (E := E) Ξ³ β€–vβ€– (Metric.ball 0 Ξ΅) := by
let c := chartAt E x
let e := trivializationAt E (fun y : M => TangentSpace π“˜(ℝ, E) y) x
obtain ⟨Ρ, hΡ, W, hW, hxW, hWS, hlocal⟩ := uniform_local_geodesics c.open_target
(metric_smooth x) (fun z hz v hv => metric_positive x hz hv)
(c.map_source (mem_chart_source E x)) C
let V := c.source ∩ c ⁻¹' W
have hV : IsOpen V := c.continuousOn.isOpen_inter_preimage c.open_source hW
refine ⟨Ρ, hΡ, V, hV, ⟨mem_chart_source E x, hxW⟩, ?_⟩
intro y hy v hv
have hyb : y ∈ e.baseSet := by
rw [TangentBundle.trivializationAt_baseSet]
exact hy.1
let w : E := e.continuousLinearMapAt ℝ y v
have hinv : chartLift x (c y) w = v := by
dsimp only [chartLift]
rw [c.left_inv hy.1]
exact e.symmL_continuousLinearMapAt hyb v
have henergy : metric x (c y) w w = β€–vβ€– ^ 2 := by
rw [metric_apply]
dsimp only [chartLift]
rw [c.left_inv hy.1]
change inner ℝ (e.symmL ℝ y w) (e.symmL ℝ y w) = β€–vβ€– ^ 2
rw [e.symmL_continuousLinearMapAt hyb v]
exact real_inner_self_eq_norm_sq v
obtain ⟨q, hqβ‚€, hqs, hq⟩ := hlocal (c y) hy.2 w
(henergy β–Έ (sq_le_sqβ‚€ (norm_nonneg v) hC).mpr hv)
let Ξ³ : ℝ β†’ M := fun t => c.symm (q t).1
have h0 : (0 : ℝ) ∈ Metric.ball 0 Ξ΅ := Metric.mem_ball_self hΞ΅
have hstate := coordinate_curve_state x (hq 0 h0).1 (hq 0 h0).2
rw [hqβ‚€] at hstate
have hg := coordinate_intrinsic x Metric.isOpen_ball (convex_ball (0 : ℝ) Ξ΅).isPreconnected hqs hq h0
rw [hqβ‚€, henergy, Real.sqrt_sq (norm_nonneg v)] at hg
refine ⟨γ, ?_, hg⟩
rw [hstate]
apply TotalSpace.ext (c.left_inv hy.1)
exact heq_of_eq hinv
end
end RiemannianLocal
end
end WeakMTWGlobalSupport
end OAI

Xet Storage Details

Size:
4.93 kB
Β·
Xet hash:
452696a1339d5da0e3f2b006a3256b866cd596f3bb9c2f2ad9822e8e4282a8cb

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