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.Measure.Transport.VolumeTransport |
| 2 | import Mathlib.MeasureTheory.Integral.DominatedConvergence |
| 3 | |
| 4 | /-! |
| 5 | # Global reduced-volume comparison and its initial limit |
| 6 | |
| 7 | Morgan-Tian Lemma 7.25 and Theorem 7.26. All comparisons use the produced |
| 8 | integrable source weight and actual calibrated transport. The pointwise |
| 9 | Gaussian limit and majorant give the full positive-time filter limit. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | open Set Filter MeasureTheory |
| 15 | open scoped Manifold ContDiff Bundle Topology ENNReal |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace PoincareMT.ReducedVolume |
| 20 | |
| 21 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 22 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 23 | [T3Space M] [ConnectedSpace M] [MeasurableSpace M] [BorelSpace M] |
| 24 | {J : Set ℝ} {F : RicciFlow n M J} {T τmax : ℝ} {p : M} |
| 25 | |
| 26 | /-- The actual reduced volume is bounded by the book's unnormalized Euclidean value. -/ |
| 27 | theorem reducedVolume_le_euclidean |
| 28 | (hL : LGeodesicTheory F T τmax) (hDifferential : ReducedLengthDifferentialTheory F T τmax) |
| 29 | (G : LExponentialGeometry F T τmax p) (hmax : 0 < τmax) |
| 30 | (hT : T ∈ J) (hwindow : Icc (T - τmax) T ⊆ J) |
| 31 | (hcurvature : CompleteBoundedCurvatureOn F (Icc (T - τmax) T)) |
| 32 | {τ : ℝ} (hτ : 0 < τ) (hτmax : τ < τmax) : |
| 33 | reducedVolume F T p τ ≤ euclideanReducedVolume n := by |
| 34 | rw [reducedVolume_eq_integral_regularWeight hL hDifferential G hmax hT hwindow |
| 35 | hcurvature hτ hτmax, ← integral_sourceGaussian n] |
| 36 | exact integral_mono |
| 37 | (regularWeightedJacobian_integrable hL hDifferential G hmax hT hwindow hcurvature hτ hτmax) |
| 38 | (sourceGaussian_integrable n) |
| 39 | (regularWeightedJacobian_le_sourceGaussian hL hDifferential G hmax hT hwindow hcurvature τ) |
| 40 | |
| 41 | /-- The actual reduced volume is antitone on the full interior backward-time interval. -/ |
| 42 | theorem reducedVolume_antitoneOn |
| 43 | (hL : LGeodesicTheory F T τmax) (hDifferential : ReducedLengthDifferentialTheory F T τmax) |
| 44 | (G : LExponentialGeometry F T τmax p) (hmax : 0 < τmax) |
| 45 | (hT : T ∈ J) (hwindow : Icc (T - τmax) T ⊆ J) |
| 46 | (hcurvature : CompleteBoundedCurvatureOn F (Icc (T - τmax) T)) : |
| 47 | AntitoneOn (reducedVolume F T p) (Ioo 0 τmax) := by |
| 48 | intro a ha b hb hab |
| 49 | rw [reducedVolume_eq_integral_regularWeight hL hDifferential G hmax hT hwindow |
| 50 | hcurvature hb.1 hb.2, |
| 51 | reducedVolume_eq_integral_regularWeight hL hDifferential G hmax hT hwindow |
| 52 | hcurvature ha.1 ha.2] |
| 53 | exact integral_mono |
| 54 | (regularWeightedJacobian_integrable hL hDifferential G hmax hT hwindow hcurvature hb.1 hb.2) |
| 55 | (regularWeightedJacobian_integrable hL hDifferential G hmax hT hwindow hcurvature ha.1 ha.2) |
| 56 | (fun x ↦ regularWeightedJacobian_antitoneOn hwindow hL hDifferential G x ha hb hab) |
| 57 | |
| 58 | /-- The full positive-time reduced-volume limit is the exact unnormalized Gaussian mass. -/ |
| 59 | theorem reducedVolume_tendsto_zero |
| 60 | (hL : LGeodesicTheory F T τmax) (hDifferential : ReducedLengthDifferentialTheory F T τmax) |
| 61 | (G : LExponentialGeometry F T τmax p) (hmax : 0 < τmax) |
| 62 | (hT : T ∈ J) (hwindow : Icc (T - τmax) T ⊆ J) |
| 63 | (hcurvature : CompleteBoundedCurvatureOn F (Icc (T - τmax) T)) : |
| 64 | Tendsto (reducedVolume F T p) (𝓝[>] (0 : ℝ)) (𝓝 (euclideanReducedVolume n)) := by |
| 65 | have hsmall : ∀ᶠ τ in 𝓝[>] (0 : ℝ), τ ∈ Ioo 0 τmax := Ioo_mem_nhdsGT hmax |
| 66 | have hmeas : ∀ᶠ τ in 𝓝[>] (0 : ℝ), |
| 67 | AEStronglyMeasurable (regularWeightedJacobian G τ) volume := by |
| 68 | filter_upwards [hsmall] with τ hτ |
| 69 | exact (regularWeightedJacobian_measurable G hτ.1 hτ.2).aestronglyMeasurable |
| 70 | have hbound : ∀ᶠ τ in 𝓝[>] (0 : ℝ), ∀ᵐ x : EuclideanSpace ℝ (Fin n), |
| 71 | ‖regularWeightedJacobian G τ x‖ ≤ (2 : ℝ) ^ n * Real.exp (-‖x‖ ^ 2) := by |
| 72 | filter_upwards [hsmall] with τ hτ |
| 73 | apply ae_of_all |
| 74 | intro x |
| 75 | rw [Real.norm_eq_abs, abs_of_nonneg (regularWeightedJacobian_nonneg G hτ.1 x)] |
| 76 | exact regularWeightedJacobian_le_sourceGaussian hL hDifferential G hmax hT hwindow |
| 77 | hcurvature τ x |
| 78 | have hlim := tendsto_integral_filter_of_dominated_convergence |
| 79 | (fun x : EuclideanSpace ℝ (Fin n) ↦ (2 : ℝ) ^ n * Real.exp (-‖x‖ ^ 2)) |
| 80 | hmeas hbound (sourceGaussian_integrable n) |
| 81 | (ae_of_all _ (regularWeightedJacobian_tendsto_initial G hmax hT hwindow hcurvature)) |
| 82 | rw [integral_sourceGaussian] at hlim |
| 83 | apply hlim.congr' |
| 84 | filter_upwards [hsmall] with τ hτ |
| 85 | exact (reducedVolume_eq_integral_regularWeight hL hDifferential G hmax hT hwindow |
| 86 | hcurvature hτ.1 hτ.2).symm |
| 87 | |
| 88 | end PoincareMT.ReducedVolume |