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.Global.ScheduleData |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.Control.ScheduleTheory |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.EpochTheory |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.Volume.FinitePrefixTheory |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.NoncollapseTheory |
| 6 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.CanonicalTheory |
| 7 | import PoincareLib.Geometry.RicciFlow.Surgery.Volume.LossTheory |
| 8 | import PoincareLib.Geometry.RicciFlow.Generalized.Noncollapse.Theory |
| 9 | |
| 10 | /-! |
| 11 | Adapted from Mapher `PoincareMT/Statements/M51GlobalSchedule.lean` at |
| 12 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 13 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 14 | -/ |
| 15 | |
| 16 | /-! |
| 17 | # M51 repaired global schedule induction statement |
| 18 | |
| 19 | The controlled schedule and finite-prefix induction have two source-facing |
| 20 | outputs: they extend every already given finite controlled flow on `[0,T)` on |
| 21 | that same changing carrier, and they start a partial global flow from every |
| 22 | normalized initial metric and admissible control function. The provider inputs |
| 23 | record the required services. Constructing their compatible applications, |
| 24 | including the continuation bridge and observed analytic controls, is derived |
| 25 | in the reviewed M51 global assembly contract and owned by its single admission. |
| 26 | -/ |
| 27 | |
| 28 | set_option autoImplicit false |
| 29 | |
| 30 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 31 | |
| 32 | universe u |
| 33 | |
| 34 | namespace PoincareMT |
| 35 | |
| 36 | /-! |
| 37 | Natural-language theorem: there are global surgery parameter sequences such |
| 38 | that every already given finite changing-carrier flow on `[0,T)` satisfying |
| 39 | the Definition 15.8 event policy, source controls and schedule bounds extends |
| 40 | on the same flow to |
| 41 | `[0,∞)`, with the controls and compact-interval surgery finiteness preserved. |
| 42 | Separately, every nonempty normalized compact initial metric with no trivial |
| 43 | normal projective plane admits a partial global schedule. The latter output |
| 44 | carries the actual changing-carrier flow, every exact finite-prefix witness, |
| 45 | the initial metric identification, schedule agreement, and compact-interval |
| 46 | surgery finiteness and whole-domain terminal policy. The extended given flow |
| 47 | also retains this event policy. M48 owns the guarded finite next-epoch |
| 48 | continuation. M51 |
| 49 | must apply it to compatible induction data and assemble both source branches; |
| 50 | its output does not assume another universal continuation service. M52 |
| 51 | assembles the complete controlled global certificate. |
| 52 | The common schedule is tightened below the selected M49 loss cutoff before |
| 53 | the external control function or flow is chosen. The normalized branch |
| 54 | retains the resulting selected volume certificate on its same raw flow, |
| 55 | together with the event-history predicates required to instantiate that |
| 56 | certificate; these are outputs of the global construction, not inferred from |
| 57 | the weaker admissibility record. |
| 58 | For any prescribed positive epsilon bound, the schedule is chosen with |
| 59 | twice its setup epsilon below that bound. This choice precedes the other |
| 60 | setup parameters and is retained by both output branches. |
| 61 | |
| 62 | Source: Morgan--Tian Theorem 15.9 and Corollary 15.10, printed pp. 363--366, |
| 63 | with the inductive schedule construction in Section 15 and the finite-prefix |
| 64 | argument in Section 17.2, pp. 408--411 (arXiv V2 pp. 395--397). The |
| 65 | finite-horizon volume-loss input inherits the corrected scaling erratum in |
| 66 | `reviews/errata/2026-09-10-surgery-extinction-audit.md`; no new `h^2` claim is |
| 67 | made here. M48 uses the actual M47 component estimate and M45 model estimates |
| 68 | to calibrate its selector before choosing induction data. Its internal M31 |
| 69 | analytic radius and coefficient are not identified with the public r and C. |
| 70 | -/ |
| 71 | structure RepairedGlobalScheduleTheory : Prop where |
| 72 | uniform_schedule : |
| 73 | DenseBoundedDistanceTheory.{u} → |
| 74 | RepairedStandardCapExistenceTheory → |
| 75 | RepairedStandardCapUniquenessTheory → |
| 76 | RepairedMetricSurgeryTheory.{u} → |
| 77 | RepairedCapPersistenceTheory.{u} → |
| 78 | GeneralizedNoncollapsingConclusion.{u} 3 → |
| 79 | RepairedUnifiedContinuationTheory.{u} → |
| 80 | RepairedControlledSchedulesTheory.{u} → |
| 81 | RepairedNoncollapseInductionTheory.{u} → |
| 82 | RepairedCanonicalInductionTheory.{u} → |
| 83 | RepairedEpochExtensionTheory.{u} → |
| 84 | M48Predecessors.{u} → |
| 85 | RepairedVolumeLossTheory.{u} → |
| 86 | RepairedFinitePrefixTheory.{u} → |
| 87 | ∀ epsilon_bound : ℝ, 0 < epsilon_bound → |
| 88 | ∃ K : MetricSurgeryConstants, |
| 89 | ∃ schedule : GlobalSurgerySchedule K, |
| 90 | 2 * schedule.setup.epsilon ≤ epsilon_bound ∧ |
| 91 | (∀ (delta : ℝ → ℝ), |
| 92 | AntitoneOn delta (Set.Ici 0) → |
| 93 | (∀ t, 0 ≤ t → 0 < delta t) → |
| 94 | (∀ j t, t ∈ surgeryEpochEntry j → 0 ≤ t → |
| 95 | delta t ≤ schedule.Delta j) → |
| 96 | ∀ (F : SurgeryFlowData.{u}) (T : ℝ), |
| 97 | RepairedGlobalControlledPrefix schedule delta F T → |
| 98 | Nonempty (RepairedGlobalControlledExtension schedule F)) ∧ |
| 99 | (∀ {M : Type u} [TopologicalSpace M] [MeasurableSpace M] |
| 100 | [BorelSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 101 | [IsManifold (𝓡 3) ∞ M] [T2Space M] [T3Space M] |
| 102 | [SecondCountableTopology M] [CompactSpace M] [Nonempty M], |
| 103 | (N : NormalizedInitialMetric (M := M)) → |
| 104 | NoTrivialNormalProjectivePlane (M := M) → |
| 105 | (delta : ℝ → ℝ) → |
| 106 | AntitoneOn delta (Set.Ici 0) → |
| 107 | (∀ t, 0 ≤ t → 0 < delta t) → |
| 108 | (∀ j t, t ∈ surgeryEpochEntry j → 0 ≤ t → |
| 109 | delta t ≤ schedule.Delta j) → |
| 110 | ∃ G : RepairedGlobalScheduleData N, |
| 111 | G.flow.local_constants = K ∧ |
| 112 | HEq G.schedule schedule ∧ |
| 113 | G.control_function = delta) |
| 114 | |
| 115 | end PoincareMT |