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.Harnack.Noncompact.AncientVolume.Splitting.SelectedComparison |
| 2 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.AncientVolume.Splitting.SmallRescaledLimit |
| 3 | import PoincareLib.Geometry.RicciFlow.Lift |
| 4 | |
| 5 | /-! |
| 6 | # A nonflat spatial limit with a line |
| 7 | |
| 8 | Unbounded distance-squared scalar curvature selects escaping centers and |
| 9 | expanding rescaled balls. Pointed compactness and the selected-segment |
| 10 | comparison construct a complete nonflat ancient limit with a minimizing line. |
| 11 | All conclusions refer to the same actual convergence. No asymptotic volume |
| 12 | ratio hypothesis enters this construction. |
| 13 | |
| 14 | References: Kleiner--Lott, Proposition 41.13, p. 2678, Corollary 44.1, |
| 15 | pp. 2682-2683, and Appendix E, pp. 2848-2849; Morgan--Tian, |
| 16 | Proposition 9.46, pp. 209-213. |
| 17 | -/ |
| 18 | |
| 19 | noncomputable section |
| 20 | set_option autoImplicit false |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | open Set Filter |
| 24 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | namespace PoincareMT.RicciFlow |
| 29 | |
| 30 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 31 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 32 | FlowCarrier.t2Space FlowCarrier.t3Space FlowCarrier.secondCountable |
| 33 | attribute [local instance] smallCarrier smallChartedSpace smallIsManifold |
| 34 | |
| 35 | variable {M : Type u} [TopologicalSpace M] [T3Space M] [SecondCountableTopology M] |
| 36 | [ConnectedSpace M] [MeasurableSpace M] [BorelSpace M] |
| 37 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓡 3) ∞ M] |
| 38 | |
| 39 | /-- A spatially selected ancient limit, with its source rescalings and line. -/ |
| 40 | structure SpatialLineLimit (F : RicciFlow 3 M (Iic 0)) (t₀ : ℝ) (p : M) where |
| 41 | centers : ℕ → M |
| 42 | scalar_pos : ∀ i, 0 < (F.connection t₀).scalarCurvature (centers i) |
| 43 | centers_escape : Tendsto (fun i => ((F.metric t₀).edist p (centers i)).toReal) |
| 44 | atTop atTop |
| 45 | scales_bounded : BddAbove (range (fun i => (F.connection t₀).scalarCurvature (centers i))) |
| 46 | buffer : ℝ |
| 47 | buffer_pos : 0 < buffer |
| 48 | buffer_lt_one : buffer < 1 |
| 49 | convergence : AncientPointedGeometricConvergence |
| 50 | (fun _ => (FlowCarrier.ofConnectedManifold 3 M).shrink) |
| 51 | (fun i t => (F.interiorAncientRescaleAt |
| 52 | ((F.connection t₀).scalarCurvature (centers i)) (scalar_pos i) t₀).shrink.metric |
| 53 | (t - buffer)) |
| 54 | (fun i => equivShrink M (centers i)) buffer |
| 55 | complete : ∀ t ∈ Iio buffer, |
| 56 | convergence.limitCarrier.metricComplete (convergence.limitFlow.metric t) |
| 57 | nonnegative_curvature : ∀ t ∈ Iio buffer, ∀ x, |
| 58 | (convergence.limitFlow.connection t).NonnegativeCurvatureOperator x |
| 59 | curvature_bound : ∀ t ∈ Iio buffer, ∀ x, |
| 60 | (convergence.limitFlow.connection t).curvatureTensorNorm x ≤ 36 |
| 61 | nonflat : 0 < (convergence.limitFlow.connection 0).curvatureTensorNorm convergence.base |
| 62 | line : letI := convergence.limitCarrier.metricSpaceOf (convergence.limitFlow.metric 0) |
| 63 | ∃ γ : ℝ → convergence.limitCarrier.carrier, Isometry γ ∧ γ 0 = convergence.base |
| 64 | |
| 65 | /-- The base of the constructed limit has positive scalar curvature. -/ |
| 66 | theorem SpatialLineLimit.scalarCurvature_pos |
| 67 | {F : RicciFlow 3 M (Iic 0)} {t₀ : ℝ} {p : M} |
| 68 | (L : SpatialLineLimit F t₀ p) (hC : RicciFlowCurvatureTheory.{u}) : |
| 69 | 0 < (L.convergence.limitFlow.connection 0).scalarCurvature L.convergence.base := by |
| 70 | let C := L.convergence.limitCarrier |
| 71 | let F₀ := L.convergence.limitFlow |
| 72 | let : ChartedSpace (EuclideanSpace ℝ (Fin 3)) (ULift.{u} C.carrier) := |
| 73 | Poincare.Manifold.uliftChartedSpace _ C.carrier |
| 74 | let : IsManifold (𝓡 3) ∞ (ULift.{u} C.carrier) := |
| 75 | Poincare.Manifold.uliftIsManifold (𝓡 3) C.carrier |
| 76 | let H : RicciFlow 3 (ULift.{u} C.carrier) (Iio L.buffer) := F₀.ulift |
| 77 | have hD := hC.tensor_calculus 3 (ULift.{u} C.carrier) (H.metric 0) (H.connection 0) |
| 78 | have hop := (F₀.ulift_nonnegativeCurvatureOperator_iff 0 |
| 79 | (ULift.up.{u} L.convergence.base)).mpr |
| 80 | (L.nonnegative_curvature 0 L.buffer_pos L.convergence.base) |
| 81 | have hbound := (H.connection 0).curvatureTensorNorm_le_scalarCurvature hD |
| 82 | (ULift.up.{u} L.convergence.base) hop |
| 83 | simp only [H, F₀.ulift_curvatureTensorNorm, F₀.ulift_scalarCurvature] at hbound |
| 84 | have hn := L.nonflat |
| 85 | change 0 < (F₀.connection 0).curvatureTensorNorm L.convergence.base at hn |
| 86 | change 0 < (F₀.connection 0).scalarCurvature L.convergence.base |
| 87 | norm_num at hbound |
| 88 | linarith |
| 89 | |
| 90 | set_option maxHeartbeats 800000 in |
| 91 | /-- Explicit ancient geometry and unbounded spatial scalar ratio construct |
| 92 | the convergence and its line without a positive-volume-growth premise. -/ |
| 93 | theorem exists_spatialLineLimit_of_unbounded_scalar_ratio |
| 94 | [NoncompactSpace M] (hC : RicciFlowCurvatureTheory.{u}) |
| 95 | (F : RicciFlow 3 M (Iic 0)) |
| 96 | (hcomplete : ∀ t ≤ 0, MetricComplete (F.metric t)) |
| 97 | (hoperator : ∀ t ≤ 0, ∀ x, (F.connection t).NonnegativeCurvatureOperator x) |
| 98 | {K : ℝ} (hK : 0 ≤ K) |
| 99 | (hbound : ∀ t ≤ 0, ∀ x, (F.connection t).curvatureTensorNorm x ≤ K) |
| 100 | {κ : ℝ} (hκ : 0 < κ) |
| 101 | (hnoncollapse : ∀ t ≤ 0, ∀ x : M, ∀ r : ℝ, 0 < r → |
| 102 | (∀ s ∈ Icc (t - r ^ 2) t, ∀ y ∈ (F.metric t).ball x r, |
| 103 | (F.connection s).curvatureTensorNorm y ≤ r⁻¹ ^ 2) → |
| 104 | ENNReal.ofReal (κ * r ^ 3) ≤ (F.metric t).volumeMeasure ((F.metric t).ball x r)) |
| 105 | (t₀ : ℝ) (ht₀ : t₀ < 0) (p : M) |
| 106 | (hunbounded : ¬ BddAbove (range (fun x => |
| 107 | ((F.metric t₀).edist p x).toReal ^ 2 * (F.connection t₀).scalarCurvature x))) : |
| 108 | Nonempty (SpatialLineLimit F t₀ p) := by |
| 109 | obtain ⟨q, r, hQ, hcontrol, hd, _, hL, hdQ, hratio, hQbound, _, _, _, _, _, _, |
| 110 | ν, _, _, δ, hδ, hδone, G, hGcomplete, hnonflat, hGnorm, hGoperator⟩ := |
| 111 | exists_nonflat_small_ancient_rescaled_limit_of_unbounded_scalar_ratio |
| 112 | (m := 2) (by norm_num) hC F hcomplete hoperator hK hbound hκ hnoncollapse |
| 113 | t₀ ht₀ p hunbounded |
| 114 | let Q := fun i => (F.connection t₀).scalarCurvature (q i) |
| 115 | have hline := exists_isometric_line_of_selected_small_rescalings hC (m := 2) |
| 116 | (by norm_num) F hcomplete hoperator hK hbound t₀ ht₀ p q r Q |
| 117 | (fun i => (hcontrol i).1) hQ (fun i => (hcontrol i).2.1) |
| 118 | hd hdQ hL hratio hδ G (hGcomplete 0 hδ) |
| 119 | refine ⟨{ |
| 120 | centers := q |
| 121 | scalar_pos := hQ |
| 122 | centers_escape := hd |
| 123 | scales_bounded := hQbound |
| 124 | buffer := δ |
| 125 | buffer_pos := hδ |
| 126 | buffer_lt_one := hδone |
| 127 | convergence := G |
| 128 | complete := hGcomplete |
| 129 | nonnegative_curvature := hGoperator |
| 130 | nonflat := hnonflat |
| 131 | line := hline |
| 132 | curvature_bound := ?_ }⟩ |
| 133 | norm_num at hGnorm |
| 134 | exact hGnorm |
| 135 | |
| 136 | end PoincareMT.RicciFlow |