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.Soliton.Flow.Bounds |
| 2 | import PoincareLib.Geometry.RicciFlow.Soliton.Flow.Regularity.Potential |
| 3 | import PoincareLib.Geometry.RicciFlow.Soliton.Flow.Complete.Gradient |
| 4 | import PoincareLib.Geometry.RicciFlow.Soliton.Flow.SelfSimilar.Construction |
| 5 | |
| 6 | /-! # Shrinking solitons generate normalized ancient Ricci flows |
| 7 | |
| 8 | Morgan--Tian, Chapter 3, Section 2; Definition 9.41 and Theorem 9.42, |
| 9 | pp. 206-208. The C2 potential is bootstrapped to smoothness. Its bounded |
| 10 | Hessian confines gradient trajectories in compact metric balls for finite |
| 11 | times, producing a complete smooth gradient action. The time change |
| 12 | `-log (-t)` and rescaling `-t` give the normalized self-similar Ricci flow. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace PoincareMT |
| 21 | |
| 22 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 23 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 24 | [IsManifold (𝓡 n) ∞ M] [MeasurableSpace M] [BorelSpace M] |
| 25 | [T2Space M] [T3Space M] [SecondCountableTopology M] [ConnectedSpace M] |
| 26 | |
| 27 | /-- The exact frozen soliton hypotheses produce a smooth normalized ancient |
| 28 | flow, without any additional regularity or self-similarity assumption. -/ |
| 29 | theorem exists_shrinkingSolitonFlow (S : GradientShrinkingSolitonData n M) : |
| 30 | Nonempty (ShrinkingSolitonFlow S) := by |
| 31 | have hf := S.potential_contMDiff |
| 32 | obtain ⟨C, hC, hess⟩ := S.exists_hessian_quadratic_bound |
| 33 | obtain ⟨Φ, h0, hΦ, hadd, hs⟩ := |
| 34 | S.connection.exists_complete_gradientFlow_of_bounded_hessian S.complete hf hC hess |
| 35 | exact ⟨S.flowOfCompleteGradientFlow hf Φ h0 hadd hs hΦ⟩ |
| 36 | |
| 37 | end PoincareMT |