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 Mathlib.Analysis.Calculus.BumpFunction.FiniteDimension |
| 2 | import Mathlib.Analysis.Calculus.IteratedDeriv.Lemmas |
| 3 | import Mathlib.Analysis.Calculus.SmoothSeries |
| 4 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Minimum.Variational.Extension.Jets |
| 5 | |
| 6 | /-! Reuse the dimension-independent variational declarations adapted from Mapher |
| 7 | `PoincareMT/Proofs/M08/SmoothEndpointJets.lean`. -/ |
| 8 | |
| 9 | namespace PoincareMT.LGeometry |
| 10 | |
| 11 | export PoincareMT.ReducedLengthMinimum.Variational |
| 12 | (endpointJetCutoff |
| 13 | endpointJetPolynomial |
| 14 | endpointJetPolynomial_contDiff |
| 15 | endpointJetPolynomial_deriv |
| 16 | endpointJetBase |
| 17 | endpointJetBase_contDiff |
| 18 | endpointJetBase_hasCompactSupport |
| 19 | endpointJetBase_eventually_eq |
| 20 | endpointJetBase_deriv |
| 21 | exists_small_endpointJet |
| 22 | exists_smooth_endpoint_jets) |
| 23 | |
| 24 | end PoincareMT.LGeometry |