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.Generalized.DenseTime |
| 2 | import PoincareLib.Topology.Manifold.NeckCap.Theory |
| 3 | import PoincareLib.Geometry.RicciFlow.Curvature.Theory |
| 4 | |
| 5 | /-! |
| 6 | # M28 applied proof services |
| 7 | |
| 8 | Theorem 10.2 is stated as an implication whose canonical-neighborhood input is |
| 9 | primitive. This interface records the earlier curvature and Appendix-A |
| 10 | services used to prove that implication. The source's partial-limit Theorem |
| 11 | 5.6 and Proposition 5.14 are not misrepresented by the stronger M07 complete |
| 12 | interior compactness output. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace PoincareMT |
| 20 | |
| 21 | structure M28BoundedDistancePredecessors : Prop where |
| 22 | m04 : RicciFlowCurvatureTheory.{u} |
| 23 | m25 : Nonempty (RepairedNeckCapTopologyTheory.{u}) |
| 24 | |
| 25 | end PoincareMT |