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.MollifiedForcingBounds |
| 7 | import PoincareLib.Analysis.Parabolic.WeakRegularity.Interior.UniformCutoffEnergy |
| 8 | |
| 9 | /-! |
| 10 | # Local energy of canonical mollifications |
| 11 | |
| 12 | The weak equation is needed only on the translated kernel supports. This |
| 13 | allows compact weak extensions on an interior neighborhood to supply the |
| 14 | uniform spatial energy estimate. Auxiliary argument for Morgan--Tian, |
| 15 | Proposition 9.20, Chapter 9, Section 2.6, printed p. 208. |
| 16 | -/ |
| 17 | |
| 18 | open Set MeasureTheory Filter |
| 19 | open Poincare.Analysis.Convolution |
| 20 | open scoped ContDiff Topology Convolution |
| 21 | |
| 22 | noncomputable section |
| 23 | |
| 24 | namespace Poincare.Analysis.Parabolic.WeakRegularity.Canonical |
| 25 | |
| 26 | local instance {n : ℕ} : (volume : Measure (Spacetime n)).IsAddHaarMeasure := by |
| 27 | change ((volume : Measure (Euclid n)).prod (volume : Measure ℝ)).IsAddHaarMeasure |
| 28 | infer_instance |
| 29 | |
| 30 | theorem exists_uniform_local_mollified_cutoff_gradient_bound |
| 31 | {n : ℕ} {C : Coefficients n} {u ρ χ : Spacetime n → ℝ} |
| 32 | {U : Set (Spacetime n)} {κ : ℝ} |
| 33 | (hprincipal : ∀ i j, ContDiff ℝ ∞ (C.principal i j)) |
| 34 | (hprincipalc : ∀ i j, HasCompactSupport (C.principal i j)) |
| 35 | (hdrift : ∀ i, ContDiff ℝ ∞ (C.drift i)) |
| 36 | (hdriftc : ∀ i, HasCompactSupport (C.drift i)) |
| 37 | (hzeroth : ContDiff ℝ ∞ C.zeroth) |
| 38 | (hzerothc : HasCompactSupport C.zeroth) |
| 39 | (hu : Continuous u) (huc : HasCompactSupport u) |
| 40 | (hw : WeakSolutionOn C u U) |
| 41 | (hρ : ContDiff ℝ ∞ ρ) (hρc : HasCompactSupport ρ) |
| 42 | (hχ : ContDiff ℝ ∞ χ) (hχc : HasCompactSupport χ) |
| 43 | (hκ : 0 < κ) |
| 44 | (hEll : ∀ z ∈ tsupport χ, ∀ ξ : Euclid n, |
| 45 | κ * ‖ξ‖ ^ 2 ≤ ∑ i, ∑ j, C.principal i j z * ξ i * ξ j) : |
| 46 | ∃ B : ℝ, 0 < B ∧ ∀ r > 0, |
| 47 | (∀ z ∈ tsupport χ, |
| 48 | tsupport (translatedKernel (rescaledKernel ρ r) z) ⊆ U) → |
| 49 | (∫ z, ∑ i, (χ z * spatialDeriv i (mollifiedValue u ρ r) z) ^ 2) ≤ B := by |
| 50 | obtain ⟨M, hMpos, hMval, hMscalar, hMflux⟩ := |
| 51 | exists_uniform_mollified_forcing_bounds hprincipal hprincipalc hdrift hdriftc |
| 52 | hzeroth hzerothc hu huc (hρ.of_le (by simp)) hρc |
| 53 | obtain ⟨B, hBpos, hB⟩ := exists_uniform_cutoff_gradient_bound (M := M) |
| 54 | hκ hMpos.le hprincipal hχ hχc hEll |
| 55 | refine ⟨B, hBpos, ?_⟩ |
| 56 | intro r hr hs |
| 57 | let η : Spacetime n → ℝ := rescaledKernel ρ r |
| 58 | have hη : ContDiff ℝ ∞ η := |
| 59 | contDiff_const.mul (hρ.comp (contDiff_id.const_smul r⁻¹)) |
| 60 | have hηc : HasCompactSupport η := |
| 61 | (hρc.comp_homeomorph |
| 62 | (Homeomorph.smul (Units.mk0 r⁻¹ (inv_ne_zero hr.ne')))).mul_left |
| 63 | have hconv {k g : Spacetime n → ℝ} (hk : ContDiff ℝ ∞ k) |
| 64 | (hkc : HasCompactSupport k) (hg : Continuous g) : |
| 65 | ContDiff ℝ ∞ (lebesgueConvolution k g) := |
| 66 | contDiff_lebesgueConvolution hg.locallyIntegrable hk hkc |
| 67 | have hval : ContDiff ℝ ∞ (mollifiedValue u ρ r) := |
| 68 | hconv hη hηc hu |
| 69 | let d : Fin n → Spacetime n → ℝ := fun i y => |
| 70 | C.drift i y + ∑ j, spatialDeriv j (C.principal j i) y |
| 71 | have hd : ∀ i, ContDiff ℝ ∞ (d i) := fun i => |
| 72 | (hdrift i).add (ContDiff.sum (fun j _ => |
| 73 | contDiff_spatialDeriv (hprincipal j i) j)) |
| 74 | have hH : ContDiff ℝ ∞ (fun y => |
| 75 | (∑ i, spatialDeriv i (d i) y) - C.zeroth y) := |
| 76 | (ContDiff.sum (fun i _ => contDiff_spatialDeriv (hd i) i)).sub hzeroth |
| 77 | have hscalar : ContDiff ℝ ∞ (mollifiedScalarForcing C u ρ r) := |
| 78 | hconv hη hηc (hH.continuous.mul hu) |
| 79 | have hflux : ∀ i, ContDiff ℝ ∞ (mollifiedFluxForcing C u ρ r i) := by |
| 80 | intro i |
| 81 | have hterm (j : Fin n) : ContDiff ℝ ∞ (fun z => |
| 82 | C.principal i j z * spatialDeriv j (mollifiedValue u ρ r) z - |
| 83 | lebesgueConvolution (fun y => spatialDeriv j η y) |
| 84 | (fun w => C.principal i j w * u w) z + |
| 85 | lebesgueConvolution η |
| 86 | (fun w => spatialDeriv j (C.principal i j) w * u w) z) := |
| 87 | (((hprincipal i j).mul (contDiff_spatialDeriv hval j)).sub |
| 88 | (hconv (contDiff_spatialDeriv hη j) |
| 89 | (hηc.fderiv_apply ℝ (spatialDirection j)) |
| 90 | ((hprincipal i j).continuous.mul hu))).add |
| 91 | (hconv hη hηc |
| 92 | ((contDiff_spatialDeriv (hprincipal i j) j).continuous.mul hu)) |
| 93 | exact (ContDiff.sum (fun j _ => hterm j)).neg.sub |
| 94 | (hconv hη hηc ((hd i).continuous.mul hu)) |
| 95 | apply hB hval hscalar hflux |
| 96 | · exact fun z _ => hMval r hr z |
| 97 | · exact fun z _ => hMscalar r hr z |
| 98 | · exact fun i z _ => hMflux r hr i z |
| 99 | · intro z hz |
| 100 | exact WeakSolutionOn.mollified_divergence_equation hprincipal hdrift hzeroth hu hw |
| 101 | hη hηc (hs z hz) |
| 102 | |
| 103 | end Poincare.Analysis.Parabolic.WeakRegularity.Canonical |
| 104 |