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.Spacetime.Rescaling.HorizontalCalculus |
| 2 | |
| 3 | /-! Ported from Mapher06/Poincare-MorganTian, `PoincareMT/Statements/M13ScaleBounds.lean`, |
| 4 | revision `49331b7d7ecad38f53e4300c3b35d6a84b2cc648`. |
| 5 | Declaration bodies are unchanged; only imports and module placement differ. -/ |
| 6 | |
| 7 | /-! |
| 8 | # Quantitative invariance under the constructed rescaling |
| 9 | |
| 10 | Morgan-Tian Definition 3.40, p. 61, Definition 9.1, p. 180, and the |
| 11 | scale changes in Section 9.2.1, p. 185. These are identities for supplied |
| 12 | domains and bounds. Existence of a noncollapsing configuration, estimates, |
| 13 | and limiting flows belong to later milestones. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | open scoped Manifold ContDiff Bundle ENNReal |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace PoincareMT |
| 23 | |
| 24 | variable {n : ℕ} {X : Type u} [TopologicalSpace X] |
| 25 | {A : AdaptedMetricAtlas n X} {R : GeneralizedFlowCarrierConclusion A} |
| 26 | {Q : ℝ} {hQ : 0 < Q} {a : ℝ} |
| 27 | |
| 28 | /-- Curvature and volume conditions on exactly corresponding actual sets. -/ |
| 29 | structure ParabolicScaleBounds (P : ParabolicSpacetimeRescaling R Q hQ a) : Prop where |
| 30 | curvature_bound : ∀ (D : LeafwiseLeviCivitaFamily R.spacetime R.slices) |
| 31 | (D' : LeafwiseLeviCivitaFamily P.realization.spacetime P.realization.slices) |
| 32 | (E : Set R.spacetime.Point) (K : ℝ), |
| 33 | (∀ p ∈ E, horizontalCurvatureNorm D' p ≤ K / Q) ↔ |
| 34 | ∀ p ∈ E, horizontalCurvatureNorm D p ≤ K |
| 35 | parabolic_curvature_bound : ∀ (D : LeafwiseLeviCivitaFamily R.spacetime R.slices) |
| 36 | (D' : LeafwiseLeviCivitaFamily P.realization.spacetime P.realization.slices) |
| 37 | (E : Set R.spacetime.Point) (r : ℝ) (_hr : 0 < r), |
| 38 | (∀ p ∈ E, horizontalCurvatureNorm D' p ≤ 1 / (Real.sqrt Q * r) ^ 2) ↔ |
| 39 | ∀ p ∈ E, horizontalCurvatureNorm D p ≤ 1 / r ^ 2 |
| 40 | volume_bound : ∀ (t : ℝ) (x : (R.slices t).Point) (r κ : ℝ) (_hr : 0 < r) (_hκ : 0 < κ), |
| 41 | (ENNReal.ofReal (κ * (Real.sqrt Q * r) ^ n) ≤ |
| 42 | calibratedMetricVolume (P.realization.slices (parabolicTime Q a t)).metricOnPoints |
| 43 | ((P.realization.slices (parabolicTime Q a t)).metricOnPoints.ball |
| 44 | (P.sliceIdentification t x) (Real.sqrt Q * r))) ↔ |
| 45 | ENNReal.ofReal (κ * r ^ n) ≤ |
| 46 | calibratedMetricVolume (R.slices t).metricOnPoints ((R.slices t).metricOnPoints.ball x r) |
| 47 | scale_cutoff : ∀ (r r₀ : ℝ), |
| 48 | (0 < Real.sqrt Q * r ∧ Real.sqrt Q * r ≤ Real.sqrt Q * r₀) ↔ 0 < r ∧ r ≤ r₀ |
| 49 | base_normalization : ∀ (D : LeafwiseLeviCivitaFamily R.spacetime R.slices) |
| 50 | (D' : LeafwiseLeviCivitaFamily P.realization.spacetime P.realization.slices) |
| 51 | (p : R.spacetime.Point), Q = horizontalScalarCurvature D p → a = R.spacetime.timeFunction p → |
| 52 | P.realization.spacetime.timeFunction p = 0 ∧ horizontalScalarCurvature D' p = 1 |
| 53 | |
| 54 | end PoincareMT |