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.Minimum.Compactness.ActionLowerBound |
| 2 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Exponential.InitialTime.InitialActionLimit |
| 3 | |
| 4 | /-! |
| 5 | # The initial limit of the spatial reduced-length infimum |
| 6 | |
| 7 | Morgan-Tian Theorem 7.10 and Claim 7.11. The produced scalar lower bound |
| 8 | and the actual zero-initial-vector ray squeeze the spatial infimum to |
| 9 | zero. This step precedes and does not assume attainment of that infimum. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | open Set Filter |
| 15 | open scoped Manifold ContDiff Bundle Topology |
| 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 | [ConnectedSpace M] [T3Space M] |
| 24 | {J : Set ℝ} {F : RicciFlow n M J} {T τmax : ℝ} {p : M} |
| 25 | |
| 26 | /-- The actual spatial reduced-length range is bounded below at each interior time. -/ |
| 27 | theorem reducedLength_range_bddBelow |
| 28 | (hL : LGeodesicTheory F T τmax) (G : LExponentialGeometry F T τmax p) |
| 29 | (hcurvature : CompleteBoundedCurvatureOn F (Icc (T - τmax) T)) |
| 30 | {τ : ℝ} (hτ : 0 < τ) (hmax : τ < τmax) : |
| 31 | BddBelow (range (fun q ↦ reducedLength F T p q τ)) := by |
| 32 | obtain ⟨C, _, hC⟩ := exists_uniform_reducedLength_lower_bound hL G hcurvature |
| 33 | refine ⟨-C * τ / 3, ?_⟩ |
| 34 | rintro _ ⟨q, rfl⟩ |
| 35 | exact hC τ hτ hmax q |
| 36 | |
| 37 | /-- The zero ray and the scalar lower bound give the initial limit before spatial attainment. -/ |
| 38 | theorem sInf_reducedLength_tendsto_zero |
| 39 | (hL : LGeodesicTheory F T τmax) (G : LExponentialGeometry F T τmax p) |
| 40 | (hmax : 0 < τmax) (hT : T ∈ J) (hwindow : Icc (T - τmax) T ⊆ J) |
| 41 | (hcurvature : CompleteBoundedCurvatureOn F (Icc (T - τmax) T)) : |
| 42 | Tendsto (fun τ : ℝ ↦ sInf (range (fun q ↦ reducedLength F T p q τ))) |
| 43 | (𝓝[>] (0 : ℝ)) (𝓝 0) := by |
| 44 | obtain ⟨C, _, hC⟩ := exists_uniform_reducedLength_lower_bound hL G hcurvature |
| 45 | let Z := metricCoordinates (F.metric T) p (0 : EuclideanSpace ℝ (Fin n)) |
| 46 | have hlo : Tendsto (fun τ : ℝ ↦ -C * τ / 3) (𝓝[>] (0 : ℝ)) (𝓝 0) := by |
| 47 | simpa using (((tendsto_id : Tendsto (id : ℝ → ℝ) (𝓝 0) (𝓝 0)).const_mul |
| 48 | (-C)).div_const 3).mono_left nhdsWithin_le_nhds |
| 49 | have hhi : Tendsto (fun τ : ℝ ↦ G.toLExponentialFamily.action Z τ / (2 * Real.sqrt τ)) |
| 50 | (𝓝[>] (0 : ℝ)) (𝓝 0) := by |
| 51 | simpa only [norm_zero, zero_pow (by decide : (2 : ℕ) ≠ 0)] using |
| 52 | normalized_action_tendsto_initial G hmax hT hwindow hcurvature 0 |
| 53 | apply tendsto_of_tendsto_of_tendsto_of_le_of_le' hlo hhi |
| 54 | · filter_upwards [Ioo_mem_nhdsGT hmax] with τ hτ |
| 55 | apply le_csInf ⟨reducedLength F T p p τ, mem_range_self p⟩ |
| 56 | rintro _ ⟨q, rfl⟩ |
| 57 | exact hC τ hτ.1 hτ.2 q |
| 58 | · filter_upwards [Ioo_mem_nhdsGT hmax] with τ hτ |
| 59 | exact (csInf_le (reducedLength_range_bddBelow hL G hcurvature hτ.1 hτ.2) |
| 60 | (mem_range_self (G.gamma Z τ))).trans |
| 61 | (reducedLength_le_normalized_action hL G Z τ hτ.1 hτ.2) |
| 62 | |
| 63 | end PoincareMT.ReducedVolume |