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.AncientKappa.Compactness.Unnormalized.Noncollapse |
| 2 | import PoincareLib.Geometry.RicciFlow.AncientKappa.Compactness.Unnormalized.Flatness |
| 3 | import PoincareLib.Geometry.RicciFlow.Compactness.Convergence.Volume.Convergence |
| 4 | |
| 5 | /-! |
| 6 | # Volume bounds on the retained flat interior limit |
| 7 | |
| 8 | Interior ball-volume convergence preserves an eventual upper bound. If the |
| 9 | source base scalar tends to zero, flatness makes every parabolic curvature |
| 10 | condition automatic, giving the original kappa lower bound at every radius. |
| 11 | |
| 12 | Reference: Morgan--Tian, Lemma 9.65 and Claim 9.66, pp. 225-227; |
| 13 | Kleiner--Lott, Appendix E, Corollary E.2, pp. 2848-2849. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open Set Filter |
| 20 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 21 | |
| 22 | namespace PoincareMT.AncientKappaSequence |
| 23 | |
| 24 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 25 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 26 | FlowCarrier.t2Space FlowCarrier.t3Space FlowCarrier.secondCountable |
| 27 | |
| 28 | local instance volumeCarrierConnected (D : FlowCarrier 3) : ConnectedSpace D.carrier := |
| 29 | connectedSpace_iff_univ.mpr D.connected |
| 30 | |
| 31 | variable (C : ℕ → FlowCarrier.{0} 3) |
| 32 | (K : ∀ k, AncientKappaSolution 3 (C k).carrier) (p : ∀ k, (C k).carrier) |
| 33 | (G : AncientPointedGeometricConvergence C (fun k t => (K k).flow.metric (t - 1)) p 1) |
| 34 | |
| 35 | /-- An eventual source ball-volume upper bound passes to a complete interior |
| 36 | slice of the same selected limit. -/ |
| 37 | theorem interiorLimit_ball_volume_le |
| 38 | {s r : ℝ} (hs : s < 1) (hr : 0 < r) |
| 39 | (hcomplete : G.limitCarrier.metricComplete (G.limitFlow.metric s)) |
| 40 | (v : ℝ≥0∞) |
| 41 | (hvolume : ∀ᶠ k in atTop, calibratedMetricVolume ((K k).flow.metric (s - 1)) |
| 42 | (((K k).flow.metric (s - 1)).ball (p k) r) ≤ v) : |
| 43 | calibratedMetricVolume (G.limitFlow.metric s) ((G.limitFlow.metric s).ball G.base r) ≤ v := by |
| 44 | obtain ⟨a, b, ha, hb, hb1, hsw⟩ := exists_ancient_window_of_isCompact |
| 45 | (by norm_num : (0 : ℝ) < 1) isCompact_singleton (singleton_subset_iff.mpr hs) |
| 46 | let F (k : ℕ) : RicciFlow 3 (C k).carrier ((fun t : ℝ => t - 1) ⁻¹' Iic 0) := |
| 47 | (K k).flow.bufferedExpandingFlow 1 |
| 48 | have hsub (k : ℕ) : Ioo a b ⊆ (fun t : ℝ => t - 1) ⁻¹' Iic 0 := by |
| 49 | intro t ht |
| 50 | change t - 1 ≤ 0 |
| 51 | linarith [ht.2] |
| 52 | let W := G.window F (ha.trans hb) hb1.le 0 hsub |
| 53 | have hconv := W.tendsto_riemannianBallVolume ⟨ha, hb⟩ |
| 54 | (hsw (mem_singleton s)) hr hcomplete |
| 55 | change Tendsto (fun k => ((K (G.subsequence (k + 0))).flow.metric (s - 1)).volumeMeasure |
| 56 | (((K (G.subsequence (k + 0))).flow.metric (s - 1)).ball (p (G.subsequence (k + 0))) r)) |
| 57 | atTop (𝓝 ((G.limitFlow.metric s).volumeMeasure ((G.limitFlow.metric s).ball G.base r))) at hconv |
| 58 | rw [calibratedMetricVolume_eq_volumeMeasure] |
| 59 | apply le_of_tendsto hconv |
| 60 | filter_upwards [G.subsequence_strictMono.tendsto_atTop.eventually hvolume] with k hk |
| 61 | simpa only [Nat.add_zero, calibratedMetricVolume_eq_volumeMeasure] using hk |
| 62 | |
| 63 | /-- Flatness of the retained limit upgrades its original parabolic kappa |
| 64 | bound to an all-radius volume lower bound at every interior slice. -/ |
| 65 | theorem interiorLimit_ball_volume_ge_of_base_scalar_tendsto_zero |
| 66 | (P : M23NormalizedKappaCompactnessPredecessors) |
| 67 | {κ : ℝ} (hkappa : ∀ k, (K k).kappa = κ) |
| 68 | (hcomplete : ∀ t : ℝ, t < 1 → G.limitCarrier.metricComplete (G.limitFlow.metric t)) |
| 69 | (hscalar : Tendsto (fun k => ((K k).flow.connection 0).scalarCurvature (p k)) |
| 70 | atTop (𝓝 0)) |
| 71 | {s r : ℝ} (hs : s < 1) (q : G.limitCarrier.carrier) (hr : 0 < r) : |
| 72 | ENNReal.ofReal (κ * r ^ 3) ≤ calibratedMetricVolume (G.limitFlow.metric s) |
| 73 | ((G.limitFlow.metric s).ball q r) := by |
| 74 | apply interiorLimit_noncollapsed_ball C K p G hkappa hcomplete hs q hr |
| 75 | intro t ht x _ |
| 76 | rw [interiorLimit_flat_of_base_scalar_tendsto_zero C K p G P hscalar t |
| 77 | (ht.2.trans_lt hs) x, abs_zero] |
| 78 | exact sq_nonneg _ |
| 79 | |
| 80 | end PoincareMT.AncientKappaSequence |