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.Surgery.StandardCap.Geometry |
| 2 | import Mathlib.Geometry.Manifold.MFDeriv.FDeriv |
| 3 | |
| 4 | /-! |
| 5 | # Linear form of standard-cap rotation invariance |
| 6 | |
| 7 | Definition 12.1 uses the standard SO(3) action. This file identifies its |
| 8 | actual manifold derivative with the corresponding linear matrix action, |
| 9 | the first step toward the radial geometry in Claim 13.1. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | open scoped Manifold ContDiff |
| 15 | |
| 16 | namespace PoincareMT.MetricSurgery |
| 17 | |
| 18 | theorem standardRotation_eq_linear (A : Matrix.specialOrthogonalGroup (Fin 3) ℝ) : |
| 19 | standardRotation A = Matrix.toEuclideanLin A.1 := rfl |
| 20 | |
| 21 | theorem standardRotation_contDiff (A : Matrix.specialOrthogonalGroup (Fin 3) ℝ) : |
| 22 | ContDiff ℝ ∞ (standardRotation A) := |
| 23 | (Matrix.toEuclideanLin A.1).toContinuousLinearMap.contDiff |
| 24 | |
| 25 | theorem standardRotation_contMDiff (A : Matrix.specialOrthogonalGroup (Fin 3) ℝ) : |
| 26 | ContMDiff (𝓡 3) (𝓡 3) ∞ (standardRotation A) := |
| 27 | (standardRotation_contDiff A).contMDiff |
| 28 | |
| 29 | theorem standardRotation_mfderiv (A : Matrix.specialOrthogonalGroup (Fin 3) ℝ) |
| 30 | (x : StandardCapSpace) : |
| 31 | mfderiv (𝓡 3) (𝓡 3) (standardRotation A) x = |
| 32 | (Matrix.toEuclideanLin A.1).toContinuousLinearMap := by |
| 33 | rw [mfderiv_eq_fderiv, standardRotation_eq_linear] |
| 34 | exact (Matrix.toEuclideanLin A.1).toContinuousLinearMap.hasFDerivAt.fderiv |
| 35 | |
| 36 | theorem standardInitialMetric_rotation_inner (g₀ : StandardInitialMetric) |
| 37 | (A : Matrix.specialOrthogonalGroup (Fin 3) ℝ) (x v w : StandardCapSpace) : |
| 38 | g₀.metric.inner (Matrix.toEuclideanLin A.1 x) |
| 39 | (Matrix.toEuclideanLin A.1 v) (Matrix.toEuclideanLin A.1 w) = |
| 40 | g₀.metric.inner x v w := by |
| 41 | have h := g₀.rotation_invariant A x v w |
| 42 | simp only [standardRotation_mfderiv] at h |
| 43 | exact h |
| 44 | |
| 45 | end PoincareMT.MetricSurgery |