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.Existence.Imports.Geometry.Riemannian.Curvature.IntrinsicCalculus |
| 2 | import PoincareLib.Geometry.RicciFlow.CanonicalNeighborhood.Ancient.Proof |
| 3 | import PoincareLib.Geometry.RicciFlow.AncientKappa.Structure |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Predecessors.BlowupSetup |
| 5 | import PoincareLib.Geometry.RicciFlow.Soliton.TwoDimensional |
| 6 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Predecessors.Soliton |
| 7 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Predecessors.UniversalNoncollapse |
| 8 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Predecessors.KappaCompactness |
| 9 | import PoincareLib.Geometry.RicciFlow.Soliton.Models.Certificates |
| 10 | import PoincareLib.Topology.Manifold.NeckCap |
| 11 | |
| 12 | /-! |
| 13 | # Applied earlier outputs for M26 |
| 14 | |
| 15 | The closed assembly below supplies all fourteen services from earlier |
| 16 | milestones. Each sequence, limit, normalization and model is the actual |
| 17 | supplied object. Choices of uniform constants stay inside theorem proofs. |
| 18 | No new mathematical admission or admitted data definition is introduced. |
| 19 | -/ |
| 20 | |
| 21 | set_option autoImplicit false |
| 22 | |
| 23 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | namespace PoincareMT |
| 28 | |
| 29 | theorem m26BlowupSetupProvider_from_M17 |
| 30 | (hM10 : ∀ (M : Type u) [TopologicalSpace M] |
| 31 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 32 | [IsManifold (𝓡 3) ∞ M] [MeasurableSpace M] [BorelSpace M] |
| 33 | [T2Space M] [T3Space M] [SecondCountableTopology M] [ConnectedSpace M] |
| 34 | (K : AncientKappaSolution 3 M) (_reference : M), |
| 35 | AncientReducedVolumeMinimumProvider K) |
| 36 | (hM13 : GeneralizedParabolicRescalingTheory.{u} 3) : |
| 37 | M26BlowupSetupProvider.{u} := by |
| 38 | intro M _ _ _ _ _ _ _ _ _ K reference tau tau_pos tau_tendsto |
| 39 | exact ancientBlowupSequenceSetup 3 M K reference tau tau_pos tau_tendsto |
| 40 | (hM10 M K reference) hM13 |
| 41 | |
| 42 | theorem m26AsymptoticClassificationProvider_from_M20 |
| 43 | (p20 : ThreeDimensionalClassificationPredecessors.{u}) : |
| 44 | M26AsymptoticClassificationProvider.{u} := by |
| 45 | intro M _ _ _ _ _ _ _ _ _ K S |
| 46 | obtain ⟨classification⟩ := |
| 47 | (threeDimensionalAncientAndShrinkingSolitonClassification p20).asymptotic_classify K |
| 48 | exact classification.classify S |
| 49 | |
| 50 | theorem m26NormalizedCompactnessProvider_from_M23 |
| 51 | (P : M23NormalizedKappaCompactnessPredecessors) : |
| 52 | ∀ N : NormalizedKappaCompactnessData, |
| 53 | Nonempty (RedesignNormalizedKappaCompactnessConclusion N) := |
| 54 | fun N => m23NormalizedKappaCompactness N P |
| 55 | |
| 56 | /-- Apply the earlier producing theorems before exposing the M26 services. -/ |
| 57 | theorem m26PredecessorsFromMilestones : M26CanonicalNeighborhoodPredecessors.{u} := by |
| 58 | let D16 : AncientKappaStructuralTheory.{u} 3 := Classical.choice |
| 59 | (ancientKappaStructuralConsequences 3 ricciFlowCurvatureTheory |
| 60 | differentialHarnackAncientTheory_from_M04 (generalizedParabolicRescaling_from_M12 3)) |
| 61 | let C22 : UniversalNoncollapsingConclusion.{u} 3 := |
| 62 | Classical.choice (m22UniversalNoncollapsingFromMilestones 3) |
| 63 | let T25 : RepairedNeckCapTopologyTheory.{u} := Classical.choice m25NeckCapTopology |
| 64 | refine { |
| 65 | tensor_calculus := @LeviCivitaData.curvatureTensorCalculus |
| 66 | scalar_regular := @RicciFlow.contMDiffOn_scalarCurvature 3 |
| 67 | scalar_evolution := @RicciFlow.hasDerivWithinAt_scalarCurvature 3 |
| 68 | curvature_evolution := @RicciFlow.hasDerivWithinAt_curvatureTensor 3 |
| 69 | ricci_evolution := @RicciFlow.hasDerivWithinAt_ricci 3 |
| 70 | past_norm_le_scalar := ?_ |
| 71 | normalization := ?_ |
| 72 | blowup_setup := ?_ |
| 73 | two_dimensional_classification := ?_ |
| 74 | classified_limit := m26AsymptoticClassificationProvider_from_M20 m20ClassificationPredecessors |
| 75 | universal_noncollapsing := ⟨C22.data.universal_kappa, C22.data.universal_kappa_pos, |
| 76 | @C22.nonround_is_universally_noncollapsed⟩ |
| 77 | normalized_compactness := m23NormalizedKappaCompactnessFromMilestones |
| 78 | model_refinement := ?_ |
| 79 | global_neck_cap := ⟨T25.epsilon₀, T25.epsilon₀_pos, |
| 80 | T25.epsilon₀_le_one_two_hundred, @T25.a25⟩ |
| 81 | } |
| 82 | · intro M _ _ _ _ _ _ _ _ _ K |
| 83 | exact (D16.structural M K).past_norm_le_scalar |
| 84 | · intro M _ _ _ _ _ _ _ _ _ K p b hb |
| 85 | exact ⟨(D16.structural M K).normalization p b hb⟩ |
| 86 | · apply m26BlowupSetupProvider_from_M17 |
| 87 | · intro M _ _ _ _ _ _ _ _ _ K _reference |
| 88 | exact (m20AsymptoticPredecessors K).reduced_volume |
| 89 | · exact generalizedParabolicRescaling_from_M12 3 |
| 90 | · intro M _ _ _ _ _ _ _ _ _ K |
| 91 | exact (twoDimensionalAncientAndShrinkingSolitonClassification |
| 92 | (m20TwoDimensionalPredecessors (N := M))).ancient_classification K |
| 93 | · intro M _ _ _ _ _ _ _ _ _ S G input |
| 94 | exact m24ModelCertificates input |
| 95 | |
| 96 | /-- The full M26 conclusion with every earlier service supplied. -/ |
| 97 | theorem m26CanonicalNeighborhoodsFromMilestones : RepairedCanonicalNeighborhoodTheory.{u} := |
| 98 | m26CanonicalNeighborhoods m26PredecessorsFromMilestones |
| 99 | |
| 100 | end PoincareMT |