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.Harnack.Noncompact.CurvatureControl.Assembly |
| 2 | |
| 3 | /-! |
| 4 | # Differential Harnack estimates and ancient consequences |
| 5 | |
| 6 | The original M06 theorem, relative to the supplied M04 curvature theory. |
| 7 | The per-slice curvature continuation, bounded-flow Hamilton block argument, |
| 8 | ancient differential limit, and path comparison construct all frozen fields. |
| 9 | |
| 10 | References: Morgan--Tian, Theorem 4.37 and Corollary 4.39, p. 81; |
| 11 | Theorem 4.40, p. 82; Definition 9.2, p. 180. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace PoincareMT |
| 19 | |
| 20 | /-- Complete nonnegatively curved flows with per-slice curvature bounds satisfy |
| 21 | the differential and zero-safe integrated Harnack estimates, including the |
| 22 | ancient terminal time. -/ |
| 23 | theorem differentialHarnackAncientTheory |
| 24 | (hM04 : RicciFlowCurvatureTheory.{u}) : HarnackAncientTheory.{u} := by |
| 25 | exact differentialHarnackAncientTheory_of_bounded_ancient_zero_volume hM04 |
| 26 | |
| 27 | end PoincareMT |