import PoincareLib.Geometry.CurveShortening.Ramp.LocalFlow.Pullback.RicciRegularity import PoincareLib.Geometry.CurveShortening.Ramp.Analysis.Smooth.RetractionDifferentials import PoincareLib.Geometry.CurveShortening.Evolution.Flow import Mathlib.Topology.ContinuousMap.Compact /-! # Closed limits of the actual normalization coefficients The actual pulled-back Ricci and metric evaluations preserve the closed path limits of position, unit tangent and curvature. MT2007 Claim 19.1, p. 437; MT2015Correction Lemma 0.1, p. 3; `2026-09-22-c2-normalization-coefficient-limit.md`. -/ set_option autoImplicit false open Set Filter open scoped Manifold ContDiff Topology universe u v namespace PoincareMT.M63 variable {n : β„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] {ΞΉ : Type v} [Fintype ΞΉ] {a b : ℝ} local notation "W" => EuclideanSpace ℝ ΞΉ local notation "X" => C(AddCircle curvePeriod, W) local notation "XR" => C(AddCircle curvePeriod, ℝ) /-- The actual normalization coefficients converge as closed continuous paths when their represented geometric fields do. No limiting curve record is assumed. MT2007 Claim 19.1, p. 437; normalization-limit derivation, sole statement. -/ theorem exists_closed_normalization_coefficient_limit (F : RicciFlow n M (Icc a b)) {e : M β†’ W} (he : ContMDiff (𝓑 n) π“˜(ℝ, W) ∞ e) {U : Set W} (hU : IsOpen U) (heU : range e βŠ† U) {ρ : W β†’ M} (hρ : ContMDiffOn π“˜(ℝ, W) (𝓑 n) ∞ ρ U) (hρe : βˆ€ p, ρ (e p) = p) (c : β„• β†’ ℝ β†’ ℝ β†’ M) (R S H : β„• β†’ C(Icc a b, X)) (r s h : C(Icc a b, X)) (hR : Tendsto R atTop (𝓝 r)) (hS : Tendsto S atTop (𝓝 s)) (hH : Tendsto H atTop (𝓝 h)) (hRrep : βˆ€ j (t : Icc a b) (x : ℝ), R j t (x : AddCircle curvePeriod) = e (c j x t)) (hSrep : βˆ€ j (t : Icc a b) (x : ℝ), S j t (x : AddCircle curvePeriod) = mfderiv (𝓑 n) π“˜(ℝ, W) e (c j x t) (spatialUnitTangent F (c j) t x)) (hHrep : βˆ€ j (t : Icc a b) (x : ℝ), H j t (x : AddCircle curvePeriod) = mfderiv (𝓑 n) π“˜(ℝ, W) e (c j x t) (m62CurvatureVector F (c j) t x)) (hrU : βˆ€ (t : Icc a b) z, r t z ∈ U) : βˆƒ (A : β„• β†’ C(Icc a b, XR)) (A0 : C(Icc a b, XR)), Tendsto A atTop (𝓝 A0) ∧ (βˆ€ j (t : Icc a b) (x : ℝ), A j t (x : AddCircle curvePeriod) = m62TangentRicci F (c j) t x + m62CurvatureSquared F (c j) t x) ∧ βˆ€ (t : Icc a b) z, A0 t z = (F.connection t).ricci (ρ (r t z)) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ (r t z) (s t z)) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ (r t z) (s t z)) + (F.metric t).inner (ρ (r t z)) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ (r t z) (h t z)) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ (r t z) (h t z)) := by let : Fact (0 < curvePeriod) := ⟨by unfold curvePeriod; positivity⟩ let Y := Icc a b Γ— AddCircle curvePeriod let D := (Icc a b Γ— U) Γ— (W Γ— W) have hRic := (flow_pullback_ricci_contDiffOn F hU hρ).continuousOn have hzero : ContMDiff (𝓑 n) π“˜(ℝ, ℝ) ∞ (fun _ : M => (0 : ℝ)) := contMDiff_const have hmetric := (flow_pullback_metric_hessian_contDiffOn F hU hρ hzero).1.continuousOn have hbase : Continuous (fun z : D => (z.1.1.1, z.1.2.1)) := (continuous_subtype_val.comp continuous_fst.fst).prodMk (continuous_subtype_val.comp continuous_fst.snd) let N : C(D, ℝ) := ⟨fun z => (F.connection z.1.1).ricci (ρ z.1.2) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ z.1.2 z.2.1) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ z.1.2 z.2.1) + (F.metric z.1.1).inner (ρ z.1.2) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ z.1.2 z.2.2) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ z.1.2 z.2.2), (hRic.comp_continuous (hbase.prodMk continuous_snd.fst) (fun z => ⟨⟨z.1.1.2, z.1.2.2⟩, mem_univ _⟩)).add (hmetric.comp_continuous (hbase.prodMk continuous_snd.snd) (fun z => ⟨⟨z.1.1.2, z.1.2.2⟩, mem_univ _⟩))⟩ have hRU (j : β„•) (y : Y) : (R j).uncurry y ∈ U := by obtain ⟨x, hx⟩ := QuotientAddGroup.mk_surjective y.2 change R j y.1 y.2 ∈ U rw [← hx, hRrep] exact heU (mem_range_self _) let Rn (j : β„•) : C(Y, U) := ⟨fun y => ⟨(R j).uncurry y, hRU j y⟩, (R j).uncurry.continuous.subtype_mk _⟩ let r0 : C(Y, U) := ⟨fun y => ⟨r.uncurry y, hrU y.1 y.2⟩, r.uncurry.continuous.subtype_mk _⟩ let inc : C(U, W) := ⟨Subtype.val, continuous_subtype_val⟩ have hRn : Tendsto Rn atTop (𝓝 r0) := by apply (inc.isEmbedding_postcomp Topology.IsEmbedding.subtypeVal).tendsto_nhds_iff.mpr exact (ContinuousMap.continuous_uncurry.tendsto r).comp hR have hSn := (ContinuousMap.continuous_uncurry.tendsto s).comp hS have hHn := (ContinuousMap.continuous_uncurry.tendsto h).comp hH let T : C(Y, Icc a b) := ContinuousMap.fst let bundle (q : C(Y, U) Γ— (C(Y, W) Γ— C(Y, W))) : C(Y, D) := (T.prodMk q.1).prodMk (q.2.1.prodMk q.2.2) have hbundle : Continuous bundle := by apply ContinuousMap.continuous_of_continuous_uncurry exact ((T.continuous.comp continuous_snd).prodMk (continuous_fst.fst.eval continuous_snd)).prodMk ((continuous_fst.snd.fst.eval continuous_snd).prodMk (continuous_fst.snd.snd.eval continuous_snd)) let An (j : β„•) : C(Y, ℝ) := N.comp (bundle (Rn j, (S j).uncurry, (H j).uncurry)) let A0 : C(Y, ℝ) := N.comp (bundle (r0, s.uncurry, h.uncurry)) have hAn : Tendsto An atTop (𝓝 A0) := (N.continuous_postcomp.tendsto _).comp ((hbundle.tendsto _).comp (hRn.prodMk_nhds (hSn.prodMk_nhds hHn))) refine ⟨fun j => (An j).curry, A0.curry, (ContinuousMap.continuous_curry.tendsto A0).comp hAn, ?_, fun _ _ => rfl⟩ intro j t x change (F.connection t).ricci (ρ (R j t (x : AddCircle curvePeriod))) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ (R j t (x : AddCircle curvePeriod)) (S j t (x : AddCircle curvePeriod))) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ (R j t (x : AddCircle curvePeriod)) (S j t (x : AddCircle curvePeriod))) + (F.metric t).inner (ρ (R j t (x : AddCircle curvePeriod))) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ (R j t (x : AddCircle curvePeriod)) (H j t (x : AddCircle curvePeriod))) (mfderiv π“˜(ℝ, W) (𝓑 n) ρ (R j t (x : AddCircle curvePeriod)) (H j t (x : AddCircle curvePeriod))) = _ rw [hRrep, hSrep, hHrep] have hleft := (smooth_retraction_differentials he hU heU hρ hρe).2.2 rw [hleft, hleft, hρe] rfl end PoincareMT.M63