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.ReducedGeometry.ReducedVolume.Basic |
| 2 | import Mathlib.MeasureTheory.Measure.Haar.Unique |
| 3 | |
| 4 | /-! |
| 5 | Adapted from Mapher `PoincareMT/Proofs/M10/Calibration.lean` at |
| 6 | revision `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. |
| 7 | |
| 8 | # Euclidean normalization of the selected Hausdorff measure |
| 9 | |
| 10 | Haar uniqueness identifies the unit-ball calibration in M10 with Lebesgue |
| 11 | measure for the actual Euclidean L2 norm. No numerical value of uncalibrated |
| 12 | Hausdorff measure is presumed, and dimension zero is included. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open MeasureTheory |
| 18 | open scoped ENNReal |
| 19 | |
| 20 | namespace PoincareMT.SurgeryVolume.Measure |
| 21 | |
| 22 | /-- Top-dimensional Hausdorff measure on the model space is an additive Haar measure. -/ |
| 23 | theorem euclideanHausdorff_isAddHaarMeasure (n : ℕ) : |
| 24 | Measure.IsAddHaarMeasure |
| 25 | (Measure.hausdorffMeasure (n : ℝ) : Measure (EuclideanSpace ℝ (Fin n))) := by |
| 26 | simpa using (inferInstance : Measure.IsAddHaarMeasure |
| 27 | (Measure.hausdorffMeasure (Module.finrank ℝ (EuclideanSpace ℝ (Fin n)) : ℝ) : |
| 28 | Measure (EuclideanSpace ℝ (Fin n)))) |
| 29 | |
| 30 | /-- The denominator in M10's calibration is positive. -/ |
| 31 | theorem euclideanHausdorff_unitBall_pos (n : ℕ) : |
| 32 | 0 < Measure.hausdorffMeasure (n : ℝ) |
| 33 | (Metric.ball (0 : EuclideanSpace ℝ (Fin n)) 1) := by |
| 34 | let := euclideanHausdorff_isAddHaarMeasure n |
| 35 | exact Metric.measure_ball_pos _ _ zero_lt_one |
| 36 | |
| 37 | /-- The denominator in M10's calibration is finite. -/ |
| 38 | theorem euclideanHausdorff_unitBall_lt_top (n : ℕ) : |
| 39 | Measure.hausdorffMeasure (n : ℝ) |
| 40 | (Metric.ball (0 : EuclideanSpace ℝ (Fin n)) 1) < ∞ := by |
| 41 | let := euclideanHausdorff_isAddHaarMeasure n |
| 42 | exact measure_ball_lt_top |
| 43 | |
| 44 | /-- The actual unit-ball calibration is strictly positive. -/ |
| 45 | theorem euclideanVolumeCalibration_pos (n : ℕ) : 0 < euclideanVolumeCalibration n := |
| 46 | ENNReal.div_pos (Metric.measure_ball_pos volume _ zero_lt_one).ne' |
| 47 | (euclideanHausdorff_unitBall_lt_top n).ne |
| 48 | |
| 49 | /-- The actual unit-ball calibration is finite. -/ |
| 50 | theorem euclideanVolumeCalibration_lt_top (n : ℕ) : euclideanVolumeCalibration n < ∞ := |
| 51 | ENNReal.div_lt_top measure_ball_lt_top.ne (euclideanHausdorff_unitBall_pos n).ne' |
| 52 | |
| 53 | /-- M10's calibrated Euclidean Hausdorff measure is Lebesgue measure. -/ |
| 54 | theorem euclideanVolumeCalibration_smul_hausdorff (n : ℕ) : |
| 55 | euclideanVolumeCalibration n • |
| 56 | (Measure.hausdorffMeasure (n : ℝ) : Measure (EuclideanSpace ℝ (Fin n))) = volume := by |
| 57 | let H : Measure (EuclideanSpace ℝ (Fin n)) := Measure.hausdorffMeasure (n : ℝ) |
| 58 | let : Measure.IsAddHaarMeasure H := euclideanHausdorff_isAddHaarMeasure n |
| 59 | let c : NNReal := Measure.addHaarScalarFactor volume H |
| 60 | have hhaar : (volume : Measure (EuclideanSpace ℝ (Fin n))) = c • H := |
| 61 | Measure.isAddLeftInvariant_eq_smul volume H |
| 62 | have hball := congrArg |
| 63 | (fun μ : Measure (EuclideanSpace ℝ (Fin n)) ↦ μ (Metric.ball 0 1)) hhaar |
| 64 | have hc : euclideanVolumeCalibration n = (c : ℝ≥0∞) := by |
| 65 | unfold euclideanVolumeCalibration |
| 66 | rw [hball] |
| 67 | exact ENNReal.mul_div_cancel_right (euclideanHausdorff_unitBall_pos n).ne' |
| 68 | (euclideanHausdorff_unitBall_lt_top n).ne |
| 69 | rw [hc] |
| 70 | exact hhaar.symm |
| 71 | |
| 72 | end PoincareMT.SurgeryVolume.Measure |