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.Volume.Surgery.Measure.LocalFiniteness |
| 2 | import PoincareLib.Geometry.RicciFlow.Volume.Surgery.Measure.CalibratedTransport |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.Flow.Basic |
| 4 | |
| 5 | /-! |
| 6 | Adapted from Mapher `PoincareMT/Proofs/M49/CalibratedVolume.lean` at |
| 7 | revision `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. |
| 8 | |
| 9 | # Finite calibrated volume on compact slices |
| 10 | |
| 11 | Morgan-Tian, Lemma 17.12, p. 410, uses finite volume of the compact |
| 12 | slices. The M10 coordinate formula for the actual calibrated Hausdorff |
| 13 | measure and continuity of its Gram density give local finiteness in every |
| 14 | dimension. See `proof-work/tasks/M49/derivations/01-foundations.md`. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | |
| 19 | open Set Filter MeasureTheory |
| 20 | open scoped Manifold ContDiff Bundle Topology ENNReal |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | namespace PoincareMT.SurgeryVolume |
| 25 | |
| 26 | /-- Every included raw slice has finite volume (MT Lemma 17.12, p. 410). -/ |
| 27 | theorem sliceVolume_lt_top (F : SurgeryFlowData.{u}) {t : ℝ} |
| 28 | (ht : t ∈ F.time_domain) : calibratedMetricVolume (F.metric t) univ < ⊤ := |
| 29 | calibratedMetricVolume_lt_top_of_isCompact (F.metric t) (F.slices_compact t ht) |
| 30 | |
| 31 | /-- The initial finite-volume field of the repaired Lemma 17.12, p. 410, data is automatic. -/ |
| 32 | theorem initialVolume_ne_top (F : SurgeryFlowData.{u}) : |
| 33 | calibratedMetricVolume (F.metric 0) univ ≠ ⊤ := |
| 34 | (sliceVolume_lt_top F F.zero_mem).ne |
| 35 | |
| 36 | end PoincareMT.SurgeryVolume |