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.ScheduleTheory |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.GlobalSchedule.Induction.InductionPreparation |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.GlobalSchedule.Global.GlobalAssembly |
| 4 | /-! |
| 5 | # M51 global parameter schedule induction |
| 6 | |
| 7 | Natural-language theorem: for every prescribed positive bound, choose one |
| 8 | global schedule whose doubled setup epsilon is at most that bound. For every |
| 9 | already given |
| 10 | finite controlled flow on `[0,T)` satisfying the Definition 15.8 event policy, |
| 11 | source controls and schedule bounds, return a changing-carrier extension of that same flow to |
| 12 | `[0,∞)` preserving admissibility, pinching, canonical/noncollapsing controls, |
| 13 | terminal event policy, schedule agreement, and compact-interval surgery |
| 14 | finiteness. Separately, for |
| 15 | every nonempty compact normalized initial metric with no embedded projective |
| 16 | plane of trivial normal bundle, and every positive non-increasing control |
| 17 | function bounded by the schedule, return a changing-carrier flow on all |
| 18 | nonnegative times with exact finite-prefix |
| 19 | witnesses, schedule agreement, initial metric identification, compact-interval |
| 20 | surgery finiteness, whole-domain controls and constructed terminal event |
| 21 | policy. The same setup epsilon and C |
| 22 | are retained. One application of `m51InductionPreparation` fixes the M49 |
| 23 | cutoff, calibrated setup, M46/M47 packages and both volume services before |
| 24 | either flow is chosen. `M51Numerical.schedule` retains the literal recursive |
| 25 | choices. Completed epoch chains assemble the actual global representatives, |
| 26 | ordinary slabs and terminal events; every old flow embeds by its complete |
| 27 | extension ledger. The normalized output stores its actual selected volume |
| 28 | certificate and passes that same certificate to M50. |
| 29 | Source: Morgan--Tian Theorem 15.9 and Corollary 15.10, printed pp. 363--366, |
| 30 | and the schedule/finite-prefix argument in Section 17.2, pp. 408--411 |
| 31 | (arXiv V2 pp. 395--397). The corrected surgery-volume erratum remains an |
| 32 | upstream obligation in M49. |
| 33 | |
| 34 | Earlier milestone theories remain exactly the frozen provider hypotheses. |
| 35 | -/ |
| 36 | |
| 37 | set_option autoImplicit false |
| 38 | |
| 39 | universe u |
| 40 | |
| 41 | namespace PoincareMT |
| 42 | |
| 43 | /-- One schedule supports both given-flow extension and normalized metrics. |
| 44 | Morgan--Tian Theorem 15.9, Corollary 15.10 and Section 17.2, |
| 45 | pp. 363-366 and 408-411. -/ |
| 46 | theorem repairedGlobalSchedule : RepairedGlobalScheduleTheory.{u} := by |
| 47 | constructor |
| 48 | intro _m28 m34 m35 m36 m44 _m15 _m43 m45 m46 m47 m48 P m49 m50 epsilon hepsilon |
| 49 | obtain ⟨S₀, hsmall⟩ := m45.schedules m34 m35 m36 m44 epsilon hepsilon |
| 50 | obtain ⟨d, hd, B, N, C, _E, _hupper, hseed, _hstandard, _hconstants, |
| 51 | hsetupEpsilon, losses, count⟩ := |
| 52 | m51InductionPreparation S₀ P m49 m46 m47 m48 |
| 53 | let S := (S₀.calibrateForEpoch B).restrictDelta d hd |
| 54 | let A : M48AnalyticCalibration S := (S₀.epochCalibration B).restrictDelta d hd |
| 55 | have hcutoff : (M51Numerical.schedule S N C).Delta 0 ≤ d := hseed |
| 56 | refine ⟨S.constants, M51Numerical.schedule S N C, ?_, ?_, ?_⟩ |
| 57 | · change 2 * S.setup.epsilon ≤ epsilon |
| 58 | rw [hsetupEpsilon] |
| 59 | exact hsmall |
| 60 | · intro delta _hmono _hpositive hcut F H pref |
| 61 | exact M51.givenPrefixAssembly S N C A P m50 d hcutoff losses count |
| 62 | delta hcut F H pref |
| 63 | · intro M _ _ _ _ _ _ _ _ _ _ I hRP delta hmono hpositive hcut |
| 64 | exact M51.normalizedFlowAssembly S N C A P m50 d hcutoff losses count |
| 65 | I hRP delta hmono hpositive hcut |
| 66 | |
| 67 | end PoincareMT |