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.R3.ComparisonSetup |
| 2 | import Mathlib.MeasureTheory.Measure.Haar.NormedSpace |
| 3 | import Mathlib.MeasureTheory.Integral.Layercake |
| 4 | import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals |
| 5 | |
| 6 | /-! |
| 7 | # The radial majorant of the cutoff commutator |
| 8 | |
| 9 | The cancellation factor `min (‖z‖ / R) 1` makes the singular kernel belong to |
| 10 | `L^(4/3)` in three dimensions. The proof uses the layer-cake formula and the |
| 11 | volume of balls, so no principal-value integral occurs in this module. |
| 12 | -/ |
| 13 | |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open Set MeasureTheory |
| 18 | open scoped ENNReal NNReal |
| 19 | |
| 20 | namespace NavierStokesR3.Comparison |
| 21 | |
| 22 | open ProblemStatement |
| 23 | |
| 24 | /-- The positive radial majorant after inserting the cutoff difference. -/ |
| 25 | def radialCommutatorKernel (R : ℝ) (z : Space) : ℝ := |
| 26 | ‖z‖ ^ (-3 : ℝ) * min (‖z‖ / R) 1 |
| 27 | |
| 28 | theorem radialCommutatorKernel_nonneg {R : ℝ} (hR : 0 < R) (z : Space) : |
| 29 | 0 ≤ radialCommutatorKernel R z := by |
| 30 | unfold radialCommutatorKernel |
| 31 | positivity |
| 32 | |
| 33 | theorem radialCommutatorKernel_measurable (R : ℝ) : |
| 34 | Measurable (radialCommutatorKernel R) := by |
| 35 | unfold radialCommutatorKernel |
| 36 | fun_prop |
| 37 | |
| 38 | @[simp] theorem radialCommutatorKernel_zero (R : ℝ) : |
| 39 | radialCommutatorKernel R 0 = 0 := by |
| 40 | simp [radialCommutatorKernel] |
| 41 | |
| 42 | private theorem kernel_one_le_cube (z : Space) : |
| 43 | radialCommutatorKernel 1 z ≤ ‖z‖ ^ (-3 : ℝ) := by |
| 44 | unfold radialCommutatorKernel |
| 45 | exact mul_le_of_le_one_right (Real.rpow_nonneg (norm_nonneg _) _) (min_le_right _ _) |
| 46 | |
| 47 | private theorem kernel_one_le_square (z : Space) : |
| 48 | radialCommutatorKernel 1 z ≤ ‖z‖ ^ (-2 : ℝ) := by |
| 49 | by_cases hz : z = 0 |
| 50 | · simp [hz] |
| 51 | have hn : 0 < ‖z‖ := norm_pos_iff.mpr hz |
| 52 | calc |
| 53 | radialCommutatorKernel 1 z ≤ ‖z‖ ^ (-3 : ℝ) * ‖z‖ := by |
| 54 | unfold radialCommutatorKernel |
| 55 | gcongr |
| 56 | simp |
| 57 | _ = ‖z‖ ^ (-2 : ℝ) := by |
| 58 | calc |
| 59 | _ = ‖z‖ ^ (-3 : ℝ) * ‖z‖ ^ (1 : ℝ) := by rw [Real.rpow_one] |
| 60 | _ = _ := by rw [← Real.rpow_add hn]; norm_num |
| 61 | |
| 62 | private theorem kernel_one_power_le_four (z : Space) : |
| 63 | radialCommutatorKernel 1 z ^ (4 / 3 : ℝ) ≤ ‖z‖ ^ (-4 : ℝ) := by |
| 64 | calc |
| 65 | _ ≤ (‖z‖ ^ (-3 : ℝ)) ^ (4 / 3 : ℝ) := |
| 66 | Real.rpow_le_rpow (radialCommutatorKernel_nonneg (by norm_num) z) |
| 67 | (kernel_one_le_cube z) (by norm_num) |
| 68 | _ = _ := by rw [← Real.rpow_mul (norm_nonneg _)]; norm_num |
| 69 | |
| 70 | private theorem kernel_one_power_le_eight_thirds (z : Space) : |
| 71 | radialCommutatorKernel 1 z ^ (4 / 3 : ℝ) ≤ ‖z‖ ^ (-(8 / 3) : ℝ) := by |
| 72 | calc |
| 73 | _ ≤ (‖z‖ ^ (-2 : ℝ)) ^ (4 / 3 : ℝ) := |
| 74 | Real.rpow_le_rpow (radialCommutatorKernel_nonneg (by norm_num) z) |
| 75 | (kernel_one_le_square z) (by norm_num) |
| 76 | _ = _ := by rw [← Real.rpow_mul (norm_nonneg _)]; norm_num |
| 77 | |
| 78 | private theorem levelset_measure_le_ball {f : Space → ℝ} {q t : ℝ} |
| 79 | (hq : q < 0) (ht : 0 < t) (hf : ∀ z, f z ≤ ‖z‖ ^ q) : |
| 80 | volume {z | t ≤ f z} ≤ volume (Metric.closedBall (0 : Space) (t ^ q⁻¹)) := by |
| 81 | apply measure_mono |
| 82 | intro z hz |
| 83 | have hn : 0 < ‖z‖ := by |
| 84 | by_contra hn |
| 85 | have hnz : ‖z‖ = 0 := le_antisymm (not_lt.mp hn) (norm_nonneg _) |
| 86 | have := hz.trans (hf z) |
| 87 | rw [hnz, Real.zero_rpow hq.ne] at this |
| 88 | exact (not_le_of_gt ht) this |
| 89 | rw [Metric.mem_closedBall, dist_zero_right] |
| 90 | exact (Real.le_rpow_inv_iff_of_neg hn ht hq).mpr (hz.trans (hf z)) |
| 91 | |
| 92 | private theorem ball_measure_power (t q : ℝ) (ht : 0 < t) : |
| 93 | volume (Metric.closedBall (0 : Space) (t ^ q)) = |
| 94 | ENNReal.ofReal (t ^ (q * 3)) * volume (Metric.ball (0 : Space) 1) := by |
| 95 | rw [Measure.addHaar_closedBall volume (0 : Space) (Real.rpow_nonneg ht.le _)] |
| 96 | congr 2 |
| 97 | simp only [Space, NavierStokes.ProblemStatement.Space, finrank_euclideanSpace, |
| 98 | Fintype.card_fin] |
| 99 | rw [Real.rpow_mul ht.le] |
| 100 | exact (Real.rpow_natCast (t ^ q) 3).symm |
| 101 | |
| 102 | private theorem kernel_one_power_integrable : |
| 103 | Integrable (fun z : Space => radialCommutatorKernel 1 z ^ (4 / 3 : ℝ)) := by |
| 104 | let f : Space → ℝ := fun z => radialCommutatorKernel 1 z ^ (4 / 3 : ℝ) |
| 105 | have hm : Measurable f := (radialCommutatorKernel_measurable 1).pow_const _ |
| 106 | have hn : ∀ z, 0 ≤ f z := fun z => |
| 107 | Real.rpow_nonneg (radialCommutatorKernel_nonneg (by norm_num) z) _ |
| 108 | refine ⟨hm.aestronglyMeasurable, ?_⟩ |
| 109 | change HasFiniteIntegral f volume |
| 110 | rw [hasFiniteIntegral_iff_enorm, lintegral_enorm_of_nonneg hn, |
| 111 | lintegral_eq_lintegral_meas_le volume (Filter.Eventually.of_forall hn) hm.aemeasurable] |
| 112 | calc |
| 113 | (∫⁻ t in Ioi (0 : ℝ), volume {z | t ≤ f z}) ≤ |
| 114 | ∫⁻ t in Ioc (0 : ℝ) 1 ∪ Ioi 1, volume {z | t ≤ f z} := |
| 115 | lintegral_mono_set Ioi_subset_Ioc_union_Ioi |
| 116 | _ ≤ (∫⁻ t in Ioc (0 : ℝ) 1, volume {z | t ≤ f z}) + |
| 117 | ∫⁻ t in Ioi (1 : ℝ), volume {z | t ≤ f z} := lintegral_union_le _ _ _ |
| 118 | _ < ∞ := by |
| 119 | apply ENNReal.add_lt_top.mpr |
| 120 | constructor |
| 121 | · calc |
| 122 | (∫⁻ t in Ioc (0 : ℝ) 1, volume {z | t ≤ f z}) ≤ |
| 123 | ∫⁻ t in Ioc (0 : ℝ) 1, |
| 124 | ENNReal.ofReal (t ^ (-(3 / 4) : ℝ)) * |
| 125 | volume (Metric.ball (0 : Space) 1) := by |
| 126 | apply setLIntegral_mono' measurableSet_Ioc |
| 127 | intro t ht |
| 128 | calc |
| 129 | volume {z | t ≤ f z} ≤ |
| 130 | volume (Metric.closedBall (0 : Space) (t ^ ((-4 : ℝ)⁻¹))) := |
| 131 | levelset_measure_le_ball (by norm_num) ht.1 kernel_one_power_le_four |
| 132 | _ = _ := by |
| 133 | rw [ball_measure_power t _ ht.1] |
| 134 | norm_num |
| 135 | _ < ∞ := by |
| 136 | rw [lintegral_mul_const' _ _ measure_ball_lt_top.ne] |
| 137 | apply ENNReal.mul_lt_top _ measure_ball_lt_top |
| 138 | apply IntegrableOn.setLIntegral_lt_top |
| 139 | rw [← intervalIntegrable_iff_integrableOn_Ioc_of_le zero_le_one] |
| 140 | exact intervalIntegral.intervalIntegrable_rpow' (by norm_num) |
| 141 | · calc |
| 142 | (∫⁻ t in Ioi (1 : ℝ), volume {z | t ≤ f z}) ≤ |
| 143 | ∫⁻ t in Ioi (1 : ℝ), |
| 144 | ENNReal.ofReal (t ^ (-(9 / 8) : ℝ)) * |
| 145 | volume (Metric.ball (0 : Space) 1) := by |
| 146 | apply setLIntegral_mono' measurableSet_Ioi |
| 147 | intro t ht |
| 148 | have ht0 : 0 < t := zero_lt_one.trans ht |
| 149 | calc |
| 150 | volume {z | t ≤ f z} ≤ |
| 151 | volume (Metric.closedBall (0 : Space) (t ^ ((-(8 / 3) : ℝ)⁻¹))) := |
| 152 | levelset_measure_le_ball (by norm_num) ht0 kernel_one_power_le_eight_thirds |
| 153 | _ = _ := by |
| 154 | rw [ball_measure_power t _ ht0] |
| 155 | norm_num |
| 156 | _ < ∞ := by |
| 157 | rw [lintegral_mul_const' _ _ measure_ball_lt_top.ne] |
| 158 | exact ENNReal.mul_lt_top |
| 159 | (IntegrableOn.setLIntegral_lt_top |
| 160 | (integrableOn_Ioi_rpow_of_lt (by norm_num) zero_lt_one)) |
| 161 | measure_ball_lt_top |
| 162 | |
| 163 | /-- Dilation of the cutoff kernel. -/ |
| 164 | theorem radialCommutatorKernel_scale {R : ℝ} (hR : 0 < R) (z : Space) : |
| 165 | radialCommutatorKernel R z = |
| 166 | R ^ (-3 : ℝ) * radialCommutatorKernel 1 (R⁻¹ • z) := by |
| 167 | simp only [radialCommutatorKernel, norm_smul, Real.norm_eq_abs, |
| 168 | abs_of_pos (inv_pos.mpr hR), div_one] |
| 169 | rw [Real.mul_rpow (inv_nonneg.mpr hR.le) (norm_nonneg z), Real.inv_rpow hR.le] |
| 170 | have hpow : R ^ (-3 : ℝ) ≠ 0 := (Real.rpow_pos_of_pos hR _).ne' |
| 171 | simp only [div_eq_mul_inv, mul_comm R⁻¹ ‖z‖] |
| 172 | field_simp |
| 173 | |
| 174 | private theorem kernel_power_scale {R : ℝ} (hR : 0 < R) (z : Space) : |
| 175 | radialCommutatorKernel R z ^ (4 / 3 : ℝ) = |
| 176 | R ^ (-4 : ℝ) * radialCommutatorKernel 1 (R⁻¹ • z) ^ (4 / 3 : ℝ) := by |
| 177 | rw [radialCommutatorKernel_scale hR, Real.mul_rpow (Real.rpow_nonneg hR.le _) |
| 178 | (radialCommutatorKernel_nonneg (by norm_num) _), ← Real.rpow_mul hR.le] |
| 179 | norm_num |
| 180 | |
| 181 | /-- The `4/3` power of the radial kernel is integrable. -/ |
| 182 | theorem radialCommutatorKernel_power_integrable {R : ℝ} (hR : 0 < R) : |
| 183 | Integrable (fun z : Space => radialCommutatorKernel R z ^ (4 / 3 : ℝ)) := by |
| 184 | have h := (kernel_one_power_integrable.comp_smul (inv_ne_zero hR.ne')).const_mul |
| 185 | (R ^ (-4 : ℝ)) |
| 186 | simpa only [kernel_power_scale hR] using h |
| 187 | |
| 188 | /-- The actual cancellation kernel belongs to `L^(4/3)`. -/ |
| 189 | theorem radialCommutatorKernel_memLp {R : ℝ} (hR : 0 < R) : |
| 190 | MemLp (radialCommutatorKernel R) (4 / 3 : ℝ≥0∞) volume := by |
| 191 | apply (integrable_norm_rpow_iff |
| 192 | (radialCommutatorKernel_measurable R).aestronglyMeasurable |
| 193 | (by norm_num : (4 / 3 : ℝ≥0∞) ≠ 0) |
| 194 | (ENNReal.div_lt_top (by norm_num) (by norm_num)).ne).mp |
| 195 | simpa only [ENNReal.toReal_div, ENNReal.toReal_ofNat, Real.norm_eq_abs, |
| 196 | abs_of_nonneg (radialCommutatorKernel_nonneg hR _)] using |
| 197 | radialCommutatorKernel_power_integrable hR |
| 198 | |
| 199 | private theorem kernel_power_integral_scale {R : ℝ} (hR : 0 < R) : |
| 200 | (∫ z : Space, radialCommutatorKernel R z ^ (4 / 3 : ℝ)) = |
| 201 | R ^ (-1 : ℝ) * ∫ z : Space, radialCommutatorKernel 1 z ^ (4 / 3 : ℝ) := by |
| 202 | have hpow : R ^ (-4 : ℝ) * R ^ (3 : ℕ) = R ^ (-1 : ℝ) := by |
| 203 | calc |
| 204 | _ = R ^ (-4 : ℝ) * R ^ (3 : ℝ) := by |
| 205 | exact congrArg (fun a => R ^ (-4 : ℝ) * a) (Real.rpow_natCast R 3).symm |
| 206 | _ = R ^ ((-4 : ℝ) + 3) := (Real.rpow_add hR _ _).symm |
| 207 | _ = _ := by norm_num |
| 208 | simp_rw [kernel_power_scale hR] |
| 209 | rw [integral_const_mul, Measure.integral_comp_inv_smul_of_nonneg volume |
| 210 | (fun z : Space => radialCommutatorKernel 1 z ^ (4 / 3 : ℝ)) hR.le] |
| 211 | simp only [Space, NavierStokes.ProblemStatement.Space, finrank_euclideanSpace, |
| 212 | Fintype.card_fin, smul_eq_mul, ← mul_assoc, hpow] |
| 213 | |
| 214 | private theorem kernel_lpNorm_formula {R : ℝ} (hR : 0 < R) : |
| 215 | comparisonLpNorm (4 / 3) (radialCommutatorKernel R) = |
| 216 | (∫ z : Space, radialCommutatorKernel R z ^ (4 / 3 : ℝ)) ^ (3 / 4 : ℝ) := by |
| 217 | unfold comparisonLpNorm |
| 218 | rw [(radialCommutatorKernel_memLp hR).eLpNorm_eq_integral_rpow_norm |
| 219 | (by norm_num) (ENNReal.div_lt_top (by norm_num) (by norm_num)).ne] |
| 220 | have hp : (4 / 3 : ℝ≥0∞).toReal = (4 / 3 : ℝ) := by norm_num |
| 221 | rw [hp] |
| 222 | have hinv : (4 / 3 : ℝ)⁻¹ = (3 / 4 : ℝ) := by norm_num |
| 223 | rw [hinv] |
| 224 | have hnorm : (fun z : Space => ‖radialCommutatorKernel R z‖ ^ (4 / 3 : ℝ)) = |
| 225 | (fun z : Space => radialCommutatorKernel R z ^ (4 / 3 : ℝ)) := by |
| 226 | funext z |
| 227 | rw [Real.norm_eq_abs, abs_of_nonneg (radialCommutatorKernel_nonneg hR z)] |
| 228 | have hi : 0 ≤ ∫ z : Space, radialCommutatorKernel R z ^ (4 / 3 : ℝ) := |
| 229 | integral_nonneg fun z => Real.rpow_nonneg (radialCommutatorKernel_nonneg hR z) _ |
| 230 | rw [hnorm, ENNReal.toReal_ofReal (Real.rpow_nonneg hi _)] |
| 231 | |
| 232 | /-- The norm has exactly the scale required by the cutoff commutator. -/ |
| 233 | theorem radialCommutatorKernel_lpNorm_scale {R : ℝ} (hR : 0 < R) : |
| 234 | comparisonLpNorm (4 / 3) (radialCommutatorKernel R) = |
| 235 | comparisonLpNorm (4 / 3) (radialCommutatorKernel 1) * R ^ (-(3 / 4) : ℝ) := by |
| 236 | have hi : 0 ≤ ∫ z : Space, radialCommutatorKernel 1 z ^ (4 / 3 : ℝ) := |
| 237 | integral_nonneg fun z => |
| 238 | Real.rpow_nonneg (radialCommutatorKernel_nonneg zero_lt_one z) _ |
| 239 | rw [kernel_lpNorm_formula hR, kernel_lpNorm_formula zero_lt_one, |
| 240 | kernel_power_integral_scale hR, |
| 241 | Real.mul_rpow (Real.rpow_nonneg hR.le _) hi, ← Real.rpow_mul hR.le] |
| 242 | norm_num ; ring |
| 243 | |
| 244 | /-- A single finite constant bounds the kernel norm at every positive radius. -/ |
| 245 | theorem radialCommutatorKernel_lpNorm_le : |
| 246 | ∃ C : ℝ, 0 < C ∧ ∀ R > 0, |
| 247 | comparisonLpNorm (4 / 3) (radialCommutatorKernel R) ≤ C * R ^ (-(3 / 4) : ℝ) := by |
| 248 | refine ⟨comparisonLpNorm (4 / 3) (radialCommutatorKernel 1) + 1, ?_, ?_⟩ |
| 249 | · exact add_pos_of_nonneg_of_pos ENNReal.toReal_nonneg zero_lt_one |
| 250 | · intro R hR |
| 251 | rw [radialCommutatorKernel_lpNorm_scale hR] |
| 252 | exact mul_le_mul_of_nonneg_right (le_add_of_nonneg_right zero_le_one) |
| 253 | (Real.rpow_nonneg hR.le _) |
| 254 | |
| 255 | end NavierStokesR3.Comparison |