Poincaré conjecture: the Lean proof, cleaned up together
The 2026 Lean proof of the Poincaré conjecture after Morgan and Tian, 3 million lines, cleaned up together: smaller, faster to build, more readable, the theorems unchanged

| 1 | import PoincareLib.Geometry.RicciFlow.Generalized.CanonicalNeighborhood |
| 2 | import PoincareLib.Geometry.RicciFlow.Blowup.Controlled.Geometry |
| 3 | import PoincareLib.Topology.Manifold.NeckCap.Theory |
| 4 | import Mathlib.Topology.Compactness.SigmaCompact |
| 5 | |
| 6 | /-! |
| 7 | Adapted from Mapher `PoincareMT/Definitions/Ch11/SingularLimits.lean` at |
| 8 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`, with the terminal-accuracy revision |
| 9 | from `0bf00434d6783c9fed79b6a8fa3a8349cfc78335` and the conservative numerical |
| 10 | calibration authorized by Horizon mission `m31-singular-regular-limit`, revision 24. |
| 11 | See `references/ricci-flow/mapher/surgery-adapters-port.json` and |
| 12 | `references/ricci-flow/mapher/terminal-accuracy-contract.json`. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open scoped Manifold ContDiff Bundle ENNReal Topology BigOperators intervalIntegral |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace PoincareMT |
| 22 | |
| 23 | variable {M : Type u} [TopologicalSpace M] |
| 24 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 25 | [IsManifold (𝓡 3) ∞ M] [MeasurableSpace M] [BorelSpace M] |
| 26 | [T2Space M] [T3Space M] [SecondCountableTopology M] |
| 27 | |
| 28 | /-- Universal terminal accuracy factor from the pinned Mapher contract. -/ |
| 29 | def terminalAccuracyFactor : ℝ := 100000000000000 |
| 30 | |
| 31 | theorem terminalAccuracyFactor_pos : 0 < terminalAccuracyFactor := by |
| 32 | unfold terminalAccuracyFactor; norm_num |
| 33 | |
| 34 | theorem two_le_terminalAccuracyFactor : 2 ≤ terminalAccuracyFactor := by |
| 35 | unfold terminalAccuracyFactor; norm_num |
| 36 | |
| 37 | /-! ## The fixed reference slice -/ |
| 38 | |
| 39 | structure SingularTimeReference (F : GeneralizedRicciFlowData.{u}) (T : ℝ) |
| 40 | (M : Type u) [TopologicalSpace M] |
| 41 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 42 | [IsManifold (𝓡 3) ∞ M] where |
| 43 | tMinus : ℝ |
| 44 | tMinus_mem : tMinus ∈ F.interval |
| 45 | tMinus_lt : tMinus < T |
| 46 | window_subset : Set.Ico tMinus T ⊆ F.interval |
| 47 | flow : RicciFlow 3 M (Set.Ico tMinus T) |
| 48 | forward : ∀ t : ℝ, t ∈ Set.Ico tMinus T → M → (F.slice t).carrier |
| 49 | inverse : ∀ t : ℝ, t ∈ Set.Ico tMinus T → (F.slice t).carrier → M |
| 50 | forward_openEmbedding : ∀ t ht, Topology.IsOpenEmbedding (forward t ht) |
| 51 | forward_smooth : ∀ t ht, ContMDiff (𝓡 3) (𝓡 3) ∞ (forward t ht) |
| 52 | inverse_smooth : ∀ t ht, ContMDiff (𝓡 3) (𝓡 3) ∞ (inverse t ht) |
| 53 | forward_surjective : ∀ t ht, Function.Surjective (forward t ht) |
| 54 | left_inverse : ∀ t ht, Function.LeftInverse (inverse t ht) (forward t ht) |
| 55 | right_inverse : ∀ t ht, Function.RightInverse (inverse t ht) (forward t ht) |
| 56 | metric_pullback : ∀ t ht x v w, |
| 57 | (F.metric t).inner (forward t ht x) |
| 58 | (mfderiv (𝓡 3) (𝓡 3) (forward t ht) x v) |
| 59 | (mfderiv (𝓡 3) (𝓡 3) (forward t ht) x w) = |
| 60 | (flow.metric t).inner x v w |
| 61 | scalar_pullback : ∀ t ht x, |
| 62 | (F.connection t).scalarCurvature (forward t ht x) = |
| 63 | (flow.connection t).scalarCurvature x |
| 64 | spacetime_forward : Set.Ico tMinus T × M → F.point |
| 65 | spacetime_time : ∀ p, (spacetime_forward p).1 = (p.1 : ℝ) |
| 66 | spacetime_spatial : ∀ p, |
| 67 | HEq (spacetime_forward p).2 (forward (p.1 : ℝ) p.1.property p.2) |
| 68 | spacetime_embedding : Topology.IsEmbedding spacetime_forward |
| 69 | spacetime_image : |
| 70 | Set.range spacetime_forward = {p : F.point | p.1 ∈ Set.Ico tMinus T} |
| 71 | vertical_compatibility : ∀ t (_ht : t ∈ Set.Ico tMinus T) x, |
| 72 | ∃ b, ∃ y : (F.box b).carrier.carrier, ∃ δ : ℝ, 0 < δ ∧ |
| 73 | ∀ s hs, |s - t| < δ → ∃ hb : s ∈ (F.box b).interval, |
| 74 | forward s hs x = (F.box b).forward s hb y |
| 75 | |
| 76 | noncomputable def SingularTimeReference.scalar |
| 77 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 78 | {M : Type u} [TopologicalSpace M] |
| 79 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 80 | [IsManifold (𝓡 3) ∞ M] |
| 81 | (R : SingularTimeReference F T M) (t : ℝ) (x : M) : ℝ := |
| 82 | (R.flow.connection t).scalarCurvature x |
| 83 | |
| 84 | /-- Scalar curvature has a finite upper bound along times arbitrarily close |
| 85 | to the terminal time. This is the literal finite-liminf condition; eventual |
| 86 | boundedness is a conclusion of the singular-limit theorem. -/ |
| 87 | def SingularTimeReference.regularLimitSet |
| 88 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 89 | {M : Type u} [TopologicalSpace M] |
| 90 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 91 | [IsManifold (𝓡 3) ∞ M] |
| 92 | (R : SingularTimeReference F T M) : Set M := |
| 93 | {x | ∃ B : ℝ, ∀ t₀ : ℝ, t₀ < T → |
| 94 | ∃ t : ℝ, t₀ < t ∧ t ∈ Set.Ico R.tMinus T ∧ R.scalar t x ≤ B} |
| 95 | |
| 96 | /-! ## Actual metric pullbacks and their jets -/ |
| 97 | |
| 98 | noncomputable def singularTensorCoefficient |
| 99 | {X : Type u} [TopologicalSpace X] |
| 100 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) X] [IsManifold (𝓡 3) ∞ X] |
| 101 | (B : CovariantTensorEvaluation 3 X 2) (q : X) (a b : Fin 3) |
| 102 | (p : EuclideanSpace ℝ (Fin 3)) : ℝ := |
| 103 | let c := extChartAt (𝓡 3) q |
| 104 | let A := mfderiv (𝓡 3) (𝓡 3) c.symm p |
| 105 | B (c.symm p) ![A (EuclideanSpace.basisFun (Fin 3) ℝ a), |
| 106 | A (EuclideanSpace.basisFun (Fin 3) ℝ b)] |
| 107 | |
| 108 | noncomputable def singularMetricCoefficient |
| 109 | {X : Type u} [TopologicalSpace X] |
| 110 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) X] [IsManifold (𝓡 3) ∞ X] |
| 111 | (g : RiemannianMetric 3 X) (q : X) (a b : Fin 3) |
| 112 | (p : EuclideanSpace ℝ (Fin 3)) : ℝ := |
| 113 | singularTensorCoefficient (fun x v ↦ g.inner x (v 0) (v 1)) q a b p |
| 114 | |
| 115 | /-- Compact-open smooth convergence of the actual pullback in each fixed |
| 116 | terminal chart. Finite chart covers give the equivalent compact-subset form. -/ |
| 117 | def CompactSingularMetricLimit |
| 118 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 119 | {M X : Type u} [TopologicalSpace M] |
| 120 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓡 3) ∞ M] |
| 121 | [TopologicalSpace X] |
| 122 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) X] [IsManifold (𝓡 3) ∞ X] |
| 123 | (R : SingularTimeReference F T M) (gT : RiemannianMetric 3 X) (i : X → M) : |
| 124 | Prop := |
| 125 | ∀ q : X, ∀ a b : Fin 3, ∀ r : ℕ, |
| 126 | ∀ C : Set (EuclideanSpace ℝ (Fin 3)), |
| 127 | IsCompact C → C ⊆ (extChartAt (𝓡 3) q).target → |
| 128 | ∀ ε : ℝ, 0 < ε → ∃ t₀ : ℝ, R.tMinus ≤ t₀ ∧ t₀ < T ∧ |
| 129 | ∀ t, t₀ < t → t < T → ∀ p ∈ C, |
| 130 | ‖iteratedFDeriv ℝ r |
| 131 | (singularTensorCoefficient (singularMetricPullback (R.flow.metric t) i) |
| 132 | q a b) p - |
| 133 | iteratedFDeriv ℝ r (singularMetricCoefficient gT q a b) p‖ < ε |
| 134 | |
| 135 | |
| 136 | structure SingularTimeAssumptions |
| 137 | (F : GeneralizedRicciFlowData.{u}) (T : ℝ) |
| 138 | (M : Type u) [TopologicalSpace M] |
| 139 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 140 | [IsManifold (𝓡 3) ∞ M] [MeasurableSpace M] [BorelSpace M] |
| 141 | [T2Space M] [T3Space M] [SecondCountableTopology M] where |
| 142 | reference : SingularTimeReference F T M |
| 143 | interval_nonnegative : F.interval ⊆ Set.Ici 0 |
| 144 | interval_preterminal : F.interval ⊆ Set.Ico 0 T |
| 145 | interval_exhausts_preterminal : Set.Ico 0 T ⊆ F.interval |
| 146 | terminal_not_in_interval : T ∉ F.interval |
| 147 | singularTimes : Set ℝ |
| 148 | terminal_is_singular : T ∈ singularTimes |
| 149 | singularTimes_discrete : ∀ s ∈ singularTimes, ∃ δ : ℝ, 0 < δ ∧ |
| 150 | ∀ t ∈ singularTimes, t ≠ s → δ ≤ |t - s| |
| 151 | regular_slices_compact : ∀ t ∈ F.interval, |
| 152 | t ∉ singularTimes → IsCompact (Set.univ : Set (F.slice t).carrier) |
| 153 | positive_pinching : ∀ p : F.point, p.1 ∈ F.interval → |
| 154 | 0 ≤ F.scalar p + 6 / (1 + 4 * p.1) |
| 155 | hamilton_ivey_pinching : ∀ p : F.point, p.1 ∈ F.interval → |
| 156 | 0 < (F.connection p.1).negativeCurvaturePart p.2 → |
| 157 | F.scalar p ≥ 2 * (F.connection p.1).negativeCurvaturePart p.2 * |
| 158 | (Real.log ((F.connection p.1).negativeCurvaturePart p.2) + |
| 159 | Real.log (1 + p.1) - 3) |
| 160 | curvature_lower_bound : ∃ L : ℝ, ∀ p : F.point, p.1 ∈ F.interval → L ≤ F.scalar p |
| 161 | r₀ : ℝ |
| 162 | r₀_pos : 0 < r₀ |
| 163 | epsilon : ℝ |
| 164 | epsilon_pos : 0 < epsilon |
| 165 | epsilon_lt_quarter : epsilon < 1 / 4 |
| 166 | /-- The terminal theorem delivers its horns and canonical neighborhoods at |
| 167 | the accuracy `terminalAccuracyFactor * epsilon`; the cap/neck interfaces |
| 168 | require that terminal value to stay below the universal Appendix A |
| 169 | threshold (Definition 9.72 and Appendix A use `epsilon ≤ 1 / 200`). -/ |
| 170 | terminal_epsilon_le_threshold : terminalAccuracyFactor * epsilon ≤ 1 / 200 |
| 171 | constant : ℝ |
| 172 | constant_pos : 0 < constant |
| 173 | /-- The local analytic bounds may have a different coefficient from the |
| 174 | geometric canonical-neighborhood constant. -/ |
| 175 | analytic_constant : ℝ |
| 176 | analytic_constant_pos : 0 < analytic_constant |
| 177 | scalar_time_derivative_bound : ∀ b t, t ∈ (F.box b).interval → |
| 178 | ∀ x : (F.box b).carrier.carrier, |
| 179 | r₀⁻¹ ^ 2 ≤ ((F.box b).flow.connection t).scalarCurvature x → |
| 180 | ∃ d : ℝ, HasDerivWithinAt |
| 181 | (fun s : ℝ => ((F.box b).flow.connection s).scalarCurvature x) d |
| 182 | (F.box b).interval t ∧ |
| 183 | |d| ≤ analytic_constant * ((F.box b).flow.connection t).scalarCurvature x ^ 2 |
| 184 | scalar_gradient_bound : ∀ t ∈ F.interval, ∀ x : (F.slice t).carrier, |
| 185 | r₀⁻¹ ^ 2 ≤ (F.connection t).scalarCurvature x → |
| 186 | ∀ v : TangentSpace (𝓡 3) x, (F.metric t).inner x v v = 1 → |
| 187 | |mvfderiv (𝓡 3) (F.connection t).scalarCurvature x v| ≤ |
| 188 | analytic_constant * (F.connection t).scalarCurvature x ^ (3 / 2 : ℝ) |
| 189 | canonical_control : ∀ t ∈ F.interval, (t = 0 ∨ t ∉ singularTimes) → |
| 190 | ∀ x : (F.slice t).carrier, |
| 191 | r₀⁻¹ ^ 2 ≤ F.scalar ⟨t, x⟩ → GeneralizedCanonicalControl t x epsilon constant |
| 192 | |
| 193 | /-! ## The maximal extension and terminal geometry -/ |
| 194 | |
| 195 | /-- An extension with exactly the old slices at old times and no new time |
| 196 | other than `T`. The gluing chart and exact terminal slice are specified by |
| 197 | `SingularLimitConclusion`; `T` need not occur when its regular set is empty. -/ |
| 198 | structure GeneralizedFlowExtension |
| 199 | (F : GeneralizedRicciFlowData.{u}) (T : ℝ) where |
| 200 | extended : GeneralizedRicciFlowData.{u} |
| 201 | times_subset : extended.interval ⊆ F.interval ∪ {T} |
| 202 | old_times : F.interval ⊆ extended.interval |
| 203 | forward : ∀ t : ℝ, t ∈ F.interval → (F.slice t).carrier → (extended.slice t).carrier |
| 204 | inverse : ∀ t : ℝ, t ∈ F.interval → (extended.slice t).carrier → (F.slice t).carrier |
| 205 | forward_smooth : ∀ t ht, ContMDiff (𝓡 3) (𝓡 3) ∞ (forward t ht) |
| 206 | inverse_smooth : ∀ t ht, ContMDiff (𝓡 3) (𝓡 3) ∞ (inverse t ht) |
| 207 | left_inverse : ∀ t ht, Function.LeftInverse (inverse t ht) (forward t ht) |
| 208 | right_inverse : ∀ t ht, Function.RightInverse (inverse t ht) (forward t ht) |
| 209 | metric_pullback : ∀ t ht x v w, |
| 210 | (extended.metric t).inner (forward t ht x) |
| 211 | (mfderiv (𝓡 3) (𝓡 3) (forward t ht) x v) |
| 212 | (mfderiv (𝓡 3) (𝓡 3) (forward t ht) x w) = (F.metric t).inner x v w |
| 213 | scalar_pullback : ∀ t ht x, |
| 214 | (extended.connection t).scalarCurvature (forward t ht x) = |
| 215 | (F.connection t).scalarCurvature x |
| 216 | spacetime_forward : F.point → extended.point |
| 217 | spacetime_time : ∀ p, (spacetime_forward p).1 = p.1 |
| 218 | spacetime_slices : ∀ t ht x, |
| 219 | spacetime_forward (⟨t, x⟩ : F.point) = (⟨t, forward t ht x⟩ : extended.point) |
| 220 | spacetime_openEmbedding : Topology.IsOpenEmbedding spacetime_forward |
| 221 | spacetime_image : Set.range spacetime_forward = |
| 222 | {p : extended.point | p.1 ∈ F.interval} |
| 223 | vertical_compatibility : ∀ b t (_ht : t ∈ (F.box b).interval) |
| 224 | (x : (F.box b).carrier.carrier), |
| 225 | ∃ c, ∃ y : (extended.box c).carrier.carrier, ∃ δ : ℝ, 0 < δ ∧ |
| 226 | ∀ s (hs : s ∈ (F.box b).interval), |s - t| < δ → |
| 227 | ∃ hc : s ∈ (extended.box c).interval, |
| 228 | spacetime_forward (⟨s, (F.box b).forward s hs x⟩ : F.point) = |
| 229 | (⟨s, (extended.box c).forward s hc y⟩ : extended.point) |
| 230 | |
| 231 | abbrev TerminalStrongNeck |
| 232 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 233 | (E : GeneralizedFlowExtension F T) (epsilon : ℝ) := |
| 234 | GeneralizedStrongNeck E.extended T epsilon |
| 235 | |
| 236 | /-- Definition 11.25. The closed end has a smooth collar, the map is a |
| 237 | proper smooth embedding, and each point is the center of an evolving neck. -/ |
| 238 | structure StrongHorn |
| 239 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 240 | (E : GeneralizedFlowExtension F T) (epsilon : ℝ) where |
| 241 | carrier : Set (E.extended.slice T).carrier |
| 242 | coordinate : (UnitTwoSphere × Set.Ico (0 : ℝ) 1) ≃ₜ carrier |
| 243 | parameterization : RoundCylinderSpace → (E.extended.slice T).carrier |
| 244 | coordinate_eq : ∀ z : UnitTwoSphere × Set.Ico (0 : ℝ) 1, |
| 245 | coordinate z = parameterization (z.1, (z.2 : ℝ)) |
| 246 | collar : ℝ |
| 247 | collar_pos : 0 < collar |
| 248 | parameterization_smooth : ContMDiffOn ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) ∞ |
| 249 | parameterization (Set.univ ×ˢ Set.Ioo (-collar) 1) |
| 250 | parameterization_regular : ∀ z : RoundCylinderSpace, z.2 ∈ Set.Ico (0 : ℝ) 1 → |
| 251 | Function.Bijective (mfderiv ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) parameterization z) |
| 252 | proper : ∀ K : Set (E.extended.slice T).carrier, IsCompact K → |
| 253 | IsCompact {z : UnitTwoSphere × Set.Ico (0 : ℝ) 1 | |
| 254 | parameterization (z.1, (z.2 : ℝ)) ∈ K} |
| 255 | boundary_sphere : Set (E.extended.slice T).carrier |
| 256 | boundary_sphere_eq : boundary_sphere = |
| 257 | parameterization '' (Set.univ ×ˢ ({0} : Set ℝ)) |
| 258 | boundary_neck : ∃ N : TerminalStrongNeck E epsilon, |
| 259 | N.central_sphere = boundary_sphere |
| 260 | every_point_neck : ∀ x ∈ carrier, |
| 261 | ∃ N : TerminalStrongNeck E epsilon, N.center = x |
| 262 | |
| 263 | /-- A component smoothly diffeomorphic to `S^2 × R`, as in Definition 11.26. -/ |
| 264 | structure StrongDoubleHorn |
| 265 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 266 | (E : GeneralizedFlowExtension F T) (epsilon : ℝ) where |
| 267 | basepoint : (E.extended.slice T).carrier |
| 268 | carrier : Set (E.extended.slice T).carrier |
| 269 | component_eq : carrier = connectedComponent basepoint |
| 270 | coordinate : RoundCylinderSpace ≃ₜ carrier |
| 271 | parameterization : RoundCylinderSpace → (E.extended.slice T).carrier |
| 272 | coordinate_eq : ∀ z, coordinate z = parameterization z |
| 273 | parameterization_smooth : ContMDiff ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) ∞ parameterization |
| 274 | parameterization_regular : ∀ z, |
| 275 | Function.Bijective (mfderiv ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) parameterization z) |
| 276 | every_point_neck : ∀ x ∈ carrier, |
| 277 | ∃ N : TerminalStrongNeck E epsilon, N.center = x |
| 278 | |
| 279 | /-- A component equal to the union of a cap core and a strong horn. -/ |
| 280 | structure CappedHorn |
| 281 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 282 | (E : GeneralizedFlowExtension F T) (epsilon C : ℝ) where |
| 283 | basepoint : (E.extended.slice T).carrier |
| 284 | carrier : Set (E.extended.slice T).carrier |
| 285 | component_eq : carrier = connectedComponent basepoint |
| 286 | cap : CapCertificate (E.extended.metric T) |
| 287 | cap_epsilon : cap.epsilon = epsilon |
| 288 | cap_constant : cap.cap_constant ≤ C |
| 289 | cap_connection : cap.connection = E.extended.connection T |
| 290 | horn : StrongHorn E epsilon |
| 291 | cap_subset : cap.carrier ⊆ carrier |
| 292 | horn_subset : horn.carrier ⊆ carrier |
| 293 | union_eq : carrier = cap.core ∪ horn.carrier |
| 294 | |
| 295 | structure TerminalComponentPath |
| 296 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 297 | (E : GeneralizedFlowExtension F T) where |
| 298 | basepoint : (E.extended.slice T).carrier |
| 299 | component : Set (E.extended.slice T).carrier |
| 300 | component_eq : component = connectedComponent basepoint |
| 301 | path_to : ∀ x ∈ component, |
| 302 | ∃ γ : Path basepoint x, Set.range γ ⊆ component |
| 303 | |
| 304 | /-- An end is a nested choice of noncompact connected components outside a |
| 305 | compact exhaustion. No quotient is needed to quantify over every such end. -/ |
| 306 | structure TerminalEnd |
| 307 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 308 | {E : GeneralizedFlowExtension F T} (K : TerminalComponentPath E) where |
| 309 | exhaustion : CompactExhaustion K.component |
| 310 | tail : ℕ → Set K.component |
| 311 | tail_component : ∀ n, ∃ x : K.component, x ∉ exhaustion n ∧ |
| 312 | tail n = connectedComponentIn (exhaustion n)ᶜ x |
| 313 | nested : Antitone tail |
| 314 | escapes_compact : ∀ n, ∀ L : Set K.component, IsCompact L → ¬ tail n ⊆ L |
| 315 | |
| 316 | abbrev TerminalCanonicalNeighborhood |
| 317 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 318 | (E : GeneralizedFlowExtension F T) |
| 319 | (x : (E.extended.slice T).carrier) (epsilon C : ℝ) := |
| 320 | GeneralizedCanonicalControl (F := E.extended) T x epsilon C |
| 321 | |
| 322 | /-! Universal factor between the preterminal canonical accuracy `epsilon` of |
| 323 | Assumptions 11.18 and the terminal accuracy delivered by Theorem 11.19(5) and |
| 324 | Lemma 11.23. Morgan--Tian print the factor as two. That value is not |
| 325 | attainable: the cap case of Proposition 9.79(3), p. 234, shortens the end |
| 326 | neck of a `(C, epsilon)`-cap and recenters it, which renormalizes the neck |
| 327 | metric at the new center and costs a further `O(epsilon)` in accuracy, so the |
| 328 | loss exceeds a factor two for explicit warped cylinders (see the 2026-09-22 |
| 329 | revision note in the Horizon roadmap and |
| 330 | `references/ricci-flow/morgan-tian/correction/same-core-cap-persistence.md` |
| 331 | in the Horizon workspace). The original approved Mapher value was 64. |
| 332 | The formal scalar estimate uses coefficient `10^12`, and the transported |
| 333 | scalar ratio uses coefficient `2000000000004`. Mission revision 24 explicitly |
| 334 | authorizes raising this factor to cover the checked estimate. The value below |
| 335 | dominates the squared translated-jet budget `32 + 6 * 2000000000004^2`. |
| 336 | M32 and M33 consumers use only `terminalAccuracyFactor_pos` and |
| 337 | `two_le_terminalAccuracyFactor`; the M31 construction uses the numerical |
| 338 | calibration lemmas below. -/ |
| 339 | /-- Room for the strict chart shortening in the same-core construction. -/ |
| 340 | theorem four_lt_terminalAccuracyFactor : 4 < terminalAccuracyFactor := by |
| 341 | unfold terminalAccuracyFactor; norm_num |
| 342 | |
| 343 | /-- The terminal factor absorbs the checked linear scalar-ratio coefficient |
| 344 | in the translated normalized-cylinder jet estimate. -/ |
| 345 | theorem terminalAccuracyFactor_scalar_ratio_budget : |
| 346 | (32 : ℝ) + 6 * (2000000000004 : ℝ) ^ 2 < terminalAccuracyFactor ^ 2 := by |
| 347 | unfold terminalAccuracyFactor; norm_num |
| 348 | |
| 349 | /-- The five conclusions of Theorem 11.19. The terminal source map is a |
| 350 | smooth open embedding with nonsingular derivative, hence a diffeomorphism |
| 351 | onto the regular-limit set. This formulation also permits an empty set. |
| 352 | The terminal horn and canonical accuracy is `terminalAccuracyFactor * H.epsilon` |
| 353 | rather than the printed `2 * H.epsilon`; see `terminalAccuracyFactor`. -/ |
| 354 | structure SingularLimitConclusion |
| 355 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 356 | {M : Type u} [TopologicalSpace M] |
| 357 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 358 | [IsManifold (𝓡 3) ∞ M] [MeasurableSpace M] [BorelSpace M] |
| 359 | [T2Space M] [T3Space M] [SecondCountableTopology M] |
| 360 | (H : SingularTimeAssumptions F T M) where |
| 361 | regular_open : IsOpen H.reference.regularLimitSet |
| 362 | regular_eventually_bounded : ∀ x ∈ H.reference.regularLimitSet, |
| 363 | ∃ B : ℝ, ∃ t₀ : ℝ, H.reference.tMinus ≤ t₀ ∧ t₀ < T ∧ |
| 364 | ∀ t, t₀ < t → t < T → |H.reference.scalar t x| ≤ B |
| 365 | extension : GeneralizedFlowExtension F T |
| 366 | terminal_source : (extension.extended.slice T).carrier → M |
| 367 | terminal_source_image : Set.range terminal_source = H.reference.regularLimitSet |
| 368 | terminal_source_openEmbedding : Topology.IsOpenEmbedding terminal_source |
| 369 | terminal_source_smooth : ContMDiff (𝓡 3) (𝓡 3) ∞ terminal_source |
| 370 | terminal_source_regular : ∀ x, |
| 371 | Function.Bijective (mfderiv (𝓡 3) (𝓡 3) terminal_source x) |
| 372 | terminal_time_iff : T ∈ extension.extended.interval ↔ H.reference.regularLimitSet.Nonempty |
| 373 | terminal_metric : RiemannianMetric 3 (extension.extended.slice T).carrier |
| 374 | terminal_metric_eq : terminal_metric = extension.extended.metric T |
| 375 | terminal_scalar : (extension.extended.slice T).carrier → ℝ |
| 376 | terminal_scalar_eq : terminal_scalar = (extension.extended.connection T).scalarCurvature |
| 377 | scalar_lower : ∃ L : ℝ, ∀ x, L ≤ terminal_scalar x |
| 378 | scalar_proper : ∀ K : Set ℝ, IsCompact K → IsCompact (terminal_scalar ⁻¹' K) |
| 379 | metric_limit_on_compacts : |
| 380 | CompactSingularMetricLimit H.reference terminal_metric terminal_source |
| 381 | gluing_map : Set.Ioc H.reference.tMinus T × |
| 382 | (extension.extended.slice T).carrier → extension.extended.point |
| 383 | gluing_time : ∀ p, (gluing_map p).1 = p.1.1 |
| 384 | gluing_old : ∀ t (ht : t ∈ Set.Ioc H.reference.tMinus T) (hlt : t < T) x, |
| 385 | gluing_map (⟨t, ht⟩, x) = extension.spacetime_forward |
| 386 | (⟨t, H.reference.forward t ⟨le_of_lt ht.1, hlt⟩ (terminal_source x)⟩ : F.point) |
| 387 | gluing_terminal : ∀ x, |
| 388 | gluing_map (⟨T, ⟨H.reference.tMinus_lt, le_rfl⟩⟩, x) = |
| 389 | (⟨T, x⟩ : extension.extended.point) |
| 390 | gluing_openEmbedding : Topology.IsOpenEmbedding gluing_map |
| 391 | gluing_cover : Set.range extension.spacetime_forward ∪ Set.range gluing_map = Set.univ |
| 392 | gluing_vertical_compatibility : ∀ t (_ht : t ∈ Set.Ioc H.reference.tMinus T) x, |
| 393 | ∃ b, ∃ y : (extension.extended.box b).carrier.carrier, ∃ δ : ℝ, 0 < δ ∧ |
| 394 | ∀ s hs, |s - t| < δ → ∃ hb : s ∈ (extension.extended.box b).interval, |
| 395 | gluing_map (⟨s, hs⟩, x) = |
| 396 | (⟨s, (extension.extended.box b).forward s hb y⟩ : extension.extended.point) |
| 397 | component_paths : ∀ x : (extension.extended.slice T).carrier, |
| 398 | ∃ P : TerminalComponentPath extension, P.basepoint = x |
| 399 | end_tube : ∀ K : TerminalComponentPath extension, ∀ e : TerminalEnd K, |
| 400 | ∃ Hn : StrongHorn extension (terminalAccuracyFactor * H.epsilon), |
| 401 | Hn.carrier ⊆ K.component ∧ ∃ n, |
| 402 | Subtype.val '' e.tail n ⊆ Hn.carrier |
| 403 | canonical_neighborhood : ∀ x : (extension.extended.slice T).carrier, |
| 404 | H.r₀⁻¹ ^ 2 < terminal_scalar x → |
| 405 | TerminalCanonicalNeighborhood extension x (terminalAccuracyFactor * H.epsilon) |
| 406 | (2 * H.constant) |
| 407 | |
| 408 | /-- Definition 11.27, expressed using the actual terminal scalar curvature. -/ |
| 409 | def HornBoundaryBelow |
| 410 | {F : GeneralizedRicciFlowData.{u}} {T epsilon : ℝ} |
| 411 | {E : GeneralizedFlowExtension F T} (H : StrongHorn E epsilon) (rho : ℝ) : Prop := |
| 412 | ∀ x ∈ H.boundary_sphere, (E.extended.connection T).scalarCurvature x ≤ rho⁻¹ ^ 2 |
| 413 | |
| 414 | /-- The component beyond the selected central sphere contains a full tail |
| 415 | of the proper horn and is disjoint from the low-curvature set. -/ |
| 416 | structure HornEndCut |
| 417 | {F : GeneralizedRicciFlowData.{u}} {T epsilon delta : ℝ} |
| 418 | {E : GeneralizedFlowExtension F T} (H : StrongHorn E epsilon) |
| 419 | (N : TerminalStrongNeck E delta) (rho : ℝ) where |
| 420 | point : (E.extended.slice T).carrier |
| 421 | point_mem : point ∈ H.carrier \ N.central_sphere |
| 422 | carrier : Set (E.extended.slice T).carrier |
| 423 | component_eq : carrier = connectedComponentIn (H.carrier \ N.central_sphere) point |
| 424 | tail_level : ℝ |
| 425 | tail_level_nonneg : 0 ≤ tail_level |
| 426 | tail_level_lt_one : tail_level < 1 |
| 427 | contains_tail : H.parameterization '' (Set.univ ×ˢ Set.Ioo tail_level 1) ⊆ carrier |
| 428 | escapes_compact : ∀ K : Set (E.extended.slice T).carrier, |
| 429 | IsCompact K → ¬ carrier ⊆ K |
| 430 | disjoint_low_curvature : Disjoint carrier |
| 431 | {x | (E.extended.connection T).scalarCurvature x ≤ rho⁻¹ ^ 2} |
| 432 | |
| 433 | structure DeepHornNeckConclusion |
| 434 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 435 | (E : GeneralizedFlowExtension F T) (epsilon C rho delta : ℝ) |
| 436 | (H : StrongHorn E epsilon) (h : ℝ) where |
| 437 | h_pos : 0 < h |
| 438 | h_upper : h ≤ min (rho * delta) (rho / (2 * C)) |
| 439 | deep_neck : ∀ x ∈ H.carrier, |
| 440 | h⁻¹ ^ 2 ≤ (E.extended.connection T).scalarCurvature x → |
| 441 | ∃ N : TerminalStrongNeck E delta, N.center = x ∧ N.carrier ⊆ H.carrier |
| 442 | selected_neck : ∃ N : TerminalStrongNeck E delta, |
| 443 | N.center ∈ H.carrier ∧ N.carrier ⊆ H.carrier ∧ |
| 444 | (E.extended.connection T).scalarCurvature N.center = h⁻¹ ^ 2 ∧ |
| 445 | Nonempty (HornEndCut H N rho) |
| 446 | |
| 447 | |
| 448 | end PoincareMT |