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.Induction.NoncollapseGeometry |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.Control.Calibration |
| 3 | |
| 4 | /-! |
| 5 | Adapted from Mapher `PoincareMT/Definitions/M46NoncollapseInduction.lean` at |
| 6 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 7 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 8 | -/ |
| 9 | |
| 10 | /-! |
| 11 | # M46 repaired noncollapsing induction data |
| 12 | |
| 13 | The induction package uses the selected M45 setup and initial seeds. It |
| 14 | returns `SurgeryNoncollapseExtension` for every compatible finite prefix, |
| 15 | before any global schedule is chosen. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | |
| 20 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | namespace PoincareMT |
| 25 | |
| 26 | structure RepairedNoncollapseInductionData |
| 27 | (S : RepairedControlledSchedulesData.{u}) where |
| 28 | induction : ∀ p : SurgeryParameterPrefix S.constants, |
| 29 | S.SeedCompatible p → Nonempty (SurgeryNoncollapseExtension.{u} p) |
| 30 | |
| 31 | /-! The old volume seed is the non-positive-component branch of the actual |
| 32 | prefix controls. Its proof is an admission-free projection; it contains no |
| 33 | analytic estimate and adds no premise to `SeedCompatible`. -/ |
| 34 | def OldTestedVolumeControls {K : MetricSurgeryConstants} |
| 35 | (p : SurgeryParameterPrefix K) |
| 36 | (F : SurgeryFlowData.{u}) (O : SurgeryObservation F) : Prop := |
| 37 | SurgeryTestedVolumeOn F |
| 38 | (surgeryObservationInterval O ∩ surgeryEpochEntry p.i) |
| 39 | (p.kappa ⟨p.i, Nat.lt_succ_self _⟩) |
| 40 | (p.r ⟨p.i, Nat.lt_succ_self _⟩) 16 |
| 41 | |
| 42 | end PoincareMT |