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.Generalized.Noncollapse.Compact.Estimates.EarlyVolume |
| 2 | |
| 3 | /-! Adapted from Mapher `PoincareMT/Proofs/M15/Thm8_10_InitialBallMeasure.lean` at |
| 4 | `0c5d5c4e1ecbc12703b1994e226df1b15d2e8d39`. See the source mapping in |
| 5 | `references/ricci-flow/mapher/noncollapse/import.json`. -/ |
| 6 | |
| 7 | /-! |
| 8 | # Early-time volume of the fixed initial unit ball |
| 9 | |
| 10 | Morgan-Tian Theorem 8.10, p. 177, compares the volume of an initial-metric |
| 11 | ball at a later short time. The identity map and M04's backward tangent |
| 12 | bound preserve the exact spatial set used in the reduced-length estimate. |
| 13 | See `references/ricci-flow/mapher/noncollapse/derivations/2026-09-21-initial-ball-measure.md`. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | open Set MeasureTheory |
| 19 | open scoped Manifold ContDiff Bundle ENNReal |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.Generalized.Noncollapse |
| 24 | |
| 25 | /-- The initial unit ball has a uniform positive volume at every time |
| 26 | in the compact doubling interval. Source: Morgan-Tian Theorem 8.10, |
| 27 | p. 177, the volume comparison for the fixed initial ball. -/ |
| 28 | theorem exists_compact_initial_ball_volume_bound |
| 29 | (n : ℕ) (hn : 0 < n) (omega : ℝ) (homega : 0 < omega) : |
| 30 | ∃ V : ℝ, 0 < V ∧ |
| 31 | ∀ (M : Type u) [TopologicalSpace M] |
| 32 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 33 | [T3Space M] [SecondCountableTopology M] [MeasurableSpace M] [BorelSpace M] |
| 34 | [CompactSpace M] (T : ℝ) (_hT : 0 < T) |
| 35 | (F : RicciFlow n M (Icc 0 T)), |
| 36 | (∀ q, (F.connection 0).curvatureTensorNorm q ≤ 1) → |
| 37 | (∀ q, ENNReal.ofReal omega ≤ |
| 38 | calibratedMetricVolume (F.metric 0) ((F.metric 0).ball q 1)) → |
| 39 | ∀ t ∈ Icc 0 (min T (1 / (32 * (n : ℝ) ^ 6))), |
| 40 | ∀ p : M, ENNReal.ofReal V ≤ |
| 41 | calibratedMetricVolume (F.metric t) ((F.metric 0).ball p 1) := by |
| 42 | let delta : ℝ := 1 / (32 * (n : ℝ) ^ 6) |
| 43 | let C : ℝ := Real.exp (2 * (n : ℝ) * delta) |
| 44 | have hC : 0 < C := Real.exp_pos _ |
| 45 | refine ⟨omega / C ^ n, div_pos homega (pow_pos hC n), ?_⟩ |
| 46 | intro M _ _ _ _ _ _ _ _ T hT F hinit hvolume t ht p |
| 47 | have htT : t ∈ Icc 0 T := ⟨ht.1, ht.2.trans (min_le_left _ _)⟩ |
| 48 | have htDelta : t ≤ delta := ht.2.trans (min_le_right _ _) |
| 49 | have hnorm (q : M) (w : TangentSpace (𝓡 n) q) : |
| 50 | (F.metric 0).tangentNorm q w ≤ C * (F.metric t).tangentNorm q w := by |
| 51 | have hn := RicciFlowAnalysis.tangentNorm_comparison_at_of_curvature_bound F |
| 52 | (show 0 ∈ Icc 0 T from ⟨le_rfl, hT.le⟩) htT ht.1 (by norm_num : (0 : ℝ) ≤ 2) q |
| 53 | (fun s hs => compact_curvature_le_two_of_initial_bound hn hT F hinit s |
| 54 | ⟨hs.1, hs.2.trans ht.2⟩ q) w |
| 55 | have h := mul_le_mul_of_nonneg_left hn.1 |
| 56 | (Real.exp_pos ((n : ℝ) * 2 * (t - 0))).le |
| 57 | have he : Real.exp ((n : ℝ) * 2 * (t - 0)) * |
| 58 | Real.exp (-(n : ℝ) * 2 * (t - 0)) = 1 := by |
| 59 | rw [← Real.exp_add] |
| 60 | ring_nf |
| 61 | exact Real.exp_zero |
| 62 | rw [← mul_assoc, he, one_mul] at h |
| 63 | apply h.trans (mul_le_mul_of_nonneg_right _ (Real.sqrt_nonneg _)) |
| 64 | apply Real.exp_le_exp.mpr |
| 65 | nlinarith [(Nat.cast_nonneg n : (0 : ℝ) ≤ n)] |
| 66 | have hopen : IsOpen ((F.metric 0).ball p 1) := by |
| 67 | let : Bundle.RiemannianBundle (TangentSpace (𝓡 n) : M → Type _) := |
| 68 | ⟨(F.metric 0).toRiemannianMetric⟩ |
| 69 | let : IsContinuousRiemannianBundle (EuclideanSpace ℝ (Fin n)) |
| 70 | (TangentSpace (𝓡 n) : M → Type _) := |
| 71 | ⟨⟨(F.metric 0).inner, (F.metric 0).toContinuousRiemannianMetric.continuous, |
| 72 | fun _ _ _ => rfl⟩⟩ |
| 73 | let : EMetricSpace M := EMetricSpace.ofRiemannianMetric (𝓡 n) M |
| 74 | have hc : Continuous (fun q => (F.metric 0).edist p q) := |
| 75 | continuous_const.edist continuous_id |
| 76 | exact isOpen_lt hc continuous_const |
| 77 | have hmeasure : calibratedMetricVolume (F.metric 0) ((F.metric 0).ball p 1) ≤ |
| 78 | ENNReal.ofReal C ^ n * |
| 79 | calibratedMetricVolume (F.metric t) ((F.metric 0).ball p 1) := by |
| 80 | rw [calibratedMetricVolume_eq_volumeMeasure, calibratedMetricVolume_eq_volumeMeasure] |
| 81 | have hm := (F.metric t).volumeMeasure_image_le_of_tangentNorm_le (F.metric 0) |
| 82 | (OpenPartialHomeomorph.refl M) isOpen_univ (subset_refl _) contMDiff_id.contMDiffOn hC |
| 83 | (fun q _ w => by |
| 84 | change (F.metric 0).tangentNorm q (mfderiv (𝓡 n) (𝓡 n) id q w) ≤ |
| 85 | C * (F.metric t).tangentNorm q w |
| 86 | simpa only [mfderiv_id, ContinuousLinearMap.id_apply] using hnorm q w) |
| 87 | hopen.measurableSet (subset_univ _) |
| 88 | change (F.metric 0).volumeMeasure (id '' (F.metric 0).ball p 1) ≤ _ at hm |
| 89 | simpa only [image_id] using hm |
| 90 | apply (ENNReal.mul_le_mul_iff_right |
| 91 | (pow_ne_zero n (ENNReal.ofReal_pos.mpr hC).ne') |
| 92 | (ENNReal.pow_ne_top ENNReal.ofReal_ne_top)).mp |
| 93 | calc |
| 94 | _ = ENNReal.ofReal omega := by |
| 95 | rw [← ENNReal.ofReal_pow hC.le, |
| 96 | ← ENNReal.ofReal_mul' (div_pos homega (pow_pos hC n)).le] |
| 97 | congr 1 |
| 98 | exact mul_div_cancel₀ omega (pow_ne_zero n hC.ne') |
| 99 | _ ≤ calibratedMetricVolume (F.metric 0) ((F.metric 0).ball p 1) := hvolume p |
| 100 | _ ≤ _ := hmeasure |
| 101 | |
| 102 | end PoincareMT.Generalized.Noncollapse |