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.Geometry.RicciFlow.Generalized.BoundedDistance.DenseTheory |
| 3 | import PoincareLib.Topology.Manifold.NeckCap.Theory |
| 4 | |
| 5 | /- The source's current dense service has an older same-named declaration in |
| 6 | the workspace. Preserve source proof text through this import compatibility. -/ |
| 7 | namespace PoincareMT.BoundedDistanceSource |
| 8 | |
| 9 | scoped macro "RepairedBoundedDistanceTheory" ".{" u:level "}" : term => |
| 10 | `(PoincareMT.DenseTime.BoundedDistanceTheory.{$u}) |
| 11 | |
| 12 | end PoincareMT.BoundedDistanceSource |