import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Imports import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Blowup.Neck.Geometry.SelectedNeckComparison /-! # Selected neck comparison with the limit neck's fixed scale Morgan-Tian Definition 9.72 and Theorem 12.28, pp. 323-324. The cap boundary neck need not have unit scalar at its center. Its fixed positive normalization multiplies both actual pullback families and their coefficient errors. The comparison remains on a strictly retained cylinder and on the stated compact time slab. -/ set_option autoImplicit false open Set Filter open scoped Manifold ContDiff Bundle Topology namespace PoincareMT.M35.OrdinaryRealization local notation "E2" => EuclideanSpace ℝ (Fin 2) local notation "E3" => EuclideanSpace ℝ (Fin 3) /-- Theorem 12.28: a fixed positive normalization of a finer limit neck transfers to the actual selected ordinary metrics, with the same normalization multiplying the blowup scale. -/ theorem blowupSequence_scaled_neck_family_close (P : M35StandardCapPredecessors) {g₀ : StandardInitialMetric} (E : RepairedStandardCapExistenceData g₀) (t : ℕ → ℝ) (x : ℕ → StandardCapSpace) (ht : ∀ k, t k ∈ Ico 0 E.flow.base.lifetime) (hR : Tendsto (fun k => (E.flow.connection (t k)).scalarCurvature (x k)) atTop atTop) (L : GeneralizedBlowupConvergence (blowupSequence P E t x ht hR) (blowupBackwardInterval ⊤)) : letI : TopologicalSpace L.limit.carrier.carrier := L.limit.carrier.topologicalSpace letI : ChartedSpace E3 L.limit.carrier.carrier := L.limit.carrier.chartedSpace letI : IsManifold (𝓡 3) ∞ L.limit.carrier.carrier := L.limit.carrier.isManifold ∀ (coordinate : RoundCylinderSpace → L.limit.sliceCarrier.carrier) (delta epsilon S : ℝ) (_hd : 0 < delta) (_he : 0 < epsilon) (_hS : 0 < S) (_hde : delta ≤ epsilon / 4) (_hcoord : ContMDiffOn ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) ∞ coordinate (univ ×ˢ Ioo (-delta⁻¹) delta⁻¹)) (j : ℕ) (_hspace : MapsTo coordinate (univ ×ˢ Ioo (-delta⁻¹) delta⁻¹) (L.exhaustion.space j)) (I J : Set ℝ) (_hJ : IsCompact J) (_hJt : J ⊆ Iic 0) (_hIJ : I ⊆ J) (_hC : RoundCylinderFamilyClose delta I (fun u z v w => S * roundCylinderPullback (L.limit.flow.metric u) coordinate z v w)), let F (k : ℕ) (z : L.limit.sliceCarrier.carrier) := ((L.embedding k).forward 0 ⟨neg_nonpos.mpr (L.exhaustion.time_pos k).le, le_rfl⟩ z).val let Q (k : ℕ) := (blowupSequence P E t x ht hR).scale (L.subsequence k) ∃ N : ℕ, ∀ k ≥ N, RoundCylinderFamilyClose epsilon I (fun u z v w => (S * Q k) * roundCylinderPullback (E.flow.metric (t (L.subsequence k) + u / Q k)) (F k ∘ coordinate) z v w) := by let : TopologicalSpace L.limit.carrier.carrier := L.limit.carrier.topologicalSpace let : ChartedSpace E3 L.limit.carrier.carrier := L.limit.carrier.chartedSpace have : IsManifold (𝓡 3) ∞ L.limit.carrier.carrier := L.limit.carrier.isManifold intro coordinate delta epsilon S hd he hS hde hcoord j hspace I J hJ hJt hIJ hC let F (k : ℕ) (z : L.limit.sliceCarrier.carrier) := ((L.embedding k).forward 0 ⟨neg_nonpos.mpr (L.exhaustion.time_pos k).le, le_rfl⟩ z).val let Q (k : ℕ) := (blowupSequence P E t x ht hR).scale (L.subsequence k) let B (k : ℕ) (u : ℝ) : RoundCylinderTwoTensor := fun z v w => (S * Q k) * roundCylinderPullback (E.flow.metric (t (L.subsequence k) + u / Q k)) (F k ∘ coordinate) z v w let C (u : ℝ) : RoundCylinderTwoTensor := fun z v w => S * roundCylinderPullback (L.limit.flow.metric u) coordinate z v w have hinv : epsilon⁻¹ < delta⁻¹ := inv_strictAnti₀ hd (by linarith) have hinside : (univ : Set UnitTwoSphere) ×ˢ Icc (-epsilon⁻¹) epsilon⁻¹ ⊆ univ ×ˢ Ioo (-delta⁻¹) delta⁻¹ := by intro z hz exact ⟨mem_univ _, (neg_lt_neg hinv).trans_le hz.2.1, hz.2.2.trans_lt hinv⟩ have hsmooth (k : ℕ) (hk : j ≤ k) (u A : ℝ) : RoundCylinderTensorSmoothOn delta (fun z v w => A * roundCylinderPullback (E.flow.metric (t (L.subsequence k) + u / Q k)) (F k ∘ coordinate) z v w) := by have htime : t (L.subsequence k) + 0 / Q k ∈ Ico 0 E.flow.base.lifetime := ((L.embedding k).forward 0 ⟨neg_nonpos.mpr (L.exhaustion.time_pos k).le, le_rfl⟩ L.limit.base).property have hF : ContMDiffOn (𝓡 3) (𝓡 3) ∞ (F k) (L.exhaustion.space k) := (sliceDiffeomorph htime).contMDiff.comp_contMDiffOn ((L.embedding k).forward_smooth 0 ⟨neg_nonpos.mpr (L.exhaustion.time_pos k).le, le_rfl⟩) exact roundCylinderPullback_scaled_smoothOn _ _ delta A (hF.comp hcoord (fun z hz => L.exhaustion.space_increasing hk (hspace hz))) have hsmoothAt (D : RoundCylinderTwoTensor) (hD : RoundCylinderTensorSmoothOn delta D) (q : UnitTwoSphere) (s : ℝ) (hs : s ∈ Icc (-epsilon⁻¹) epsilon⁻¹) (a b : Fin 3) : ContDiffAt ℝ ∞ (fun y => roundCylinderTensorCoefficient D (chartAt E2 q) y a b) (0, s) := by apply (hD q a b).contDiffAt apply ((chartAt E2 q).open_target.prod isOpen_Ioo).mem_nhds exact ⟨by rw [sphere_chart_target]; trivial, (neg_lt_neg hinv).trans_le hs.1, hs.2.trans_lt hinv⟩ have hCsmooth (u A : ℝ) : RoundCylinderTensorSmoothOn delta (fun z v w => A * roundCylinderPullback (L.limit.flow.metric u) coordinate z v w) := roundCylinderPullback_scaled_smoothOn (L.limit.flow.metric u) coordinate delta A hcoord obtain ⟨N, hN⟩ := cylinder_jet_difference_uniform ⌊epsilon⁻¹⌋₊ J hJ (fun u hu => (hJt hu).trans_lt zero_lt_one) epsilon⁻¹ (fun k => B (k + j)) (fun _ => C) (fun k u _ => hsmoothAt _ (hsmooth (k + j) (Nat.le_add_left _ _) u (S * Q (k + j)))) (fun _ u _ => hsmoothAt _ (hCsmooth u S)) (by intro r _ a b eta heta obtain ⟨K, hK⟩ := blowupSequence_neck_coefficient_jets_uniform P E t x ht hR L coordinate (univ ×ˢ Ioo (-delta⁻¹) delta⁻¹) (isOpen_univ.prod isOpen_Ioo) hcoord epsilon⁻¹ hinside j (fun q s hs => hspace (hinside ⟨mem_univ q, hs⟩)) J hJ hJt r a b (eta / S) (div_pos heta hS) refine ⟨K, ?_⟩ intro k hk u hu q s hs have hbase := hK (k + j) (hk.trans (Nat.le_add_right _ _)) u hu q s hs let f (y : RoundCylinderCoordinates) := roundCylinderTensorCoefficient (fun z v w => Q (k + j) * roundCylinderPullback (E.flow.metric (t (L.subsequence (k + j)) + u / Q (k + j))) (F (k + j) ∘ coordinate) z v w) (chartAt E2 q) y a b - roundCylinderTensorCoefficient (roundCylinderPullback (L.limit.flow.metric u) coordinate) (chartAt E2 q) y a b have hf : ContDiffAt ℝ r f (0, s) := by have hfirst := hsmoothAt _ (hsmooth (k + j) (Nat.le_add_left _ _) u (Q (k + j))) q s hs a b have hsecond := hsmoothAt _ (hCsmooth u 1) q s hs a b simp only [one_mul] at hsecond exact (hfirst.sub hsecond).of_le (by norm_cast; exact le_top) have heq : (fun y => roundCylinderTensorCoefficient (B (k + j) u) (chartAt E2 q) y a b - roundCylinderTensorCoefficient (C u) (chartAt E2 q) y a b) = S • f := by funext y change (S * Q (k + j)) * _ - S * _ = S * (Q (k + j) * _ - _) dsimp only [roundCylinderTensorCoefficient] ring rw [heq, iteratedFDeriv_const_smul_apply hf, norm_smul, Real.norm_eq_abs, abs_of_pos hS] simpa only [mul_comm] using (lt_div_iff₀ hS).mp hbase) (epsilon ^ 2 / 8) (by positivity) refine ⟨N + j, fun k hk => ?_⟩ have hjk : j ≤ k := by omega have hkj : N ≤ k - j := by omega apply hC.perturb_of_jet_difference_le (eta := epsilon ^ 2 / 8) hd (by linarith) (fun u hu => (hJt (hIJ hu)).trans_lt zero_lt_one) · intro u _ q a b exact (hsmooth k hjk u (S * Q k) q a b).mono (prod_mono subset_rfl (Ioo_subset_Ioo (neg_le_neg hinv.le) hinv.le)) · have hsq := pow_le_pow_left₀ hd.le hde 2 nlinarith [sq_pos_of_pos he] · intro u hu z hz have h := (hN (k - j) hkj u (hIJ hu) z ⟨hz.1.le, hz.2.le⟩).le simpa only [Nat.sub_add_cancel hjk] using h end PoincareMT.M35.OrdinaryRealization