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.ExistenceData |
| 2 | |
| 3 | /-! |
| 4 | Adapted from Mapher `PoincareMT/Definitions/M35StandardCapUniqueness.lean` at |
| 5 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 6 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 7 | -/ |
| 8 | |
| 9 | /-! |
| 10 | # M35 repaired standard-cap uniqueness and estimates |
| 11 | |
| 12 | The data retains the actual M34 flow comparison, unit lifetime, completeness, |
| 13 | scalar lower rate, and time-dependent canonical alternatives. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace PoincareMT |
| 23 | |
| 24 | structure RepairedStandardCapUniquenessData |
| 25 | (g₀ : StandardInitialMetric) |
| 26 | (E : RepairedStandardCapExistenceData g₀) where |
| 27 | lifetime_one : E.flow.base.lifetime = 1 |
| 28 | complete : ∀ t ∈ Set.Ico 0 E.flow.base.lifetime, |
| 29 | MetricComplete (E.flow.metric t) |
| 30 | unique_lifetime : ∀ G : MaximalStandardCapFlow g₀, |
| 31 | E.flow.base.lifetime = G.base.lifetime |
| 32 | unique_metric : ∀ G : MaximalStandardCapFlow g₀, |
| 33 | ∀ t ∈ Set.Ico 0 E.flow.base.lifetime ∩ Set.Ico 0 G.base.lifetime, |
| 34 | E.flow.metric t = G.metric t |
| 35 | /-- Common-domain uniqueness for a raw partial standard flow. Maximality is |
| 36 | not needed for this comparison; it is used only by `unique_lifetime`. -/ |
| 37 | partial_unique_metric : ∀ G : PartialStandardCapFlow g₀, |
| 38 | ∀ t ∈ Set.Ico 0 E.flow.base.lifetime ∩ Set.Ico 0 G.lifetime, |
| 39 | E.flow.metric t = G.flow.metric t |
| 40 | /-- Proposition 12.31, pp. 325-326: one positive coefficient bounds scalar |
| 41 | curvature below by c/(1-t) on this actual standard flow throughout [0,1). |
| 42 | See the corrected ODE argument in the 2026-09-15 scalar-rate contract. -/ |
| 43 | scalar_lower_bound : ∃ c : ℝ, 0 < c ∧ |
| 44 | ∀ t ∈ Set.Ico 0 E.flow.base.lifetime, ∀ x : StandardCapSpace, |
| 45 | c / (1 - t) ≤ (E.flow.connection t).scalarCurvature x |
| 46 | canonical : ∀ epsilon : ℝ, 0 < epsilon → epsilon < 1 / 2 → |
| 47 | ∃ C : ℝ, 0 < C ∧ ∀ t ∈ Set.Ico 0 E.flow.base.lifetime, |
| 48 | ∀ x : StandardCapSpace, |
| 49 | StandardCanonicalAlternative E.atlas E.flow t x epsilon C |
| 50 | |
| 51 | end PoincareMT |