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.CanonicalInduction.Limit.Noncollapse.LimitNoncollapseCapture |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.CanonicalInduction.Limit.Noncollapse.LimitNoncollapseSharpTangent |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Geometry.Basic.GeneralizedCylinderVolume |
| 4 | |
| 5 | /-! |
| 6 | # Sharp capture and calibrated volume in the actual cylinder |
| 7 | |
| 8 | The strict compact buffer contains every inverse image supplied by ambient |
| 9 | ball capture. The same physical spatial map controls calibrated source |
| 10 | volume with its precise parabolic factor. Source: MT Proposition 17.1 and |
| 11 | the reviewed limit-noncollapse final-corrections derivation. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open Set MeasureTheory |
| 18 | open scoped Manifold ContDiff Bundle Topology ENNReal |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace PoincareMT.M47 |
| 23 | |
| 24 | /-- Actual physical source-ball capture and its sharp volume bound, using |
| 25 | only tangent comparison on the specified compact buffer. -/ |
| 26 | theorem limitNoncollapse_physical_capture_and_volume |
| 27 | {F : GeneralizedRicciFlowData.{u}} {C : GeneralizedSliceCarrier.{u}} |
| 28 | {origin scale : ℝ} {I : Set ℝ} {U : Set C.carrier} |
| 29 | (e : GeneralizedFlowCylinder F C origin scale I U) (hU : IsOpen U) |
| 30 | (g : RiemannianMetric 3 C.carrier) (p : C.carrier) (t : ℝ) (ht : t ∈ I) |
| 31 | {R rho lambda : ℝ} (hR : 0 < R) (hlambda : 0 < lambda) |
| 32 | (hbuffer : rho / lambda < R) |
| 33 | (hcompact : IsCompact (closure (g.ball p R))) |
| 34 | (hsource : closure (g.ball p R) ⊆ U) |
| 35 | (hlow : ∀ x ∈ closure (g.ball p R), ∀ v : TangentSpace (𝓡 3) x, |
| 36 | g.tangentNorm x v ≤ (Real.sqrt scale / lambda) * |
| 37 | (F.metric (origin + t / scale)).tangentNorm (e.forward t ht x) |
| 38 | (mfderiv (𝓡 3) (𝓡 3) (e.forward t ht) x v)) |
| 39 | (hupp : ∀ x ∈ closure (g.ball p R), ∀ v : TangentSpace (𝓡 3) x, |
| 40 | (F.metric (origin + t / scale)).tangentNorm (e.forward t ht x) |
| 41 | (mfderiv (𝓡 3) (𝓡 3) (e.forward t ht) x v) ≤ |
| 42 | (1 / (lambda * Real.sqrt scale)) * g.tangentNorm x v) : |
| 43 | (F.metric (origin + t / scale)).ball (e.forward t ht p) (rho / Real.sqrt scale) ⊆ |
| 44 | e.forward t ht '' g.ball p (rho / lambda) ∧ |
| 45 | calibratedMetricVolume (F.metric (origin + t / scale)) |
| 46 | ((F.metric (origin + t / scale)).ball (e.forward t ht p) |
| 47 | (rho / Real.sqrt scale)) ≤ |
| 48 | ENNReal.ofReal (1 / (lambda * Real.sqrt scale)) ^ 3 * |
| 49 | calibratedMetricVolume g (g.ball p R) := by |
| 50 | let f := e.spatialOpenPartialHomeomorph hU t ht |
| 51 | let h := F.metric (origin + t / scale) |
| 52 | have hf : ContMDiffOn (𝓡 3) (𝓡 3) 1 f f.source := |
| 53 | (e.spatialOpenPartialHomeomorph_contMDiffOn hU t ht).of_le (by simp) |
| 54 | have hi : ContMDiffOn (𝓡 3) (𝓡 3) 1 f.symm f.target := |
| 55 | (e.spatialOpenPartialHomeomorph_symm_contMDiffOn hU t ht).of_le (by simp) |
| 56 | have hroot : 0 < Real.sqrt scale := Real.sqrt_pos.mpr e.scale_pos |
| 57 | have hcancel : (Real.sqrt scale / lambda) * (rho / Real.sqrt scale) = |
| 58 | rho / lambda := by field_simp |
| 59 | have hcapture : h.ball (f p) (rho / Real.sqrt scale) ⊆ |
| 60 | f '' g.ball p (rho / lambda) := by |
| 61 | rw [← hcancel] |
| 62 | apply limitNoncollapse_capture_ball g h f p hR (div_pos hroot hlambda) |
| 63 | (by rwa [hcancel]) hcompact hsource |
| 64 | · intro y hy |
| 65 | exact (hi y hy).contMDiffAt (f.open_target.mem_nhds hy) |
| 66 | · rintro y ⟨x, hx, rfl⟩ v |
| 67 | apply g.inverse_tangentNorm_le_of_forward_lower_bound h f hf hi |
| 68 | (f.map_source (hsource hx)) |
| 69 | intro w |
| 70 | exact hlow (f.symm (f x)) (by rwa [f.left_inv (hsource hx)]) w |
| 71 | have hsmall : g.ball p (rho / lambda) ⊆ g.ball p R := by |
| 72 | intro x hx |
| 73 | exact hx.trans_le (ENNReal.ofReal_le_ofReal hbuffer.le) |
| 74 | refine ⟨hcapture, ?_⟩ |
| 75 | let : PseudoEMetricSpace C.carrier := g.comparisonPseudoEMetric |
| 76 | have hV : IsOpen (g.ball p R) := |
| 77 | isOpen_lt (continuous_const.edist continuous_id) continuous_const |
| 78 | let fV := f.restrOpen (g.ball p R) hV |
| 79 | have hfV : ContMDiffOn (𝓡 3) (𝓡 3) 1 fV fV.source := |
| 80 | hf.mono inter_subset_left |
| 81 | have hVs : g.ball p R ⊆ fV.source := |
| 82 | fun x hx => ⟨hsource (subset_closure hx), hx⟩ |
| 83 | have hv := M34.calibratedMetricVolume_image_le_of_local_tangentNorm_le |
| 84 | g h fV hfV (one_div_pos.mpr (mul_pos hlambda hroot)) |
| 85 | (fun x hx v => hupp x (subset_closure hx.2) v) hV.measurableSet hVs |
| 86 | apply le_trans _ hv |
| 87 | exact measure_mono (hcapture.trans (image_mono hsmall)) |
| 88 | |
| 89 | end PoincareMT.M47 |