Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import NavierStokes.R3ConvolutionYoung |
| 2 | import NavierStokes.R3PressureNearKernel |
| 3 | |
| 4 | /-! |
| 5 | # The pressure commutator with a sixth-power cutoff |
| 6 | |
| 7 | A kernel bounded by `C |x|⁻³` away from the origin has an absolutely |
| 8 | convergent cutoff commutator almost everywhere. Splitting its majorant into |
| 9 | near and remainder convolutions gives an `L²` estimate using only weighted |
| 10 | `L^(3/2)` and unweighted `L¹` norms of its input. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | namespace NavierStokes.R3PressureCommutator |
| 15 | |
| 16 | open Set Filter MeasureTheory ProblemStatement R3ConvolutionYoung R3PressureNearKernel |
| 17 | open scoped ENNReal Topology |
| 18 | |
| 19 | structure Cutoff (R L : ℝ) (φ : Space → ℝ) : Prop where |
| 20 | radius_pos : 0 < R |
| 21 | constant_ge_one : 1 ≤ L |
| 22 | measurable : Measurable φ |
| 23 | range : ∀ x, φ x ∈ Icc (0 : ℝ) 1 |
| 24 | difference : ∀ x y, |φ x - φ y| ≤ L * (‖x - y‖ / R) |
| 25 | |
| 26 | structure KernelBound (C : ℝ) (K : Space → ℂ) : Prop where |
| 27 | constant_nonneg : 0 ≤ C |
| 28 | measurable : Measurable K |
| 29 | bound : ∀ z, z ≠ 0 → ‖K z‖ ≤ C * ‖z‖ ^ (-3 : ℝ) |
| 30 | |
| 31 | def weightedNorm (φ : Space → ℝ) (g : Space → ℂ) (x : Space) : ℝ := φ x ^ 5 * ‖g x‖ |
| 32 | |
| 33 | def integrand (φ : Space → ℝ) (K g : Space → ℂ) (x z : Space) : ℂ := |
| 34 | ((φ x ^ 6 - φ (x - z) ^ 6 : ℝ) : ℂ) * K z * g (x - z) |
| 35 | |
| 36 | def commutator (φ : Space → ℝ) (K g : Space → ℂ) (x : Space) : ℂ := |
| 37 | ∫ z : Space, integrand φ K g x z |
| 38 | |
| 39 | def majorizingFunction (R L C : ℝ) (φ : Space → ℝ) (g : Space → ℂ) (x : Space) : ℝ := |
| 40 | (C * (96 * L ^ 6)) * |
| 41 | (scalarConvolution (nearKernel R) (weightedNorm φ g) x + |
| 42 | scalarConvolution (remainderKernel R) (fun y => ‖g y‖) x) |
| 43 | |
| 44 | theorem integrand_bound {R L C : ℝ} {φ : Space → ℝ} {K g : Space → ℂ} |
| 45 | (hφ : Cutoff R L φ) (hK : KernelBound C K) (x z : Space) : |
| 46 | ‖integrand φ K g x z‖ ≤ (C * (96 * L ^ 6)) * |
| 47 | (nearKernel R z * weightedNorm φ g (x - z) + remainderKernel R z * ‖g (x - z)‖) := by |
| 48 | have hn := scaled_nonneg hφ.radius_pos nearBase_nonneg z |
| 49 | have hr := scaled_nonneg hφ.radius_pos (radialProfile_nonneg 3 (-3)) z |
| 50 | change 0 ≤ nearKernel R z at hn |
| 51 | change 0 ≤ remainderKernel R z at hr |
| 52 | by_cases hz : z = 0 |
| 53 | · subst z |
| 54 | simp only [integrand, sub_zero, sub_self, Complex.ofReal_zero, zero_mul, norm_zero] |
| 55 | exact mul_nonneg (mul_nonneg hK.constant_nonneg (by positivity)) |
| 56 | (add_nonneg (mul_nonneg hn (mul_nonneg (pow_nonneg (hφ.range x).1 _) (norm_nonneg _))) |
| 57 | (mul_nonneg hr (norm_nonneg _))) |
| 58 | have hd : |φ x - φ (x - z)| ≤ L * (‖z‖ / R) := by |
| 59 | simpa only [sub_sub_cancel] using hφ.difference x (x - z) |
| 60 | have hb := cutoff_kernel_bound hφ.radius_pos hφ.constant_ge_one |
| 61 | (hφ.range x) (hφ.range (x - z)) z hd |
| 62 | simp only [integrand, norm_mul, Complex.norm_real, Real.norm_eq_abs] |
| 63 | calc |
| 64 | _ ≤ |φ x ^ 6 - φ (x - z) ^ 6| * (C * ‖z‖ ^ (-3 : ℝ)) * ‖g (x - z)‖ := by |
| 65 | gcongr |
| 66 | exact hK.bound z hz |
| 67 | _ = C * (‖z‖ ^ (-3 : ℝ) * |φ x ^ 6 - φ (x - z) ^ 6|) * ‖g (x - z)‖ := by ring |
| 68 | _ ≤ C * ((96 * L ^ 6) * (nearKernel R z * φ (x - z) ^ 5 + remainderKernel R z)) * |
| 69 | ‖g (x - z)‖ := by |
| 70 | gcongr |
| 71 | exact hK.constant_nonneg |
| 72 | _ = _ := by unfold weightedNorm; ring |
| 73 | |
| 74 | theorem commutator_aestronglyMeasurable {R L C : ℝ} {φ : Space → ℝ} {K g : Space → ℂ} |
| 75 | (hφ : Cutoff R L φ) (hK : KernelBound C K) (hg : Measurable g) : |
| 76 | AEStronglyMeasurable (commutator φ K g) := by |
| 77 | unfold commutator |
| 78 | apply AEStronglyMeasurable.integral_prod_right' (f := fun p : Space × Space => integrand φ K g p.1 p.2) |
| 79 | unfold integrand |
| 80 | have hφm := hφ.measurable |
| 81 | have hKm := hK.measurable |
| 82 | exact (by fun_prop : Measurable (fun p : Space × Space => |
| 83 | ((φ p.1 ^ 6 - φ (p.1 - p.2) ^ 6 : ℝ) : ℂ) * K p.2 * g (p.1 - p.2))).aestronglyMeasurable |
| 84 | |
| 85 | theorem ae_integrable_and_bound {R L C : ℝ} {φ : Space → ℝ} {K g : Space → ℂ} |
| 86 | (hφ : Cutoff R L φ) (hK : KernelBound C K) (hg : Measurable g) |
| 87 | (hg₁ : MemLp g 1) (hw : MemLp (weightedNorm φ g) (3 / 2)) : |
| 88 | ∀ᵐ x ∂volume, Integrable (integrand φ K g x) ∧ |
| 89 | ‖commutator φ K g x‖ ≤ majorizingFunction R L C φ g x := by |
| 90 | have hnm : Measurable (nearKernel R) := scaled_measurable R nearBase_measurable |
| 91 | have hrm : Measurable (remainderKernel R) := scaled_measurable R (radialProfile_measurable 3 (-3)) |
| 92 | have hwm : Measurable (weightedNorm φ g) := (hφ.measurable.pow_const 5).mul hg.norm |
| 93 | have hnear := ae_integrable_six_fifths_three_halves hnm hwm |
| 94 | (nearKernel_memLp hφ.radius_pos) hw |
| 95 | have hfar := ae_integrable_two_one hrm hg.norm (remainderKernel_memLp hφ.radius_pos) hg₁.norm |
| 96 | filter_upwards [hnear, hfar] with x hnx hrx |
| 97 | have hsum := (hnx.add hrx).const_mul (C * (96 * L ^ 6)) |
| 98 | have hφm := hφ.measurable |
| 99 | have hKm := hK.measurable |
| 100 | have him : AEStronglyMeasurable (integrand φ K g x) := by |
| 101 | unfold integrand |
| 102 | fun_prop |
| 103 | refine ⟨hsum.mono' him (Eventually.of_forall (integrand_bound hφ hK x)), ?_⟩ |
| 104 | have hb := norm_integral_le_of_norm_le hsum (Eventually.of_forall (integrand_bound hφ hK x)) |
| 105 | simpa only [commutator, majorizingFunction, integral_const_mul, Pi.add_apply, integral_add hnx hrx, |
| 106 | scalarConvolution] using hb |
| 107 | |
| 108 | theorem majorizingFunction_memLp {R L C : ℝ} {φ : Space → ℝ} {g : Space → ℂ} |
| 109 | (hφ : Cutoff R L φ) (hg : Measurable g) |
| 110 | (hg₁ : MemLp g 1) (hw : MemLp (weightedNorm φ g) (3 / 2)) : |
| 111 | MemLp (majorizingFunction R L C φ g) 2 := by |
| 112 | have hn := scalarConvolution_memLp_six_fifths_three_halves |
| 113 | (scaled_measurable R nearBase_measurable) ((hφ.measurable.pow_const 5).mul hg.norm) |
| 114 | (nearKernel_memLp hφ.radius_pos) hw |
| 115 | have hr := scalarConvolution_memLp_two_one |
| 116 | (scaled_measurable R (radialProfile_measurable 3 (-3))) hg.norm |
| 117 | (remainderKernel_memLp hφ.radius_pos) hg₁.norm |
| 118 | exact (hn.add hr).const_mul _ |
| 119 | |
| 120 | theorem commutator_memLp {R L C : ℝ} {φ : Space → ℝ} {K g : Space → ℂ} |
| 121 | (hφ : Cutoff R L φ) (hK : KernelBound C K) (hg : Measurable g) |
| 122 | (hg₁ : MemLp g 1) (hw : MemLp (weightedNorm φ g) (3 / 2)) : |
| 123 | MemLp (commutator φ K g) 2 := |
| 124 | (majorizingFunction_memLp (C := C) hφ hg hg₁ hw).mono' |
| 125 | (commutator_aestronglyMeasurable hφ hK hg) |
| 126 | ((ae_integrable_and_bound hφ hK hg hg₁ hw).mono fun _ h => h.2) |
| 127 | |
| 128 | theorem majorizingFunction_lpNorm {R L C : ℝ} {φ : Space → ℝ} {g : Space → ℂ} |
| 129 | (hφ : Cutoff R L φ) (hC : 0 ≤ C) (hg : Measurable g) |
| 130 | (hg₁ : MemLp g 1) (hw : MemLp (weightedNorm φ g) (3 / 2)) : |
| 131 | lpNorm (majorizingFunction R L C φ g) 2 volume ≤ (C * (96 * L ^ 6)) * |
| 132 | (R ^ (-1 / 2 : ℝ) * lpNorm nearBase (6 / 5) volume * lpNorm (weightedNorm φ g) (3 / 2) volume + |
| 133 | R ^ (-3 / 2 : ℝ) * lpNorm remainderBase 2 volume * lpNorm g 1 volume) := by |
| 134 | have hnm : Measurable (nearKernel R) := scaled_measurable R nearBase_measurable |
| 135 | have hrm : Measurable (remainderKernel R) := scaled_measurable R (radialProfile_measurable 3 (-3)) |
| 136 | have hwm : Measurable (weightedNorm φ g) := (hφ.measurable.pow_const 5).mul hg.norm |
| 137 | have hn := scalarConvolution_memLp_six_fifths_three_halves hnm hwm |
| 138 | (nearKernel_memLp hφ.radius_pos) hw |
| 139 | have hb₁ := lpNorm_scalarConvolution_six_fifths_three_halves hnm hwm |
| 140 | (nearKernel_memLp hφ.radius_pos) hw |
| 141 | have hb₂ := lpNorm_scalarConvolution_two_one hrm hg.norm |
| 142 | (remainderKernel_memLp hφ.radius_pos) hg₁.norm |
| 143 | rw [nearKernel_lpNorm hφ.radius_pos] at hb₁ |
| 144 | rw [remainderKernel_lpNorm hφ.radius_pos, lpNorm_norm hg₁.1] at hb₂ |
| 145 | have hc : 0 ≤ C * (96 * L ^ 6) := mul_nonneg hC (by positivity) |
| 146 | change lpNorm ((C * (96 * L ^ 6)) • |
| 147 | (scalarConvolution (nearKernel R) (weightedNorm φ g) + |
| 148 | scalarConvolution (remainderKernel R) (fun y => ‖g y‖))) 2 volume ≤ _ |
| 149 | rw [lpNorm_const_smul, coe_nnnorm, Real.norm_eq_abs, abs_of_nonneg hc] |
| 150 | apply mul_le_mul_of_nonneg_left _ hc |
| 151 | exact (lpNorm_add_le hn (by norm_num)).trans (add_le_add hb₁ hb₂) |
| 152 | |
| 153 | /-- The pressure commutator estimate, including both powers of the cutoff radius. -/ |
| 154 | theorem commutator_lpNorm {R L C : ℝ} {φ : Space → ℝ} {K g : Space → ℂ} |
| 155 | (hφ : Cutoff R L φ) (hK : KernelBound C K) (hg : Measurable g) |
| 156 | (hg₁ : MemLp g 1) (hw : MemLp (weightedNorm φ g) (3 / 2)) : |
| 157 | lpNorm (commutator φ K g) 2 volume ≤ (C * (96 * L ^ 6)) * |
| 158 | (R ^ (-1 / 2 : ℝ) * lpNorm nearBase (6 / 5) volume * lpNorm (weightedNorm φ g) (3 / 2) volume + |
| 159 | R ^ (-3 / 2 : ℝ) * lpNorm remainderBase 2 volume * lpNorm g 1 volume) := by |
| 160 | have hm := majorizingFunction_memLp (C := C) hφ hg hg₁ hw |
| 161 | have hb := ENNReal.toReal_mono hm.2.ne (eLpNorm_mono_ae_real |
| 162 | ((ae_integrable_and_bound hφ hK hg hg₁ hw).mono fun _ h => h.2) (p := 2)) |
| 163 | rw [toReal_eLpNorm (commutator_aestronglyMeasurable hφ hK hg), toReal_eLpNorm hm.1] at hb |
| 164 | exact hb.trans (majorizingFunction_lpNorm hφ hK.constant_nonneg hg hg₁ hw) |
| 165 | |
| 166 | |
| 167 | /-- Pointwise convergence away from the singularity passes through the |
| 168 | absolutely convergent commutator integral. -/ |
| 169 | theorem commutator_tendsto_ae {R L C : ℝ} {φ : Space → ℝ} |
| 170 | {K : ℕ → Space → ℂ} {K₀ g : Space → ℂ} |
| 171 | (hφ : Cutoff R L φ) (hK : ∀ n, KernelBound C (K n)) |
| 172 | (hg : Measurable g) (hg₁ : MemLp g 1) (hw : MemLp (weightedNorm φ g) (3 / 2)) |
| 173 | (hlim : ∀ z, z ≠ 0 → Tendsto (fun n => K n z) atTop (𝓝 (K₀ z))) : |
| 174 | ∀ᵐ x ∂volume, Tendsto (fun n => commutator φ (K n) g x) atTop |
| 175 | (𝓝 (commutator φ K₀ g x)) := by |
| 176 | have hnm : Measurable (nearKernel R) := scaled_measurable R nearBase_measurable |
| 177 | have hrm : Measurable (remainderKernel R) := scaled_measurable R (radialProfile_measurable 3 (-3)) |
| 178 | have hwm : Measurable (weightedNorm φ g) := (hφ.measurable.pow_const 5).mul hg.norm |
| 179 | have hnear := ae_integrable_six_fifths_three_halves hnm hwm |
| 180 | (nearKernel_memLp hφ.radius_pos) hw |
| 181 | have hfar := ae_integrable_two_one hrm hg.norm (remainderKernel_memLp hφ.radius_pos) hg₁.norm |
| 182 | filter_upwards [hnear, hfar] with x hnx hrx |
| 183 | apply tendsto_integral_of_dominated_convergence |
| 184 | (fun z => (C * (96 * L ^ 6)) * |
| 185 | (nearKernel R z * weightedNorm φ g (x - z) + remainderKernel R z * ‖g (x - z)‖)) |
| 186 | · intro n |
| 187 | have hφm := hφ.measurable |
| 188 | have hKm := (hK n).measurable |
| 189 | unfold integrand |
| 190 | fun_prop |
| 191 | · exact (hnx.add hrx).const_mul _ |
| 192 | · intro n |
| 193 | exact Eventually.of_forall (integrand_bound hφ (hK n) x) |
| 194 | · apply Eventually.of_forall |
| 195 | intro z |
| 196 | by_cases hz : z = 0 |
| 197 | · subst z |
| 198 | simpa only [integrand, sub_zero, sub_self, Complex.ofReal_zero, zero_mul] using |
| 199 | (tendsto_const_nhds : Tendsto (fun _ : ℕ => (0 : ℂ)) atTop (𝓝 0)) |
| 200 | · exact (tendsto_const_nhds.mul (hlim z hz)).mul tendsto_const_nhds |
| 201 | |
| 202 | /-- A dominated convergence lemma at the exact exponent used by the |
| 203 | pressure operator. The common bound is an actual `L²` function. -/ |
| 204 | theorem tendsto_lpNorm_two_of_dominated {F : ℕ → Space → ℂ} {f : Space → ℂ} {B : Space → ℝ} |
| 205 | (hF : ∀ n, AEStronglyMeasurable (F n)) (hf : AEStronglyMeasurable f) |
| 206 | (hB : MemLp B 2) |
| 207 | (hFB : ∀ n, ∀ᵐ x ∂volume, ‖F n x‖ ≤ B x) (hfB : ∀ᵐ x ∂volume, ‖f x‖ ≤ B x) |
| 208 | (hlim : ∀ᵐ x ∂volume, Tendsto (fun n => F n x) atTop (𝓝 (f x))) : |
| 209 | Tendsto (fun n => lpNorm (fun x => F n x - f x) 2 volume) atTop (𝓝 0) := by |
| 210 | have hBsq : Integrable (fun x => B x ^ 2) := by |
| 211 | simpa only [Real.norm_eq_abs, sq_abs] using (memLp_two_iff_integrable_sq_norm hB.1).mp hB |
| 212 | have hint := tendsto_integral_of_dominated_convergence |
| 213 | (fun x => 4 * B x ^ 2) |
| 214 | (F := fun n x => ‖F n x - f x‖ ^ 2) (f := fun _ => (0 : ℝ)) |
| 215 | (fun n => ((hF n).sub hf).norm.pow 2) (hBsq.const_mul 4) |
| 216 | have hh : ∀ n, ∀ᵐ x ∂volume, ‖‖F n x - f x‖ ^ 2‖ ≤ 4 * B x ^ 2 := by |
| 217 | intro n |
| 218 | filter_upwards [hFB n, hfB] with x hx hy |
| 219 | rw [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] |
| 220 | have hnorm := norm_sub_le (F n x) (f x) |
| 221 | have hpos := norm_nonneg (F n x - f x) |
| 222 | nlinarith [sq_nonneg (2 * B x - ‖F n x - f x‖)] |
| 223 | have hz : ∀ᵐ x ∂volume, Tendsto (fun n => ‖F n x - f x‖ ^ 2) atTop (𝓝 0) := by |
| 224 | filter_upwards [hlim] with x hx |
| 225 | simpa only [sub_self, norm_zero, zero_pow (by norm_num : (2 : ℕ) ≠ 0)] using |
| 226 | (hx.sub (tendsto_const_nhds (x := f x))).norm.pow 2 |
| 227 | have ht : Tendsto (fun n => ∫ x : Space, ‖F n x - f x‖ ^ 2) atTop (𝓝 0) := by |
| 228 | simpa only [integral_zero] using hint hh hz |
| 229 | have hp := ht.rpow_const (p := (1 / 2 : ℝ)) (Or.inr (by norm_num)) |
| 230 | have he (n : ℕ) : lpNorm (fun x => F n x - f x) 2 volume = |
| 231 | (∫ x : Space, ‖F n x - f x‖ ^ 2) ^ (1 / 2 : ℝ) := by |
| 232 | change lpNorm (F n - f) 2 volume = _ |
| 233 | rw [lpNorm_eq_integral_norm_rpow_toReal (by norm_num : (2 : ℝ≥0∞) ≠ 0) |
| 234 | (by norm_num : (2 : ℝ≥0∞) ≠ ⊤) ((hF n).sub hf)] |
| 235 | norm_num [Pi.sub_apply] |
| 236 | simpa only [he, Real.zero_rpow (by norm_num : (1 / 2 : ℝ) ≠ 0)] using hp |
| 237 | |
| 238 | |
| 239 | /-- The commutators converge strongly in `L²` under a uniform kernel bound. -/ |
| 240 | theorem commutator_tendsto_lpNorm {R L C : ℝ} {φ : Space → ℝ} |
| 241 | {K : ℕ → Space → ℂ} {K₀ g : Space → ℂ} |
| 242 | (hφ : Cutoff R L φ) (hK : ∀ n, KernelBound C (K n)) (hK₀ : KernelBound C K₀) |
| 243 | (hg : Measurable g) (hg₁ : MemLp g 1) (hw : MemLp (weightedNorm φ g) (3 / 2)) |
| 244 | (hlim : ∀ z, z ≠ 0 → Tendsto (fun n => K n z) atTop (𝓝 (K₀ z))) : |
| 245 | Tendsto (fun n => lpNorm (fun x => commutator φ (K n) g x - commutator φ K₀ g x) 2 volume) |
| 246 | atTop (𝓝 0) := |
| 247 | tendsto_lpNorm_two_of_dominated |
| 248 | (fun n => commutator_aestronglyMeasurable hφ (hK n) hg) |
| 249 | (commutator_aestronglyMeasurable hφ hK₀ hg) |
| 250 | (majorizingFunction_memLp hφ hg hg₁ hw) |
| 251 | (fun n => (ae_integrable_and_bound hφ (hK n) hg hg₁ hw).mono fun _ h => h.2) |
| 252 | ((ae_integrable_and_bound hφ hK₀ hg hg₁ hw).mono fun _ h => h.2) |
| 253 | (commutator_tendsto_ae hφ hK hg hg₁ hw hlim) |
| 254 | |
| 255 | end NavierStokes.R3PressureCommutator |