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.ThreeDimensional.Compact.Roundness |
| 2 | import PoincareLib.Geometry.RicciFlow.Soliton.ThreeDimensional.Compact.Homothety |
| 3 | import PoincareLib.Geometry.RicciFlow.Soliton.ThreeDimensional.Models |
| 4 | import PoincareLib.Geometry.RicciFlow.Soliton.Flow.Generation |
| 5 | |
| 6 | /-! |
| 7 | # Compact three-dimensional shrinking-soliton classification |
| 8 | |
| 9 | The normalized ancient flow is generated from the original soliton datum. |
| 10 | Compact roundness then gives the compact alternative of the frozen M20 |
| 11 | classification. No supplied flow or additional curvature premise is needed. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open scoped Manifold ContDiff Bundle |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace PoincareMT.GradientShrinkingSolitonData |
| 22 | |
| 23 | variable {M : Type u} [TopologicalSpace M] |
| 24 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓡 3) ∞ M] |
| 25 | [MeasurableSpace M] [BorelSpace M] [T2Space M] [T3Space M] |
| 26 | [SecondCountableTopology M] [ConnectedSpace M] [CompactSpace M] |
| 27 | |
| 28 | theorem exists_compactRoundShrinkingModel (hC : RicciFlowCurvatureTheory.{u}) |
| 29 | (S : GradientShrinkingSolitonData 3 M) : |
| 30 | ∃ G : ShrinkingSolitonFlow S, Nonempty (CompactRoundShrinkingModel G) := by |
| 31 | obtain ⟨G⟩ := exists_shrinkingSolitonFlow S |
| 32 | exact ⟨G, G.compactRoundModel hC⟩ |
| 33 | |
| 34 | theorem constantPositiveSectionalCurvature_of_compact |
| 35 | (hC : RicciFlowCurvatureTheory.{u}) (S : GradientShrinkingSolitonData 3 M) : |
| 36 | ConstantPositiveSectionalCurvature S.metric S.connection := by |
| 37 | obtain ⟨G, ⟨C⟩⟩ := S.exists_compactRoundShrinkingModel hC |
| 38 | let E : HomotheticMetricSlice (G.flow.metric (-1)) S.metric 1 := |
| 39 | { map := Diffeomorph.refl (𝓡 3) M ∞ |
| 40 | inner_eq := by |
| 41 | intro x v w |
| 42 | simp [G.at_minus_one] } |
| 43 | exact E.constantPositiveSectionalCurvature_three (by norm_num) |
| 44 | (G.flow.connection (-1)) S.connection (C.round_at_time (-1) (by norm_num)) |
| 45 | |
| 46 | /-- The compact alternative of M20, from the original static soliton hypotheses. -/ |
| 47 | theorem threeDimensionalClassificationData_of_compact |
| 48 | (hC : RicciFlowCurvatureTheory.{u}) (S : GradientShrinkingSolitonData 3 M) : |
| 49 | Nonempty (ThreeDimensionalClassificationData S) := by |
| 50 | obtain ⟨G, ⟨C⟩⟩ := S.exists_compactRoundShrinkingModel hC |
| 51 | exact ⟨⟨⟨G, .compactRound C⟩⟩⟩ |
| 52 | |
| 53 | end PoincareMT.GradientShrinkingSolitonData |