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.WeightedSobolev |
| 2 | |
| 3 | /-! |
| 4 | # Weighted tensor bounds for the localized pressure |
| 5 | |
| 6 | The tensor difference is expanded around the reference velocity. Its two |
| 7 | cross terms use `L³` of that velocity and `L²` of the difference; the quadratic |
| 8 | term uses the cutoff interpolation estimate. All norms remain finite explicitly. |
| 9 | -/ |
| 10 | |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open MeasureTheory Filter |
| 15 | open scoped ENNReal |
| 16 | |
| 17 | namespace NavierStokesR3.LocalizedTensorBounds |
| 18 | |
| 19 | open ProblemStatement Comparison |
| 20 | |
| 21 | private theorem six_fifths_ne_zero : (6 / 5 : ℝ≥0∞) ≠ 0 := |
| 22 | (ENNReal.toReal_pos_iff.mp (by norm_num : 0 < (6 / 5 : ℝ≥0∞).toReal)).1.ne' |
| 23 | |
| 24 | private theorem six_fifths_ne_top : (6 / 5 : ℝ≥0∞) ≠ ⊤ := |
| 25 | (ENNReal.toReal_pos_iff.mp (by norm_num : 0 < (6 / 5 : ℝ≥0∞).toReal)).2.ne |
| 26 | |
| 27 | private theorem twelve_fifths_ne_zero : (12 / 5 : ℝ≥0∞) ≠ 0 := |
| 28 | (ENNReal.toReal_pos_iff.mp (by norm_num : 0 < (12 / 5 : ℝ≥0∞).toReal)).1.ne' |
| 29 | |
| 30 | /-- Scalar Hölder with finite real-valued norms. -/ |
| 31 | theorem scalar_product_bound {p q r : ℝ≥0∞} [ENNReal.HolderTriple p q r] |
| 32 | {f g : Space → ℝ} (hf : MemLp f p volume) (hg : MemLp g q volume) : |
| 33 | MemLp (fun x => f x * g x) r volume ∧ |
| 34 | comparisonLpNorm r (fun x => f x * g x) ≤ comparisonLpNorm p f * comparisonLpNorm q g := by |
| 35 | have hprod : MemLp (fun x => f x * g x) r volume := hg.mul' hf |
| 36 | have hb : eLpNorm (fun x => f x * g x) r volume ≤ |
| 37 | eLpNorm f p volume * eLpNorm g q volume := by |
| 38 | simpa using eLpNorm_le_eLpNorm_mul_eLpNorm'_of_norm hf.1 hg.1 |
| 39 | (fun a b : ℝ => a * b) 1 |
| 40 | (Eventually.of_forall fun x => by simp [norm_mul]) |
| 41 | refine ⟨hprod, ?_⟩ |
| 42 | simpa only [comparisonLpNorm, ENNReal.toReal_mul] using |
| 43 | ENNReal.toReal_mono (ENNReal.mul_ne_top hf.eLpNorm_ne_top hg.eLpNorm_ne_top) hb |
| 44 | |
| 45 | /-- The scalar product of the two vector magnitudes belongs to `L^(6/5)`. -/ |
| 46 | theorem cross_norm_bound {u w : Space → Space} |
| 47 | (hu : MemLp u 3 volume) (hw : MemLp w 2 volume) : |
| 48 | MemLp (fun x => ‖u x‖ * ‖w x‖) (6 / 5) volume ∧ |
| 49 | comparisonLpNorm (6 / 5) (fun x => ‖u x‖ * ‖w x‖) ≤ comparisonLpNorm 3 u * comparisonLpNorm 2 w := by |
| 50 | let : ENNReal.HolderTriple (3 : ℝ≥0∞) 2 (6 / 5) := ⟨by |
| 51 | apply (ENNReal.toReal_eq_toReal_iff' (by finiteness) |
| 52 | (ENNReal.inv_ne_top.mpr six_fifths_ne_zero)).mp |
| 53 | rw [ENNReal.toReal_add (by finiteness) (by finiteness)] |
| 54 | norm_num⟩ |
| 55 | simpa only [comparisonLpNorm, eLpNorm_norm] using scalar_product_bound (r := 6 / 5) hu.norm hw.norm |
| 56 | |
| 57 | /-- The quadratic weighted difference has the endpoint interpolation bound. -/ |
| 58 | theorem quadratic_cutoff_bound {φ : Space → ℝ} {w : Space → Space} |
| 59 | (hφm : AEStronglyMeasurable φ volume) (hφ0 : ∀ x, 0 ≤ φ x) |
| 60 | (hw : MemLp w 2 volume) |
| 61 | (hweighted : MemLp (fun x => φ x ^ 4 • w x) 6 volume) : |
| 62 | MemLp (fun x => ‖φ x • w x‖ ^ 2) (6 / 5) volume ∧ |
| 63 | comparisonLpNorm (6 / 5) (fun x => ‖φ x • w x‖ ^ 2) ≤ |
| 64 | comparisonLpNorm 2 w ^ (3 / 2 : ℝ) * |
| 65 | comparisonLpNorm 6 (fun x => φ x ^ 4 • w x) ^ (1 / 2 : ℝ) := by |
| 66 | obtain ⟨hmem, hb⟩ := WeightedInterpolation.cutoff_interpolation_twelve_fifths |
| 67 | hφm hφ0 hw hweighted |
| 68 | let : ENNReal.HolderTriple (12 / 5 : ℝ≥0∞) (12 / 5) (6 / 5) := ⟨by |
| 69 | have h12 := ENNReal.inv_ne_top.mpr twelve_fifths_ne_zero |
| 70 | apply (ENNReal.toReal_eq_toReal_iff' (ENNReal.add_ne_top.mpr ⟨h12, h12⟩) |
| 71 | (ENNReal.inv_ne_top.mpr six_fifths_ne_zero)).mp |
| 72 | rw [ENNReal.toReal_add h12 h12] |
| 73 | norm_num⟩ |
| 74 | obtain ⟨hprod, hprodb⟩ := scalar_product_bound (r := 6 / 5) hmem.norm hmem.norm |
| 75 | have hQ : MemLp (fun x => ‖φ x • w x‖ ^ 2) (6 / 5) volume := by |
| 76 | simpa only [pow_two] using hprod |
| 77 | have hQb : comparisonLpNorm (6 / 5) (fun x => ‖φ x • w x‖ ^ 2) ≤ |
| 78 | comparisonLpNorm (12 / 5) (fun x => φ x • w x) ^ 2 := by |
| 79 | simpa only [pow_two, comparisonLpNorm, eLpNorm_norm] using hprodb |
| 80 | have hA := LpNormTools.lpNorm_nonneg (12 / 5) (fun x => φ x • w x) |
| 81 | have hM := LpNormTools.lpNorm_nonneg 2 w |
| 82 | have hB := LpNormTools.lpNorm_nonneg 6 (fun x => φ x ^ 4 • w x) |
| 83 | refine ⟨hQ, hQb.trans ?_⟩ |
| 84 | calc |
| 85 | comparisonLpNorm (12 / 5) (fun x => φ x • w x) ^ 2 ≤ |
| 86 | (comparisonLpNorm 2 w ^ (3 / 4 : ℝ) * |
| 87 | comparisonLpNorm 6 (fun x => φ x ^ 4 • w x) ^ (1 / 4 : ℝ)) ^ 2 := by |
| 88 | exact pow_le_pow_left₀ hA hb 2 |
| 89 | _ = comparisonLpNorm 2 w ^ (3 / 2 : ℝ) * |
| 90 | comparisonLpNorm 6 (fun x => φ x ^ 4 • w x) ^ (1 / 2 : ℝ) := by |
| 91 | rw [← Real.rpow_natCast _ 2, |
| 92 | Real.mul_rpow (Real.rpow_nonneg hM _) (Real.rpow_nonneg hB _), |
| 93 | ← Real.rpow_mul hM, ← Real.rpow_mul hB] |
| 94 | norm_num |
| 95 | |
| 96 | /-- The tensor identity uses the actual difference of the two velocities. -/ |
| 97 | theorem tensorDiff_eq (u v : VelocityField) (t : ℝ) (i j : Fin 3) (x : Space) : |
| 98 | tensorDiff u v t i j x = |
| 99 | u (t, x) i * (u - v) (t, x) j + |
| 100 | (u - v) (t, x) i * u (t, x) j - |
| 101 | (u - v) (t, x) i * (u - v) (t, x) j := by |
| 102 | change u (t, x) i * u (t, x) j - v (t, x) i * v (t, x) j = |
| 103 | u (t, x) i * (u (t, x) j - v (t, x) j) + |
| 104 | (u (t, x) i - v (t, x) i) * u (t, x) j - |
| 105 | (u (t, x) i - v (t, x) i) * (u (t, x) j - v (t, x) j) |
| 106 | ring |
| 107 | |
| 108 | theorem continuous_component {f : Space → Space} (hf : Continuous f) (i : Fin 3) : |
| 109 | Continuous (fun x => f x i) := |
| 110 | (continuous_apply i).comp ((EuclideanSpace.equiv (Fin 3) ℝ).continuous.comp hf) |
| 111 | |
| 112 | theorem continuous_tensorDiff {u v : VelocityField} {t : ℝ} |
| 113 | (hu : Continuous (fun x => u (t, x))) (hv : Continuous (fun x => v (t, x))) |
| 114 | (i j : Fin 3) : Continuous (tensorDiff u v t i j) := |
| 115 | ((continuous_component hu i).mul (continuous_component hu j)).sub |
| 116 | ((continuous_component hv i).mul (continuous_component hv j)) |
| 117 | |
| 118 | /-- Pointwise domination is uniform in both tensor indices. -/ |
| 119 | theorem norm_weighted_tensorDiff_le (u v : VelocityField) (t : ℝ) (i j : Fin 3) |
| 120 | (x : Space) {s : ℝ} (hs0 : 0 ≤ s) (hs1 : s ≤ 1) : |
| 121 | ‖s ^ 2 * tensorDiff u v t i j x‖ ≤ |
| 122 | 2 * (‖u (t, x)‖ * ‖(u - v) (t, x)‖) + ‖s • (u - v) (t, x)‖ ^ 2 := by |
| 123 | let a := u (t, x) |
| 124 | let w := (u - v) (t, x) |
| 125 | have hcross1 : ‖a i * w j‖ ≤ ‖a‖ * ‖w‖ := by |
| 126 | rw [norm_mul] |
| 127 | exact mul_le_mul (PiLp.norm_apply_le a i) (PiLp.norm_apply_le w j) |
| 128 | (norm_nonneg _) (norm_nonneg _) |
| 129 | have hcross2 : ‖w i * a j‖ ≤ ‖w‖ * ‖a‖ := by |
| 130 | rw [norm_mul] |
| 131 | exact mul_le_mul (PiLp.norm_apply_le w i) (PiLp.norm_apply_le a j) |
| 132 | (norm_nonneg _) (norm_nonneg _) |
| 133 | have hquad : ‖w i * w j‖ ≤ ‖w‖ * ‖w‖ := by |
| 134 | rw [norm_mul] |
| 135 | exact mul_le_mul (PiLp.norm_apply_le w i) (PiLp.norm_apply_le w j) |
| 136 | (norm_nonneg _) (norm_nonneg _) |
| 137 | have ht : ‖tensorDiff u v t i j x‖ ≤ 2 * (‖a‖ * ‖w‖) + ‖w‖ ^ 2 := by |
| 138 | rw [tensorDiff_eq] |
| 139 | calc |
| 140 | ‖a i * w j + w i * a j - w i * w j‖ ≤ |
| 141 | ‖a i * w j + w i * a j‖ + ‖w i * w j‖ := norm_sub_le _ _ |
| 142 | _ ≤ (‖a i * w j‖ + ‖w i * a j‖) + ‖w i * w j‖ := |
| 143 | add_le_add_left (norm_add_le _ _) _ |
| 144 | _ ≤ (‖a‖ * ‖w‖ + ‖w‖ * ‖a‖) + ‖w‖ * ‖w‖ := |
| 145 | add_le_add (add_le_add hcross1 hcross2) hquad |
| 146 | _ = _ := by ring |
| 147 | have hs2 : s ^ 2 ≤ 1 := pow_le_one₀ hs0 hs1 |
| 148 | calc |
| 149 | ‖s ^ 2 * tensorDiff u v t i j x‖ = s ^ 2 * ‖tensorDiff u v t i j x‖ := by |
| 150 | rw [norm_mul, Real.norm_eq_abs, abs_of_nonneg (sq_nonneg s)] |
| 151 | _ ≤ s ^ 2 * (2 * (‖a‖ * ‖w‖) + ‖w‖ ^ 2) := |
| 152 | mul_le_mul_of_nonneg_left ht (sq_nonneg s) |
| 153 | _ ≤ 2 * (‖a‖ * ‖w‖) + ‖s • w‖ ^ 2 := by |
| 154 | rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg hs0] |
| 155 | nlinarith [mul_nonneg (sub_nonneg.mpr hs2) (mul_nonneg (norm_nonneg a) (norm_nonneg w))] |
| 156 | |
| 157 | /-- Compactness supplies finite weighted tensor norms without any growth |
| 158 | assumption on either velocity. -/ |
| 159 | theorem weighted_tensorDiff_memLp {φ : Space → ℝ} {u v : VelocityField} {t : ℝ} |
| 160 | (hφ : Continuous φ) (hs : HasCompactSupport φ) |
| 161 | (hu : Continuous (fun x => u (t, x))) (hv : Continuous (fun x => v (t, x))) |
| 162 | (i j : Fin 3) (p : ℝ≥0∞) : |
| 163 | MemLp (fun x => φ x ^ 2 * tensorDiff u v t i j x) p volume := by |
| 164 | have hp : HasCompactSupport (fun x => φ x ^ 2) := |
| 165 | hs.comp_left (g := fun r : ℝ => r ^ 2) (by norm_num) |
| 166 | exact ((hφ.pow 2).mul (continuous_tensorDiff hu hv i j)).memLp_of_hasCompactSupport hp.mul_right |
| 167 | |
| 168 | /-- The weighted tensor estimate used by the localized pressure argument. |
| 169 | It has the same constant for every pair of indices. -/ |
| 170 | theorem weighted_tensorDiff_bound {φ : Space → ℝ} {u v : VelocityField} {t : ℝ} |
| 171 | (hφ : Continuous φ) (hs : HasCompactSupport φ) |
| 172 | (hu : Continuous (fun x => u (t, x))) (hv : Continuous (fun x => v (t, x))) |
| 173 | (hw2 : MemLp (fun x => (u - v) (t, x)) 2 volume) |
| 174 | (hu3 : MemLp (fun x => u (t, x)) 3 volume) |
| 175 | (hφ0 : ∀ x, 0 ≤ φ x) (hφ1 : ∀ x, φ x ≤ 1) (i j : Fin 3) : |
| 176 | MemLp (fun x => φ x ^ 2 * tensorDiff u v t i j x) (6 / 5) volume ∧ |
| 177 | comparisonLpNorm (6 / 5) (fun x => φ x ^ 2 * tensorDiff u v t i j x) ≤ |
| 178 | comparisonLpNorm 2 (fun x => (u - v) (t, x)) ^ (3 / 2 : ℝ) * |
| 179 | cutoffL6 φ (u - v) t ^ (1 / 2 : ℝ) + |
| 180 | 2 * comparisonLpNorm 2 (fun x => (u - v) (t, x)) * comparisonLpNorm 3 (fun x => u (t, x)) := by |
| 181 | let P : Space → ℝ := fun x => ‖u (t, x)‖ * ‖(u - v) (t, x)‖ |
| 182 | let Q : Space → ℝ := fun x => ‖φ x • (u - v) (t, x)‖ ^ 2 |
| 183 | obtain ⟨hP, hPb⟩ := cross_norm_bound hu3 hw2 |
| 184 | have hweighted := WeightedSobolev.memLp_cutoff_pow_smul hφ hs (hu.sub hv) |
| 185 | (by norm_num : (4 : ℕ) ≠ 0) 6 |
| 186 | obtain ⟨hQ, hQb⟩ := quadratic_cutoff_bound hφ.aestronglyMeasurable hφ0 hw2 hweighted |
| 187 | change MemLp P (6 / 5) volume at hP |
| 188 | change comparisonLpNorm (6 / 5) P ≤ _ at hPb |
| 189 | change MemLp Q (6 / 5) volume at hQ |
| 190 | change comparisonLpNorm (6 / 5) Q ≤ _ at hQb |
| 191 | have h2P : MemLp (fun x => (2 : ℝ) • P x) (6 / 5) volume := hP.const_smul (2 : ℝ) |
| 192 | refine ⟨weighted_tensorDiff_memLp hφ hs hu hv i j (6 / 5), ?_⟩ |
| 193 | calc |
| 194 | comparisonLpNorm (6 / 5) (fun x => φ x ^ 2 * tensorDiff u v t i j x) ≤ |
| 195 | comparisonLpNorm (6 / 5) (fun x => (2 : ℝ) • P x + Q x) := by |
| 196 | apply LpNormTools.lpNorm_mono_of_norm_le (h2P.add hQ) |
| 197 | intro x |
| 198 | change ‖φ x ^ 2 * tensorDiff u v t i j x‖ ≤ ‖2 * P x + Q x‖ |
| 199 | have hn : ‖2 * P x + Q x‖ = 2 * P x + Q x := by |
| 200 | rw [Real.norm_eq_abs, abs_of_nonneg] |
| 201 | dsimp [P, Q] |
| 202 | positivity |
| 203 | rw [hn] |
| 204 | exact norm_weighted_tensorDiff_le u v t i j x (hφ0 x) (hφ1 x) |
| 205 | _ ≤ comparisonLpNorm (6 / 5) (fun x => (2 : ℝ) • P x) + comparisonLpNorm (6 / 5) Q := |
| 206 | LpNormTools.lpNorm_add_le (by |
| 207 | apply (ENNReal.toReal_le_toReal ENNReal.one_ne_top six_fifths_ne_top).mp |
| 208 | norm_num) h2P hQ |
| 209 | _ = 2 * comparisonLpNorm (6 / 5) P + comparisonLpNorm (6 / 5) Q := by |
| 210 | rw [LpNormTools.lpNorm_const_smul] |
| 211 | norm_num |
| 212 | _ ≤ _ := by |
| 213 | change 2 * comparisonLpNorm (6 / 5) P + comparisonLpNorm (6 / 5) Q ≤ |
| 214 | comparisonLpNorm 2 (fun x => (u - v) (t, x)) ^ (3 / 2 : ℝ) * |
| 215 | comparisonLpNorm 6 (fun x => φ x ^ 4 • (u - v) (t, x)) ^ (1 / 2 : ℝ) + |
| 216 | 2 * comparisonLpNorm 2 (fun x => (u - v) (t, x)) * comparisonLpNorm 3 (fun x => u (t, x)) |
| 217 | nlinarith |
| 218 | |
| 219 | end NavierStokesR3.LocalizedTensorBounds |