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.Horizontal.Basic |
| 2 | |
| 3 | /-! |
| 4 | # Curvature evaluation on an identified time slice |
| 5 | |
| 6 | A time equality identifies the dependent slice point, its selected charts, |
| 7 | the retained connection and the inverse tangent maps simultaneously. These |
| 8 | lemmas evaluate horizontal curvature on any specified equal time slice. |
| 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 | variable {n : ℕ} {X : Type u} [TopologicalSpace X] {time : X → ℝ} |
| 20 | {I : SpacetimeInterval} {F : GeneralizedFlowSpacetime n X time I} |
| 21 | {S : ∀ s : ℝ, SpacetimeSliceGeometry F s} |
| 22 | |
| 23 | /-- Evaluate horizontal Riemann curvature on an identified actual time slice. -/ |
| 24 | theorem horizontalRiemann_eq_slice |
| 25 | (D : LeafwiseLeviCivitaFamily F S) (p : F.Point) {t : ℝ} |
| 26 | (ht : F.timeFunction p = t) (u v w z : F.Horizontal p) : |
| 27 | horizontalRiemann D p u v w z = |
| 28 | (D.sliceConnection t).curvatureTensor ⟨p, ht⟩ |
| 29 | (((S t).tangentEquiv ⟨p, ht⟩).symm u) |
| 30 | (((S t).tangentEquiv ⟨p, ht⟩).symm v) |
| 31 | (((S t).tangentEquiv ⟨p, ht⟩).symm w) |
| 32 | (((S t).tangentEquiv ⟨p, ht⟩).symm z) := by |
| 33 | subst t |
| 34 | rfl |
| 35 | |
| 36 | /-- Evaluate horizontal Ricci curvature on an identified actual time slice. -/ |
| 37 | theorem horizontalRicci_eq_slice |
| 38 | (D : LeafwiseLeviCivitaFamily F S) (p : F.Point) {t : ℝ} |
| 39 | (ht : F.timeFunction p = t) (u v : F.Horizontal p) : |
| 40 | horizontalRicci D p u v = |
| 41 | (D.sliceConnection t).ricci ⟨p, ht⟩ |
| 42 | (((S t).tangentEquiv ⟨p, ht⟩).symm u) |
| 43 | (((S t).tangentEquiv ⟨p, ht⟩).symm v) := by |
| 44 | subst t |
| 45 | rfl |
| 46 | |
| 47 | /-- Evaluate horizontal scalar curvature on an identified actual time slice. -/ |
| 48 | theorem horizontalScalarCurvature_eq_slice |
| 49 | (D : LeafwiseLeviCivitaFamily F S) (p : F.Point) {t : ℝ} |
| 50 | (ht : F.timeFunction p = t) : |
| 51 | horizontalScalarCurvature D p = |
| 52 | (D.sliceConnection t).scalarCurvature ⟨p, ht⟩ := by |
| 53 | subst t |
| 54 | rfl |
| 55 | |
| 56 | /-- Evaluate the horizontal curvature norm on an identified actual time slice. -/ |
| 57 | theorem horizontalCurvatureNorm_eq_slice |
| 58 | (D : LeafwiseLeviCivitaFamily F S) (p : F.Point) {t : ℝ} |
| 59 | (ht : F.timeFunction p = t) : |
| 60 | horizontalCurvatureNorm D p = |
| 61 | (D.sliceConnection t).curvatureTensorNorm ⟨p, ht⟩ := by |
| 62 | subst t |
| 63 | rfl |
| 64 | |
| 65 | end PoincareMT |