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.Existence.Construction.Flow.BoundedContinuation |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Lifetime.CanonicalGeometry.CapChapter11Geometry |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Geometry.Curvature.NonnegativeCurvatureNorm |
| 4 | |
| 5 | /-! |
| 6 | # A second scalar blow-up with centers in the fixed compact set |
| 7 | |
| 8 | Maximality gives unbounded full curvature after any included time. |
| 9 | The uniform exterior bound forces the selected points into the same |
| 10 | compact center region. Nonnegative sectional curvature converts their |
| 11 | full-curvature values into diverging actual Chapter 11 scalar scales. |
| 12 | Source: Morgan-Tian Theorem 12.29 and Claim 12.30, pp. 324-325; |
| 13 | exterior-scalar-and-second-blowup.md, sections 7-8. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open Set Filter |
| 20 | open scoped Manifold ContDiff Topology |
| 21 | |
| 22 | namespace PoincareMT.M34 |
| 23 | |
| 24 | variable {g0 : StandardInitialMetric} (F : MaximalStandardCapFlow g0) |
| 25 | (P : M34StandardCapPredecessors) |
| 26 | (R : OrdinaryProductRicciGeometry F.base.flow.metric (partialFlowSpacetimeInterval F.base)) |
| 27 | |
| 28 | local notation "G" => ordinaryChapter11Flow |
| 29 | (I := partialFlowSpacetimeInterval F.base) (F := F.base.flow) R |
| 30 | |
| 31 | include P |
| 32 | |
| 33 | /-- Actual diverging scalar basepoints remain in the fixed center set |
| 34 | and above any prescribed good-point threshold (Theorem 12.29). -/ |
| 35 | theorem standardFlow_chapter11_compact_center_sequence (E0 : StandardCapEstimate g0) |
| 36 | {T0 B : ℝ} (hT0 : T0 ∈ Ioo 0 F.base.lifetime) {X : Set StandardCapSpace} |
| 37 | (hcurv : ∀ t ∈ Ico T0 F.base.lifetime, ∀ x ∉ X, |
| 38 | (F.connection t).curvatureTensorNorm x ≤ 2 * B) (Rstar : ℝ) : |
| 39 | ∃ p : ℕ → (G).point, |
| 40 | (∀ k : ℕ, T0 < (p k).1 ∧ ordinaryChapter11Projection R (p k) ∈ X ∧ |
| 41 | Rstar < (G).scalar (p k) ∧ (k : ℝ) + 1 < (G).scalar (p k)) ∧ |
| 42 | Tendsto (fun k => (G).scalar (p k)) atTop atTop := by |
| 43 | classical |
| 44 | have hchoose (k : ℕ) : ∃ p : (G).point, |
| 45 | T0 < p.1 ∧ ordinaryChapter11Projection R p ∈ X ∧ |
| 46 | Rstar < (G).scalar p ∧ (k : ℝ) + 1 < (G).scalar p := by |
| 47 | obtain ⟨t, ht, x, hhigh⟩ := maximalFlow_curvature_unbounded_near_lifetime P E0 F |
| 48 | ⟨hT0.1.le, hT0.2⟩ (max (2 * B) (max Rstar ((k : ℝ) + 1))) |
| 49 | have htime : t ∈ Ico 0 F.base.lifetime := ⟨hT0.1.le.trans ht.1.le, ht.2⟩ |
| 50 | have hx : x ∈ X := by |
| 51 | by_contra hx |
| 52 | exact (not_lt_of_ge ((hcurv t ⟨ht.1.le, ht.2⟩ x hx).trans |
| 53 | (le_max_left _ _))) hhigh |
| 54 | have hnorm := (F.base.flow.connection t).curvatureTensorNorm_le_scalar_of_nonnegative_sectional |
| 55 | x (partialFlow_nonnegativeSectionalCurvature P.curvature E0 F.base t htime x) |
| 56 | let p : (G).point := ⟨t, R.product.sliceIdentification ⟨t, htime⟩ x⟩ |
| 57 | have hproj : ordinaryChapter11Projection R p = x := |
| 58 | ordinaryChapter11Projection_identification (I := partialFlowSpacetimeInterval F.base) |
| 59 | (F := F.base.flow) R ⟨t, htime⟩ x |
| 60 | have hscalar : (G).scalar p = (F.connection t).scalarCurvature x := by |
| 61 | have he := ordinaryChapter11_scalar_eq (I := partialFlowSpacetimeInterval F.base) |
| 62 | (F := F.base.flow) R (partialFlow_chapter11_calculus F.base P R) p |
| 63 | simpa only [hproj, p, MaximalStandardCapFlow.connection] using he |
| 64 | refine ⟨p, ht.1, hproj ▸ hx, ?_, ?_⟩ |
| 65 | · rw [hscalar] |
| 66 | exact ((le_max_left _ _).trans (le_max_right _ _)).trans_lt (hhigh.trans_le hnorm) |
| 67 | · rw [hscalar] |
| 68 | exact ((le_max_right _ _).trans (le_max_right _ _)).trans_lt (hhigh.trans_le hnorm) |
| 69 | choose p hp using hchoose |
| 70 | refine ⟨p, hp, ?_⟩ |
| 71 | apply tendsto_atTop_mono (g := fun k : ℕ => (G).scalar (p k)) |
| 72 | (f := fun k : ℕ => (k : ℝ)) _ tendsto_natCast_atTop_atTop |
| 73 | intro k |
| 74 | linarith [(hp k).2.2.2] |
| 75 | |
| 76 | end PoincareMT.M34 |