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.Spacetime.GeometryTheory |
| 2 | |
| 3 | /-! |
| 4 | # Ordinary-product realization |
| 5 | |
| 6 | The ordinary-product part of the M11 conclusion already has the exact |
| 7 | frozen M12 representation. This semantic module gives that selected record |
| 8 | a realization name without introducing a second, incompatible representation. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | |
| 13 | open scoped Manifold ContDiff Bundle Topology |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | namespace PoincareMT |
| 18 | |
| 19 | abbrev OrdinaryProductSpacetimeRealization {n : ℕ} {M : Type u} |
| 20 | [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 21 | [IsManifold (𝓡 n) ∞ M] (g : ℝ → RiemannianMetric n M) |
| 22 | (I : SpacetimeInterval) := OrdinaryProductSpacetimeConclusion g I |
| 23 | |
| 24 | namespace OrdinaryProductSpacetimeRealization |
| 25 | |
| 26 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 27 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 28 | {g : ℝ → RiemannianMetric n M} {I : SpacetimeInterval} |
| 29 | |
| 30 | /-- The realization is definitionally the record consumed by M12. -/ |
| 31 | abbrev toConclusion (P : OrdinaryProductSpacetimeRealization g I) : |
| 32 | OrdinaryProductSpacetimeConclusion g I := P |
| 33 | |
| 34 | @[simp] theorem toConclusion_timeIntervals |
| 35 | (P : OrdinaryProductSpacetimeRealization g I) : |
| 36 | P.toConclusion.timeIntervals = P.timeIntervals := rfl |
| 37 | |
| 38 | @[simp] theorem toConclusion_spacetime |
| 39 | (P : OrdinaryProductSpacetimeRealization g I) : |
| 40 | P.toConclusion.spacetime = P.spacetime := rfl |
| 41 | |
| 42 | end OrdinaryProductSpacetimeRealization |
| 43 | |
| 44 | end PoincareMT |