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.Uniqueness.Imports |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.RawFlow.IntrinsicVelocityBounds |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.RawFlow.SectionalPreservation |
| 4 | |
| 5 | /-! |
| 6 | # One radial velocity bound on an actual closed raw-flow slab |
| 7 | |
| 8 | Morgan-Tian Section 12.6, pp. 309-314, with the corrected radial-gauge |
| 9 | erratum. The raw slab curvature bound and proved complete sectional |
| 10 | preservation supply one velocity constant for every slice. Rotation |
| 11 | preservation is the remaining geometric producer of the radial form. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | open Set |
| 17 | open scoped Manifold ContDiff Bundle |
| 18 | |
| 19 | namespace PoincareMT.M35.Uniqueness |
| 20 | |
| 21 | /-- Every closed preterminal raw slab has one radial velocity bound, |
| 22 | uniform in time and on the entire intrinsic axis. -/ |
| 23 | theorem raw_intrinsic_radial_velocity_bounded |
| 24 | (P : RicciFlowCurvatureTheory.{0}) {g₀ : StandardInitialMetric} |
| 25 | (G : PartialStandardCapFlow g₀) {T : ℝ} (hT : 0 ≤ T) (hTlt : T < G.lifetime) : |
| 26 | ∃ C : ℝ, 0 < C ∧ ∀ t (ht : t ∈ Icc 0 T), |
| 27 | ∀ hrotation : ∀ A : Matrix.specialOrthogonalGroup (Fin 3) ℝ, |
| 28 | ∀ x u v : StandardCapSpace, |
| 29 | (G.flow.metric t).inner (standardRotation A x) |
| 30 | (mfderiv (𝓡 3) (𝓡 3) (standardRotation A) x u) |
| 31 | (mfderiv (𝓡 3) (𝓡 3) (standardRotation A) x v) = |
| 32 | (G.flow.metric t).inner x u v, |
| 33 | ∀ s : ℝ, |intrinsicRadialVelocity (G.flow.metric t) hrotation |
| 34 | (G.complete P ⟨ht.1, ht.2.trans_lt hTlt⟩) s| ≤ C := by |
| 35 | obtain ⟨K, hK, hbound⟩ := G.curvature_locally_bounded T hT hTlt |
| 36 | refine ⟨10 * (K + 1), by positivity, ?_⟩ |
| 37 | intro t ht hrotation s |
| 38 | have htG : t ∈ Ico 0 G.lifetime := ⟨ht.1, ht.2.trans_lt hTlt⟩ |
| 39 | exact intrinsicRadialVelocity_abs_le (G.flow.metric t) hrotation |
| 40 | (G.complete P htG) (G.flow.connection t) (raw_nonnegative_sectional P G htG) hK |
| 41 | (fun x => (le_abs_self _).trans (hbound t ht x)) s |
| 42 | |
| 43 | end PoincareMT.M35.Uniqueness |