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.Local.ExistenceUniquenessContinuation |
| 2 | import PoincareLib.Geometry.RicciFlow.Curvature.Construction |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Predecessors.PointedCompactness |
| 4 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Predecessors |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Predecessors.Kappa |
| 6 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Predecessors.Blowup |
| 7 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Main |
| 8 | |
| 9 | /-! |
| 10 | # Applying M35's actual earlier services |
| 11 | |
| 12 | The construction uses the selected M34 existence package without choosing a |
| 13 | different standard flow. The seven services include the actual compact |
| 14 | surface uniqueness and ordinary compactness operations. The M35 proof |
| 15 | derives the scalar and canonical estimates from those earlier services |
| 16 | and supplies common-domain uniqueness using the published M34 theorem. |
| 17 | -/ |
| 18 | |
| 19 | set_option autoImplicit false |
| 20 | |
| 21 | namespace PoincareMT |
| 22 | |
| 23 | /-- Theorem 12.5, pp. 295-296, and Theorem 12.32, pp. 326-327: |
| 24 | the lower milestones supply the seven services used by M35. -/ |
| 25 | theorem m35StandardCapPredecessorsFromMilestones : M35StandardCapPredecessors := by |
| 26 | obtain ⟨epsilon₀, hpos, hsmall, _short, long⟩ := |
| 27 | m30ControlledGeneralizedBlowupLimitsFromMilestones.limits |
| 28 | refine { |
| 29 | curvature := ricciFlowCurvatureTheory |
| 30 | compact_surface_uniqueness := ?_ |
| 31 | pointed_compactness := fun H => pointedRicciFlowCompactness_from_M04 H |
| 32 | ordinary_flow := (generalizedParabolicRescaling_from_M12 3).ordinary_flow |
| 33 | metric_homothety := (generalizedParabolicRescaling_from_M12 3).metric_homothety |
| 34 | kappa_models := m27KappaAlternativesFromMilestones |
| 35 | long_limits := ⟨epsilon₀, hpos, hsmall, long⟩ |
| 36 | } |
| 37 | intro M _ _ _ _ _ _ |
| 38 | exact (ricciFlowLocalTheory (n := 2) (M := M)).2.1 |
| 39 | |
| 40 | /-- Theorem 12.5 and Proposition 12.31 through Theorem 12.32: |
| 41 | apply the complete M35 proof to the published lower-milestone services. -/ |
| 42 | theorem m35StandardCapUniquenessFromMilestones : |
| 43 | RepairedStandardCapUniquenessTheory := |
| 44 | repairedStandardCapUniqueness m35StandardCapPredecessorsFromMilestones |
| 45 | |
| 46 | /-- Proposition 12.31 applied to the supplied M34 flow and connection. -/ |
| 47 | theorem m35StandardScalarRateFromMilestones (g₀ : StandardInitialMetric) |
| 48 | (E : RepairedStandardCapExistenceData g₀) : |
| 49 | ∃ c : ℝ, 0 < c ∧ ∀ t ∈ Set.Ico 0 E.flow.base.lifetime, |
| 50 | ∀ x : StandardCapSpace, c / (1 - t) ≤ (E.flow.connection t).scalarCurvature x := by |
| 51 | obtain ⟨U⟩ := m35StandardCapUniquenessFromMilestones.estimates g₀ E |
| 52 | exact U.scalar_lower_bound |
| 53 | |
| 54 | end PoincareMT |