import PoincareLib.Geometry.CurveShortening.Ramp.LocalFlow.C2.TraceLabelVelocityLp import PoincareLib.Geometry.CurveShortening.Ramp.Analysis.Periodic.LabelCompactness /-! # Synchronized spectral label displacements The actual spectral label velocity gives one uniformly convergent subsequence of compact displacement paths, retaining the same spectral indices and exact zero initial displacement. MT2007 Claim 19.1, p. 437, and Lemma 19.6, pp. 441-442; `2026-09-22-spectral-label-compactness.md`. -/ set_option autoImplicit false open Set Filter MeasureTheory AddCircle PoincareMT.SpectralHeatNative 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 "H" => State ((β„€ Γ— Fin 2) Γ— ΞΉ) /-- Actual positive spectral labels admit compact displacement limits along one common state subsequence. No derivative of the limiting label is assumed or asserted. MT2007 Claim 19.1, p. 437; spectral label compactness derivation. -/ theorem exists_compact_spectral_label_displacements (F : RicciFlow n M (Icc a b)) {U : Set W} (hU : IsOpen U) {ρ : W β†’ M} (hρ : ContMDiffOn π“˜(ℝ, W) (𝓑 n) ∞ ρ U) {S L : ℝ} (hS : 0 < S) (hSb : S < b - a) [Fact (0 < L)] {K : Set (W Γ— W)} (hK : IsCompact K) (hKU : K βŠ† {z : W Γ— W | z.1 ∈ U ∧ mfderiv π“˜(ℝ, W) (𝓑 n) ρ z.1 z.2 β‰  0}) (Vn : β„• β†’ C(Icc (0 : ℝ) S, H)) (V : C(Icc (0 : ℝ) S, H)) (hV : Tendsto Vn atTop (𝓝 V)) (qn : β„• β†’ ℝ β†’ ℝ β†’ W) (hq : βˆ€ j, ContDiffOn ℝ ∞ (Function.uncurry (qn j)) (Icc 0 S Γ—Λ’ univ)) (hqzero : βˆ€ j (t : Icc (0 : ℝ) S) (x : ℝ), qn j t.1 x = WithLp.toLp 2 (vectorPeriodicJet (L := L) 1 0 (by omega) (Vn j t) (x : AddCircle L))) (hphase : βˆ€ j (t : Icc (0 : ℝ) S), DifferentiableAt ℝ (fun r : ℝ => vectorPeriodicSpectralTranslation (L := L) r (Vn j t)) 0) (hjets : βˆ€ j (t : Icc (0 : ℝ) S) (x : AddCircle L), (WithLp.toLp 2 (vectorPeriodicJet (L := L) 1 0 (by omega) (Vn j t) x), WithLp.toLp 2 (vectorPeriodicJet (L := L) 1 1 (by omega) (Vn j t) x)) ∈ K) (psi : β„• β†’ ℝ β†’ ℝ β†’ ℝ) (hpsi : βˆ€ j, ContDiffOn ℝ 1 (Function.uncurry (psi j)) (Icc 0 S Γ—Λ’ univ)) (hshift : βˆ€ j t, t ∈ Icc 0 S β†’ βˆ€ x, psi j t (x + L) = psi j t x + L) (hinitial : βˆ€ j x, psi j 0 x = x) (htime : βˆ€ j t, t ∈ Ioo 0 S β†’ βˆ€ x, HasDerivAt (fun r => psi j r x) (deriv (fun y => ambientCurvePrincipal F ρ (a + t) (qn j t y) (deriv (qn j t) y)) (psi j t x) / 2) t) {ell upper : ℝ} (hell : 0 < ell) (hlower : βˆ€ j t, t ∈ Icc 0 S β†’ βˆ€ x, ell ≀ deriv (psi j t) x) (hupper : βˆ€ j t, t ∈ Icc 0 S β†’ βˆ€ x, deriv (psi j t) x ≀ upper) : βˆƒ (sigma : β„• β†’ β„•) (Dn : β„• β†’ C(Icc (0 : ℝ) S, C(AddCircle L, ℝ))) (d : C(Icc (0 : ℝ) S, C(AddCircle L, ℝ))), StrictMono sigma ∧ Tendsto (fun j => Vn (sigma j)) atTop (𝓝 V) ∧ Tendsto Dn atTop (𝓝 d) ∧ (βˆ€ j (t : Icc (0 : ℝ) S) (x : ℝ), Dn j t (x : AddCircle L) = psi (sigma j) t x - x) ∧ d ⟨0, le_rfl, hS.le⟩ = 0 := by classical obtain ⟨B, hB, w, hw, hwrep, hwbound⟩ := exists_uniform_spectral_labelVelocity_L2_bound F hU hρ hS hSb hK hKU Vn V hV qn hq hqzero hphase hjets have hwopen (j : β„•) : ContinuousOn (w j) (Ioo 0 S) := (hw j).mono Ioo_subset_Icc_self have hode (j : β„•) (t : ℝ) (ht : t ∈ Ioo 0 S) (x : ℝ) : HasDerivAt (fun r => psi j r x) (w j t (psi j t x : AddCircle L)) t := by rw [hwrep j t (Ioo_subset_Icc_self ht) (psi j t x)] exact htime j t ht x have hnorm (j : β„•) (t : ℝ) (ht : t ∈ Ioo 0 S) : β€–ContinuousMap.toLp 2 haarAddCircle ℝ (w j t)β€– ≀ B := hwbound j t (Ioo_subset_Icc_self ht) obtain ⟨D, _velocity, hDc, hDrep, _hVc, _hVrep, _hDder, _hVbound, _hL2⟩ := exists_periodicLabel_displacement_L2_control (P := L) (a := 0) (b := S) hS psi w hpsi hshift hwopen hode hell hB hlower hnorm obtain ⟨sigma, d0, hsigma, hdc, hdzero, _hphic, _hperiod, _hinc, huniform⟩ := exists_uniform_periodicLabel_subsequence (P := L) (a := 0) (b := S) hS psi w hpsi hshift hwopen hode hell hB hlower hnorm hupper hinitial let Dn : β„• β†’ C(Icc (0 : ℝ) S, C(AddCircle L, ℝ)) := fun j => ⟨fun t => D (sigma j) t, (hDc (sigma j)).domRestrict⟩ let d : C(Icc (0 : ℝ) S, C(AddCircle L, ℝ)) := ⟨fun t => d0 t, hdc.domRestrict⟩ have hconv : Tendsto Dn atTop (𝓝 d) := by apply Metric.tendsto_atTop.mpr intro eps heps obtain ⟨N, hN⟩ := huniform (eps / 2) (half_pos heps) refine ⟨N, ?_⟩ intro j hj have hdist : dist (Dn j) d ≀ eps / 2 := by apply (ContinuousMap.dist_le (half_pos heps).le).mpr intro t apply (ContinuousMap.dist_le (half_pos heps).le).mpr intro z obtain ⟨x, rfl⟩ := QuotientAddGroup.mk_surjective z have hx : |psi (sigma j) t x - (x + d0 t (x : AddCircle L))| < eps / 2 := hN j hj t t.property x change dist (D (sigma j) t (x : AddCircle L)) (d0 t (x : AddCircle L)) ≀ eps / 2 rw [Real.dist_eq, hDrep (sigma j) t t.property x] simpa only [sub_sub] using hx.le exact hdist.trans_lt (half_lt_self heps) refine ⟨sigma, Dn, d, hsigma, hV.comp hsigma.tendsto_atTop, hconv, ?_, ?_⟩ Β· intro j t x exact hDrep (sigma j) t t.property x Β· change d0 0 = 0 exact hdzero end PoincareMT.M63