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.Function.LpSeminorm.CompareExp |
| 3 | |
| 4 | /-! |
| 5 | # Interpolation for the comparison cutoff weights |
| 6 | |
| 7 | These estimates interpolate the unweighted `L²` norm of a vector field with the |
| 8 | `L⁶` norm after multiplication by the fourth power of a cutoff. They use only |
| 9 | measurability and finite endpoint norms. In fact, the interpolation identities |
| 10 | only require a nonnegative weight; an upper bound of one is unnecessary. |
| 11 | -/ |
| 12 | |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open MeasureTheory |
| 17 | open scoped ENNReal |
| 18 | |
| 19 | namespace NavierStokesR3.WeightedInterpolation |
| 20 | |
| 21 | open ProblemStatement Comparison |
| 22 | |
| 23 | variable {E F G : Type*} |
| 24 | [NormedAddCommGroup E] [NormedAddCommGroup F] [NormedAddCommGroup G] |
| 25 | |
| 26 | /-- Hölder interpolation for a function dominated by a product of powers. |
| 27 | The arithmetic assumptions are on real exponents, so rational specializations |
| 28 | can be discharged by `norm_num`. -/ |
| 29 | theorem eLpNorm_le_rpow_mul |
| 30 | {f : Space → E} {g : Space → F} {h : Space → G} |
| 31 | {p q r : ℝ≥0∞} {a b : ℝ} |
| 32 | (hf : AEStronglyMeasurable f volume) |
| 33 | (hg : AEStronglyMeasurable g volume) |
| 34 | (hp : 0 < p.toReal) (hq : 0 < q.toReal) (hr : 0 < r.toReal) |
| 35 | (ha : 0 < a) (hb : 0 < b) |
| 36 | (hra : r.toReal < p.toReal / a) |
| 37 | (hab : 1 / r.toReal = 1 / (p.toReal / a) + 1 / (q.toReal / b)) |
| 38 | (hh : ∀ᵐ x ∂volume, ‖h x‖ ≤ ‖f x‖ ^ a * ‖g x‖ ^ b) : |
| 39 | eLpNorm h r volume ≤ eLpNorm f p volume ^ a * eLpNorm g q volume ^ b := by |
| 40 | obtain ⟨hp0, hpt⟩ := ENNReal.toReal_pos_iff.mp hp |
| 41 | obtain ⟨hq0, hqt⟩ := ENNReal.toReal_pos_iff.mp hq |
| 42 | obtain ⟨hr0, hrt⟩ := ENNReal.toReal_pos_iff.mp hr |
| 43 | rw [eLpNorm_eq_eLpNorm' hr0.ne' hrt.ne, |
| 44 | eLpNorm_eq_eLpNorm' hp0.ne' hpt.ne, |
| 45 | eLpNorm_eq_eLpNorm' hq0.ne' hqt.ne] |
| 46 | calc |
| 47 | eLpNorm' h r.toReal volume ≤ |
| 48 | eLpNorm' (fun x => ‖f x‖ ^ a * ‖g x‖ ^ b) r.toReal volume := by |
| 49 | apply eLpNorm'_mono_ae hr.le |
| 50 | filter_upwards [hh] with x hx |
| 51 | simpa only [Real.norm_eq_abs, abs_of_nonneg |
| 52 | (mul_nonneg (Real.rpow_nonneg (norm_nonneg _) _) |
| 53 | (Real.rpow_nonneg (norm_nonneg _) _))] using hx |
| 54 | _ ≤ eLpNorm' (fun x => ‖f x‖ ^ a) (p.toReal / a) volume * |
| 55 | eLpNorm' (fun x => ‖g x‖ ^ b) (q.toReal / b) volume := by |
| 56 | simpa using eLpNorm'_le_eLpNorm'_mul_eLpNorm' |
| 57 | (hf.norm.aemeasurable.pow_const a).aestronglyMeasurable |
| 58 | (hg.norm.aemeasurable.pow_const b).aestronglyMeasurable |
| 59 | (fun x y : ℝ => x * y) 1 |
| 60 | (Filter.Eventually.of_forall fun x => by simp [nnnorm_mul]) |
| 61 | hr hra hab |
| 62 | _ = eLpNorm' f p.toReal volume ^ a * eLpNorm' g q.toReal volume ^ b := by |
| 63 | rw [eLpNorm'_norm_rpow _ _ _ ha, eLpNorm'_norm_rpow _ _ _ hb, |
| 64 | div_mul_cancel₀ _ ha.ne', div_mul_cancel₀ _ hb.ne'] |
| 65 | |
| 66 | /-- The preceding estimate also proves membership at the interpolated exponent |
| 67 | and permits passage to the real-valued comparison norm. -/ |
| 68 | theorem memLp_and_lpNorm_le_rpow_mul |
| 69 | {f : Space → E} {g : Space → F} {h : Space → G} |
| 70 | {p q r : ℝ≥0∞} {a b : ℝ} |
| 71 | (hf : MemLp f p volume) (hg : MemLp g q volume) |
| 72 | (hhm : AEStronglyMeasurable h volume) |
| 73 | (hp : 0 < p.toReal) (hq : 0 < q.toReal) (hr : 0 < r.toReal) |
| 74 | (ha : 0 < a) (hb : 0 < b) |
| 75 | (hra : r.toReal < p.toReal / a) |
| 76 | (hab : 1 / r.toReal = 1 / (p.toReal / a) + 1 / (q.toReal / b)) |
| 77 | (hh : ∀ᵐ x ∂volume, ‖h x‖ ≤ ‖f x‖ ^ a * ‖g x‖ ^ b) : |
| 78 | MemLp h r volume ∧ comparisonLpNorm r h ≤ comparisonLpNorm p f ^ a * comparisonLpNorm q g ^ b := by |
| 79 | have hbound := eLpNorm_le_rpow_mul hf.1 hg.1 hp hq hr ha hb hra hab hh |
| 80 | have hfinite : eLpNorm f p volume ^ a * eLpNorm g q volume ^ b < ∞ := |
| 81 | ENNReal.mul_lt_top |
| 82 | (ENNReal.rpow_lt_top_of_nonneg ha.le hf.eLpNorm_ne_top) |
| 83 | (ENNReal.rpow_lt_top_of_nonneg hb.le hg.eLpNorm_ne_top) |
| 84 | refine ⟨⟨hhm, hbound.trans_lt hfinite⟩, ?_⟩ |
| 85 | simpa only [comparisonLpNorm, ENNReal.toReal_mul, ENNReal.toReal_rpow] using |
| 86 | ENNReal.toReal_mono hfinite.ne hbound |
| 87 | |
| 88 | /-- The real-valued seminorm is nonnegative. -/ |
| 89 | theorem lpNorm_nonneg (p : ℝ≥0∞) (f : Space → E) : 0 ≤ comparisonLpNorm p f := |
| 90 | ENNReal.toReal_nonneg |
| 91 | |
| 92 | /-- Recover the integral of a norm power from the finite real-valued seminorm. -/ |
| 93 | theorem integral_norm_rpow_eq_lpNorm_rpow |
| 94 | {f : Space → E} {p : ℝ≥0∞} (hp : 0 < p.toReal) (hf : MemLp f p volume) : |
| 95 | (∫ x : Space, ‖f x‖ ^ p.toReal) = comparisonLpNorm p f ^ p.toReal := by |
| 96 | obtain ⟨hp0, hpt⟩ := ENNReal.toReal_pos_iff.mp hp |
| 97 | have hnonneg : 0 ≤ ∫ x : Space, ‖f x‖ ^ p.toReal := |
| 98 | integral_nonneg fun x => Real.rpow_nonneg (norm_nonneg _) _ |
| 99 | rw [comparisonLpNorm, hf.eLpNorm_eq_integral_rpow_norm hp0.ne' hpt.ne, |
| 100 | ENNReal.toReal_ofReal (Real.rpow_nonneg hnonneg _), |
| 101 | ← Real.rpow_mul hnonneg, inv_mul_cancel₀ hp.ne', Real.rpow_one] |
| 102 | |
| 103 | variable [NormedSpace ℝ E] |
| 104 | |
| 105 | /-- The fourth-power cutoff has exactly the required fractional powers. -/ |
| 106 | theorem pow_four_rpow {x : ℝ} (hx : 0 ≤ x) (k : ℕ) : |
| 107 | (x ^ 4) ^ ((k : ℝ) / 4) = x ^ k := by |
| 108 | rw [← Real.rpow_natCast x 4, ← Real.rpow_natCast x k, ← Real.rpow_mul hx] |
| 109 | congr 1 |
| 110 | push_cast |
| 111 | ring |
| 112 | |
| 113 | /-- Pointwise factorization underlying all three interpolation estimates. -/ |
| 114 | theorem norm_weight_pow_eq {φ : ℝ} (hφ : 0 ≤ φ) (w : E) (k : ℕ) : |
| 115 | ‖(φ ^ k) • w‖ = |
| 116 | ‖w‖ ^ (1 - (k : ℝ) / 4) * ‖(φ ^ 4) • w‖ ^ ((k : ℝ) / 4) := by |
| 117 | rw [norm_smul, norm_smul, Real.norm_eq_abs, Real.norm_eq_abs, |
| 118 | abs_of_nonneg (pow_nonneg hφ k), abs_of_nonneg (pow_nonneg hφ 4), |
| 119 | Real.mul_rpow (pow_nonneg hφ 4) (norm_nonneg w), pow_four_rpow hφ] |
| 120 | have hw : ‖w‖ ^ (1 - (k : ℝ) / 4) * ‖w‖ ^ ((k : ℝ) / 4) = ‖w‖ := by |
| 121 | rw [← Real.rpow_add' (norm_nonneg w) (by ring_nf; exact one_ne_zero)] |
| 122 | simp |
| 123 | calc |
| 124 | φ ^ k * ‖w‖ = φ ^ k * |
| 125 | (‖w‖ ^ (1 - (k : ℝ) / 4) * ‖w‖ ^ ((k : ℝ) / 4)) := by rw [hw] |
| 126 | _ = _ := by ring |
| 127 | |
| 128 | /-- A generic cutoff interpolation theorem with explicit exponent arithmetic. -/ |
| 129 | theorem cutoff_interpolation |
| 130 | {φ : Space → ℝ} {w : Space → E} {k : ℕ} {r : ℝ≥0∞} |
| 131 | (hφm : AEStronglyMeasurable φ volume) (hφ : ∀ x, 0 ≤ φ x) |
| 132 | (hw : MemLp w 2 volume) |
| 133 | (hweighted : MemLp (fun x => (φ x ^ 4) • w x) 6 volume) |
| 134 | (hr : 0 < r.toReal) |
| 135 | (ha : 0 < 1 - (k : ℝ) / 4) (hb : 0 < (k : ℝ) / 4) |
| 136 | (hra : r.toReal < 2 / (1 - (k : ℝ) / 4)) |
| 137 | (hab : 1 / r.toReal = |
| 138 | 1 / (2 / (1 - (k : ℝ) / 4)) + 1 / (6 / ((k : ℝ) / 4))) : |
| 139 | MemLp (fun x => (φ x ^ k) • w x) r volume ∧ |
| 140 | comparisonLpNorm r (fun x => (φ x ^ k) • w x) ≤ |
| 141 | comparisonLpNorm 2 w ^ (1 - (k : ℝ) / 4) * |
| 142 | comparisonLpNorm 6 (fun x => (φ x ^ 4) • w x) ^ ((k : ℝ) / 4) := by |
| 143 | apply memLp_and_lpNorm_le_rpow_mul hw hweighted ((hφm.pow k).smul hw.1) |
| 144 | (by norm_num) (by norm_num) hr ha hb |
| 145 | · simpa using hra |
| 146 | · simpa using hab |
| 147 | · exact Filter.Eventually.of_forall fun x => (norm_weight_pow_eq (hφ x) (w x) k).le |
| 148 | |
| 149 | /-- `φ w` belongs to `L^(12/5)` with the exact endpoint interpolation bound. -/ |
| 150 | theorem cutoff_interpolation_twelve_fifths |
| 151 | {φ : Space → ℝ} {w : Space → E} |
| 152 | (hφm : AEStronglyMeasurable φ volume) (hφ : ∀ x, 0 ≤ φ x) |
| 153 | (hw : MemLp w 2 volume) |
| 154 | (hweighted : MemLp (fun x => (φ x ^ 4) • w x) 6 volume) : |
| 155 | MemLp (fun x => φ x • w x) (12 / 5) volume ∧ |
| 156 | comparisonLpNorm (12 / 5) (fun x => φ x • w x) ≤ |
| 157 | comparisonLpNorm 2 w ^ (3 / 4 : ℝ) * |
| 158 | comparisonLpNorm 6 (fun x => (φ x ^ 4) • w x) ^ (1 / 4 : ℝ) := by |
| 159 | convert! cutoff_interpolation (k := 1) (r := 12 / 5) |
| 160 | hφm hφ hw hweighted (by norm_num) (by norm_num) (by norm_num) |
| 161 | (by norm_num) (by norm_num) using 1 <;> norm_num |
| 162 | |
| 163 | /-- `φ² w` belongs to `L³` with the exact endpoint interpolation bound. -/ |
| 164 | theorem cutoff_interpolation_three |
| 165 | {φ : Space → ℝ} {w : Space → E} |
| 166 | (hφm : AEStronglyMeasurable φ volume) (hφ : ∀ x, 0 ≤ φ x) |
| 167 | (hw : MemLp w 2 volume) |
| 168 | (hweighted : MemLp (fun x => (φ x ^ 4) • w x) 6 volume) : |
| 169 | MemLp (fun x => (φ x ^ 2) • w x) 3 volume ∧ |
| 170 | comparisonLpNorm 3 (fun x => (φ x ^ 2) • w x) ≤ |
| 171 | comparisonLpNorm 2 w ^ (1 / 2 : ℝ) * |
| 172 | comparisonLpNorm 6 (fun x => (φ x ^ 4) • w x) ^ (1 / 2 : ℝ) := by |
| 173 | convert! cutoff_interpolation (k := 2) (r := 3) |
| 174 | hφm hφ hw hweighted (by norm_num) (by norm_num) (by norm_num) |
| 175 | (by norm_num) (by norm_num) using 1 |
| 176 | norm_num |
| 177 | |
| 178 | /-- `φ³ w` belongs to `L⁴` with the exact endpoint interpolation bound. -/ |
| 179 | theorem cutoff_interpolation_four |
| 180 | {φ : Space → ℝ} {w : Space → E} |
| 181 | (hφm : AEStronglyMeasurable φ volume) (hφ : ∀ x, 0 ≤ φ x) |
| 182 | (hw : MemLp w 2 volume) |
| 183 | (hweighted : MemLp (fun x => (φ x ^ 4) • w x) 6 volume) : |
| 184 | MemLp (fun x => (φ x ^ 3) • w x) 4 volume ∧ |
| 185 | comparisonLpNorm 4 (fun x => (φ x ^ 3) • w x) ≤ |
| 186 | comparisonLpNorm 2 w ^ (1 / 4 : ℝ) * |
| 187 | comparisonLpNorm 6 (fun x => (φ x ^ 4) • w x) ^ (3 / 4 : ℝ) := by |
| 188 | convert! cutoff_interpolation (k := 3) (r := 4) |
| 189 | hφm hφ hw hweighted (by norm_num) (by norm_num) (by norm_num) |
| 190 | (by norm_num) (by norm_num) using 1 |
| 191 | norm_num |
| 192 | |
| 193 | /-- The weighted cubic transport integrand is integrable and controlled by the |
| 194 | two endpoint norms. -/ |
| 195 | theorem cutoff_transport_bound |
| 196 | {φ : Space → ℝ} {w : Space → E} |
| 197 | (hφm : AEStronglyMeasurable φ volume) (hφ : ∀ x, 0 ≤ φ x) |
| 198 | (hw : MemLp w 2 volume) |
| 199 | (hweighted : MemLp (fun x => (φ x ^ 4) • w x) 6 volume) : |
| 200 | Integrable (fun x => φ x ^ 6 * ‖w x‖ ^ 3) volume ∧ |
| 201 | (∫ x : Space, φ x ^ 6 * ‖w x‖ ^ 3) ≤ |
| 202 | comparisonLpNorm 2 w ^ (3 / 2 : ℝ) * |
| 203 | comparisonLpNorm 6 (fun x => (φ x ^ 4) • w x) ^ (3 / 2 : ℝ) := by |
| 204 | obtain ⟨hmem, hbound⟩ := cutoff_interpolation_three hφm hφ hw hweighted |
| 205 | have hid (x : Space) : |
| 206 | ‖(φ x ^ 2) • w x‖ ^ (3 : ℝ) = φ x ^ 6 * ‖w x‖ ^ 3 := by |
| 207 | rw [show (3 : ℝ) = ((3 : ℕ) : ℝ) by norm_num, Real.rpow_natCast, |
| 208 | norm_smul, Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] |
| 209 | ring |
| 210 | have hint : Integrable (fun x => φ x ^ 6 * ‖w x‖ ^ 3) volume := by |
| 211 | have hi := hmem.integrable_norm_rpow (by norm_num) (by norm_num) |
| 212 | exact hi.congr (Filter.Eventually.of_forall fun x => by simpa using hid x) |
| 213 | refine ⟨hint, ?_⟩ |
| 214 | calc |
| 215 | (∫ x : Space, φ x ^ 6 * ‖w x‖ ^ 3) = |
| 216 | (∫ x : Space, ‖(φ x ^ 2) • w x‖ ^ (3 : ℝ)) := by |
| 217 | exact integral_congr_ae (Filter.Eventually.of_forall fun x => (hid x).symm) |
| 218 | _ = comparisonLpNorm 3 (fun x => (φ x ^ 2) • w x) ^ (3 : ℝ) := by |
| 219 | simpa using integral_norm_rpow_eq_lpNorm_rpow (by norm_num) hmem |
| 220 | _ ≤ (comparisonLpNorm 2 w ^ (1 / 2 : ℝ) * |
| 221 | comparisonLpNorm 6 (fun x => (φ x ^ 4) • w x) ^ (1 / 2 : ℝ)) ^ (3 : ℝ) := |
| 222 | Real.rpow_le_rpow (lpNorm_nonneg _ _) hbound (by norm_num) |
| 223 | _ = comparisonLpNorm 2 w ^ (3 / 2 : ℝ) * |
| 224 | comparisonLpNorm 6 (fun x => (φ x ^ 4) • w x) ^ (3 / 2 : ℝ) := by |
| 225 | rw [Real.mul_rpow (Real.rpow_nonneg (lpNorm_nonneg _ _) _) |
| 226 | (Real.rpow_nonneg (lpNorm_nonneg _ _) _), |
| 227 | ← Real.rpow_mul (lpNorm_nonneg _ _), ← Real.rpow_mul (lpNorm_nonneg _ _)] |
| 228 | norm_num |
| 229 | |
| 230 | end NavierStokesR3.WeightedInterpolation |