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.StandardCap.Uniqueness.Imports |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Blowup.Sequences.BlowupSequence |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Blowup.OrdinaryRealization.Noncollapsing |
| 4 | |
| 5 | /-! |
| 6 | # Noncollapsing on every finite normalized past slab |
| 7 | |
| 8 | Morgan-Tian, Theorem 12.28, pp. 323-324, through Theorem 11.8. The actual |
| 9 | ordinary noncollapsing constants work on every eventually existing finite |
| 10 | past slab of the same blowup sequence. This asserts no curvature bound. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | open Set Filter |
| 16 | open scoped Manifold ContDiff Bundle Topology |
| 17 | |
| 18 | namespace PoincareMT.M35.OrdinaryRealization |
| 19 | |
| 20 | variable (P : M35StandardCapPredecessors) {g₀ : StandardInitialMetric} |
| 21 | (E : RepairedStandardCapExistenceData g₀) |
| 22 | (t : ℕ → ℝ) (x : ℕ → StandardCapSpace) |
| 23 | (ht : ∀ k, t k ∈ Ico 0 E.flow.base.lifetime) |
| 24 | (hR : Tendsto (fun k => (E.flow.connection (t k)).scalarCurvature (x k)) atTop atTop) |
| 25 | (N : StandardFlowNoncollapsingCertificate E.flow) |
| 26 | |
| 27 | /-- Theorem 11.1's base-slice noncollapsing holds at every index of the actual sequence. |
| 28 | Used in Theorem 12.28, pp. 323-324. -/ |
| 29 | theorem blowupSequence_noncollapsed_at_zero (A : ℝ) : |
| 30 | ∀ᶠ k : ℕ in atTop, ∀ y ∈ (blowupSequence P E t x ht hR).baseBall k A, |
| 31 | GeneralizedKappaNoncollapsedAt ((blowupSequence P E t x ht hR).flow k) |
| 32 | ⟨((blowupSequence P E t x ht hR).base k).1, y⟩ N.kappa N.radius := |
| 33 | Eventually.of_forall (fun k y _ => noncollapsed P E.flow N (ht k) y) |
| 34 | |
| 35 | /-- Theorem 11.8's noncollapsed finite slabs retain the same ordinary certificate constants. |
| 36 | Used in Theorem 12.28, pp. 323-324. -/ |
| 37 | theorem blowupSequence_noncollapsed_slabs (A T : ℝ) : |
| 38 | ∀ᶠ k : ℕ in atTop, |
| 39 | Nonempty (M30FiniteHorizonSlab (blowupSequence P E t x ht hR) k A T N.kappa N.radius) := by |
| 40 | let S := blowupSequence P E t x ht hR |
| 41 | filter_upwards [(blowupSequence_scaled_time P E t x ht hR).eventually_ge_atTop T] with k hk |
| 42 | have htime : ∀ s ∈ Ioc (-T) 0, t k + s / S.scale k ∈ Ico 0 E.flow.base.lifetime := by |
| 43 | intro s hs |
| 44 | exact add_div_mem_Ico_of_mem_Icc (ht k) (S.base_scalar_pos k) hk ⟨hs.1.le, hs.2⟩ |
| 45 | let e := sliceCylinder E.flow.base.flow (ht k) (S.scale k) (S.base_scalar_pos k) |
| 46 | (Ioc (-T) 0) (S.baseBall k A) htime |
| 47 | refine ⟨{ embedding := e, zero_identity := ?_, noncollapsed := ?_ }⟩ |
| 48 | · intro h₀ y _ |
| 49 | exact sliceCylinder_zero_identity E.flow.base.flow (ht k) (S.scale k) |
| 50 | (S.base_scalar_pos k) _ _ htime h₀ y |
| 51 | · intro s hs y _ |
| 52 | exact noncollapsed P E.flow N (htime s hs) (e.forward s hs y) |
| 53 | |
| 54 | end PoincareMT.M35.OrdinaryRealization |