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.Singular.Geometry |
| 2 | |
| 3 | /-! |
| 4 | Adapted from Mapher `PoincareMT/Definitions/M31SingularRegularLimit.lean` at |
| 5 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 6 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 7 | -/ |
| 8 | |
| 9 | /-! |
| 10 | # M31 repaired singular-time regular-limit data |
| 11 | |
| 12 | The source-aligned conclusion is the complete `SingularLimitConclusion` from |
| 13 | Chapter 11. Reusing that record retains the actual old-time gluing map, |
| 14 | terminal slice, proper scalar curvature, end controls, and canonical |
| 15 | neighborhood output; in particular, an empty regular-limit set remains |
| 16 | allowed. |
| 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 | variable {M : Type u} [TopologicalSpace M] |
| 28 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 29 | [IsManifold (𝓡 3) ∞ M] [MeasurableSpace M] [BorelSpace M] |
| 30 | [T2Space M] [T3Space M] [SecondCountableTopology M] |
| 31 | |
| 32 | /-- Terminal regular-limit output for one singular-time assumption. This is |
| 33 | the complete source record, including the gluing compatibility that connects |
| 34 | the terminal source map to the preterminal flow. -/ |
| 35 | abbrev RepairedSingularRegularLimitData |
| 36 | {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 37 | (H : SingularTimeAssumptions F T M) := SingularLimitConclusion H |
| 38 | |
| 39 | end PoincareMT |