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.Calibration.CalibratedPositive |
| 2 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Measure.Transport.VolumeTransport |
| 3 | |
| 4 | /-! |
| 5 | # Strict positivity of reduced volume |
| 6 | |
| 7 | The actual density is positive everywhere at positive time. Its produced |
| 8 | integrability and positivity of the actual calibrated measure imply strict |
| 9 | positivity of the real integral. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | open Set 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 calibrated reduced volume is strictly positive at each interior time. -/ |
| 27 | theorem reducedVolume_pos |
| 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 | 0 < reducedVolume F T p τ := by |
| 34 | have hi := reducedVolumeDensity_integrable hL hDifferential G hmax hT hwindow |
| 35 | hcurvature hτ hτmax |
| 36 | have hs : Function.support (reducedVolumeDensity F T p τ) = univ := by |
| 37 | ext q |
| 38 | simp only [Function.mem_support, mem_univ, iff_true] |
| 39 | exact (reducedVolumeDensity_pos hτ).ne' |
| 40 | apply (integral_pos_iff_support_of_nonneg (fun _ ↦ reducedVolumeDensity_nonneg) hi).mpr |
| 41 | rw [hs] |
| 42 | exact calibratedMetricVolume_univ_pos _ p |
| 43 | |
| 44 | end PoincareMT.ReducedVolume |