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.BoundedDistance.GeometryImports |
| 2 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Compatibility |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Predecessors.BoundedDistanceInputs |
| 4 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Exclusion |
| 5 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.SameTime |
| 6 | |
| 7 | open scoped PoincareMT.BoundedDistanceSource |
| 8 | /-! |
| 9 | # M28 bounded curvature at bounded distance |
| 10 | |
| 11 | The actual counterexample sources produce the retained spatial limit, |
| 12 | positive recut and scalar-normalized backward limit. Their common source |
| 13 | distances give the local cone contradiction. The compact-path transfer |
| 14 | then supplies the unchanged dense-time estimate. Source: Morgan--Tian |
| 15 | Theorem 10.2, pp. 245-265; M28 derivations 07, 08 and 161e. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace PoincareMT |
| 23 | |
| 24 | /- |
| 25 | For a universal epsilon0 chosen small enough that the Appendix-A inputs and |
| 26 | Proposition 2.19 apply at 2 epsilon, and for every 0 < epsilon <= epsilon0, |
| 27 | every C > 0 and every A >= 0, choose positive D₀,D after epsilon, C and A |
| 28 | and before the generalized flow. |
| 29 | For every generalized flow satisfying the weak Hamilton--Ivey inequalities |
| 30 | (10.1), canonical control above four times the base scalar |
| 31 | on the tested slice suffices for the bound on its ball of radius `A R^(-1/2)` |
| 32 | when the base scalar is at least D₀. A second estimate at the same universal |
| 33 | epsilon0 allows whole controlled slices arbitrarily close from the left to |
| 34 | every earlier included time, including the tested time. This strengthens |
| 35 | Morgan--Tian Theorem 10.2, printed p. 245, using its proof: Claims 10.3--10.6 |
| 36 | choose same-slice certificates, Claim 10.10 uses their strong-neck cylinders, |
| 37 | and Claim 10.11 retains whole-flow weak pinching. Nonnegative curvature |
| 38 | satisfies these inequalities on any time interval because its negative |
| 39 | curvature part vanishes. Transporting a compact path to |
| 40 | one good time and re-basing at scalar exactly twice the original base scalar |
| 41 | gives the dense-time estimate. The derivation, threshold margins and relative |
| 42 | endpoint convention are in |
| 43 | `reviews/contracts/2026-09-18-regular-time-canonical-boundary-round1.md`. |
| 44 | The original earlier-time estimate is a checked corollary. The generalized canonical |
| 45 | alternatives use `SingularRoundComponent` and the reviewed Appendix-A |
| 46 | cap/neck certificates; no legacy S^3-only round model is used. |
| 47 | -/ |
| 48 | /-- Uniform bounded curvature at bounded distance, with both the |
| 49 | same-time and left-dense-time canonical-neighborhood hypotheses. |
| 50 | The actual source/cone contradiction supplies the universal threshold. |
| 51 | Source: MT Theorem 10.2, pp. 245-265; derivations 07, 08 and 161e. -/ |
| 52 | theorem m28BoundedDistance (P : M28BoundedDistancePredecessors.{u}) : |
| 53 | RepairedBoundedDistanceTheory.{u} := by |
| 54 | obtain ⟨epsilon0, hpositive, hsmall, hexclude⟩ := |
| 55 | M28.exists_actual_counterexample_exclusion_accuracy P.m04 (Classical.choice P.m25) |
| 56 | exact M28.theory_of_counterexample_exclusion P.m04 hpositive hsmall hexclude |
| 57 | |
| 58 | end PoincareMT |