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.Continuation.Branch |
| 2 | import PoincareLib.Geometry.RicciFlow.Volume.Surgery.Evolution.DirectSlabVolume |
| 3 | import PoincareLib.Geometry.RicciFlow.Volume.Surgery.Measure.CalibratedVolume |
| 4 | import PoincareLib.Geometry.RicciFlow.Volume.Surgery.Analysis.ExponentialLeftLimit |
| 5 | |
| 6 | /-! |
| 7 | # Finite volume at a terminal continuation time |
| 8 | |
| 9 | The original final slab has no surgery before its open terminal endpoint. |
| 10 | The ordinary volume comparison therefore supplies the actual finite left |
| 11 | limit needed by a vanishing event. |
| 12 | Source: Morgan--Tian, Lemma 17.12, p. 410. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open Set Filter |
| 18 | open scoped Topology ENNReal |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace PoincareMT.RepairedContinuationInput |
| 23 | |
| 24 | variable {F : SurgeryFlowData.{u}} {T : ℝ} (I : RepairedContinuationInput F T) |
| 25 | |
| 26 | include I |
| 27 | |
| 28 | theorem exists_finite_left_volume : |
| 29 | ∃ L : ℝ≥0∞, L ≠ ⊤ ∧ |
| 30 | Tendsto (fun t => calibratedMetricVolume (F.metric t) univ) (𝓝[<] T) (𝓝 L) := by |
| 31 | apply ENNReal.exists_finite_left_limit_of_exp_growth (k := 6) I.last_slab.start_lt |
| 32 | (SurgeryVolume.sliceVolume_lt_top F I.last_slab.start_mem).ne |
| 33 | intro s hs t ht hst |
| 34 | have hJ : Icc s t ⊆ F.time_domain := fun r hr => |
| 35 | I.last_slab.time_subset ⟨hs.1.trans hr.1, hr.2.trans_lt ht.2⟩ |
| 36 | have hfree : Disjoint F.surgery_times (Ioc s t) := by |
| 37 | apply I.last_slab.surgery_free.mono_right |
| 38 | intro r hr |
| 39 | exact ⟨hs.1.trans_lt hr.1, hr.2.trans_lt ht.2⟩ |
| 40 | exact SurgeryVolume.regular_volume_le_exp_mul_direct F hst hJ hfree |
| 41 | (fun r hr => I.pinched r (hJ hr)) |
| 42 | |
| 43 | end PoincareMT.RepairedContinuationInput |