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.Blowup.Construction.ShortTime.StaticLimit.StaticNullField |
| 2 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.ShortTime.ParallelSections.ParallelFlowIsometry |
| 3 | import PoincareLib.Geometry.RicciFlow.Soliton.ThreeDimensional.Splitting.Global.Completeness |
| 4 | import PoincareLib.Geometry.Riemannian.Flow.BoundedSpeed |
| 5 | |
| 6 | /-! |
| 7 | # The all-time isometric flow on the actual Ricci-null cover |
| 8 | |
| 9 | Completeness of the supplied base metric gives completeness of its actual |
| 10 | two-sheeted unit Ricci-kernel cover. The retained tautological field is |
| 11 | smooth, unit and parallel by the prescribed local sections, so the bounded |
| 12 | speed theorem constructs one jointly smooth all-time flow. Parallelism |
| 13 | makes every time map preserve the same pullback metric. |
| 14 | |
| 15 | This supplies the static flow step for Morgan--Tian Claim 11.7, |
| 16 | pp. 270-271, using the orientation cover of Claim 9.45, pp. 208-209. |
| 17 | The independently reviewed null-cover-global-flow derivation records the |
| 18 | exact retained objects; no global coordinate or product decomposition is |
| 19 | part of this conclusion. |
| 20 | -/ |
| 21 | |
| 22 | set_option autoImplicit false |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | |
| 25 | open Set PoincareMT.RicciFlow.Splitting |
| 26 | open scoped Manifold ContDiff Bundle |
| 27 | |
| 28 | universe u |
| 29 | |
| 30 | namespace PoincareMT.M30 |
| 31 | |
| 32 | /-- Prescribed local parallel null sections produce an all-time isometric |
| 33 | flow of the actual tautological field on the complete unit Ricci-kernel |
| 34 | cover (Claims 9.45 and 11.7, pp. 208-209 and 270-271). -/ |
| 35 | theorem exists_unitRicciKernel_isometric_globalFlow_of_local_parallel_sections |
| 36 | {n : ℕ} {M : Type u} [TopologicalSpace M] [T3Space M] |
| 37 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 38 | [IsManifold (𝓡 n) ∞ M] |
| 39 | {g : RiemannianMetric n M} (D : LeviCivitaData g) |
| 40 | (hc : IsCoveringMap (unitRicciKernelProjection D)) |
| 41 | (hcard : ∀ x : M, |
| 42 | Nat.card (unitRicciKernelProjection D ⁻¹' {x}) = 2) |
| 43 | (hcomplete : MetricComplete g) |
| 44 | (hdim : ∀ x : M, ricciNullity D x = 1) |
| 45 | (hlocal : ∀ p : UnitRicciKernel D, |
| 46 | ∃ (U : Set M) (V : (y : M) → TangentSpace (𝓡 n) y), |
| 47 | IsOpen U ∧ p.1.proj ∈ U ∧ |
| 48 | ContMDiffOn (𝓡 n) ((𝓡 n).prod (𝓡 n)) ∞ (T% V) U ∧ |
| 49 | V p.1.proj = p.1.snd ∧ |
| 50 | ∀ y ∈ U, g.inner y (V y) (V y) = 1 ∧ |
| 51 | (∀ w, D.ricci y (V y) w = 0) ∧ |
| 52 | ∀ w, D.connection V y w = 0) : |
| 53 | letI := unitRicciKernelChartedSpace D hc |
| 54 | letI := unitRicciKernelIsManifold D hc |
| 55 | let g' := unitRicciKernelMetric D hc |
| 56 | let X := unitRicciKernelField D hc |
| 57 | ∃ Phi : ℝ → UnitRicciKernel D → UnitRicciKernel D, |
| 58 | ContMDiff (𝓘(ℝ, ℝ).prod (𝓡 n)) (𝓡 n) ∞ |
| 59 | (Function.uncurry Phi) ∧ |
| 60 | (∀ p, IsMIntegralCurve (I := 𝓡 n) (fun t => Phi t p) X) ∧ |
| 61 | (∀ p, Phi 0 p = p) ∧ |
| 62 | (∀ s t p, Phi (s + t) p = Phi s (Phi t p)) ∧ |
| 63 | ∀ (t : ℝ) (p : UnitRicciKernel D) |
| 64 | (v w : TangentSpace (𝓡 n) p), |
| 65 | g'.inner (Phi t p) (mfderiv (𝓡 n) (𝓡 n) (Phi t) p v) |
| 66 | (mfderiv (𝓡 n) (𝓡 n) (Phi t) p w) = g'.inner p v w := by |
| 67 | let := unitRicciKernelChartedSpace D hc |
| 68 | let := unitRicciKernelIsManifold D hc |
| 69 | let := unitRicciKernelT3Space D hc |
| 70 | let g' := unitRicciKernelMetric D hc |
| 71 | let X := unitRicciKernelField D hc |
| 72 | have hc' : MetricComplete g' := unitRicciKernelMetric_complete D hc hcard hcomplete |
| 73 | obtain ⟨hX, hunit, hparallel⟩ := |
| 74 | unitRicciKernelField_geometry_of_local_parallel_sections D hc hdim hlocal |
| 75 | have hspeed (p : UnitRicciKernel D) : g'.tangentNorm p (X p) ≤ 1 := by |
| 76 | have hp : g'.inner p (X p) (X p) = 1 := hunit p |
| 77 | simpa only [RiemannianMetric.tangentNorm, hp, Real.sqrt_one] using |
| 78 | (le_refl (1 : ℝ)) |
| 79 | obtain ⟨Phi, h0, hcurve, hact, hs⟩ := |
| 80 | g'.exists_smooth_globalFlow_of_bounded_speed hc' hX (C := 1) zero_le_one hspeed |
| 81 | refine ⟨Phi, hs, hcurve, h0, hact, ?_⟩ |
| 82 | intro t p v w |
| 83 | exact flow_preserves_metric_of_parallel g'.leviCivitaData hX hparallel hs hcurve h0 t p v w |
| 84 | |
| 85 | end PoincareMT.M30 |