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.Blowup.Construction.LongTime.GeneralizedLimit.GeneralizedMetricComparison |
| 2 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.LongTime.LocalEmbeddingVolume |
| 3 | import PoincareLib.Geometry.RicciFlow.AncientKappa.Asymptotic.Compactness.Calibration |
| 4 | |
| 5 | /-! |
| 6 | # Exact ball-volume readout for generalized convergence |
| 7 | |
| 8 | Actual source lower volumes at every smaller radius pass to the supplied |
| 9 | complete limit slice with no loss in the constant. Source: Morgan--Tian |
| 10 | Theorem 11.8, p. 272; M30 derivation `generalized-relative-metric-volume.md`. |
| 11 | The primitive source noncollapse and parabolic curvature tests remain |
| 12 | separate geometric obligations. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open Set Filter |
| 19 | open scoped Manifold ContDiff Topology ENNReal |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.M30 |
| 24 | |
| 25 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.chartedSpace |
| 26 | FlowCarrier.isManifold FlowCarrier.measurableSpace FlowCarrier.borelSpace |
| 27 | FlowCarrier.t3Space FlowCarrier.secondCountable |
| 28 | |
| 29 | /-- Smaller-radius lower volumes on the actual normalized slices imply |
| 30 | the exact calibrated limit-ball lower volume at every included time |
| 31 | (Theorem 11.8, p. 272). -/ |
| 32 | theorem generalized_limit_ball_volume_lower_bound |
| 33 | {S : GeneralizedBlowupSequence.{u}} {J : Set ℝ} |
| 34 | (G : GeneralizedBlowupConvergence S J) {t : ℝ} (ht : t ∈ J) |
| 35 | (N : ℕ) (hNt : ∀ k : ℕ, t ∈ Icc (-G.exhaustion.time (k + N)) 0) |
| 36 | (p : G.limit.carrier.carrier) {r : ℝ} (hr : 0 < r) (kappa : ℝ) |
| 37 | (hvolume : ∀ rho : ℝ, 0 < rho → rho < r → ∀ᶠ k in atTop, |
| 38 | let h := normalizedBlowupSliceMetric S (G.subsequence (k + N)) t |
| 39 | let e := generalizedSliceHomeomorph G (k + N) t (hNt k) |
| 40 | ENNReal.ofReal (kappa * rho ^ 3) ≤ calibratedMetricVolume h (h.ball (e p) rho)) : |
| 41 | ENNReal.ofReal (kappa * r ^ 3) ≤ |
| 42 | calibratedMetricVolume (G.limit.flow.metric t) ((G.limit.flow.metric t).ball p r) := by |
| 43 | let g := G.limit.flow.metric t |
| 44 | let h (k : ℕ) := normalizedBlowupSliceMetric S (G.subsequence (k + N)) t |
| 45 | let e (k : ℕ) := generalizedSliceHomeomorph G (k + N) t (hNt k) |
| 46 | have hcomplete : MetricComplete g := G.limit.complete t ht |
| 47 | rw [calibratedMetricVolume_eq_volumeMeasure] |
| 48 | apply RiemannianMetric.ball_volume_lower_bound_of_local_tangent_comparisons |
| 49 | g h e hcomplete p hr kappa |
| 50 | · intro k x hx |
| 51 | exact (generalizedSliceHomeomorph_contMDiffAt G (k + N) t (hNt k) hx).of_le |
| 52 | (by simp) |
| 53 | · intro k y hy |
| 54 | exact (generalizedSliceHomeomorph_symm_contMDiffAt G (k + N) t (hNt k) hy).of_le |
| 55 | (by simp) |
| 56 | · intro K hK C hC |
| 57 | exact eventually_generalized_tangent_comparison G ht N hNt hK hC |
| 58 | · intro rho hrho hrhor |
| 59 | simpa only [calibratedMetricVolume_eq_volumeMeasure] using hvolume rho hrho hrhor |
| 60 | |
| 61 | end PoincareMT.M30 |