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 Mathlib.Geometry.Manifold.VectorBundle.Tangent |
| 2 | |
| 3 | /-! |
| 4 | # Smooth assembly of a model-space tangent vector |
| 5 | |
| 6 | This is the model tangent-bundle homeomorphism with the product chart |
| 7 | instance made explicit. It supports the actual square-root path extensions |
| 8 | in Morgan-Tian Proposition 12.13, pp. 304-306. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | |
| 13 | open scoped Manifold ContDiff Bundle |
| 14 | |
| 15 | namespace PoincareMT.M34 |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false in |
| 18 | /-- Pairing a model point and its tangent vector is smooth in the product |
| 19 | manifold structure, for every differentiability order. -/ |
| 20 | theorem contMDiff_modelTangentMk |
| 21 | {𝕜 E H : Type*} [NontriviallyNormedField 𝕜] |
| 22 | [NormedAddCommGroup E] [NormedSpace 𝕜 E] [TopologicalSpace H] |
| 23 | (I : ModelWithCorners 𝕜 E H) (m : ℕ∞ω) : |
| 24 | ContMDiff (I.prod 𝓘(𝕜, E)) I.tangent m |
| 25 | (fun p : H × E => (⟨p.1, p.2⟩ : TangentBundle I H)) := by |
| 26 | convert! (contMDiff_tangentBundleModelSpaceHomeomorph_symm (I := I) (n := m)) using 1 |
| 27 | rw [chartedSpaceSelf_prod] |
| 28 | rfl |
| 29 | |
| 30 | end PoincareMT.M34 |