math / data /lean /OAI /Geometry /Nikodym /Abstract /Length.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.47 kB
import OAI.Geometry.Nikodym.Abstract.ChartMetric
import OAI.Geometry.Nikodym.Beltrami.Length
import Mathlib.Geometry.Manifold.Riemannian.PathELength
noncomputable section
open Set Bundle Manifold Filter _root_.MeasureTheory
open scoped Topology ContDiff Bundle RealInnerProductSpace ENNReal
namespace OAI.Geometry.Nikodym.LocalBeltramiChart
variable {E M : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
[FiniteDimensional ℝ E] [TopologicalSpace M] [ChartedSpace E M]
[IsManifold π“˜(ℝ,E) ∞ M]
[RiemannianBundle (fun x : M => TangentSpace π“˜(ℝ,E) x)]
[IsContMDiffRiemannianBundle π“˜(ℝ,E) ∞ E (fun x : M => TangentSpace π“˜(ℝ,E) x)]
variable {p : M} {ΞΊ : ℝ}
variable (C : LocalBeltramiChart (abstractChartMetric (E:=E) p) ΞΊ
(extChartAt π“˜(ℝ,E) p p))
theorem manifoldChart_inverse_speed {y : E} (hy : y ∈ C.manifoldChart.target) (v : E) :
β€–mfderiv π“˜(ℝ,E) π“˜(ℝ,E) C.manifoldChart.symm y vβ€– = beltramiSpeed ΞΊ y v := by
rw [norm_eq_sqrt_real_inner,C.manifoldChart_inverse_metric hy]
rfl
theorem manifoldChart_inverse_curve_derivative {Ξ³ v : ℝ β†’ E} {t : ℝ}
(hγ : HasDerivAt γ (v t) t) (ht : γ t ∈ C.manifoldChart.target) :
mfderiv π“˜(ℝ) π“˜(ℝ,E) (C.manifoldChart.symm ∘ Ξ³) t 1 =
mfderiv π“˜(ℝ,E) π“˜(ℝ,E) C.manifoldChart.symm (Ξ³ t) (v t) := by
have hi := ((C.manifoldChart_inverse_smooth _ ht).contMDiffAt
(C.manifoldChart.open_target.mem_nhds ht)).mdifferentiableAt (by simp)
have hv : mfderiv π“˜(ℝ) π“˜(ℝ,E) Ξ³ t 1 = v t := by
have hf : fderiv ℝ Ξ³ t 1 = v t := by
rw [hΞ³.hasFDerivAt.fderiv]
exact one_smul ℝ (v t)
simpa only [mfderiv_eq_fderiv] using! hf
have hd := mfderiv_comp_apply t hi hΞ³.differentiableAt.mdifferentiableAt (1 : ℝ)
exact hd.trans (congrArg (fun w : E =>
mfderiv π“˜(ℝ,E) π“˜(ℝ,E) C.manifoldChart.symm (Ξ³ t) w) hv)
/-- The model length is the actual ambient Riemannian path length,
not the distance intrinsic to an artificially restricted chart. -/
theorem pathELength_manifoldChart_inverse {Ξ³ v : ℝ β†’ E} {a b : ℝ}
(hΞ³ : βˆ€ t ∈ Icc a b, HasDerivAt Ξ³ (v t) t)
(ht : MapsTo Ξ³ (Icc a b) C.manifoldChart.target) :
pathELength π“˜(ℝ,E) (C.manifoldChart.symm ∘ Ξ³) a b =
beltramiPathLength ΞΊ Ξ³ v a b := by
rw [pathELength_eq_lintegral_mfderiv_Icc,beltramiPathLength]
apply setLIntegral_congr_fun measurableSet_Icc
intro t ht'
have hn : β€–mfderiv π“˜(ℝ) π“˜(ℝ,E) (C.manifoldChart.symm ∘ Ξ³) t 1β€– =
beltramiSpeed ΞΊ (Ξ³ t) (v t) :=
(congrArg norm (C.manifoldChart_inverse_curve_derivative (hΞ³ t ht') (ht ht'))).trans
(C.manifoldChart_inverse_speed (ht ht') (v t))
exact (ofReal_norm _).symm.trans (congrArg ENNReal.ofReal hn)
theorem pathELength_manifoldCurve {Ξ³ : ℝ β†’ M} {v : ℝ β†’ E} {a b : ℝ}
(hΞ³ : βˆ€ t ∈ Icc a b, HasDerivAt (C.manifoldChart ∘ Ξ³) (v t) t)
(ht : MapsTo Ξ³ (Icc a b) C.manifoldChart.source) :
pathELength π“˜(ℝ,E) Ξ³ a b =
beltramiPathLength κ (C.manifoldChart ∘ γ) v a b := by
have he : EqOn (C.manifoldChart.symm ∘ (C.manifoldChart ∘ γ)) γ (Icc a b) := by
intro t ht'
exact C.manifoldChart.left_inv (ht ht')
have hl := pathELength_congr (I:=π“˜(ℝ,E)) he
exact hl.symm.trans (C.pathELength_manifoldChart_inverse hΞ³
(fun t ht' => C.manifoldChart.map_source (ht ht')))
end OAI.Geometry.Nikodym.LocalBeltramiChart