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.ScalarRatio.InfiniteRatio |
| 3 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.AncientVolume.ZeroVolume.Induction |
| 4 | |
| 5 | /-! |
| 6 | # Zero asymptotic volume for bounded ancient flows |
| 7 | |
| 8 | The constructed asymptotic scalar-curvature theorem discharges the premise of |
| 9 | the dimension induction, which constructs ancient line limits and factors. |
| 10 | The parabolic noncollapse hypothesis remains explicit. |
| 11 | |
| 12 | Reference: Kleiner--Lott (corrected 2013), Proposition 41.13, p. 2678. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open Set Filter |
| 19 | open scoped Manifold ContDiff ENNReal Topology |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.RicciFlow |
| 24 | |
| 25 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 26 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 27 | FlowCarrier.t2Space FlowCarrier.t3Space FlowCarrier.secondCountable |
| 28 | |
| 29 | /-- Complete nonflat uniformly bounded ancient flows with nonnegative curvature |
| 30 | operator and explicit parabolic noncollapse have zero asymptotic volume. -/ |
| 31 | theorem zero_asymptoticVolumeRatio_of_bounded_ancient |
| 32 | {n : ℕ} (hn : 2 ≤ n) {M : Type u} |
| 33 | [TopologicalSpace M] [T3Space M] [SecondCountableTopology M] |
| 34 | [ConnectedSpace M] [NoncompactSpace M] [MeasurableSpace M] [BorelSpace M] |
| 35 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 36 | (hC : RicciFlowCurvatureCalculus.{u}) (F : RicciFlow n 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 | {κ : ℝ} (hκ : 0 < κ) |
| 42 | (hnoncollapse : ∀ t ≤ 0, ∀ x : M, ∀ r : ℝ, 0 < r → |
| 43 | (∀ s ∈ Icc (t - r ^ 2) t, ∀ y ∈ (F.metric t).ball x r, |
| 44 | (F.connection s).curvatureTensorNorm y ≤ r⁻¹ ^ 2) → |
| 45 | ENNReal.ofReal (κ * r ^ n) ≤ (F.metric t).volumeMeasure ((F.metric t).ball x r)) |
| 46 | (hnonflat : ∃ q, 0 < (F.connection 0).scalarCurvature q) : |
| 47 | ∀ t ≤ 0, ∀ p : M, (F.metric t).asymptoticVolumeRatio p = 0 ∧ |
| 48 | Tendsto (fun r : ℝ => |
| 49 | ((F.metric t).volumeMeasure ((F.metric t).ball p r)).toReal / r ^ n) |
| 50 | atTop (𝓝 0) := by |
| 51 | apply zero_volume_of_unbounded_scalar_ratio_in_all_dimensions hC ?_ hn F |
| 52 | hcomplete hoperator hK hbound hκ hnoncollapse hnonflat |
| 53 | intro d hd C hNC G hc hop K hK hb κ hκ hcollapse hflat t ht p hbounded |
| 54 | let : ConnectedSpace C.carrier := connectedSpace_iff_univ.mpr C.connected |
| 55 | let : NoncompactSpace C.carrier := hNC |
| 56 | obtain ⟨A, hA⟩ := hbounded |
| 57 | obtain ⟨x, _, hx⟩ := G.infinite_scalar_ratio_of_bounded_ancient hd hC hc hop |
| 58 | hK hb hflat hκ hcollapse t ht.le p 0 A |
| 59 | have hle := hA (mem_range_self x) |
| 60 | exact (not_lt_of_ge hle) (by simpa only [mul_comm] using hx) |
| 61 | |
| 62 | end PoincareMT.RicciFlow |