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.SpatialBootstrap |
| 7 | import PoincareLib.Analysis.Parabolic.WeakRegularity.Interior.Jets.SpatialJetMollification |
| 8 | import PoincareLib.Analysis.Parabolic.WeakRegularity.Interior.Jets.GlobalSpatialJets |
| 9 | |
| 10 | /-! |
| 11 | # All finite spatial energies from the original weak equation |
| 12 | |
| 13 | The constructed spatial gradient starts the forced induction with zero forcing. |
| 14 | The resulting actual weak derivatives control canonical mollifications by Young. |
| 15 | Custom prerequisite for Morgan--Tian, Proposition 9.20, pp. 207-208; |
| 16 | Evans, Sections 5.2.1, 5.3.1 and 6.3.1, pp. 256-257, 264-265 and 327-328. |
| 17 | -/ |
| 18 | |
| 19 | open Set MeasureTheory Filter Metric |
| 20 | open Poincare.Analysis.Convolution |
| 21 | open scoped ContDiff Topology |
| 22 | |
| 23 | noncomputable section |
| 24 | |
| 25 | namespace Poincare.Analysis.Parabolic.WeakRegularity.Interior |
| 26 | |
| 27 | open Canonical |
| 28 | |
| 29 | theorem exists_local_mollified_spatial_energy_all_orders |
| 30 | {n k : ℕ} {U : Set (Spacetime n)} (hU : IsOpen U) |
| 31 | {C : Coefficients n} (hC : C.IsSmoothOn U) |
| 32 | (hEll : C.IsUniformlyEllipticOn U) |
| 33 | {u : Spacetime n → ℝ} (hu : ContinuousOn u U) |
| 34 | (hw : WeakSolutionOn C u U) {z : Spacetime n} (hz : z ∈ U) |
| 35 | {ρ : Spacetime n → ℝ} (hρ : ContDiff ℝ ∞ ρ) |
| 36 | (hρc : HasCompactSupport ρ) : |
| 37 | ∃ s : ℝ, 0 < s ∧ closedBall z s ⊆ U ∧ HasSpatialL2Jet (ball z s) k u ∧ |
| 38 | ∃ ε B : ℝ, 0 < ε ∧ 0 < B ∧ ∀ r : ℝ, 0 < r → r ≤ ε → |
| 39 | (∫ y in ball z s, ∑ p : Fin k → Fin n, |
| 40 | (iteratedSpatialDeriv k p (mollifiedValue u ρ r) y) ^ 2) ≤ B := by |
| 41 | obtain ⟨V, C', u', hV, hzV, hVU, hC', hpc, hbc, hcc, hu', huc, |
| 42 | hpEq, hbEq, hcEq, huEq, hw'⟩ := exists_weak_compact_extension hU hC hu hw hz |
| 43 | obtain ⟨κ, hκ, hell⟩ := hEll |
| 44 | have hEllV : C'.IsUniformlyEllipticOn V := by |
| 45 | refine ⟨κ, hκ, ?_⟩ |
| 46 | intro y hy ξ |
| 47 | simp_rw [hpEq _ _ hy] |
| 48 | exact hell y (hVU hy) ξ |
| 49 | have hC'V : C'.IsSmoothOn V := |
| 50 | ⟨fun i j => (hC'.1 i j).mono (subset_univ V), |
| 51 | fun i => (hC'.2.1 i).mono (subset_univ V), hC'.2.2.mono (subset_univ V)⟩ |
| 52 | obtain ⟨R, hR, hRV, g, hgm, hgc, hweak⟩ := |
| 53 | exists_global_l2_spatial_weak_derivatives hV hC'V hEllV hu'.continuousOn hw' hzV |
| 54 | have hballV : ball z R ⊆ V := ball_subset_closedBall.trans hRV |
| 55 | have hwR : WeakSolutionOn C' u' (ball z R) := |
| 56 | WeakSolutionOn.restrict isOpen_ball hballV hw' |
| 57 | have hu2 : MemLp u' 2 (volume.restrict (ball z R)) := |
| 58 | hu'.memLp_of_hasCompactSupport huc |
| 59 | have hforce (φ : Spacetime n → ℝ) (hφ : ContDiff ℝ ∞ φ) |
| 60 | (hφc : HasCompactSupport φ) (hφR : tsupport φ ⊆ ball z R) : |
| 61 | (∫ y, u' y * C'.adjoint φ y) = ∫ y, φ y * (0 : ℝ) := by |
| 62 | simpa only [mul_zero, integral_zero] using hwR.2 φ hφ hφc hφR |
| 63 | have hEllz : ∀ ξ : Euclid n, κ * ‖ξ‖ ^ 2 ≤ |
| 64 | ∑ i, ∑ j, C'.principal i j z * ξ i * ξ j := by |
| 65 | intro ξ |
| 66 | simp_rw [hpEq _ _ hzV] |
| 67 | exact hell z hz ξ |
| 68 | obtain ⟨t, ht, htR, hjet, hgjet⟩ := exists_local_forced_spatial_jet |
| 69 | isOpen_ball hC' hpc hbc hcc hu2 (HasSpatialL2Jet.zero (ball z R) k) |
| 70 | (fun i => (hgm i).restrict _) hforce hweak (mem_ball_self hR) hκ hEllz |
| 71 | have htV : ball z t ⊆ V := ball_subset_closedBall.trans (htR.trans hballV) |
| 72 | have hueq : u' =ᵐ[volume.restrict (ball z t)] u := by |
| 73 | filter_upwards [ae_restrict_mem measurableSet_ball] with y hy |
| 74 | exact huEq (htV hy) |
| 75 | have hjetu : HasSpatialL2Jet (ball z t) k u := |
| 76 | (hjet.of_le (by omega : k ≤ k + 2)).congr_ae hueq |
| 77 | obtain ⟨s, hs, hst, ε, B, hε, hB, henergy⟩ := |
| 78 | hjetu.exists_uniform_mollified_spatial_energy isOpen_ball (mem_ball_self ht) hρ hρc |
| 79 | exact ⟨s, hs, hst.trans (htV.trans hVU), |
| 80 | hjetu.restrict (ball_subset_closedBall.trans hst), ε, B, hε, hB, henergy⟩ |
| 81 | |
| 82 | |
| 83 | end Poincare.Analysis.Parabolic.WeakRegularity.Interior |