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.Curvature.Calculus |
| 2 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.AncientVolume.Volume.TerminalMonotonicity |
| 3 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.CurvatureControl.Cylinders.Noncollapse |
| 4 | |
| 5 | /-! |
| 6 | # All-past noncollapse from positive terminal volume |
| 7 | |
| 8 | Closed-time volume monotonicity and Bishop--Gromov comparison supply the |
| 9 | explicit constant `AVR(0,p) / 2^n` at every center and radius in the ancient |
| 10 | past. In particular it satisfies the parabolic noncollapse condition used |
| 11 | in dimension reduction. The original zero-volume theorem still keeps its |
| 12 | noncollapse assumption explicit. |
| 13 | |
| 14 | Reference: Kleiner--Lott, Proposition 41.13, p. 2678, and Corollary 44.1, |
| 15 | pp. 2682--2683 (corrected 2013). |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | |
| 20 | open Set |
| 21 | open scoped Manifold ContDiff |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace PoincareMT.RicciFlow |
| 26 | |
| 27 | variable {m : ℕ} {M : Type u} [TopologicalSpace M] |
| 28 | [T3Space M] [SecondCountableTopology M] [ConnectedSpace M] |
| 29 | [MeasurableSpace M] [BorelSpace M] |
| 30 | [ChartedSpace (EuclideanSpace ℝ (Fin (m + 1))) M] |
| 31 | [IsManifold (𝓡 (m + 1)) ∞ M] |
| 32 | |
| 33 | /-- One terminal volume ratio controls all balls throughout the ancient past. -/ |
| 34 | theorem ancient_ball_volume_lower_bound_of_terminal_asymptoticVolumeRatio |
| 35 | (hC : RicciFlowCurvatureCalculus.{u}) (hm : 0 < m) |
| 36 | (F : RicciFlow (m + 1) M (Iic 0)) |
| 37 | (hcomplete : ∀ t ≤ 0, MetricComplete (F.metric t)) |
| 38 | (hoperator : ∀ t ≤ 0, ∀ x, (F.connection t).NonnegativeCurvatureOperator x) |
| 39 | {K : ℝ} (hK : 0 ≤ K) |
| 40 | (hbound : ∀ t ≤ 0, ∀ x, (F.connection t).curvatureTensorNorm x ≤ K) |
| 41 | (p : M) (hvolume : 0 < (F.metric 0).asymptoticVolumeRatio p) : |
| 42 | ∀ t ≤ 0, ∀ x : M, ∀ r : ℝ, 0 < r → |
| 43 | ENNReal.ofReal (((F.metric 0).asymptoticVolumeRatio p / 2 ^ (m + 1)) * |
| 44 | r ^ (m + 1)) ≤ (F.metric t).volumeMeasure ((F.metric t).ball x r) := by |
| 45 | intro t ht x r hr |
| 46 | apply (F.metric t).ball_volume_lower_bound_of_asymptoticVolumeRatio |
| 47 | (F.connection t) (by omega) (hcomplete t ht) |
| 48 | (fun y v => ((F.connection t).ricci_bounds_of_nonnegative_curvatureOperator |
| 49 | (hC.tensor_calculus (m + 1) M (F.metric t) (F.connection t)) |
| 50 | y (hoperator t ht y) v).1) |
| 51 | p x ((F.metric t).edist_ne_top p x) hvolume.le hr |
| 52 | exact F.antitoneOn_asymptoticVolumeRatio_of_bounded_ancient hC hm |
| 53 | hcomplete hoperator hK hbound p ht (by simp) ht |
| 54 | |
| 55 | /-- Positive terminal volume produces the explicit parabolic noncollapse |
| 56 | constant, including the original closed terminal slice. -/ |
| 57 | theorem ancient_parabolic_noncollapse_of_terminal_asymptoticVolumeRatio |
| 58 | (hC : RicciFlowCurvatureTheory.{u}) (hm : 0 < m) |
| 59 | (F : RicciFlow (m + 1) M (Iic 0)) |
| 60 | (hcomplete : ∀ t ≤ 0, MetricComplete (F.metric t)) |
| 61 | (hoperator : ∀ t ≤ 0, ∀ x, (F.connection t).NonnegativeCurvatureOperator x) |
| 62 | {K : ℝ} (hK : 0 ≤ K) |
| 63 | (hbound : ∀ t ≤ 0, ∀ x, (F.connection t).curvatureTensorNorm x ≤ K) |
| 64 | (p : M) (hvolume : 0 < (F.metric 0).asymptoticVolumeRatio p) : |
| 65 | let κ := (F.metric 0).asymptoticVolumeRatio p / 2 ^ (m + 1) |
| 66 | 0 < κ ∧ ∀ t ≤ 0, ∀ x : M, ∀ r : ℝ, 0 < r → |
| 67 | (∀ s ∈ Icc (t - r ^ 2) t, ∀ y ∈ (F.metric t).ball x r, |
| 68 | (F.connection s).curvatureTensorNorm y ≤ r⁻¹ ^ 2) → |
| 69 | ENNReal.ofReal (κ * r ^ (m + 1)) ≤ |
| 70 | (F.metric t).volumeMeasure ((F.metric t).ball x r) := by |
| 71 | refine ⟨div_pos hvolume (by positivity), ?_⟩ |
| 72 | intro t ht x r hr _ |
| 73 | exact F.ancient_ball_volume_lower_bound_of_terminal_asymptoticVolumeRatio |
| 74 | hC hm hcomplete hoperator hK hbound p hvolume t ht x r hr |
| 75 | |
| 76 | end PoincareMT.RicciFlow |