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.Noncollapse.Compat.GeneralizedEquation |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.Noncollapse.Attainment.Minimum.SliceBound |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.Noncollapse.MinimizingRegion.Producer |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Predecessors.OrdinaryFlow |
| 5 | |
| 6 | /-! |
| 7 | # Proposition 16.4 on the actual confined regular history |
| 8 | |
| 9 | Morgan--Tian Proposition 16.4, p. 369 and pp. 389-391. The direct method, |
| 10 | moving-endpoint recovery, compact action sublevels and scalar comparison |
| 11 | now supply all fields of the literal minimizing-region producer. No |
| 12 | attainment, minimum-value regularity or continuation premise is added. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open Set |
| 19 | open scoped Manifold ContDiff Bundle Topology |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.Proofs.M46 |
| 24 | |
| 25 | /-- The actual history's compact action confinement produces its full |
| 26 | minimizing region, with the dimension-three estimate on every slice. -/ |
| 27 | theorem actualHistory_minimizingRegion |
| 28 | (P : M46Predecessors.{u}) {F : SurgeryFlowData.{u}} {O : SurgeryObservation F} |
| 29 | (D : NoncollapseTest F O) (H : HalfRadiusHistory D) {start : ℝ} (hstart : 0 ≤ start) |
| 30 | (C : ActionConfinement H.spacetime.geometry.toLGeometry D.time start |
| 31 | ((H.spacetime.geometry.sliceIdentification D.time).identification H.center).val) : |
| 32 | Nonempty (MinimizingRegion H.spacetime.geometry.toLGeometry D.time start |
| 33 | ((H.spacetime.geometry.sliceIdentification D.time).identification H.center).val C) := by |
| 34 | let G := H.spacetime.geometry.toLGeometry |
| 35 | let x : G.Point := |
| 36 | ((H.spacetime.geometry.sliceIdentification D.time).identification H.center).val |
| 37 | have hbase : G.spacetime.timeFunction x = D.time := |
| 38 | ((H.spacetime.geometry.sliceIdentification D.time).identification H.center).property |
| 39 | have hstrip : Icc start D.time ⊆ H.spacetime.history.generalized.interval := by |
| 40 | rw [H.spacetime.history.interval_eq] |
| 41 | intro t ht |
| 42 | exact ⟨hstart.trans ht.1, ht.2⟩ |
| 43 | obtain ⟨LG⟩ := P.m14.conclusion _ _ _ G |
| 44 | obtain ⟨E⟩ := LG.exponential.family D.time x hbase |
| 45 | apply minimizingRegion_nonempty_of_slice_comparison ricciFlowCurvatureTheory.{0} |
| 46 | P.m12 LG E C hstrip |
| 47 | · intro a c ha hc |
| 48 | exact cappedSliceAction_continuousOn ricciFlowCurvatureTheory.{0} |
| 49 | P.m12 LG E C hstrip ha hc |
| 50 | · intro b hb hbStart |
| 51 | exact cappedSliceAction_le_three_mul (m12MetricPredecessors.{0} 3) |
| 52 | ricciFlowCurvatureTheory.{0} P.m12 LG E C hstrip hb hbStart |
| 53 | |
| 54 | /-- The literal pinned minimizing-region producer is proved from the |
| 55 | original predecessors and actual compact confinement, Proposition 16.4. -/ |
| 56 | theorem minimizingRegionProducer (P : M46Predecessors.{u}) |
| 57 | {K : MetricSurgeryConstants} (p : SurgeryParameterPrefix K) |
| 58 | (rNext cutoff rho : ℝ) : MinimizingRegionProducer.{u} p rNext cutoff rho := by |
| 59 | intro F O _inputs D H _htime _hr C _hbarrier |
| 60 | exact actualHistory_minimizingRegion P D H (by unfold surgeryEpochStart; positivity) C |
| 61 | |
| 62 | end PoincareMT.Proofs.M46 |