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.ComparatorR3Bridge |
| 2 | import Mathlib.MeasureTheory.Constructions.HaarToSphere |
| 3 | import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals |
| 4 | |
| 5 | /-! |
| 6 | # The integrable commutator majorant in the whole-space comparison |
| 7 | |
| 8 | The manuscript's pressure commutator is bounded by a constant times |
| 9 | `|x|⁻³ min (|x| / R) 1`. Its `4/3` moment scales as `R⁻¹` in |
| 10 | three dimensions. This file proves integrability and that exact scaling; |
| 11 | identifying the Riesz-transform commutator with its kernel is separate. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.R3PressureKernel |
| 17 | |
| 18 | open Set MeasureTheory ProblemStatement |
| 19 | open scoped ENNReal |
| 20 | |
| 21 | def baseKernel (x : Space) : ℝ := |
| 22 | if ‖x‖ < 1 then ‖x‖ ^ (-2 : ℝ) else ‖x‖ ^ (-3 : ℝ) |
| 23 | |
| 24 | def baseMoment (x : Space) : ℝ := |
| 25 | if ‖x‖ < 1 then ‖x‖ ^ (-8 / 3 : ℝ) else ‖x‖ ^ (-4 : ℝ) |
| 26 | |
| 27 | theorem baseKernel_nonneg (x : Space) : 0 ≤ baseKernel x := by |
| 28 | unfold baseKernel |
| 29 | split <;> positivity |
| 30 | |
| 31 | theorem baseMoment_eq (x : Space) : baseKernel x ^ (4 / 3 : ℝ) = baseMoment x := by |
| 32 | unfold baseKernel baseMoment |
| 33 | split <;> rw [← Real.rpow_mul (norm_nonneg x)] <;> norm_num |
| 34 | |
| 35 | theorem baseMoment_integrable : Integrable baseMoment := by |
| 36 | change Integrable (fun x : Space => |
| 37 | if ‖x‖ < 1 then ‖x‖ ^ (-8 / 3 : ℝ) else ‖x‖ ^ (-4 : ℝ)) |
| 38 | apply (integrable_fun_norm_addHaar (volume : Measure Space) |
| 39 | (f := fun r => if r < 1 then r ^ (-8 / 3 : ℝ) else r ^ (-4 : ℝ))).mpr |
| 40 | have hnear : IntegrableOn (fun r : ℝ => r ^ (-2 / 3 : ℝ)) (Ioo 0 1) := by |
| 41 | rw [intervalIntegral.integrableOn_Ioo_rpow_iff (by norm_num : (0 : ℝ) < 1)] |
| 42 | norm_num |
| 43 | have hfar : IntegrableOn (fun r : ℝ => r ^ (-2 : ℝ)) (Ici 1) := |
| 44 | (integrableOn_Ici_iff_integrableOn_Ioi).mpr |
| 45 | (integrableOn_Ioi_rpow_of_lt (by norm_num) (by norm_num)) |
| 46 | have hnear' : IntegrableOn |
| 47 | (fun r : ℝ => r ^ (Module.finrank ℝ Space - 1) • |
| 48 | (if r < 1 then r ^ (-8 / 3 : ℝ) else r ^ (-4 : ℝ))) (Ioo 0 1) := by |
| 49 | apply hnear.congr_fun _ measurableSet_Ioo |
| 50 | intro r hr |
| 51 | simp only [ite_eq_left hr.2, smul_eq_mul] |
| 52 | norm_num |
| 53 | rw [← Real.rpow_natCast, ← Real.rpow_add hr.1] |
| 54 | norm_num |
| 55 | have hfar' : IntegrableOn |
| 56 | (fun r : ℝ => r ^ (Module.finrank ℝ Space - 1) • |
| 57 | (if r < 1 then r ^ (-8 / 3 : ℝ) else r ^ (-4 : ℝ))) (Ici 1) := by |
| 58 | apply hfar.congr_fun _ measurableSet_Ici |
| 59 | intro r hr |
| 60 | change 1 ≤ r at hr |
| 61 | simp only [ite_eq_right (not_lt.mpr hr), smul_eq_mul] |
| 62 | norm_num |
| 63 | field_simp |
| 64 | have hsets : Ioo (0 : ℝ) 1 ∪ Ici 1 = Ioi 0 := by |
| 65 | ext r |
| 66 | simp only [mem_union, mem_Ioo, mem_Ici, mem_Ioi] |
| 67 | constructor |
| 68 | · rintro (h | h) <;> linarith |
| 69 | · intro h |
| 70 | by_cases hr : r < 1 |
| 71 | · exact Or.inl ⟨h, hr⟩ |
| 72 | · exact Or.inr (not_lt.mp hr) |
| 73 | simpa only [hsets] using hnear'.union hfar' |
| 74 | |
| 75 | def kernel (R : ℝ) (x : Space) : ℝ := R ^ (-3 : ℝ) * baseKernel (R⁻¹ • x) |
| 76 | |
| 77 | theorem kernel_eq_majorant {R : ℝ} (hR : 0 < R) (x : Space) : |
| 78 | kernel R x = ‖x‖ ^ (-3 : ℝ) * min (‖x‖ / R) 1 := by |
| 79 | by_cases hx : x = 0 |
| 80 | · simp [kernel, baseKernel, hx] |
| 81 | have hxpos : 0 < ‖x‖ := norm_pos_iff.mpr hx |
| 82 | simp only [kernel, baseKernel, norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hR)] |
| 83 | by_cases hr : ‖x‖ < R |
| 84 | · have hi : R⁻¹ * ‖x‖ < 1 := by |
| 85 | rw [inv_mul_lt_iff₀ hR] |
| 86 | simpa using hr |
| 87 | rw [ite_eq_left hi, min_eq_left ((div_le_one hR).mpr hr.le)] |
| 88 | norm_num |
| 89 | field_simp |
| 90 | · have hi : ¬ R⁻¹ * ‖x‖ < 1 := by |
| 91 | rw [inv_mul_lt_iff₀ hR] |
| 92 | simpa using hr |
| 93 | rw [ite_eq_right hi, min_eq_right ((one_le_div hR).mpr (not_lt.mp hr))] |
| 94 | norm_num |
| 95 | field_simp |
| 96 | |
| 97 | theorem kernel_nonneg {R : ℝ} (hR : 0 < R) (x : Space) : 0 ≤ kernel R x := |
| 98 | mul_nonneg (Real.rpow_nonneg hR.le _) (baseKernel_nonneg _) |
| 99 | |
| 100 | theorem kernel_moment {R : ℝ} (hR : 0 < R) (x : Space) : |
| 101 | kernel R x ^ (4 / 3 : ℝ) = R ^ (-4 : ℝ) * baseMoment (R⁻¹ • x) := by |
| 102 | rw [kernel, Real.mul_rpow (Real.rpow_nonneg hR.le _) (baseKernel_nonneg _), |
| 103 | ← Real.rpow_mul hR.le, baseMoment_eq] |
| 104 | norm_num |
| 105 | |
| 106 | theorem kernel_moment_integrable {R : ℝ} (hR : 0 < R) : |
| 107 | Integrable (fun x : Space => kernel R x ^ (4 / 3 : ℝ)) := by |
| 108 | simp_rw [kernel_moment hR] |
| 109 | exact (baseMoment_integrable.comp_smul (inv_ne_zero hR.ne')).const_mul _ |
| 110 | |
| 111 | /-- This is the `R⁻¹` fourth-thirds moment bound in equation |
| 112 | `global:kernel-bound`, with an exact constant independent of `R`. -/ |
| 113 | theorem integral_kernel_moment {R : ℝ} (hR : 0 < R) : |
| 114 | (∫ x : Space, kernel R x ^ (4 / 3 : ℝ)) = R⁻¹ * (∫ x : Space, baseMoment x) := by |
| 115 | simp_rw [kernel_moment hR] |
| 116 | rw [integral_const_mul, Measure.integral_comp_inv_smul_of_nonneg volume baseMoment hR.le] |
| 117 | simp only [smul_eq_mul] |
| 118 | norm_num |
| 119 | field_simp |
| 120 | |
| 121 | theorem kernel_measurable (R : ℝ) : Measurable (kernel R) := by |
| 122 | unfold kernel baseKernel |
| 123 | apply measurable_const.mul |
| 124 | exact Measurable.ite (by measurability) (by fun_prop) (by fun_prop) |
| 125 | |
| 126 | theorem kernel_memLp {R : ℝ} (hR : 0 < R) : MemLp (kernel R) (4 / 3) := by |
| 127 | apply (integrable_norm_rpow_iff (kernel_measurable R).aestronglyMeasurable |
| 128 | (by norm_num : (4 / 3 : ℝ≥0∞) ≠ 0) (by finiteness : (4 / 3 : ℝ≥0∞) ≠ ⊤)).mp |
| 129 | simpa only [ENNReal.toReal_div, ENNReal.toReal_ofNat, Real.norm_eq_abs, |
| 130 | abs_of_nonneg (kernel_nonneg hR _)] using kernel_moment_integrable hR |
| 131 | |
| 132 | /-- The commutator majorant has precisely the required `R⁻³⁄⁴` norm. -/ |
| 133 | theorem kernel_lpNorm {R : ℝ} (hR : 0 < R) : |
| 134 | lpNorm (kernel R) (4 / 3) volume = |
| 135 | R ^ (-3 / 4 : ℝ) * (∫ x : Space, baseMoment x) ^ (3 / 4 : ℝ) := by |
| 136 | rw [lpNorm_eq_integral_norm_rpow_toReal (by norm_num) (by finiteness) |
| 137 | (kernel_measurable R).aestronglyMeasurable] |
| 138 | simp only [ENNReal.toReal_div, ENNReal.toReal_ofNat, Real.norm_eq_abs, |
| 139 | abs_of_nonneg (kernel_nonneg hR _)] |
| 140 | rw [integral_kernel_moment hR, Real.mul_rpow (inv_nonneg.mpr hR.le) |
| 141 | (integral_nonneg (fun x => by |
| 142 | rw [← baseMoment_eq] |
| 143 | exact Real.rpow_nonneg (baseKernel_nonneg x) _))] |
| 144 | norm_num |
| 145 | rw [Real.inv_rpow hR.le, ← Real.rpow_neg hR.le] |
| 146 | simp |
| 147 | |
| 148 | /-- A refined cutoff difference for an `L²` pressure decomposition. The |
| 149 | first term keeps five powers of the cutoff at the integration variable; |
| 150 | the second has enough powers of the distance to be locally square integrable |
| 151 | after multiplication by the Riesz kernel. -/ |
| 152 | theorem power_six_difference {a b d : ℝ} (ha : 0 ≤ a) (hb : 0 ≤ b) (hd : 0 ≤ d) |
| 153 | (hab : |a - b| ≤ d) : |a ^ 6 - b ^ 6| ≤ 96 * (d * b ^ 5 + d ^ 6) := by |
| 154 | have hmax : max |a| |b| ≤ b + d := by |
| 155 | rw [abs_of_nonneg ha, abs_of_nonneg hb] |
| 156 | apply max_le |
| 157 | · linarith [le_abs_self (a - b)] |
| 158 | · linarith |
| 159 | calc |
| 160 | |a ^ 6 - b ^ 6| ≤ |a - b| * 6 * max |a| |b| ^ (6 - 1) := abs_pow_sub_pow_le a b 6 |
| 161 | _ ≤ d * 6 * (b + d) ^ 5 := by |
| 162 | norm_num |
| 163 | gcongr |
| 164 | _ ≤ d * 6 * (2 ^ (5 - 1) * (b ^ 5 + d ^ 5)) := |
| 165 | mul_le_mul_of_nonneg_left (add_pow_le hb hd 5) (by positivity) |
| 166 | _ = 96 * (d * b ^ 5 + d ^ 6) := by ring |
| 167 | |
| 168 | end NavierStokes.R3PressureKernel |