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.Surgery.StandardCap.Existence.Lifetime.Basic.GoodPointAnalytic |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Lifetime.Curvature.OrdinaryScalarGradientLimits |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Lifetime.Curvature.OrdinaryScalarEvolutionLimits |
| 4 | |
| 5 | /-! |
| 6 | # Analytic good-point bounds at the exact blow-up bases |
| 7 | |
| 8 | The reviewed geometric readouts converge on the included final slice. |
| 9 | Strict limiting bounds and positive actual scales give the original |
| 10 | unnormalized bounds at the selected source points. Combining these with |
| 11 | actual eventual canonical certificates gives the complete good-point |
| 12 | property. Source: Morgan-Tian Theorem 12.28, pp. 323-324; |
| 13 | good-point-analytic-assembly.md, section 5. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | open Set Filter |
| 19 | open scoped Manifold ContDiff Bundle Topology |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.M34 |
| 24 | |
| 25 | variable {M : Type u} [TopologicalSpace M] |
| 26 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓡 3) ∞ M] |
| 27 | [T3Space M] [MeasurableSpace M] [BorelSpace M] [SecondCountableTopology M] |
| 28 | {I : SpacetimeInterval} {F : RicciFlow 3 M I.domain} |
| 29 | (R : OrdinaryProductRicciGeometry F.metric I) |
| 30 | |
| 31 | local notation "G" => ordinaryChapter11Flow (I := I) (F := F) R |
| 32 | |
| 33 | /-- Strict analytic bounds in the actual limit imply eventual original |
| 34 | scalar-gradient and scalar-evolution bounds at the exact bases (Theorem 12.28). -/ |
| 35 | theorem ordinaryChapter11_eventually_scalar_bounds |
| 36 | (p : ℕ → (G).point) (hpositive : ∀ k, 0 < (G).scalar (p k)) |
| 37 | (hdiverges : Tendsto (fun k => (G).scalar (p k)) atTop atTop) {J : Set ℝ} |
| 38 | (C : GeneralizedBlowupConvergence |
| 39 | (fixedFlowBlowupSequence (G) p hpositive hdiverges) J) |
| 40 | (hJ : UniqueDiffOn ℝ J) {A : ℝ} |
| 41 | (hgradient : |
| 42 | letI := C.limit.carrier.topologicalSpace |
| 43 | letI := C.limit.carrier.chartedSpace |
| 44 | letI := C.limit.carrier.isManifold |
| 45 | scalarGradientNorm (C.limit.flow.metric 0) (C.limit.flow.connection 0) C.limit.base < A) |
| 46 | (hevolution : |
| 47 | letI := C.limit.carrier.topologicalSpace |
| 48 | letI := C.limit.carrier.chartedSpace |
| 49 | letI := C.limit.carrier.isManifold |
| 50 | |(C.limit.flow.connection 0).laplacian (C.limit.flow.connection 0).scalarCurvature |
| 51 | C.limit.base + 2 * (C.limit.flow.connection 0).ricciNormSq C.limit.base| < A) : |
| 52 | ∀ᶠ k : ℕ in atTop, |
| 53 | scalarGradientNorm ((G).metric (p (C.subsequence k)).1) |
| 54 | ((G).connection (p (C.subsequence k)).1) (p (C.subsequence k)).2 ≤ |
| 55 | A * ((G).scalar (p (C.subsequence k))) ^ (3 / 2 : ℝ) ∧ |
| 56 | |((G).connection (p (C.subsequence k)).1).laplacian |
| 57 | ((G).connection (p (C.subsequence k)).1).scalarCurvature (p (C.subsequence k)).2 + |
| 58 | 2 * ((G).connection (p (C.subsequence k)).1).ricciNormSq (p (C.subsequence k)).2| ≤ |
| 59 | A * ((G).scalar (p (C.subsequence k))) ^ 2 := by |
| 60 | let := C.limit.carrier.topologicalSpace |
| 61 | let := C.limit.carrier.chartedSpace |
| 62 | let := C.limit.carrier.isManifold |
| 63 | let h0 : ∀ k, 0 ∈ Icc (-C.exhaustion.time k) 0 := |
| 64 | fun k => ⟨neg_nonpos.mpr (C.exhaustion.time_pos k).le, le_rfl⟩ |
| 65 | let gradient : (G).point → ℝ := fun z => |
| 66 | scalarGradientNorm ((G).metric z.1) ((G).connection z.1) z.2 |
| 67 | let evolution : (G).point → ℝ := fun z => |
| 68 | ((G).connection z.1).laplacian ((G).connection z.1).scalarCurvature z.2 + |
| 69 | 2 * ((G).connection z.1).ricciNormSq z.2 |
| 70 | have hg := ordinaryChapter11_tendsto_scalarGradient_zero R p hpositive hdiverges C |
| 71 | hJ C.limit.base |
| 72 | have he := ordinaryChapter11_tendsto_scalarEvolution_zero R p hpositive hdiverges C |
| 73 | hJ C.limit.base |
| 74 | filter_upwards [hg.eventually (eventually_lt_nhds hgradient), |
| 75 | he.abs.eventually (eventually_lt_nhds hevolution)] with k hgk hek |
| 76 | change gradient ((C.embedding k).pointMap 0 (h0 k) C.limit.base) / |
| 77 | ((G).scalar (p (C.subsequence k))) ^ (3 / 2 : ℝ) < A at hgk |
| 78 | change |evolution ((C.embedding k).pointMap 0 (h0 k) C.limit.base) / |
| 79 | ((G).scalar (p (C.subsequence k))) ^ 2| < A at hek |
| 80 | rw [C.base_preserving k (h0 k)] at hgk hek |
| 81 | have hq : 0 < ((G).scalar (p (C.subsequence k))) ^ 2 := |
| 82 | sq_pos_of_pos (hpositive (C.subsequence k)) |
| 83 | rw [abs_div, abs_of_pos hq] at hek |
| 84 | exact ⟨((div_lt_iff₀ (Real.rpow_pos_of_pos (hpositive (C.subsequence k)) _)).mp hgk).le, |
| 85 | ((div_lt_iff₀ hq).mp hek).le⟩ |
| 86 | |
| 87 | /-- Actual eventual canonical certificates and strict limiting analytic |
| 88 | bounds make the selected source bases fully good (Theorem 12.28). -/ |
| 89 | theorem ordinaryChapter11_eventually_goodPoint |
| 90 | (p : ℕ → (G).point) (hpositive : ∀ k, 0 < (G).scalar (p k)) |
| 91 | (hdiverges : Tendsto (fun k => (G).scalar (p k)) atTop atTop) {J : Set ℝ} |
| 92 | (C : GeneralizedBlowupConvergence |
| 93 | (fixedFlowBlowupSequence (G) p hpositive hdiverges) J) |
| 94 | (hJ : UniqueDiffOn ℝ J) {epsilon c A : ℝ} |
| 95 | (hgradient : |
| 96 | letI := C.limit.carrier.topologicalSpace |
| 97 | letI := C.limit.carrier.chartedSpace |
| 98 | letI := C.limit.carrier.isManifold |
| 99 | scalarGradientNorm (C.limit.flow.metric 0) (C.limit.flow.connection 0) C.limit.base < A) |
| 100 | (hevolution : |
| 101 | letI := C.limit.carrier.topologicalSpace |
| 102 | letI := C.limit.carrier.chartedSpace |
| 103 | letI := C.limit.carrier.isManifold |
| 104 | |(C.limit.flow.connection 0).laplacian (C.limit.flow.connection 0).scalarCurvature |
| 105 | C.limit.base + 2 * (C.limit.flow.connection 0).ricciNormSq C.limit.base| < A) |
| 106 | (hcanonical : ∀ᶠ k : ℕ in atTop, Nonempty (GeneralizedCanonicalControl (F := G) |
| 107 | (p (C.subsequence k)).1 (p (C.subsequence k)).2 epsilon c)) : |
| 108 | ∀ᶠ k : ℕ in atTop, Chapter11GoodPoint (G) epsilon c A (p (C.subsequence k)) := by |
| 109 | filter_upwards [ordinaryChapter11_eventually_scalar_bounds R p hpositive hdiverges C |
| 110 | hJ hgradient hevolution, hcanonical] with k hk hc |
| 111 | exact chapter11GoodPoint_of_scalar_bounds (p (C.subsequence k)) hc hk.1 hk.2 |
| 112 | |
| 113 | end PoincareMT.M34 |