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.Extinction.Global.Main |
| 2 | import PoincareLib.Geometry.RicciFlow.Extinction.Global.ComparisonProviders |
| 3 | import PoincareLib.Geometry.RicciFlow.Extinction.Global.PoincareInputs |
| 4 | |
| 5 | /-! |
| 6 | # Extinction on one calibrated global flow |
| 7 | |
| 8 | The comparison thresholds are chosen before the flow. Its raw local topology, |
| 9 | comparison providers, scalar clock and fixed initial class are retained through |
| 10 | the checked M71 application. The returned flow and topology are the inputs |
| 11 | needed for finite reconstruction in M72. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace PoincareMT |
| 21 | |
| 22 | /- |
| 23 | Natural-language theorem: fix the displayed surgery, topology and width |
| 24 | milestone services, with one M59 identification output and M61/M65/M66 at |
| 25 | its exact quotient. Every compact simply connected smooth three-manifold |
| 26 | with a normalized metric and no embedded projective plane with trivial |
| 27 | normal bundle admits one global surgery flow, raw local topology on that |
| 28 | flow, and finite extinction of that same flow. |
| 29 | |
| 30 | Choose comparison thresholds and the strict schedule control before applying |
| 31 | M52; apply M56/M57 and M02/M59 to construct the ancestry, comparisons and one |
| 32 | initial class; project the scalar bound from M52 pinching; apply M71 with |
| 33 | M67--M69. No extinction, width estimate or reconstruction is an input. |
| 34 | The projective-plane exclusion is an explicit upstream topology prerequisite |
| 35 | here, not an extra hypothesis on either final Poincare proposition. |
| 36 | |
| 37 | Source: Morgan--Tian Theorem 15.9 and Corollary 15.10, pp. 363--364; |
| 38 | Proposition 15.12, p. 365; and the simply connected branch of Theorem 18.1, |
| 39 | pp. 431--432. This is checked composition of the named milestone statements. |
| 40 | -/ |
| 41 | theorem m71ExtinctionFromCalibratedTheories |
| 42 | (A25 : RepairedNeckCapTopologyTheory.{u}) |
| 43 | (G38 : RawLocalSurgeryTopologyTheory.{u}) |
| 44 | (G39 : RepairedComparisonMapTheory.{u}) |
| 45 | (G40 : RepairedComparisonHomotopyTheory.{u}) |
| 46 | (P02 : RepairedClosedTopologyProvider.{u}) |
| 47 | (G52 : RepairedGlobalFlowTheory.{u}) |
| 48 | (B28 : DenseBoundedDistanceTheory.{u}) |
| 49 | (E34 : RepairedStandardCapExistenceTheory) |
| 50 | (U35 : RepairedStandardCapUniquenessTheory) |
| 51 | (S36 : RepairedMetricSurgeryTheory.{u}) |
| 52 | (P44 : RepairedCapPersistenceTheory.{u}) |
| 53 | (L15 : GeneralizedNoncollapsingConclusion.{u} 3) |
| 54 | (U43 : RepairedUnifiedContinuationTheory.{u}) |
| 55 | (S45 : RepairedControlledSchedulesTheory.{u}) |
| 56 | (N46 : RepairedNoncollapseInductionTheory.{u}) |
| 57 | (C47 : RepairedCanonicalInductionTheory.{u}) |
| 58 | (E48 : RepairedEpochExtensionTheory.{u}) |
| 59 | (P48 : M48Predecessors.{u}) |
| 60 | (V49 : RepairedVolumeLossTheory.{u}) |
| 61 | (F50 : RepairedFinitePrefixTheory.{u}) |
| 62 | (G51 : RepairedGlobalScheduleTheory.{u}) |
| 63 | (G53 : RepairedSphereSeparationTheory.{u}) |
| 64 | (G54 : RepairedGroupEffectsTheory.{u}) |
| 65 | (G55 : RepairedChildComponentsTheory.{u}) |
| 66 | (G56 : RepairedAncestryTheory.{u}) |
| 67 | (hM57 : RepairedTransportTheory.{u}) |
| 68 | (hM59 : M59LoopClassesAndComponentTopologyTheory.{u}) |
| 69 | (hM61 : M61WidthTheory.{u} (Classical.choose hM59).quotient) |
| 70 | (hM64 : M64ComparisonTheory.{u}) |
| 71 | (hM65 : M65DeformationTheory hM61.toM61RawWidthCore hM64) |
| 72 | (hM58 : RepairedShortLoopTrivialityTheory.{u}) |
| 73 | (hM66 : M66SmoothTimeTheory hM61.toM61RawWidthCore hM58 hM65) |
| 74 | (hM67 : M67SurgeryWidthTheory.{u}) |
| 75 | (hM68 : M68ScalarClockStatement.{u}) |
| 76 | (hM69 : M69FinitePieceStatement.{u}) |
| 77 | {M : Type u} [TopologicalSpace M] [MeasurableSpace M] [BorelSpace M] |
| 78 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 79 | [IsManifold (𝓡 3) ∞ M] [T2Space M] [T3Space M] |
| 80 | [SecondCountableTopology M] [CompactSpace M] [SimplyConnectedSpace M] |
| 81 | (N : NormalizedInitialMetric (M := M)) |
| 82 | (hprojective : NoTrivialNormalProjectivePlane (M := M)) : |
| 83 | ∃ G : RepairedGlobalFlowData N, |
| 84 | ∃ _L : RawLocalSurgeryTopologyData G.certificate.flow, |
| 85 | Nonempty (FiniteExtinctionConclusion G.certificate.flow) := by |
| 86 | obtain ⟨_K0, _S, start⟩ := |
| 87 | m71GlobalFlowWithComparisons A25 G38 G39 G40 P02 G52 B28 E34 U35 S36 P44 |
| 88 | L15 U43 S45 N46 C47 E48 P48 V49 F50 G51 |
| 89 | obtain ⟨G, L, _K, C, _hK0, _hS, _hdelta, _hK, hC, hcomparison, _hbounds⟩ := |
| 90 | start N hprojective |
| 91 | obtain ⟨input⟩ := |
| 92 | m71GlobalInputFromTheories P02 G53 G54 G55 G56 hM59 hM61 hM64 hM65 |
| 93 | hM58 hM66 hM57 G40 G L C hC hcomparison |
| 94 | exact ⟨G, L, m71GlobalFiniteExtinction N G input hM67 hM68 hM69⟩ |
| 95 | |
| 96 | end PoincareMT |