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.PressureTestBounds |
| 2 | import NavierStokes.R3.RieszPairing |
| 3 | import NavierStokes.R3.RieszLinearityDecay |
| 4 | |
| 5 | /-! |
| 6 | # The pressure-difference functional on Schwartz tests |
| 7 | |
| 8 | The coefficients of the velocity terms belong to ordinary `L²`, and the |
| 9 | tensor coefficients belong to `L¹`. All pairings below are actual Lebesgue |
| 10 | integrals. The final functional uses the spatial Laplacian and coordinate |
| 11 | derivatives from the equation, and the double Riesz test operator. |
| 12 | -/ |
| 13 | |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open MeasureTheory |
| 18 | open scoped BigOperators |
| 19 | |
| 20 | namespace NavierStokesR3.PressureFunctionals |
| 21 | |
| 22 | open ProblemStatement Comparison HarmonicTestFunctionals PressureTestBounds |
| 23 | |
| 24 | /-- Pairing an `L²` coefficient with a Schwartz test is integrable. -/ |
| 25 | theorem integrable_l2_pair {W : Space → ℝ} (hW : MemLp W 2) (ψ : ComplexTest) : |
| 26 | Integrable (fun x : Space => (W x : ℂ) * ψ x) := by |
| 27 | have hprod : Integrable (fun x : Space => ‖W x‖ * ‖ψ x‖) := |
| 28 | hW.norm.integrable_mul (ψ.memLp 2).norm |
| 29 | apply hprod.mono' |
| 30 | · exact (Complex.continuous_ofReal.comp_aestronglyMeasurable hW.1).mul |
| 31 | ψ.continuous.aestronglyMeasurable |
| 32 | · exact Filter.Eventually.of_forall fun x => by simp [Complex.norm_real] |
| 33 | |
| 34 | /-- Cauchy--Schwarz for the actual coefficient/test pairing. -/ |
| 35 | theorem norm_l2_pair_le {W : Space → ℝ} (hW : MemLp W 2) (ψ : ComplexTest) : |
| 36 | ‖∫ x : Space, (W x : ℂ) * ψ x‖ ≤ |
| 37 | Real.sqrt (l2Sq W) * Real.sqrt (l2Sq (ψ : Space → ℂ)) := by |
| 38 | calc |
| 39 | ‖∫ x : Space, (W x : ℂ) * ψ x‖ ≤ ∫ x : Space, ‖(W x : ℂ) * ψ x‖ := |
| 40 | norm_integral_le_integral_norm _ |
| 41 | _ = ∫ x : Space, ‖W x‖ * ‖ψ x‖ := by simp only [norm_mul, Complex.norm_real] |
| 42 | _ ≤ _ := by |
| 43 | have h := integral_mul_le_Lp_mul_Lq_of_nonneg (μ := (volume : Measure Space)) |
| 44 | (f := fun x => ‖W x‖) (g := fun x => ‖ψ x‖) Real.HolderConjugate.two_two |
| 45 | (Filter.Eventually.of_forall fun _ => norm_nonneg _) |
| 46 | (Filter.Eventually.of_forall fun _ => norm_nonneg _) |
| 47 | (by simpa using hW.norm) (by simpa using (ψ.memLp 2).norm) |
| 48 | simpa only [Real.rpow_two, ← Real.sqrt_eq_rpow, l2Sq] using h |
| 49 | |
| 50 | /-- An `L¹` coefficient may be paired with any Schwartz test. -/ |
| 51 | theorem integrable_l1_pair {g : Space → ℝ} (hg : Integrable g) (ψ : ComplexTest) : |
| 52 | Integrable (fun x : Space => (g x : ℂ) * ψ x) := by |
| 53 | have hgc : Integrable (fun x : Space => (g x : ℂ)) := |
| 54 | Complex.ofRealCLM.integrable_comp hg |
| 55 | have h := hgc.bdd_mul ψ.continuous.aestronglyMeasurable |
| 56 | (Filter.Eventually.of_forall (norm_test_le_integral_fourier ψ)) |
| 57 | simpa only [mul_comm] using h |
| 58 | |
| 59 | /-- The canonical pressure pairing is finite for an `L¹` coefficient. -/ |
| 60 | theorem integrable_l1_riesz_pair {g : Space → ℝ} (hg : Integrable g) |
| 61 | (i j : Fin 3) (ψ : ComplexTest) : |
| 62 | Integrable (fun x : Space => (g x : ℂ) * rieszTest i j ψ x) := |
| 63 | RieszTestOperators.integrable_mul_rieszTest i j ψ |
| 64 | (Complex.ofRealCLM.integrable_comp hg) |
| 65 | |
| 66 | /-- A pointwise test bound gives the usual `L¹` pairing estimate. -/ |
| 67 | theorem norm_l1_pair_le_of_bound {g : Space → ℝ} (hg : Integrable g) |
| 68 | {f : Space → ℂ} (hf : Integrable (fun x : Space => (g x : ℂ) * f x)) |
| 69 | {B : ℝ} (hB : ∀ x : Space, ‖f x‖ ≤ B) : |
| 70 | ‖∫ x : Space, (g x : ℂ) * f x‖ ≤ (∫ x : Space, ‖g x‖) * B := by |
| 71 | calc |
| 72 | ‖∫ x : Space, (g x : ℂ) * f x‖ ≤ ∫ x : Space, ‖(g x : ℂ) * f x‖ := |
| 73 | norm_integral_le_integral_norm _ |
| 74 | _ ≤ ∫ x : Space, ‖g x‖ * B := by |
| 75 | apply integral_mono hf.norm (hg.norm.mul_const B) |
| 76 | intro x |
| 77 | change ‖(g x : ℂ) * f x‖ ≤ ‖g x‖ * B |
| 78 | rw [norm_mul, Complex.norm_real] |
| 79 | exact mul_le_mul_of_nonneg_left (hB x) (norm_nonneg _) |
| 80 | _ = (∫ x : Space, ‖g x‖) * B := integral_mul_const _ _ |
| 81 | |
| 82 | /-- The ordinary inclusion of Schwartz tests into complex-valued functions. -/ |
| 83 | noncomputable def testValueLinear : ComplexTest →ₗ[ℂ] (Space → ℂ) where |
| 84 | toFun ψ := ψ |
| 85 | map_add' _ _ := rfl |
| 86 | map_smul' _ _ := rfl |
| 87 | |
| 88 | /-- Integrating a linear family of tests against a fixed coefficient is linear |
| 89 | when every displayed integrand is integrable. -/ |
| 90 | def integralPairLinear (g : Space → ℝ) (T : ComplexTest →ₗ[ℂ] (Space → ℂ)) |
| 91 | (hint : ∀ ψ : ComplexTest, Integrable (fun x : Space => (g x : ℂ) * T ψ x)) : |
| 92 | ComplexTest →ₗ[ℂ] ℂ where |
| 93 | toFun ψ := ∫ x : Space, (g x : ℂ) * T ψ x |
| 94 | map_add' ψ φ := by |
| 95 | simp only [map_add, Pi.add_apply, mul_add] |
| 96 | exact integral_add (hint ψ) (hint φ) |
| 97 | map_smul' c ψ := by |
| 98 | simp only [map_smul, Pi.smul_apply, RingHom.id_apply, smul_eq_mul] |
| 99 | calc |
| 100 | (∫ x : Space, (g x : ℂ) * (c * T ψ x)) = |
| 101 | ∫ x : Space, c * ((g x : ℂ) * T ψ x) := by |
| 102 | apply integral_congr_ae |
| 103 | exact Filter.Eventually.of_forall fun x => by ring |
| 104 | _ = c * ∫ x : Space, (g x : ℂ) * T ψ x := integral_const_mul _ _ |
| 105 | |
| 106 | /-- The linear `L²` coefficient pairing. -/ |
| 107 | def l2PairLinear (W : Space → ℝ) (hW : MemLp W 2) : ComplexTest →ₗ[ℂ] ℂ := |
| 108 | integralPairLinear W testValueLinear (integrable_l2_pair hW) |
| 109 | |
| 110 | /-- The linear `L¹` coefficient pairing. -/ |
| 111 | def l1PairLinear (g : Space → ℝ) (hg : Integrable g) : ComplexTest →ₗ[ℂ] ℂ := |
| 112 | integralPairLinear g testValueLinear (integrable_l1_pair hg) |
| 113 | |
| 114 | @[simp] theorem l2PairLinear_apply (W : Space → ℝ) (hW : MemLp W 2) (ψ : ComplexTest) : |
| 115 | l2PairLinear W hW ψ = ∫ x : Space, (W x : ℂ) * ψ x := rfl |
| 116 | |
| 117 | @[simp] theorem l1PairLinear_apply (g : Space → ℝ) (hg : Integrable g) (ψ : ComplexTest) : |
| 118 | l1PairLinear g hg ψ = ∫ x : Space, (g x : ℂ) * ψ x := rfl |
| 119 | |
| 120 | /-- The coefficients are the two time averages of velocity and the time average |
| 121 | of the quadratic tensor in the conservative pressure equation. -/ |
| 122 | def averagedPressureDifferenceValue (W0 W1 : Space → ℝ) |
| 123 | (G : Fin 3 → Fin 3 → Space → ℝ) (k : Fin 3) (ψ : ComplexTest) : ℂ := |
| 124 | (∫ x : Space, (W0 x : ℂ) * laplacianCLM ψ x) + |
| 125 | (∫ x : Space, (W1 x : ℂ) * ψ x) + |
| 126 | (∑ i : Fin 3, ∫ x : Space, (G k i x : ℂ) * partialCLM i ψ x) + |
| 127 | ∑ i : Fin 3, ∑ j : Fin 3, pressurePair i j (G i j) (partialCLM k ψ) |
| 128 | |
| 129 | /-- Every term of the pressure-difference functional is an integrable pairing. -/ |
| 130 | theorem integrable_terms {W0 W1 : Space → ℝ} {G : Fin 3 → Fin 3 → Space → ℝ} |
| 131 | (hW0 : MemLp W0 2) (hW1 : MemLp W1 2) |
| 132 | (hG : ∀ i j : Fin 3, Integrable (G i j)) (k : Fin 3) (ψ : ComplexTest) : |
| 133 | Integrable (fun x : Space => (W0 x : ℂ) * laplacianCLM ψ x) ∧ |
| 134 | Integrable (fun x : Space => (W1 x : ℂ) * ψ x) ∧ |
| 135 | (∀ i : Fin 3, Integrable (fun x : Space => (G k i x : ℂ) * partialCLM i ψ x)) ∧ |
| 136 | (∀ i j : Fin 3, Integrable (fun x : Space => |
| 137 | (G i j x : ℂ) * rieszTest i j (partialCLM k ψ) x)) := by |
| 138 | exact ⟨integrable_l2_pair hW0 (laplacianCLM ψ), integrable_l2_pair hW1 ψ, |
| 139 | fun i => integrable_l1_pair (hG k i) (partialCLM i ψ), |
| 140 | fun i j => integrable_l1_riesz_pair (hG i j) i j (partialCLM k ψ)⟩ |
| 141 | |
| 142 | theorem l2_pair_laplacian_eq_sum {W : Space → ℝ} (hW : MemLp W 2) |
| 143 | (ψ : ComplexTest) : |
| 144 | (∫ x : Space, (W x : ℂ) * laplacianCLM ψ x) = |
| 145 | ∑ i : Fin 3, ∫ x : Space, (W x : ℂ) * partialCLM i (partialCLM i ψ) x := by |
| 146 | change l2PairLinear W hW (laplacianCLM ψ) = _ |
| 147 | simp only [laplacianCLM, _root_.sum_apply, ContinuousLinearMap.comp_apply, |
| 148 | map_sum, l2PairLinear_apply] |
| 149 | |
| 150 | theorem norm_l2_laplacian_pair_le {W : Space → ℝ} (hW : MemLp W 2) |
| 151 | (ψ : ComplexTest) {B : ℝ} |
| 152 | (hB : ∀ i : Fin 3, |
| 153 | Real.sqrt (l2Sq (partialCLM i (partialCLM i ψ) : Space → ℂ)) ≤ B) : |
| 154 | ‖∫ x : Space, (W x : ℂ) * laplacianCLM ψ x‖ ≤ 3 * Real.sqrt (l2Sq W) * B := by |
| 155 | rw [l2_pair_laplacian_eq_sum hW ψ] |
| 156 | calc |
| 157 | ‖∑ i : Fin 3, ∫ x : Space, (W x : ℂ) * partialCLM i (partialCLM i ψ) x‖ ≤ |
| 158 | ∑ i : Fin 3, ‖∫ x : Space, (W x : ℂ) * partialCLM i (partialCLM i ψ) x‖ := |
| 159 | norm_sum_le _ _ |
| 160 | _ ≤ ∑ _i : Fin 3, Real.sqrt (l2Sq W) * B := by |
| 161 | apply Finset.sum_le_sum |
| 162 | intro i _ |
| 163 | exact (norm_l2_pair_le hW (partialCLM i (partialCLM i ψ))).trans |
| 164 | (mul_le_mul_of_nonneg_left (hB i) (Real.sqrt_nonneg _)) |
| 165 | _ = 3 * Real.sqrt (l2Sq W) * B := by simp [mul_assoc] |
| 166 | |
| 167 | /-- The actual pressure-difference expression is bounded by the Fourier `H³` |
| 168 | norm, with a constant depending only on the given coefficients. -/ |
| 169 | theorem averagedPressureDifferenceValue_bound {W0 W1 : Space → ℝ} |
| 170 | {G : Fin 3 → Fin 3 → Space → ℝ} |
| 171 | (hW0 : MemLp W0 2) (hW1 : MemLp W1 2) |
| 172 | (hG : ∀ i j : Fin 3, Integrable (G i j)) (k : Fin 3) : |
| 173 | ∃ C : ℝ, 0 ≤ C ∧ ∀ ψ : ComplexTest, |
| 174 | ‖averagedPressureDifferenceValue W0 W1 G k ψ‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ) := by |
| 175 | obtain ⟨B, hB, htest⟩ := exists_uniform_test_bound |
| 176 | let M := 3 * Real.sqrt (l2Sq W0) + Real.sqrt (l2Sq W1) + |
| 177 | (∑ i : Fin 3, ∫ x : Space, ‖G k i x‖) + |
| 178 | ∑ i : Fin 3, ∑ j : Fin 3, ∫ x : Space, ‖G i j x‖ |
| 179 | have hmass (i j : Fin 3) : 0 ≤ ∫ x : Space, ‖G i j x‖ := |
| 180 | integral_nonneg fun _ => norm_nonneg _ |
| 181 | have hrow : 0 ≤ ∑ i : Fin 3, ∫ x : Space, ‖G k i x‖ := |
| 182 | Finset.sum_nonneg fun i _ => hmass k i |
| 183 | have hall : 0 ≤ ∑ i : Fin 3, ∑ j : Fin 3, ∫ x : Space, ‖G i j x‖ := |
| 184 | Finset.sum_nonneg fun i _ => Finset.sum_nonneg fun j _ => hmass i j |
| 185 | have hM : 0 ≤ M := by dsimp [M]; positivity |
| 186 | refine ⟨M * B, mul_nonneg hM hB, ?_⟩ |
| 187 | intro ψ |
| 188 | obtain ⟨hbase, hsecond, hfirst, hriesz⟩ := htest ψ |
| 189 | have h0 := norm_l2_laplacian_pair_le hW0 ψ hsecond |
| 190 | have h1 : ‖∫ x : Space, (W1 x : ℂ) * ψ x‖ ≤ |
| 191 | Real.sqrt (l2Sq W1) * (B * Real.sqrt (fourierHNormSq 3 ψ)) := |
| 192 | (norm_l2_pair_le hW1 ψ).trans |
| 193 | (mul_le_mul_of_nonneg_left hbase (Real.sqrt_nonneg _)) |
| 194 | have hrow_bound : |
| 195 | ‖∑ i : Fin 3, ∫ x : Space, (G k i x : ℂ) * partialCLM i ψ x‖ ≤ |
| 196 | (∑ i : Fin 3, ∫ x : Space, ‖G k i x‖) * (B * Real.sqrt (fourierHNormSq 3 ψ)) := by |
| 197 | calc |
| 198 | ‖∑ i : Fin 3, ∫ x : Space, (G k i x : ℂ) * partialCLM i ψ x‖ ≤ |
| 199 | ∑ i : Fin 3, ‖∫ x : Space, (G k i x : ℂ) * partialCLM i ψ x‖ := |
| 200 | norm_sum_le _ _ |
| 201 | _ ≤ ∑ i : Fin 3, (∫ x : Space, ‖G k i x‖) * |
| 202 | (B * Real.sqrt (fourierHNormSq 3 ψ)) := by |
| 203 | apply Finset.sum_le_sum |
| 204 | intro i _ |
| 205 | exact norm_l1_pair_le_of_bound (hG k i) |
| 206 | (integrable_l1_pair (hG k i) (partialCLM i ψ)) (hfirst i) |
| 207 | _ = _ := by rw [Finset.sum_mul] |
| 208 | have hpressure_bound : |
| 209 | ‖∑ i : Fin 3, ∑ j : Fin 3, pressurePair i j (G i j) (partialCLM k ψ)‖ ≤ |
| 210 | (∑ i : Fin 3, ∑ j : Fin 3, ∫ x : Space, ‖G i j x‖) * |
| 211 | (B * Real.sqrt (fourierHNormSq 3 ψ)) := by |
| 212 | calc |
| 213 | ‖∑ i : Fin 3, ∑ j : Fin 3, pressurePair i j (G i j) (partialCLM k ψ)‖ ≤ |
| 214 | ∑ i : Fin 3, ‖∑ j : Fin 3, pressurePair i j (G i j) (partialCLM k ψ)‖ := |
| 215 | norm_sum_le _ _ |
| 216 | _ ≤ ∑ i : Fin 3, ∑ j : Fin 3, ‖pressurePair i j (G i j) (partialCLM k ψ)‖ := |
| 217 | Finset.sum_le_sum fun _ _ => norm_sum_le _ _ |
| 218 | _ ≤ ∑ i : Fin 3, ∑ j : Fin 3, (∫ x : Space, ‖G i j x‖) * |
| 219 | (B * Real.sqrt (fourierHNormSq 3 ψ)) := by |
| 220 | apply Finset.sum_le_sum |
| 221 | intro i _ |
| 222 | apply Finset.sum_le_sum |
| 223 | intro j _ |
| 224 | exact norm_l1_pair_le_of_bound (hG i j) |
| 225 | (integrable_l1_riesz_pair (hG i j) i j (partialCLM k ψ)) (hriesz i j k) |
| 226 | _ = _ := by simp only [Finset.sum_mul] |
| 227 | have htriangle : ‖averagedPressureDifferenceValue W0 W1 G k ψ‖ ≤ |
| 228 | ‖∫ x : Space, (W0 x : ℂ) * laplacianCLM ψ x‖ + |
| 229 | ‖∫ x : Space, (W1 x : ℂ) * ψ x‖ + |
| 230 | ‖∑ i : Fin 3, ∫ x : Space, (G k i x : ℂ) * partialCLM i ψ x‖ + |
| 231 | ‖∑ i : Fin 3, ∑ j : Fin 3, pressurePair i j (G i j) (partialCLM k ψ)‖ := by |
| 232 | exact (norm_add_le _ _).trans (add_le_add_left |
| 233 | ((norm_add_le _ _).trans (add_le_add_left (norm_add_le _ _) _)) _) |
| 234 | calc |
| 235 | ‖averagedPressureDifferenceValue W0 W1 G k ψ‖ ≤ _ := htriangle |
| 236 | _ ≤ 3 * Real.sqrt (l2Sq W0) * (B * Real.sqrt (fourierHNormSq 3 ψ)) + |
| 237 | Real.sqrt (l2Sq W1) * (B * Real.sqrt (fourierHNormSq 3 ψ)) + |
| 238 | (∑ i : Fin 3, ∫ x : Space, ‖G k i x‖) * (B * Real.sqrt (fourierHNormSq 3 ψ)) + |
| 239 | (∑ i : Fin 3, ∑ j : Fin 3, ∫ x : Space, ‖G i j x‖) * |
| 240 | (B * Real.sqrt (fourierHNormSq 3 ψ)) := |
| 241 | add_le_add (add_le_add (add_le_add h0 h1) hrow_bound) hpressure_bound |
| 242 | _ = (M * B) * Real.sqrt (fourierHNormSq 3 ψ) := by dsimp [M]; ring |
| 243 | |
| 244 | /-- The canonical pressure pairing, as an actual complex-linear map on tests. -/ |
| 245 | def pressurePairLinear (i j : Fin 3) (g : Space → ℝ) (hg : Integrable g) : |
| 246 | ComplexTest →ₗ[ℂ] ℂ := |
| 247 | integralPairLinear g (RieszTestOperators.rieszTestLinear i j) |
| 248 | (integrable_l1_riesz_pair hg i j) |
| 249 | |
| 250 | @[simp] theorem pressurePairLinear_apply (i j : Fin 3) (g : Space → ℝ) |
| 251 | (hg : Integrable g) (ψ : ComplexTest) : |
| 252 | pressurePairLinear i j g hg ψ = pressurePair i j g ψ := rfl |
| 253 | |
| 254 | /-- The averaged pressure-gradient difference determined by the stated |
| 255 | velocity and quadratic-tensor coefficients. -/ |
| 256 | def averagedPressureDifference (W0 W1 : Space → ℝ) |
| 257 | (G : Fin 3 → Fin 3 → Space → ℝ) |
| 258 | (hW0 : MemLp W0 2) (hW1 : MemLp W1 2) |
| 259 | (hG : ∀ i j : Fin 3, Integrable (G i j)) (k : Fin 3) : |
| 260 | ComplexTest →ₗ[ℂ] ℂ := |
| 261 | (l2PairLinear W0 hW0).comp laplacianCLM.toLinearMap + |
| 262 | l2PairLinear W1 hW1 + |
| 263 | (∑ i : Fin 3, (l1PairLinear (G k i) (hG k i)).comp (partialCLM i).toLinearMap) + |
| 264 | ∑ i : Fin 3, ∑ j : Fin 3, |
| 265 | (pressurePairLinear i j (G i j) (hG i j)).comp (partialCLM k).toLinearMap |
| 266 | |
| 267 | @[simp] theorem averagedPressureDifference_apply (W0 W1 : Space → ℝ) |
| 268 | (G : Fin 3 → Fin 3 → Space → ℝ) |
| 269 | (hW0 : MemLp W0 2) (hW1 : MemLp W1 2) |
| 270 | (hG : ∀ i j : Fin 3, Integrable (G i j)) (k : Fin 3) (ψ : ComplexTest) : |
| 271 | averagedPressureDifference W0 W1 G hW0 hW1 hG k ψ = |
| 272 | averagedPressureDifferenceValue W0 W1 G k ψ := by |
| 273 | simp only [averagedPressureDifference, averagedPressureDifferenceValue, |
| 274 | LinearMap.add_apply, LinearMap.sum_apply, LinearMap.comp_apply, |
| 275 | l2PairLinear_apply, l1PairLinear_apply, pressurePairLinear_apply] |
| 276 | rfl |
| 277 | |
| 278 | /-- The actual complex-linear functional satisfies a uniform `H³` estimate. -/ |
| 279 | theorem averagedPressureDifference_bound {W0 W1 : Space → ℝ} |
| 280 | {G : Fin 3 → Fin 3 → Space → ℝ} |
| 281 | (hW0 : MemLp W0 2) (hW1 : MemLp W1 2) |
| 282 | (hG : ∀ i j : Fin 3, Integrable (G i j)) (k : Fin 3) : |
| 283 | ∃ C : ℝ, 0 ≤ C ∧ ∀ ψ : ComplexTest, |
| 284 | ‖averagedPressureDifference W0 W1 G hW0 hW1 hG k ψ‖ ≤ |
| 285 | C * Real.sqrt (fourierHNormSq 3 ψ) := by |
| 286 | simpa only [averagedPressureDifference_apply] using |
| 287 | averagedPressureDifferenceValue_bound hW0 hW1 hG k |
| 288 | |
| 289 | end NavierStokesR3.PressureFunctionals |