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.ReducedGeometry.ReducedLength.Variation.Fields.ChartVectorField |
| 2 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.LGeometry.Basic |
| 3 | import Mathlib.Analysis.Calculus.Deriv.Comp |
| 4 | import Mathlib.Analysis.Calculus.Deriv.Mul |
| 5 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Minimum.Variation.Geometry.ChartCurveExtension |
| 6 | |
| 7 | /-! Generic variation constructions reused by the reduced-length theory. -/ |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | |
| 11 | open scoped Manifold ContDiff Bundle Topology BigOperators |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | namespace PoincareMT.ReducedLength |
| 16 | |
| 17 | export PoincareMT.ReducedLengthMinimum.Variation.Geometry |
| 18 | (chartVectorField_param_smooth curveVelocityWithin_inverseChart chartCurveVelocityExtension chartCurveVelocityExtension_pullback) |
| 19 | |
| 20 | end PoincareMT.ReducedLength |