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.Local.Continuation.EndpointMetric |
| 2 | import PoincareLib.Geometry.RicciFlow.Local.Continuation.Gluing |
| 3 | /- Adapted from Mapher `PoincareMT/Proofs/M03.lean` at |
| 4 | f927d9e1f0810042766d3b5f64d3f4da02ee93cc. See |
| 5 | `references/ricci-flow/mapher/local-theory/port.json`. -/ |
| 6 | |
| 7 | import PoincareLib.Geometry.RicciFlow.Local.Theory |
| 8 | import PoincareLib.Geometry.RicciFlow.Local.ShortTime |
| 9 | import PoincareLib.Geometry.RicciFlow.Local.Connection.NativeTime |
| 10 | import PoincareLib.Geometry.RicciFlow.Local.Curvature.Energy.CurvatureRateAlgebra |
| 11 | import PoincareLib.Geometry.RicciFlow.Local.Metric.MetricDifferenceEnergyRate |
| 12 | import PoincareLib.Geometry.RicciFlow.Local.Connection.RateRicciSmoothness |
| 13 | |
| 14 | /-! |
| 15 | # Continuation and assembly of the local Ricci-flow milestone |
| 16 | |
| 17 | Continuation follows Morgan-Tian, Proposition 4.12, printed p. 68: |
| 18 | curvature control constructs a smooth positive endpoint metric, and a |
| 19 | short-time restart glues smoothly to the old flow. The imported M03 proof |
| 20 | tree now closes the five earlier component admissions; its helper semantics |
| 21 | remain separately marked for independent review. |
| 22 | -/ |
| 23 | |
| 24 | /-! M03 is the numbered review and proof entry point. -/ |
| 25 | |
| 26 | set_option autoImplicit false |
| 27 | |
| 28 | open scoped Manifold ContDiff |
| 29 | |
| 30 | universe u |
| 31 | |
| 32 | namespace PoincareMT |
| 33 | |
| 34 | variable {n : ℕ} {M : Type u} |
| 35 | [TopologicalSpace M] [T2Space M] [SecondCountableTopology M] |
| 36 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 37 | [CompactSpace M] |
| 38 | |
| 39 | /-- Continue a compact flow under its original uniform curvature bound. -/ |
| 40 | theorem ricciFlowContinuation : RicciFlowContinuation n M := by |
| 41 | intro T hT F hbound |
| 42 | obtain ⟨C, hC⟩ := hbound |
| 43 | obtain ⟨gT, _, _, hjets⟩ := |
| 44 | RicciFlow.Local.exists_ricciFlow_endpoint_metric_of_curvature_bound hT F hC |
| 45 | obtain ⟨δ, hδ, R, hR⟩ := shortTimeRicciFlowExistence gT |
| 46 | obtain ⟨G, hG⟩ := RicciFlow.Local.exists_ricciFlow_time_translate hδ R T |
| 47 | have hGT : G.metric T = gT := by rw [hG T, sub_self, hR] |
| 48 | obtain ⟨H, hHF, _⟩ := |
| 49 | RicciFlow.Local.exists_ricciFlow_gluing_of_uniform_metric_jets hT hδ F G (by |
| 50 | intro x0 |
| 51 | dsimp only |
| 52 | intro q K hK hKU i j |
| 53 | rw [hGT] |
| 54 | exact (hjets (T / 2) (by linarith) (by linarith) x0 q K hK hKU).2 i j) |
| 55 | exact ⟨T + δ, by linarith, H, hHF⟩ |
| 56 | |
| 57 | /-- M03: on a compact Hausdorff second-countable smooth n-manifold without boundary, |
| 58 | every smooth metric starts a Ricci flow for some positive lifetime. Flows with |
| 59 | the same metric at their included least time zero agree on their common domain. |
| 60 | A flow on [0,T), with finite positive T and one bound on its evolving full |
| 61 | curvature tensor norm uniform in space and time, extends beyond T and agrees |
| 62 | with the original metrics at every old time. |
| 63 | |
| 64 | Sources: Morgan-Tian Theorem 3.11, pp. 39-40; Proposition 4.12, p. 68; |
| 65 | smooth restart gluing uses Proposition 3.12, p. 40. Correct the DeTurck |
| 66 | pullback generator to -W composed with phi, as recorded in |
| 67 | `reviews/errata/2026-09-12-deturck-pullback.md` (MT-DETURCK-PULLBACK-SIGN). |
| 68 | The component proofs and internal estimates belong to `Proofs/M03/` and |
| 69 | this file; the later M04 theorem is not an input. -/ |
| 70 | theorem ricciFlowLocalTheory : RicciFlowLocalTheory n M := by |
| 71 | exact ⟨shortTimeRicciFlowExistence, ricciFlowUniqueness, ricciFlowContinuation⟩ |
| 72 | |
| 73 | end PoincareMT |