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.Compactness.Embedding.BallTransfer |
| 2 | |
| 3 | /-! |
| 4 | # Source curvature bounds along pointed convergence |
| 5 | |
| 6 | The frozen two-time curvature hypothesis and the transfer of limit balls give |
| 7 | one curvature bound per radius along all embedded limit points. The sequence |
| 8 | threshold may depend on the reference time and point, but works for every |
| 9 | curvature time. Passing this inequality to the limit still requires curvature |
| 10 | continuity under the frozen metric-jet convergence. |
| 11 | |
| 12 | This is the source-bound step in Topping, Theorem 1.7, p. 179. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open Set Filter |
| 18 | open scoped Manifold ContDiff Bundle Topology |
| 19 | |
| 20 | namespace PoincareMT.PointedGeometricConvergence |
| 21 | |
| 22 | /-- At a point of a fixed limit ball, the embedded source curvatures are |
| 23 | eventually bounded uniformly in every interior curvature time. -/ |
| 24 | theorem eventually_curvatureTensorNorm_le |
| 25 | {n : ℕ} {T' T : ℝ} (H : PointedRicciFlowCompactnessHypotheses n T' T) |
| 26 | (G : PointedGeometricConvergence H.sequence) (A : ℝ) (hA : 0 < A) : |
| 27 | ∃ K : ℝ, 0 ≤ K ∧ ∀ s ∈ Ioo T' T, |
| 28 | ∀ x ∈ G.limitFlow.ballAt s A, ∀ᶠ k : ℕ in atTop, |
| 29 | let C := H.sequence.carrier (G.subsequence k) |
| 30 | letI : TopologicalSpace C.carrier := C.topologicalSpace |
| 31 | letI : ChartedSpace (EuclideanSpace ℝ (Fin n)) C.carrier := C.chartedSpace |
| 32 | letI : IsManifold (𝓡 n) ∞ C.carrier := C.isManifold |
| 33 | ∀ t ∈ Ioo T' T, |
| 34 | ((H.sequence.flow (G.subsequence k)).flow.connection t).curvatureTensorNorm |
| 35 | ((G.embedding k).toFun (t, x)).2 ≤ K := by |
| 36 | obtain ⟨K, hK, hbound⟩ := H.all_time_curvature_control (2 * A) (by positivity) |
| 37 | refine ⟨K, hK, ?_⟩ |
| 38 | intro s hs x hx |
| 39 | let : TopologicalSpace G.limitCarrier.carrier := G.limitCarrier.topologicalSpace |
| 40 | obtain ⟨j, hj⟩ := G.exists_exhaustion_superset (isCompact_singleton (x := x)) |
| 41 | have hxj : x ∈ G.exhaustion j := hj (mem_singleton x) |
| 42 | have hsub := G.subsequence_strictMono.tendsto_atTop.eventually hbound |
| 43 | filter_upwards [hsub, G.eventually_mem_ballAt H.time_bounds hs hx, |
| 44 | eventually_ge_atTop j] with k hk hball hjk |
| 45 | let C := H.sequence.carrier (G.subsequence k) |
| 46 | let : TopologicalSpace C.carrier := C.topologicalSpace |
| 47 | let : ChartedSpace (EuclideanSpace ℝ (Fin n)) C.carrier := C.chartedSpace |
| 48 | let : IsManifold (𝓡 n) ∞ C.carrier := C.isManifold |
| 49 | intro t ht |
| 50 | have htime := (G.embedding k).spatial_eq_of_mem ht hs (G.exhaustion_monotone hjk hxj) |
| 51 | rw [htime] |
| 52 | exact hk s hs t ht _ hball |
| 53 | |
| 54 | /-! Passing the eventual source estimate through a separately established |
| 55 | curvature-norm convergence statement is an order-topology argument. The |
| 56 | convergence hypothesis is kept explicit here: proving it from the frozen |
| 57 | coordinate metric jets is the remaining naturality step. -/ |
| 58 | |
| 59 | /-- A pointwise curvature-norm limit inherits the uniform source bound. -/ |
| 60 | theorem curvatureTensorNorm_le_of_tendsto |
| 61 | {n : ℕ} {T' T : ℝ} (H : PointedRicciFlowCompactnessHypotheses n T' T) |
| 62 | (G : PointedGeometricConvergence H.sequence) (A : ℝ) (hA : 0 < A) |
| 63 | (hcurv_tendsto : letI : TopologicalSpace G.limitCarrier.carrier := G.limitCarrier.topologicalSpace; |
| 64 | letI : ChartedSpace (EuclideanSpace ℝ (Fin n)) G.limitCarrier.carrier := G.limitCarrier.chartedSpace; |
| 65 | letI : IsManifold (𝓡 n) ∞ G.limitCarrier.carrier := G.limitCarrier.isManifold; |
| 66 | ∀ s ∈ Ioo T' T, ∀ x ∈ G.limitFlow.ballAt s A, |
| 67 | ∀ t ∈ Ioo T' T, |
| 68 | Tendsto (fun k : ℕ => |
| 69 | let C := H.sequence.carrier (G.subsequence k) |
| 70 | letI : TopologicalSpace C.carrier := C.topologicalSpace |
| 71 | letI : ChartedSpace (EuclideanSpace ℝ (Fin n)) C.carrier := C.chartedSpace |
| 72 | letI : IsManifold (𝓡 n) ∞ C.carrier := C.isManifold |
| 73 | ((H.sequence.flow (G.subsequence k)).flow.connection t).curvatureTensorNorm |
| 74 | ((G.embedding k).toFun (t, x)).2) |
| 75 | Filter.atTop (𝓝 ((G.limitFlow.flow.connection t).curvatureTensorNorm x))) : |
| 76 | (letI : TopologicalSpace G.limitCarrier.carrier := G.limitCarrier.topologicalSpace; |
| 77 | letI : ChartedSpace (EuclideanSpace ℝ (Fin n)) G.limitCarrier.carrier := G.limitCarrier.chartedSpace; |
| 78 | letI : IsManifold (𝓡 n) ∞ G.limitCarrier.carrier := G.limitCarrier.isManifold; |
| 79 | ∃ K : ℝ, 0 ≤ K ∧ ∀ s ∈ Ioo T' T, |
| 80 | ∀ x ∈ G.limitFlow.ballAt s A, ∀ t ∈ Ioo T' T, |
| 81 | (G.limitFlow.flow.connection t).curvatureTensorNorm x ≤ K) := by |
| 82 | letI : TopologicalSpace G.limitCarrier.carrier := G.limitCarrier.topologicalSpace |
| 83 | letI : ChartedSpace (EuclideanSpace ℝ (Fin n)) G.limitCarrier.carrier := G.limitCarrier.chartedSpace |
| 84 | letI : IsManifold (𝓡 n) ∞ G.limitCarrier.carrier := G.limitCarrier.isManifold |
| 85 | obtain ⟨K, hK, hbound⟩ := eventually_curvatureTensorNorm_le H G A hA |
| 86 | refine ⟨K, hK, ?_⟩ |
| 87 | intro s hs x hx t ht |
| 88 | apply le_of_tendsto (hcurv_tendsto s hs x hx t ht) |
| 89 | filter_upwards [hbound s hs x hx] with k hk |
| 90 | exact hk t ht |
| 91 | |
| 92 | end PoincareMT.PointedGeometricConvergence |