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.Induction.ComponentBounds |
| 3 | |
| 4 | /-! |
| 5 | Adapted from Mapher `PoincareMT/Definitions/M48AnalyticCalibration.lean` at |
| 6 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 7 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 8 | -/ |
| 9 | |
| 10 | /-! |
| 11 | # Analytic calibration before the M48 singular step |
| 12 | |
| 13 | The actual M47 component estimate and the M45 model estimates must share a |
| 14 | coefficient with the selected M32 height. Choose these data before the |
| 15 | induction packages, prefixes and flows. For a geometric radius r, the M31 |
| 16 | application uses min r (component.curvature_threshold + 1)⁻¹. |
| 17 | Sources: Morgan--Tian Assumptions 11.18, Theorem 11.31 and Section 17.2, |
| 18 | pp. 276--290 and 409--410. See the September 19 calibration-boundary review. |
| 19 | -/ |
| 20 | |
| 21 | set_option autoImplicit false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace PoincareMT |
| 26 | |
| 27 | /-- Earlier theorem data and numerical calibration, with no flow or |
| 28 | continuation conclusion as a premise. The component field retains its actual |
| 29 | estimate, rather than just the name or size of an analytic constant. -/ |
| 30 | structure M48AnalyticCalibration (S : RepairedControlledSchedulesData.{u}) where |
| 31 | component : M47ComponentAnalyticBounds.{u} S.setup.C |
| 32 | delta_le_component : |
| 33 | S.Delta0 ≤ component.delta S.setup.standard_initial S.constants |
| 34 | delta_radius : |
| 35 | 2 * S.Delta0 * S.setup.epsilon ≤ (component.curvature_threshold + 1)⁻¹ |
| 36 | neck_bound : |
| 37 | S.calibration.model_analytics.neck_constant ≤ S.calibration.analytic_constant |
| 38 | round_bound : |
| 39 | S.calibration.model_analytics.round_constant ≤ S.calibration.analytic_constant |
| 40 | cap_bound : S.setup.C ≤ S.calibration.analytic_constant |
| 41 | component_bound : component.constant ≤ S.calibration.analytic_constant |
| 42 | |
| 43 | end PoincareMT |