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.Lifetime.CanonicalGeometry.CapWorldlineSurvival |
| 2 | |
| 3 | /-! |
| 4 | # Every finite normalized past slab exists and is noncollapsed |
| 5 | |
| 6 | Scalar divergence sends the base times to the lifetime and makes |
| 7 | scale times base time diverge. Each fixed normalized slab therefore |
| 8 | lies in one positive physical-time tail. The same fixed radius and |
| 9 | noncollapse constant apply at every point of every such slab. |
| 10 | Source: Morgan-Tian Theorems 11.8 and 12.28, pp. 276-277, 323-324; |
| 11 | bad-point selection derivation, section 7. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | open Set Filter |
| 17 | open scoped Manifold ContDiff Bundle Topology |
| 18 | |
| 19 | namespace PoincareMT.M34 |
| 20 | |
| 21 | variable {g0 : StandardInitialMetric} (F : MaximalStandardCapFlow g0) |
| 22 | (P : M34StandardCapPredecessors) |
| 23 | (R : OrdinaryProductRicciGeometry F.base.flow.metric (partialFlowSpacetimeInterval F.base)) |
| 24 | |
| 25 | local notation "G" => ordinaryChapter11Flow |
| 26 | (I := partialFlowSpacetimeInterval F.base) (F := F.base.flow) R |
| 27 | |
| 28 | include P |
| 29 | |
| 30 | /-- Every finite normalized slab of an actual cap blow-up sequence has |
| 31 | the frozen M30 cylinder and all-point noncollapse certificate (Theorem 12.28). -/ |
| 32 | theorem standardFlow_chapter11_finite_slabs (p : ℕ → (G).point) |
| 33 | (hpositive : ∀ k, 0 < (G).scalar (p k)) |
| 34 | (hdiverges : Tendsto (fun k => (G).scalar (p k)) atTop atTop) |
| 35 | (H : StandardFlowNoncollapsingCertificate F) {r0 : ℝ} |
| 36 | (hradius : r0 ≤ H.radius) (hrtime : r0 ^ 2 ≤ F.base.lifetime / 4) (T A : ℝ) : |
| 37 | ∀ᶠ k : ℕ in atTop, Nonempty (M30FiniteHorizonSlab |
| 38 | (fixedFlowBlowupSequence (G) p hpositive hdiverges) k A T H.kappa r0) := by |
| 39 | let S := fixedFlowBlowupSequence (G) p hpositive hdiverges |
| 40 | have hscaled := partialFlow_chapter11_scaled_time_tendsto F.base P R p hdiverges |
| 41 | have htimes := partialFlow_chapter11_times_tendsto F.base P R p hdiverges |
| 42 | have htail : ∀ᶠ k : ℕ in atTop, F.base.lifetime / 2 < (p k).1 := |
| 43 | (tendsto_order.mp htimes).1 _ (by linarith [F.base.lifetime_pos]) |
| 44 | filter_upwards [htail, hscaled.eventually_ge_atTop (2 * T)] with k hk hscaledk |
| 45 | have hQ : 0 < S.scale k := hpositive k |
| 46 | have hclock (s : ℝ) (hs : s ∈ Ioc (-T) 0) : |
| 47 | F.base.lifetime / 4 ≤ (p k).1 + s / S.scale k ∧ |
| 48 | (p k).1 + s / S.scale k < F.base.lifetime := by |
| 49 | have hdiv : T / S.scale k ≤ (p k).1 / 2 := by |
| 50 | apply (div_le_iff₀ hQ).mpr |
| 51 | change 2 * T ≤ S.scale k * (p k).1 at hscaledk |
| 52 | nlinarith |
| 53 | have hsdiv : -(T / S.scale k) < s / S.scale k := by |
| 54 | simpa only [neg_div] using div_lt_div_of_pos_right hs.1 hQ |
| 55 | refine ⟨by linarith, ?_⟩ |
| 56 | exact (add_le_of_nonpos_right (div_nonpos_of_nonpos_of_nonneg hs.2 hQ.le)).trans_lt |
| 57 | (ordinaryChapter11Point_time_mem R (p k)).2 |
| 58 | have hdomain (s : ℝ) (hs : s ∈ Ioc (-T) 0) : |
| 59 | (p k).1 + s / S.scale k ∈ (partialFlowSpacetimeInterval F.base).domain := |
| 60 | ⟨(by linarith [F.base.lifetime_pos] : 0 ≤ F.base.lifetime / 4).trans (hclock s hs).1, |
| 61 | (hclock s hs).2⟩ |
| 62 | refine ⟨{ |
| 63 | embedding := ordinaryChapter11Cylinder R (p k) (S.scale k) hQ |
| 64 | (Ioc (-T) 0) (S.baseBall k A) hdomain |
| 65 | zero_identity := fun hzero x _ => ordinaryChapter11Cylinder_zero_identity R |
| 66 | (p k) (S.scale k) hQ (Ioc (-T) 0) (S.baseBall k A) hdomain hzero x |
| 67 | noncollapsed := ?_ |
| 68 | }⟩ |
| 69 | intro s hs x _ |
| 70 | apply standardFlow_chapter11_noncollapsed F P R H hradius |
| 71 | exact hrtime.trans (hclock s hs).1 |
| 72 | |
| 73 | end PoincareMT.M34 |