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.Control.Calibration |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.PersistenceTheory |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.ExistenceTheory |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.UniquenessTheory |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.OperationTheory |
| 6 | |
| 7 | /-! |
| 8 | Adapted from Mapher `PoincareMT/Statements/M45ControlledSchedules.lean` at |
| 9 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 10 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 11 | -/ |
| 12 | |
| 13 | /-! |
| 14 | # M45 calibrated setup and seed statement |
| 15 | |
| 16 | The fixed setup and initial seeds precede the finite induction. The caller |
| 17 | may prescribe any positive bound on doubled epsilon before the setup is |
| 18 | chosen. M51 owns the global schedule, and continuation is a separate M48 |
| 19 | obligation. Source: the initial parameter choices in Morgan--Tian Chapter 15, |
| 20 | pp. 354--355; epsilon is chosen before beta, C and the later selectors. |
| 21 | -/ |
| 22 | |
| 23 | set_option autoImplicit false |
| 24 | |
| 25 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 26 | |
| 27 | universe u |
| 28 | |
| 29 | namespace PoincareMT |
| 30 | |
| 31 | structure RepairedControlledSchedulesTheory : Prop where |
| 32 | schedules : RepairedStandardCapExistenceTheory → |
| 33 | RepairedStandardCapUniquenessTheory → |
| 34 | RepairedMetricSurgeryTheory.{u} → |
| 35 | RepairedCapPersistenceTheory.{u} → |
| 36 | ∀ epsilon_bound : ℝ, 0 < epsilon_bound → |
| 37 | ∃ S : RepairedControlledSchedulesData.{u}, |
| 38 | 2 * S.setup.epsilon ≤ epsilon_bound |
| 39 | |
| 40 | end PoincareMT |