Download data/lean/OAI/Geometry/Nikodym/Abstract/Length.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.47 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Nikodym/Abstract/Length.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Nikodym/Abstract/Length.lean
-
curl -L -o Length.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Nikodym/Abstract/Length.lean
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 | |