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.Surgery.StandardCap.Uniqueness.Imports |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.UniquenessTheory |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Predecessors |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.MetricUniqueness.LifetimeEquality |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.MetricUniqueness.PartialUniqueness |
| 6 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.IndependentScalarRate |
| 7 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.CanonicalAlternatives |
| 8 | |
| 9 | /-! |
| 10 | # M35 standard-cap uniqueness and estimates proof entry |
| 11 | |
| 12 | The numbered theorem assembles uniqueness, lifetime, the scalar lower rate |
| 13 | and the three canonical alternatives on the supplied standard-cap flow. |
| 14 | Supporting objects are declared in `Definitions/M35StandardCapUniqueness.lean`. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | |
| 19 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 20 | |
| 21 | namespace PoincareMT |
| 22 | |
| 23 | /-- M35: for every standard initial metric and supplied M34 existence datum E, |
| 24 | the same selected flow is complete on [0,1) and has lifetime one. Every raw |
| 25 | maximal standard flow from that initial metric has the same lifetime and |
| 26 | the same metric at every time in the intersection of their domains. Every raw |
| 27 | partial standard flow with the same initial data agrees with the selected |
| 28 | flow on the common domain. No completeness, rotation or asymptotic conclusion |
| 29 | is assumed for those raw flows. |
| 30 | |
| 31 | There is c > 0, chosen before the point and time, with R_E(x,t) >= c/(1-t). |
| 32 | For every 0 < epsilon < 1/2 there is C > 0, chosen before the point and time, |
| 33 | such that every (x,t) lies in the core of a quantitative Euclidean cap, |
| 34 | is centered in an evolving epsilon-neck on the actual interval [0,t] |
| 35 | disjoint from the closed radius-(A0+4) ball in the initial standard metric, |
| 36 | or is centered in one on normalized time |
| 37 | (-(1+epsilon),0]. The actual caps have the stated scalar, intrinsic diameter, |
| 38 | volume, ambient core-ball, gradient and absolute scalar-time bounds. |
| 39 | One fixed spatial map compares each neck with the literal evolving cylinder |
| 40 | in the intrinsic spatial norm through order floor(1/epsilon). |
| 41 | |
| 42 | Sources: Morgan-Tian Theorem 12.5, pp. 295-296, and the uniqueness argument, |
| 43 | pp. 307-323; Proposition 12.31, pp. 325-326; Theorem 12.32, pp. 326-327; |
| 44 | Definition 13.3 and Lemma 13.4, pp. 333-334 (surgery cap), using the unit |
| 45 | distance margin in the proof of Theorem 12.32; Definition 2.16 and |
| 46 | Remark 2.17, p. 30. The supplied earlier services are |
| 47 | full M04 curvature theory, compact dimension-two M03 uniqueness, M07 |
| 48 | compactness, M13 rescaling and metric transport, and M27/M30 on the same |
| 49 | selected ancient limit. M34's datum is the actual geometric input. |
| 50 | |
| 51 | Common-domain uniqueness uses M34's published native energy theorem for |
| 52 | arbitrary partial standard-cap flows. The proof then supplies exact |
| 53 | old-connection splicing, ordinary-to-generalized realization and finite-jet |
| 54 | transport. First obtain fixed unit-time canonical |
| 55 | and absolute analytic controls and the scalar rate. A separate limit argument |
| 56 | with diverging candidate cap constants gives the exact extra-time alternative; |
| 57 | Corollary 9.95's unspecified extension is not identified with epsilon. |
| 58 | The independent radial gauge development uses -xi and retains its possible |
| 59 | O(1/r) displacement. |
| 60 | See `reviews/contracts/2026-09-17-m35-full-contract.md`, the initial-cap |
| 61 | correction in `reviews/contracts/2026-09-19-m18-m35-boundaries-round1.md`, and |
| 62 | `reviews/errata/2026-09-17-m35-radial-gauge.md`, together with the compactness, |
| 63 | time-endpoint, scalar-ODE and DeTurck-sign corrections named there. -/ |
| 64 | theorem repairedStandardCapUniqueness (P : M35StandardCapPredecessors) : |
| 65 | RepairedStandardCapUniquenessTheory := by |
| 66 | refine ⟨?_⟩ |
| 67 | intro g₀ E |
| 68 | have hunique (G : PartialStandardCapFlow g₀) (t : ℝ) |
| 69 | (ht : t ∈ Set.Ico 0 E.flow.base.lifetime ∩ Set.Ico 0 G.lifetime) := |
| 70 | E.partial_metric_unique P.curvature G ht |
| 71 | refine ⟨{ |
| 72 | lifetime_one := E.lifetime_one |
| 73 | complete := E.complete |
| 74 | unique_lifetime := ?_ |
| 75 | unique_metric := fun G t ht => hunique G.base t ht |
| 76 | partial_unique_metric := hunique |
| 77 | scalar_lower_bound := E.scalar_lower_rate_from_unit_time P |
| 78 | canonical := M35.Uniqueness.standard_cap_canonical P E |
| 79 | }⟩ |
| 80 | intro G |
| 81 | exact E.flow.lifetime_eq_of_metric_agreement G (fun t ht => hunique G.base t ht) |
| 82 | |
| 83 | end PoincareMT |