Lean 4 ยท 6
declarations statementsfull
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 proof ยท 15 lines
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 proof ยท 3 lines
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)]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 proof ยท 4 lines
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 hdlemma spray_coordinate_energy_hasDerivAt {ฮณ : โ โ TangentBundle ๐(โ,E) M} {t : โ}
(hฮณ : IsMIntegralCurveAt ฮณ (geodesicSpray (E := E)) t) :
let q := extChartAt (๐(โ,E).prod ๐(โ,E)) (ฮณ t) โ ฮณ proof ยท 16 lines
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 hvellemma hasDerivAt_spray_energy {ฮณ : โ โ TangentBundle ๐(โ,E) M} {t : โ}
(hฮณ : IsMIntegralCurveAt ฮณ (geodesicSpray (E := E)) t) :
HasDerivAt (fun s => โ(ฮณ s).2โ ^ 2) 0 t := by proof ยท 8 lines
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).symmlemma 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 proof ยท 6 lines
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]Outline
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.