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.GlobalSchedule.Volume.VolumeCalibration |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.EpochExtension.Calibration.EpochSelection |
| 3 | |
| 4 | /-! |
| 5 | # One calibration for M51 induction and volume control |
| 6 | |
| 7 | Morgan--Tian Definition 15.7 and Section 17.2, pp. 360-361 and 408-411. |
| 8 | Choose one M49 cutoff before the final analytic setup and induction data. |
| 9 | Retain both volume services with their original quantifier order. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | open scoped ENNReal |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace PoincareMT |
| 19 | |
| 20 | /-- Fix the setup and predecessor services. One positive volume cutoff gives |
| 21 | the literal final setup, its M46/M47/M48 data, and both M49 applications. |
| 22 | The count is uniform before the candidate flow and observation. This produces |
| 23 | induction inputs, not a schedule or a continued flow. -/ |
| 24 | theorem m51InductionPreparation |
| 25 | (S : RepairedControlledSchedulesData.{u}) (P : M48Predecessors.{u}) |
| 26 | (V49 : RepairedVolumeLossTheory.{u}) |
| 27 | (G46 : RepairedNoncollapseInductionTheory.{u}) |
| 28 | (G47 : RepairedCanonicalInductionTheory.{u}) |
| 29 | (E48 : RepairedEpochExtensionTheory.{u}) : |
| 30 | ∃ d : ℝ, ∃ hd : 0 < d, |
| 31 | ∃ B : M47ComponentAnalyticBounds.{u} S.setup.C, |
| 32 | ∃ N : RepairedNoncollapseInductionData |
| 33 | ((S.calibrateForEpoch B).restrictDelta d hd), |
| 34 | ∃ C : RepairedCanonicalInductionData |
| 35 | ((S.calibrateForEpoch B).restrictDelta d hd) N, |
| 36 | ∃ _E : RepairedEpochExtensionData |
| 37 | ((S.calibrateForEpoch B).restrictDelta d hd) N C, |
| 38 | let S' := (S.calibrateForEpoch B).restrictDelta d hd |
| 39 | d ≤ S'.constants.delta₀ ∧ S'.Delta0 ≤ d ∧ |
| 40 | S'.standard_initial = S.standard_initial ∧ |
| 41 | S'.constants = S.constants ∧ S'.setup.epsilon = S.setup.epsilon ∧ |
| 42 | (∀ (F : SurgeryFlowData.{u}) (V : RepairedVolumeLossControls F), |
| 43 | F.standard_initial = S'.standard_initial → |
| 44 | F.local_constants = S'.constants → |
| 45 | (∀ T ∈ F.surgery_times, F.parameters.delta T ≤ d) → |
| 46 | Nonempty (RepairedVolumeLossData F V)) ∧ |
| 47 | (∀ (Btime : ℝ) (V₀ : ℝ≥0∞) (hMin : ℝ), |
| 48 | 0 < Btime → V₀ ≠ (⊤ : ℝ≥0∞) → 0 < hMin → |
| 49 | ∃ n : ℕ, ∀ (F : SurgeryFlowData.{u}) (O : SurgeryObservation F), |
| 50 | F.standard_initial = S'.standard_initial → |
| 51 | F.local_constants = S'.constants → O.H ≤ Btime → |
| 52 | RepairedObservedVolumeControls F O → |
| 53 | calibratedMetricVolume (F.metric 0) Set.univ ≤ V₀ → |
| 54 | (∀ T ∈ F.surgery_times ∩ surgeryObservationInterval O, |
| 55 | F.parameters.delta T ≤ d ∧ hMin ≤ F.parameters.h T) → |
| 56 | ∀ A : Finset ℝ, |
| 57 | (↑A : Set ℝ) ⊆ F.surgery_times ∩ surgeryObservationInterval O → |
| 58 | A.card ≤ n) := by |
| 59 | obtain ⟨d, hd, hupper, _hseed, losses, count⟩ := m51VolumeCalibration_from_M49 S V49 |
| 60 | obtain ⟨B, N, C, E⟩ := E48.from_calibrated_predecessors P G46 G47 S d hd |
| 61 | obtain ⟨E⟩ := E |
| 62 | exact ⟨d, hd, B, N, C, E, hupper, min_le_right _ _, rfl, rfl, rfl, losses, count⟩ |
| 63 | |
| 64 | end PoincareMT |