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.Realization.Cylinder.Metric |
| 2 | |
| 3 | /-! |
| 4 | # Evaluation of the cylinder pullback metric |
| 5 | -/ |
| 6 | |
| 7 | set_option autoImplicit false |
| 8 | set_option backward.isDefEq.respectTransparency false |
| 9 | |
| 10 | open scoped Manifold ContDiff Topology |
| 11 | |
| 12 | open PoincareMT |
| 13 | |
| 14 | namespace Poincare.Spacetime.Realization |
| 15 | |
| 16 | theorem cylinderMetricForm_apply {n : ℕ} {X : Type*} [TopologicalSpace X] |
| 17 | {time : X → ℝ} {I K : SpacetimeInterval} {F : GeneralizedFlowSpacetime n X time I} |
| 18 | {D : SmoothSpacetimeInterval K} {C : Type*} [TopologicalSpace C] |
| 19 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) C] [IsManifold (𝓡 n) ∞ C] |
| 20 | (e : CompatibleSpacetimeCylinder F D C) (t : D.Point) (x : C) |
| 21 | (v w : EuclideanSpace ℝ (Fin n)) : |
| 22 | cylinderMetricForm e t x v w = F.horizontalMetric.inner (e.toSpacetime (t, x)) |
| 23 | (cylinderSpatialEquiv e t x v) (cylinderSpatialEquiv e t x w) := rfl |
| 24 | |
| 25 | end Poincare.Spacetime.Realization |