import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.SourceNames.LGeometry import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.SourceNames.ReducedLength import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Variation.Euler.InteriorPotential import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Variation.Differential.CoordinateEulerLinearization /-! # The actual closed Euler equation in the open velocity phase Morgan-Tian equation (6.5), Lemma 6.10 and Lemma 6.19, pp. 108-110, 114. On a strict time interior the actual metric pairing identifies acceleration with M09's regularized phase. The same identification holds for the actual derivatives of a curve. -/ set_option autoImplicit false open Set Filter open scoped Manifold ContDiff Topology universe u namespace PoincareMT.M14 variable {n : โ„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace โ„ (Fin n)) M] [IsManifold (๐“ก n) โˆž M] {J : Set โ„} (F : RicciFlow n M J) (T : โ„) (x : M) /-- A zero actual closed Euler pairing identifies acceleration with the actual open velocity phase at every interior point, equation (6.5) and Lemma 6.19, pp. 108-109, 114. -/ theorem closedChartEulerPair_velocityPhase (hM04 : RicciFlowCurvatureTheory.{u}) {C : Set โ„} (htime : โˆ€ r โˆˆ C, T - r ^ 2 โˆˆ J) {s : โ„} (hs : s โˆˆ C) (hnear : C โˆˆ ๐“ s) {q : EuclideanSpace โ„ (Fin n)} (hq : q โˆˆ (extChartAt (๐“ก n) x).target) (v a : EuclideanSpace โ„ (Fin n)) (heuler : โˆ€ W : EuclideanSpace โ„ (Fin n), M08.chartActionMetric F T x (s, q) (a + M08.closedChartConnection F T x C (s, q) v v) W - M08.spatialWithinFDeriv C (extChartAt (๐“ก n) x).target (M08.chartActionPotential F T x) (s, q) W + M08.timeWithinFDeriv C (extChartAt (๐“ก n) x).target (M08.chartActionMetric F T x) (s, q) v W = 0) : a = (Proofs.M09.regularizedCoordinatePhase (M08.chartActionMetric F T x) (chartActionScalar F T x) (s, (q, v))).2 := by let B := M08.chartActionMetric F T x let R := chartActionScalar F T x let alpha := (Proofs.M09.regularizedCoordinatePhase B R (s, (q, v))).2 have ht : M08.timeWithinFDeriv C (extChartAt (๐“ก n) x).target B (s, q) = fderiv โ„ B (s, q) (1, 0) := by unfold M08.timeWithinFDeriv rw [fderivWithin_of_mem_nhds (prod_mem_nhds hnear ((isOpen_extChartAt_target (I := ๐“ก n) x).mem_nhds hq))] have hp : B (s, q) a = B (s, q) alpha := by ext W have he := heuler W rw [closedChartConnection_eq_open F T x hnear hq, chartActionPotential_spatialWithin_eq F T x hM04 htime hs hnear hq, ht] at he have ho := Proofs.M09.regularizedCoordinatePhase_connection_pairing B R s q v W (chartActionMetric_pos_of_target F T x hq) simp only [M08.spatialFDeriv, ContinuousLinearMap.comp_apply, ContinuousLinearMap.inr_apply, smul_apply, smul_eq_mul, map_add, add_apply] at he ho change B (s, q) a W = B (s, q) alpha W dsimp only [B, R, alpha] at ho โŠข linarith calc a = M08.chartMetricDualInverse F T x (s, q) (B (s, q) a) := (M08.chartMetricDualInverse_left F T x hq a).symm _ = alpha := by rw [hp, M08.chartMetricDualInverse_left F T x hq] /-- The actual repeated within curve derivative in a closed Euler pairing becomes the actual second derivative of M09's velocity phase at every interior time, Lemma 6.19, p. 114. -/ theorem closedChartEulerCurve_velocityPhase (hM04 : RicciFlowCurvatureTheory.{u}) {C : Set โ„} (htime : โˆ€ r โˆˆ C, T - r ^ 2 โˆˆ J) {s : โ„} (hs : s โˆˆ C) (hnear : C โˆˆ ๐“ s) (q : โ„ โ†’ EuclideanSpace โ„ (Fin n)) (hq : q s โˆˆ (extChartAt (๐“ก n) x).target) (heuler : โˆ€ W : EuclideanSpace โ„ (Fin n), M08.chartActionMetric F T x (s, q s) (derivWithin (derivWithin q C) C s + M08.closedChartConnection F T x C (s, q s) (derivWithin q C s) (derivWithin q C s)) W - M08.spatialWithinFDeriv C (extChartAt (๐“ก n) x).target (M08.chartActionPotential F T x) (s, q s) W + M08.timeWithinFDeriv C (extChartAt (๐“ก n) x).target (M08.chartActionMetric F T x) (s, q s) (derivWithin q C s) W = 0) : deriv (deriv q) s = (Proofs.M09.regularizedCoordinatePhase (M08.chartActionMetric F T x) (chartActionScalar F T x) (s, (q s, deriv q s))).2 := by have hv : derivWithin q C =แถ [๐“ s] deriv q := by filter_upwards [isOpen_interior.mem_nhds (mem_interior_iff_mem_nhds.mpr hnear)] with r hr exact derivWithin_of_mem_nhds (mem_interior_iff_mem_nhds.mp hr) have ha : derivWithin (derivWithin q C) C s = deriv (deriv q) s := by rw [derivWithin_of_mem_nhds hnear] exact hv.deriv_eq have h := closedChartEulerPair_velocityPhase F T x hM04 htime hs hnear hq (derivWithin q C s) (derivWithin (derivWithin q C) C s) heuler rwa [ha, derivWithin_of_mem_nhds hnear] at h end PoincareMT.M14