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 | /- |
| 2 | Adapted from AxelWorkspace revision f1cdb30cabdc8781d2d3dec86d3d99ab1820f30e. |
| 3 | Source and SHA-256: references/analysis/axel-workspace/weak-parabolic-regularity-sources.json. |
| 4 | Apache-2.0; see the license in that source directory. |
| 5 | -/ |
| 6 | import PoincareLib.Analysis.Parabolic.WeakRegularity.Interior.Jets.TimeBootstrap |
| 7 | import PoincareLib.Analysis.Parabolic.WeakRegularity.Interior.Jets.SpatialRegularity |
| 8 | |
| 9 | /-! |
| 10 | # All finite mixed weak derivatives from the original equation |
| 11 | |
| 12 | The actual spatial induction supplies the initial orders for the time |
| 13 | induction. Compact extension and almost-everywhere transport preserve the |
| 14 | original solution and all of its weak derivative identities. |
| 15 | Custom prerequisite for Morgan--Tian, Proposition 9.20, pp. 207-208; |
| 16 | Evans, Section 5.2.1, pp. 256-257. |
| 17 | -/ |
| 18 | |
| 19 | open Set MeasureTheory Metric |
| 20 | open scoped ContDiff Topology |
| 21 | |
| 22 | noncomputable section |
| 23 | |
| 24 | namespace Poincare.Analysis.Parabolic.WeakRegularity.Interior |
| 25 | |
| 26 | open Canonical |
| 27 | |
| 28 | theorem exists_local_time_spatial_weak_jets |
| 29 | {n m k : ℕ} {U : Set (Spacetime n)} (hU : IsOpen U) |
| 30 | {C : Coefficients n} (hC : C.IsSmoothOn U) |
| 31 | (hEll : C.IsUniformlyEllipticOn U) |
| 32 | {u : Spacetime n → ℝ} (hu : ContinuousOn u U) |
| 33 | (hw : WeakSolutionOn C u U) {z : Spacetime n} (hz : z ∈ U) : |
| 34 | ∃ r : ℝ, 0 < r ∧ closedBall z r ⊆ U ∧ |
| 35 | HasTimeSpatialL2Jet (ball z r) m k u := by |
| 36 | obtain ⟨V, C', u', hV, hzV, hVU, hC', hpc, hbc, hcc, hu', huc, |
| 37 | hpEq, hbEq, hcEq, huEq, hw'⟩ := exists_weak_compact_extension hU hC hu hw hz |
| 38 | have hC'V : C'.IsSmoothOn V := |
| 39 | ⟨fun i j => (hC'.1 i j).mono (subset_univ V), |
| 40 | fun i => (hC'.2.1 i).mono (subset_univ V), hC'.2.2.mono (subset_univ V)⟩ |
| 41 | have hEllV : C'.IsUniformlyEllipticOn V := by |
| 42 | obtain ⟨κ, hκ, hell⟩ := hEll |
| 43 | refine ⟨κ, hκ, ?_⟩ |
| 44 | intro y hy ξ |
| 45 | simp_rw [hpEq _ _ hy] |
| 46 | exact hell y (hVU hy) ξ |
| 47 | let ρ : ContDiffBump (0 : Spacetime n) := |
| 48 | { rIn := 1, rOut := 2, rIn_pos := by norm_num, rIn_lt_rOut := by norm_num } |
| 49 | obtain ⟨r, hr, hrV, hjet, ε, B, hε, hB, henergy⟩ := |
| 50 | exists_local_mollified_spatial_energy_all_orders (k := k + 2 * m) |
| 51 | hV hC'V hEllV hu'.continuousOn hw' hzV ρ.contDiff ρ.hasCompactSupport |
| 52 | have hballV : ball z r ⊆ V := ball_subset_closedBall.trans hrV |
| 53 | have hforce (φ : Spacetime n → ℝ) (hφ : ContDiff ℝ ∞ φ) |
| 54 | (hφc : HasCompactSupport φ) (hφr : tsupport φ ⊆ ball z r) : |
| 55 | (∫ y, u' y * C'.adjoint φ y) = 0 := hw'.2 φ hφ hφc (hφr.trans hballV) |
| 56 | have htime : HasTimeSpatialL2Jet (ball z r) m k u' := |
| 57 | time_spatial_jet_of_spatial_jet_and_weak_equation |
| 58 | isOpen_ball hC' hpc hbc hcc hjet hforce |
| 59 | have hueq : u' =ᵐ[volume.restrict (ball z r)] u := by |
| 60 | filter_upwards [ae_restrict_mem measurableSet_ball] with y hy |
| 61 | exact huEq (hballV hy) |
| 62 | exact ⟨r, hr, hrV.trans hVU, htime.congr_ae hueq⟩ |
| 63 | |
| 64 | |
| 65 | end Poincare.Analysis.Parabolic.WeakRegularity.Interior |