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.Provider |
| 2 | |
| 3 | /-! Adapted from Mapher `PoincareMT/Definitions/M15Noncollapsing.lean` at |
| 4 | `0c5d5c4e1ecbc12703b1994e226df1b15d2e8d39`. See the source mapping in |
| 5 | `references/ricci-flow/mapher/noncollapse/import.json`. -/ |
| 6 | |
| 7 | set_option autoImplicit false |
| 8 | |
| 9 | open scoped Manifold ContDiff Bundle ENNReal Topology intervalIntegral |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | namespace PoincareMT |
| 14 | |
| 15 | /-! ### Compact Theorem 8.10 data -/ |
| 16 | |
| 17 | /-! |
| 18 | The compact input uses one supplied ordinary Ricci flow on the exact closed |
| 19 | interval `Icc 0 T`. `t₀` is valid in that interval and the tested curvature |
| 20 | bound is on the complete closed backward cylinder. The initial unit-ball |
| 21 | bound, full initial curvature bound, and constants `omega,T₀` are independent |
| 22 | of the generalized configuration interface. |
| 23 | -/ |
| 24 | structure M15CompactTheorem810Data |
| 25 | (M : Type u) [TopologicalSpace M] |
| 26 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 27 | [IsManifold (𝓡 3) ∞ M] [T3Space M] |
| 28 | [SecondCountableTopology M] [MeasurableSpace M] [BorelSpace M] |
| 29 | (T : ℝ) (F : RicciFlow 3 M (Set.Icc 0 T)) |
| 30 | (omega T₀ : ℝ) where |
| 31 | T_pos : 0 < T |
| 32 | T_le_T₀ : T ≤ T₀ |
| 33 | omega_pos : 0 < omega |
| 34 | T₀_pos : 0 < T₀ |
| 35 | initial_curvature_bound : ∀ q : M, |
| 36 | |(F.connection 0).curvatureTensorNorm q| ≤ 1 |
| 37 | initial_unit_ball_volume : ∀ q : M, |
| 38 | ENNReal.ofReal omega ≤ |
| 39 | calibratedMetricVolume (F.metric 0) ((F.metric 0).ball q 1) |
| 40 | t₀ : ℝ |
| 41 | t₀_mem : t₀ ∈ Set.Icc 0 T |
| 42 | t₀_nonneg : 0 ≤ t₀ |
| 43 | t₀_le_T : t₀ ≤ T |
| 44 | p : M |
| 45 | r : ℝ |
| 46 | radius_pos : 0 < r |
| 47 | radius_sq_le_t₀ : r ^ 2 ≤ t₀ |
| 48 | time_window : Set.Icc (t₀ - r ^ 2) t₀ ⊆ Set.Icc 0 T |
| 49 | curvature_bound : ∀ s ∈ Set.Icc (t₀ - r ^ 2) t₀, |
| 50 | ∀ q ∈ (F.metric t₀).ball p r, |
| 51 | |(F.connection s).curvatureTensorNorm q| ≤ r⁻¹ ^ 2 |
| 52 | |
| 53 | def M15CompactTheorem810Estimate |
| 54 | {M : Type u} [TopologicalSpace M] |
| 55 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 56 | [IsManifold (𝓡 3) ∞ M] [T3Space M] |
| 57 | [SecondCountableTopology M] [MeasurableSpace M] [BorelSpace M] |
| 58 | {T : ℝ} {F : RicciFlow 3 M (Set.Icc 0 T)} {omega T₀ : ℝ} |
| 59 | (D : M15CompactTheorem810Data M T F omega T₀) (κ : ℝ) : Prop := |
| 60 | ENNReal.ofReal (κ * D.r ^ 3) ≤ |
| 61 | calibratedMetricVolume (F.metric D.t₀) |
| 62 | ((F.metric D.t₀).ball D.p D.r) |
| 63 | |
| 64 | /-! |
| 65 | The compact conclusion places `kappa_c` before the compact manifold, flow, |
| 66 | time, point, and radius. It is a separate clause of M15 and does not smuggle |
| 67 | Theorem 8.1's `taubar,l₀,V` into Theorem 8.10. |
| 68 | -/ |
| 69 | structure M15CompactUniformData (omega T₀ : ℝ) where |
| 70 | omega_pos : 0 < omega |
| 71 | T₀_pos : 0 < T₀ |
| 72 | kappa : ℝ |
| 73 | kappa_pos : 0 < kappa |
| 74 | estimate : ∀ (M : Type u) [TopologicalSpace M] |
| 75 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 76 | [IsManifold (𝓡 3) ∞ M] [T3Space M] |
| 77 | [SecondCountableTopology M] [MeasurableSpace M] [BorelSpace M] |
| 78 | [CompactSpace M] |
| 79 | (T : ℝ) (F : RicciFlow 3 M (Set.Icc 0 T)), |
| 80 | (D : M15CompactTheorem810Data M T F omega T₀) → |
| 81 | M15CompactTheorem810Estimate D kappa |
| 82 | |
| 83 | def M15CompactTheorem810 : Prop := |
| 84 | ∀ (omega T₀ : ℝ), 0 < omega → 0 < T₀ → |
| 85 | Nonempty (M15CompactUniformData.{u} omega T₀) |
| 86 | |
| 87 | /-! |
| 88 | The combined M15 data keeps the generalized and compact clauses distinct. |
| 89 | This is a packaging interface for the one later proving theorem; its fields |
| 90 | are propositions and it has no construction or admission here. |
| 91 | -/ |
| 92 | structure M15NoncollapsingTheory (n : ℕ) : Prop where |
| 93 | generalized : M15GeneralizedUniformTheorem.{u} n |
| 94 | compact : M15CompactTheorem810.{u} |
| 95 | |
| 96 | end PoincareMT |