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.Compactness.Convergence.Volume.Coverage |
| 2 | import PoincareLib.Geometry.RicciFlow.Compactness.Convergence.Volume.MeasureComparison |
| 3 | |
| 4 | /-! |
| 5 | # Ambient source-ball capture and image-volume transfer |
| 6 | |
| 7 | These wrappers apply the lower path-lifting and measure-comparison APIs to |
| 8 | the actual limit/source slice chart. They retain the compact limit buffer, |
| 9 | the inverse tangent bound, and the actual open partial homeomorphism. |
| 10 | Source: Morgan--Tian, Proposition 17.1, pp. 407-408; reviewed |
| 11 | `derivations/limit-noncollapse-transfer.md`, section 6. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | open Set |
| 17 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | namespace PoincareMT.M47 |
| 22 | |
| 23 | /-- The complete target ball is captured by the actual chart image when its |
| 24 | compact buffer and inverse tangent estimate satisfy the strict radius guard. |
| 25 | No source completeness is used. -/ |
| 26 | theorem limitNoncollapse_capture_ball |
| 27 | {M : Type u} {N : Type v} [TopologicalSpace M] [TopologicalSpace N] |
| 28 | [T3Space M] [T2Space N] |
| 29 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 30 | [IsManifold (𝓡 3) ∞ M] |
| 31 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) N] |
| 32 | [IsManifold (𝓡 3) ∞ N] |
| 33 | (g : RiemannianMetric 3 M) (h : RiemannianMetric 3 N) |
| 34 | (e : OpenPartialHomeomorph M N) (p : M) |
| 35 | {R r C : ℝ} (hR : 0 < R) (hC : 0 < C) (hCr : C * r < R) |
| 36 | (hcompact : IsCompact (closure (g.ball p R))) |
| 37 | (hsource : closure (g.ball p R) ⊆ e.source) |
| 38 | (hinv : ∀ y ∈ e.target, ContMDiffAt (𝓡 3) (𝓡 3) 1 e.symm y) |
| 39 | (hbound : ∀ y ∈ e '' closure (g.ball p R), |
| 40 | ∀ v : TangentSpace (𝓡 3) y, |
| 41 | g.tangentNorm (e.symm y) (mfderiv (𝓡 3) (𝓡 3) e.symm y v) ≤ |
| 42 | C * h.tangentNorm y v) : |
| 43 | h.ball (e p) r ⊆ e '' g.ball p (C * r) := by |
| 44 | exact RiemannianMetric.ball_subset_image_ball_of_inverse_tangentNorm_le |
| 45 | g h e p hR hC hCr hcompact hsource hinv hbound |
| 46 | |
| 47 | /-- The actual image volume is bounded by the forward tangent distortion on |
| 48 | an open source region. -/ |
| 49 | theorem limitNoncollapse_image_volume_le |
| 50 | {M : Type u} {N : Type v} [TopologicalSpace M] [TopologicalSpace N] |
| 51 | [T3Space M] [T2Space N] [T3Space N] [MeasurableSpace M] [BorelSpace M] |
| 52 | [SecondCountableTopology M] [MeasurableSpace N] [BorelSpace N] |
| 53 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 54 | [IsManifold (𝓡 3) ∞ M] [ChartedSpace (EuclideanSpace ℝ (Fin 3)) N] |
| 55 | [IsManifold (𝓡 3) ∞ N] |
| 56 | (g : RiemannianMetric 3 M) (h : RiemannianMetric 3 N) |
| 57 | (e : OpenPartialHomeomorph M N) {V : Set M} (hV : IsOpen V) |
| 58 | (hVe : V ⊆ e.source) |
| 59 | (he : ContMDiffOn (𝓡 3) (𝓡 3) 1 e e.source) {C : ℝ} (hC : 0 < C) |
| 60 | (hbound : ∀ z ∈ V, ∀ v : TangentSpace (𝓡 3) z, |
| 61 | h.tangentNorm (e z) (mfderiv (𝓡 3) (𝓡 3) e z v) ≤ |
| 62 | C * g.tangentNorm z v) |
| 63 | {s : Set M} (hs : MeasurableSet s) (hsV : s ⊆ V) : |
| 64 | h.volumeMeasure (e '' s) ≤ ENNReal.ofReal C ^ 3 * g.volumeMeasure s := by |
| 65 | exact RiemannianMetric.volumeMeasure_image_le_of_tangentNorm_le |
| 66 | g h e hV hVe he hC hbound hs hsV |
| 67 | |
| 68 | end PoincareMT.M47 |