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.Induction.CanonicalGeometry |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.NoncollapseData |
| 3 | |
| 4 | /-! |
| 5 | Adapted from Mapher `PoincareMT/Definitions/M47CanonicalInduction.lean` at |
| 6 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 7 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 8 | -/ |
| 9 | |
| 10 | /-! |
| 11 | # M47 repaired canonical-neighborhood induction data |
| 12 | |
| 13 | The canonical step consumes the M46 noncollapsing extension at each finite |
| 14 | prefix and returns the exact Proposition 17.1 extension for that prefix. The |
| 15 | canonical output is indexed by the particular extension selected by the M46 |
| 16 | package, rather than by an unrelated extension at the same parameter prefix. |
| 17 | -/ |
| 18 | |
| 19 | set_option autoImplicit false |
| 20 | |
| 21 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace PoincareMT |
| 26 | |
| 27 | structure RepairedCanonicalInductionData |
| 28 | (S : RepairedControlledSchedulesData.{u}) |
| 29 | (N : RepairedNoncollapseInductionData S) where |
| 30 | induction : ∀ (p : SurgeryParameterPrefix S.constants) (hp : S.SeedCompatible p), |
| 31 | Nonempty (SurgeryCanonicalExtension.{u} p |
| 32 | (Classical.choice (N.induction p hp))) |
| 33 | |
| 34 | end PoincareMT |