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.Generalized.ReducedGeometry.SourceNames.ReducedVolume |
| 2 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Measure.Jacobian.InitialJacobianGram |
| 3 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Exponential.InitialTime.InitialJacobianCalculus |
| 4 | |
| 5 | /-! |
| 6 | # The initial normalized actual exponential Jacobian |
| 7 | |
| 8 | The actual scaled Gram matrix tends to 4I. Taking its determinant |
| 9 | and nonnegative square root gives the factor 2 to the dimension, |
| 10 | including dimension zero. Morgan-Tian Proposition 6.78, pp. 142-144. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | open Filter |
| 16 | open scoped Manifold ContDiff Topology |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace PoincareMT.M14 |
| 21 | |
| 22 | variable {n : ℕ} {X : Type u} [TopologicalSpace X] {time : X → ℝ} |
| 23 | {I : SpacetimeInterval} {G : GeneralizedLGeometryTransport n X time I} |
| 24 | {T : ℝ} {x : G.Point} |
| 25 | |
| 26 | /-- The actual metric Jacobian divided by square time to the dimension |
| 27 | tends to 2^n on any positive surviving prefix. No zero-time supplied |
| 28 | Jacobian convention is assumed, Proposition 6.78, pp. 142-144. -/ |
| 29 | theorem tendsto_exponentialJacobian_normalized_zero |
| 30 | (hM04 : RicciFlowCurvatureTheory.{0}) (hM12 : GeneralizedRicciGaugeTheory.{u} n) |
| 31 | (E : M14ExponentialFamily G T x) (b₀ : Module.Basis (Fin n) ℝ (G.Horizontal x)) |
| 32 | (horth : ∀ i j, G.spacetime.horizontalMetric.inner x (b₀ i) (b₀ j) = |
| 33 | if i = j then 1 else 0) |
| 34 | {Z : G.Horizontal x} {b : ℝ} (hb : (Z, b) ∈ E.domain) (hpos : 0 < b) : |
| 35 | Tendsto (fun s : ℝ => exponentialJacobian E b₀ Z s / s ^ n) (𝓝[>] (0 : ℝ)) |
| 36 | (𝓝 ((2 : ℝ) ^ n)) := by |
| 37 | have h := M10.tendsto_scaled_sqrt_det |
| 38 | (tendsto_exponentialGram_scaled_zero hM04 hM12 E b₀ horth hb hpos) |
| 39 | convert h using 1 |
| 40 | funext s |
| 41 | rw [exponentialJacobian_eq_sqrt_det] |
| 42 | ring |
| 43 | |
| 44 | end PoincareMT.M14 |