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.AncientKappa.Compactness.Unnormalized.Interior |
| 2 | import PoincareLib.Geometry.RicciFlow.Compactness.Ancient.Preservation |
| 3 | import PoincareLib.Geometry.RicciFlow.Compactness.Assembly |
| 4 | |
| 5 | /-! |
| 6 | # Interior geometric inheritance without scalar normalization |
| 7 | |
| 8 | The same pointed ancient limit inherits nonnegative curvature operator. |
| 9 | Uniform two-time curvature bounds on each finite window propagate reference |
| 10 | completeness to every interior slice, without any basepoint scalar condition. |
| 11 | |
| 12 | Reference: Morgan--Tian, Theorem 9.64, pp. 225-229; Kleiner--Lott, |
| 13 | Appendix E, Corollary E.2, pp. 2848-2849. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open Set Filter |
| 20 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 21 | |
| 22 | namespace PoincareMT.AncientKappaSequence |
| 23 | |
| 24 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 25 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 26 | FlowCarrier.t2Space FlowCarrier.t3Space FlowCarrier.secondCountable |
| 27 | |
| 28 | local instance inheritanceCarrierConnected (D : FlowCarrier 3) : ConnectedSpace D.carrier := |
| 29 | connectedSpace_iff_univ.mpr D.connected |
| 30 | |
| 31 | variable (C : ℕ → FlowCarrier.{0} 3) |
| 32 | (K : ∀ k, AncientKappaSolution 3 (C k).carrier) (p : ∀ k, (C k).carrier) |
| 33 | (G : AncientPointedGeometricConvergence C (fun k t => (K k).flow.metric (t - 1)) p 1) |
| 34 | |
| 35 | /-- Every interior slice of the retained limit has nonnegative curvature |
| 36 | operator, without scalar normalization of the sources. -/ |
| 37 | theorem interiorLimit_nonnegativeCurvatureOperator : |
| 38 | ∀ t : ℝ, t < 1 → ∀ x : G.limitCarrier.carrier, |
| 39 | (G.limitFlow.connection t).NonnegativeCurvatureOperator x := by |
| 40 | let F (k : ℕ) : RicciFlow 3 (C k).carrier ((fun t : ℝ => t - 1) ⁻¹' Iic 0) := |
| 41 | (K k).flow.bufferedExpandingFlow 1 |
| 42 | apply G.nonnegativeCurvatureOperator_of_eventually F (by norm_num) ?_ ?_ |
| 43 | · intro a b hb |
| 44 | exact Eventually.of_forall fun k t ht => by |
| 45 | change t - 1 ≤ 0 |
| 46 | linarith [ht.2] |
| 47 | · intro t ht |
| 48 | change t < 1 at ht |
| 49 | exact Eventually.of_forall fun k x => |
| 50 | (K k).nonnegative_curvature_operator (t - 1) (by linarith) x |
| 51 | |
| 52 | /-- Two-time local curvature control propagates completeness of the reference |
| 53 | slice to every interior time of the same ancient limit. -/ |
| 54 | theorem interiorLimit_complete |
| 55 | (P : M23NormalizedKappaCompactnessPredecessors) |
| 56 | {κ : ℝ} (hκ : 0 < κ) (hkappa : ∀ k, (K k).kappa = κ) |
| 57 | (hcontrol : ∀ r : ℝ, 0 < r → ∃ B : ℝ, 0 ≤ B ∧ |
| 58 | ∀ k t, t ≤ 0 → ∀ x ∈ ((K k).flow.metric 0).ball (p k) r, |
| 59 | |((K k).flow.connection t).curvatureTensorNorm x| ≤ B) |
| 60 | (hcomplete : G.limitCarrier.metricComplete (G.limitFlow.metric 0)) : |
| 61 | ∀ t : ℝ, t < 1 → G.limitCarrier.metricComplete (G.limitFlow.metric t) := by |
| 62 | intro t ht |
| 63 | obtain ⟨a, b, ha, hb, hb1, htw⟩ := exists_ancient_window_of_isCompact |
| 64 | (by norm_num : (0 : ℝ) < 1) isCompact_singleton (singleton_subset_iff.mpr ht) |
| 65 | let F (k : ℕ) : RicciFlow 3 (C k).carrier ((fun t : ℝ => t - 1) ⁻¹' Iic 0) := |
| 66 | (K k).flow.bufferedExpandingFlow 1 |
| 67 | have hsub (k : ℕ) : Ioo a b ⊆ (fun t : ℝ => t - 1) ⁻¹' Iic 0 := by |
| 68 | intro u hu |
| 69 | change u - 1 ≤ 0 |
| 70 | linarith [hu.2] |
| 71 | have hselected : ∀ r : ℝ, 0 < r → ∃ B : ℝ, 0 ≤ B ∧ |
| 72 | ∀ k t, t ≤ 0 → ∀ x ∈ ((K (G.subsequence k)).flow.metric 0).ball (p (G.subsequence k)) r, |
| 73 | |((K (G.subsequence k)).flow.connection t).curvatureTensorNorm x| ≤ B := by |
| 74 | intro r hr |
| 75 | obtain ⟨B, hB, hbound⟩ := hcontrol r hr |
| 76 | exact ⟨B, hB, fun k => hbound (G.subsequence k)⟩ |
| 77 | let H := compactnessHypotheses (fun k => C (G.subsequence k)) |
| 78 | (fun k => K (G.subsequence k)) (fun k => p (G.subsequence k)) P |
| 79 | hκ (fun k => hkappa (G.subsequence k)) hselected ha hb hb1.le |
| 80 | let W : PointedGeometricConvergence H.sequence := |
| 81 | G.window F (ha.trans hb) hb1.le 0 hsub |
| 82 | exact W.complete_interior hcomplete t (htw (mem_singleton t)) |
| 83 | |
| 84 | /-- Direct uniform source bounds construct one ancient limit that is complete |
| 85 | and has nonnegative curvature operator on every interior slice. -/ |
| 86 | theorem exists_complete_nonnegative_interior_geometric_limit |
| 87 | (P : M23NormalizedKappaCompactnessPredecessors) |
| 88 | {κ : ℝ} (hκ : 0 < κ) (hkappa : ∀ k, (K k).kappa = κ) |
| 89 | (hcontrol : ∀ r : ℝ, 0 < r → ∃ B : ℝ, 0 ≤ B ∧ |
| 90 | ∀ k t, t ≤ 0 → ∀ x ∈ ((K k).flow.metric 0).ball (p k) r, |
| 91 | |((K k).flow.connection t).curvatureTensorNorm x| ≤ B) : |
| 92 | ∃ G : AncientPointedGeometricConvergence C (fun k t => (K k).flow.metric (t - 1)) p 1, |
| 93 | (∀ t : ℝ, t < 1 → G.limitCarrier.metricComplete (G.limitFlow.metric t)) ∧ |
| 94 | ∀ t : ℝ, t < 1 → ∀ x : G.limitCarrier.carrier, |
| 95 | (G.limitFlow.connection t).NonnegativeCurvatureOperator x := by |
| 96 | obtain ⟨G, hG⟩ := exists_complete_interior_geometric_limit C K p P hκ hkappa hcontrol |
| 97 | exact ⟨G, interiorLimit_complete C K p G P hκ hkappa hcontrol hG, |
| 98 | interiorLimit_nonnegativeCurvatureOperator C K p G⟩ |
| 99 | |
| 100 | end PoincareMT.AncientKappaSequence |