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.Flow.Basic |
| 2 | |
| 3 | /-! |
| 4 | # Uniform volume at the actual initial search endpoint |
| 5 | |
| 6 | The raw normalized initial metric already supplies the required |
| 7 | cubic volume bound on every ball of radius at most one. |
| 8 | Source: MT Definition 4.10 and Uniform Seed, pp. 60 and 392-393. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | |
| 13 | open MeasureTheory |
| 14 | open scoped ENNReal |
| 15 | |
| 16 | namespace PoincareMT.Proofs.M47 |
| 17 | |
| 18 | /-- The fixed normalized initial density is positive. -/ |
| 19 | theorem initial_seed_density_pos : 0 < euclideanUnitBallLebesgueVolume.toReal / 2 := by |
| 20 | apply div_pos ?_ (by norm_num) |
| 21 | apply ENNReal.toReal_pos |
| 22 | · exact ne_of_gt (Metric.measure_ball_pos volume |
| 23 | (0 : EuclideanSpace ℝ (Fin 3)) (by norm_num : (0 : ℝ) < 1)) |
| 24 | · exact Metric.isBounded_ball.measure_lt_top.ne |
| 25 | |
| 26 | /-- The literal initial metric supplies the seed volume; no rescaling |
| 27 | or comparison with a different initial metric occurs. -/ |
| 28 | theorem seed_initial_ball_volume (F : SurgeryFlowData) (q : (F.slice 0).carrier) |
| 29 | {r : ℝ} (hr : 0 < r) (hr1 : r ≤ 1) : |
| 30 | ENNReal.ofReal ((euclideanUnitBallLebesgueVolume.toReal / 2) * r ^ 3) ≤ |
| 31 | calibratedMetricVolume (F.metric 0) ((F.metric 0).ball q r) := by |
| 32 | convert (F.initial_normalized q).2 r hr hr1 using 1 |
| 33 | congr 1 |
| 34 | ring |
| 35 | |
| 36 | end PoincareMT.Proofs.M47 |