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.Curvature.ExteriorScalarPropagation |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Lifetime.Basic.ExteriorPositiveVolume |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Lifetime.Limits.CompactCenterBall |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Lifetime.Basic.SecondBlowupSequence |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Lifetime.Basic.Chapter11Volume |
| 6 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Lifetime.CanonicalGeometry.CapLongControls |
| 7 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Geometry.Basic.GeneralizedVolumeCollapse |
| 8 | |
| 9 | /-! |
| 10 | # Unit lifetime from the actual high-curvature good-point theorem |
| 11 | |
| 12 | A subunit lifetime supplies a fixed exterior region with positive volume. |
| 13 | The second blow-up has compactly located centers, so a fixed-radius ball |
| 14 | at every selected point contains that region. M30, M22, calibrated volume |
| 15 | transfer and Bishop-Gromov force the volumes of those same balls to zero. |
| 16 | Source: Morgan-Tian Theorem 12.29 and Claim 12.30, pp. 324-325; |
| 17 | exterior-scalar-and-second-blowup.md, sections 6-12. |
| 18 | -/ |
| 19 | |
| 20 | set_option autoImplicit false |
| 21 | |
| 22 | open Set Filter MeasureTheory |
| 23 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 24 | |
| 25 | namespace PoincareMT.M34 |
| 26 | |
| 27 | variable {g0 : StandardInitialMetric} (F : MaximalStandardCapFlow g0) |
| 28 | (P : M34StandardCapPredecessors) |
| 29 | (R : OrdinaryProductRicciGeometry F.base.flow.metric (partialFlowSpacetimeInterval F.base)) |
| 30 | |
| 31 | local notation "G" => ordinaryChapter11Flow |
| 32 | (I := partialFlowSpacetimeInterval F.base) (F := F.base.flow) R |
| 33 | |
| 34 | include P |
| 35 | |
| 36 | /-- The complete second blow-up volume contradiction. The upstream |
| 37 | joint canonical and analytic good-point theorem is the single geometric |
| 38 | hypothesis still to be discharged by Theorem 12.28. -/ |
| 39 | theorem standardFlow_lifetime_ge_one_of_good_points (E0 : StandardCapEstimate g0) |
| 40 | (H : StandardFlowNoncollapsingCertificate F) {epsilon0 epsilon C A Rstar : ℝ} |
| 41 | (long : M30LongLimitStatement.{0} epsilon0) (hepsilon : 0 < epsilon) |
| 42 | (hepsilon0 : epsilon ≤ epsilon0) (hC : 0 < C) (hA : 0 < A) |
| 43 | (hgood : ∀ p : (G).point, Rstar ≤ (G).scalar p → |
| 44 | Chapter11GoodPoint (G) epsilon C A p) : |
| 45 | 1 ≤ F.base.lifetime := by |
| 46 | by_contra hnot |
| 47 | have hL : F.base.lifetime < 1 := lt_of_not_ge hnot |
| 48 | obtain ⟨B, hB, _hRB, T0, hT0, X, hX, houtside⟩ := |
| 49 | partialFlow_exists_exterior_scalar_bound_of_good_points F.base P E0 R hA hL hgood |
| 50 | have hcurv : ∀ t ∈ Ico T0 F.base.lifetime, ∀ x ∉ X, |
| 51 | (F.base.flow.connection t).curvatureTensorNorm x ≤ 2 * B := |
| 52 | fun t ht x hx => (houtside t ht x hx).2.2 |
| 53 | obtain ⟨Omega, _hopen, _hne, hcompact, _hOmegaX, v, hv, hvolume⟩ := |
| 54 | partialFlow_exists_fixed_exterior_volume F.base P.curvature hT0 hB hX hcurv |
| 55 | obtain ⟨D, hD, hball⟩ := |
| 56 | partialFlow_exists_compact_center_ball_radius F.base P.curvature E0 hX hcompact |
| 57 | obtain ⟨p, hp, hdiverges⟩ := |
| 58 | standardFlow_chapter11_compact_center_sequence F P R E0 hT0 hcurv Rstar |
| 59 | have hpositive (k : ℕ) : 0 < (G).scalar (p k) := |
| 60 | lt_trans (by positivity) (hp k).2.2.2 |
| 61 | let r0 := min H.radius (Real.sqrt (F.base.lifetime / 4)) |
| 62 | have htail : 0 < F.base.lifetime / 4 := div_pos F.base.lifetime_pos (by norm_num) |
| 63 | have hr0 : 0 < r0 := lt_min H.radius_pos (Real.sqrt_pos.mpr htail) |
| 64 | have hradius : r0 ≤ H.radius := min_le_left _ _ |
| 65 | have hrtime : r0 ^ 2 ≤ F.base.lifetime / 4 := calc |
| 66 | r0 ^ 2 ≤ (Real.sqrt (F.base.lifetime / 4)) ^ 2 := |
| 67 | pow_le_pow_left₀ hr0.le (min_le_right _ _) _ |
| 68 | _ = F.base.lifetime / 4 := Real.sq_sqrt htail.le |
| 69 | obtain ⟨controls⟩ := standardFlow_chapter11_long_controls F P R E0 |
| 70 | p hpositive hdiverges H hr0 hradius hrtime hepsilon hC hA (by |
| 71 | intro k q _ hhigh |
| 72 | apply hgood q |
| 73 | linarith [(hp k).2.2.1, hpositive k]) |
| 74 | let S := fixedFlowBlowupSequence (G) p hpositive hdiverges |
| 75 | obtain ⟨L⟩ := long S epsilon C H.kappa r0 1 ⊤ hepsilon0 controls |
| 76 | let Conv := L.convergence |
| 77 | let : TopologicalSpace Conv.limit.carrier.carrier := Conv.limit.carrier.topologicalSpace |
| 78 | let : ChartedSpace (EuclideanSpace ℝ (Fin 3)) Conv.limit.carrier.carrier := |
| 79 | Conv.limit.carrier.chartedSpace |
| 80 | let : IsManifold (𝓡 3) ∞ Conv.limit.carrier.carrier := Conv.limit.carrier.isManifold |
| 81 | let : MeasurableSpace Conv.limit.carrier.carrier := Conv.limit.carrier.measurableSpace |
| 82 | let : BorelSpace Conv.limit.carrier.carrier := Conv.limit.carrier.borelSpace |
| 83 | let : T2Space Conv.limit.carrier.carrier := Conv.limit.carrier.t2Space |
| 84 | let : T3Space Conv.limit.carrier.carrier := Conv.limit.carrier.t3Space |
| 85 | let : SecondCountableTopology Conv.limit.carrier.carrier := Conv.limit.carrier.secondCountable |
| 86 | let : ConnectedSpace Conv.limit.carrier.carrier := Conv.limit.connectedSpace |
| 87 | obtain ⟨Id⟩ := L.ancient rfl |
| 88 | have hzero : asymptoticVolumeRatio (Conv.limit.flow.metric 0) Conv.limit.base = 0 := by |
| 89 | have hz := P.zero_avr Id.certificate.solution 0 le_rfl Conv.limit.base |
| 90 | rwa [Id.certificate.metric_eq 0 le_rfl] at hz |
| 91 | have hBG : ∀ᶠ k : ℕ in atTop, AntitoneMetricBallVolumeRatio |
| 92 | ((S.flow (Conv.subsequence k)).metric (S.base (Conv.subsequence k)).1) |
| 93 | (S.base (Conv.subsequence k)).2 := Eventually.of_forall fun k => |
| 94 | partialFlow_chapter11_bishopGromov F.base P R E0 (p (Conv.subsequence k)) |
| 95 | obtain ⟨k, hk⟩ := (Conv.eventually_fixed_ball_volume_lt_of_zero_avr hzero hBG hD hv).exists |
| 96 | let j := Conv.subsequence k |
| 97 | change calibratedMetricVolume ((G).metric (p j).1) |
| 98 | (((G).metric (p j).1).ball (p j).2 D) < ENNReal.ofReal v at hk |
| 99 | rw [partialFlow_chapter11_ball_volume F.base P R (p j) D] at hk |
| 100 | have htime := ordinaryChapter11Point_time_mem R (p j) |
| 101 | have hlower := (hvolume (p j).1 ⟨(hp j).1.le, htime.2⟩).trans |
| 102 | (measure_mono (hball (p j).1 htime (ordinaryChapter11Projection R (p j)) (hp j).2.1)) |
| 103 | exact (not_lt_of_ge hlower) hk |
| 104 | |
| 105 | end PoincareMT.M34 |