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.LocalizedDifferenceEnergy |
| 2 | import NavierStokes.R3.WeightedSobolev |
| 3 | import NavierStokes.R3.ComparisonCutoffs |
| 4 | |
| 5 | /-! |
| 6 | # Non-pressure terms in the localized difference energy balance |
| 7 | |
| 8 | The velocity difference need not have compact support or globally integrable |
| 9 | derivatives. The compact cutoff supplies local integrability; the estimates |
| 10 | use its weighted `L⁶` norm and the unweighted `L²` norm of the difference. |
| 11 | -/ |
| 12 | |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open Set Filter MeasureTheory |
| 17 | open scoped ContDiff BigOperators InnerProductSpace |
| 18 | |
| 19 | namespace NavierStokesR3.LocalizedFluxEstimates |
| 20 | |
| 21 | open ProblemStatement Comparison |
| 22 | open NavierStokes.ProblemStatement (spatialDerivative coordinateVector) |
| 23 | open NavierStokes.PeriodicIntegration (spatialPartial) |
| 24 | |
| 25 | /-- The cutoff makes the coupling integral finite. -/ |
| 26 | theorem coupling_integrable {χ : Space → ℝ} {u w : VelocityField} {t : ℝ} |
| 27 | (hχ : Continuous χ) (hs : HasCompactSupport χ) |
| 28 | (hu : ContDiff ℝ 1 (fun x => u (t, x))) |
| 29 | (hw : Continuous (fun x => w (t, x))) : |
| 30 | Integrable (fun x => χ x * |
| 31 | ⟪w (t, x), spatialDerivative u t x (w (t, x))⟫_ℝ) volume := by |
| 32 | apply LocalizedDifferenceEnergy.integrable_cutoff_mul hχ hs |
| 33 | exact hw.inner ((hu.continuous_fderiv (by simp)).clm_apply hw) |
| 34 | |
| 35 | /-- The indefinite coupling is controlled by the gradient of the reference |
| 36 | velocity and the actual compactly weighted energy. -/ |
| 37 | theorem neg_coupling_le_weightedEnergy {χ : Space → ℝ} {u w : VelocityField} {t G : ℝ} |
| 38 | (hχ : Continuous χ) (hs : HasCompactSupport χ) (hχ0 : ∀ x, 0 ≤ χ x) |
| 39 | (hu : ContDiff ℝ 1 (fun x => u (t, x))) |
| 40 | (hw : Continuous (fun x => w (t, x))) |
| 41 | (hG : ∀ x, ‖spatialDerivative u t x‖ ≤ G) : |
| 42 | -(∫ x, χ x * ⟪w (t, x), spatialDerivative u t x (w (t, x))⟫_ℝ) ≤ |
| 43 | G * weightedEnergy χ w t := by |
| 44 | have hi := coupling_integrable hχ hs hu hw |
| 45 | have he := LocalizedDifferenceEnergy.integrable_weighted_energy hχ hs hw |
| 46 | rw [← integral_neg] |
| 47 | change (∫ x, -(χ x * ⟪w (t, x), spatialDerivative u t x (w (t, x))⟫_ℝ)) ≤ |
| 48 | G * (∫ x, χ x * ‖w (t, x)‖ ^ 2) |
| 49 | rw [← integral_const_mul] |
| 50 | apply integral_mono hi.neg (he.const_mul G) |
| 51 | intro x |
| 52 | change -(χ x * ⟪w (t, x), spatialDerivative u t x (w (t, x))⟫_ℝ) ≤ |
| 53 | G * (χ x * ‖w (t, x)‖ ^ 2) |
| 54 | have h := NavierStokes.PeriodicUniqueness.nonlinear_energy_bound |
| 55 | (spatialDerivative u t x) (w (t, x)) (hG x) |
| 56 | nlinarith [mul_le_mul_of_nonneg_left h (hχ0 x)] |
| 57 | |
| 58 | /-- Derivative of the energy weight. -/ |
| 59 | theorem fderiv_cutoff_eight {φ : Space → ℝ} {x : Space} |
| 60 | (hφ : DifferentiableAt ℝ φ x) : |
| 61 | fderiv ℝ (fun y => φ y ^ 8) x = (8 * φ x ^ 7) • fderiv ℝ φ x := by |
| 62 | simpa only [Function.comp_def, Nat.cast_ofNat, Nat.reduceSub] using |
| 63 | ((hasDerivAt_pow 8 (φ x)).comp_hasFDerivAt x hφ.hasFDerivAt).fderiv |
| 64 | |
| 65 | /-- One power of the cutoff is harmless because it lies in `[0,1]`. -/ |
| 66 | theorem norm_fderiv_cutoff_eight_apply_le {φ : Space → ℝ} {x : Space} |
| 67 | (hφ : DifferentiableAt ℝ φ x) (hφ0 : 0 ≤ φ x) (hφ1 : φ x ≤ 1) |
| 68 | {L : ℝ} (hL0 : 0 ≤ L) (hL : ‖fderiv ℝ φ x‖ ≤ L) (z : Space) : |
| 69 | ‖fderiv ℝ (fun y => φ y ^ 8) x z‖ ≤ (8 * L) * φ x ^ 6 * ‖z‖ := by |
| 70 | have h76 : φ x ^ 7 ≤ φ x ^ 6 := by |
| 71 | calc |
| 72 | φ x ^ 7 = φ x ^ 6 * φ x := by ring |
| 73 | _ ≤ φ x ^ 6 * 1 := mul_le_mul_of_nonneg_left hφ1 (pow_nonneg hφ0 6) |
| 74 | _ = φ x ^ 6 := mul_one _ |
| 75 | have hd : ‖fderiv ℝ φ x z‖ ≤ L * ‖z‖ := |
| 76 | ((fderiv ℝ φ x).le_opNorm z).trans |
| 77 | (mul_le_mul_of_nonneg_right hL (norm_nonneg z)) |
| 78 | rw [fderiv_cutoff_eight hφ, _root_.smul_apply, smul_eq_mul, |
| 79 | norm_mul, Real.norm_eq_abs, abs_of_nonneg (by positivity : 0 ≤ 8 * φ x ^ 7)] |
| 80 | calc |
| 81 | (8 * φ x ^ 7) * ‖fderiv ℝ φ x z‖ ≤ (8 * φ x ^ 7) * (L * ‖z‖) := |
| 82 | mul_le_mul_of_nonneg_left hd (by positivity) |
| 83 | _ = φ x ^ 7 * ((8 * L) * ‖z‖) := by ring |
| 84 | _ ≤ φ x ^ 6 * ((8 * L) * ‖z‖) := |
| 85 | mul_le_mul_of_nonneg_right h76 (by positivity) |
| 86 | _ = (8 * L) * φ x ^ 6 * ‖z‖ := by ring |
| 87 | |
| 88 | /-- The reference velocity vanishes in the cutoff derivative, leaving only |
| 89 | the difference velocity in the transport flux. -/ |
| 90 | theorem transport_flux_bound {φ : Space → ℝ} {u v : VelocityField} {t : ℝ} |
| 91 | (hφ : ContDiff ℝ 1 φ) (hs : HasCompactSupport φ) |
| 92 | (hu : Continuous (fun x => u (t, x))) (hv : Continuous (fun x => v (t, x))) |
| 93 | (hw2 : MemLp (fun x => (u - v) (t, x)) 2 volume) |
| 94 | (hφ0 : ∀ x, 0 ≤ φ x) (hφ1 : ∀ x, φ x ≤ 1) |
| 95 | {L : ℝ} (hL0 : 0 ≤ L) (hL : ∀ x, ‖fderiv ℝ φ x‖ ≤ L) |
| 96 | (hvanish : ∀ x, fderiv ℝ (fun y => φ y ^ 8) x (u (t, x)) = 0) : |
| 97 | Integrable (fun x => ‖(u - v) (t, x)‖ ^ 2 * |
| 98 | fderiv ℝ (fun y => φ y ^ 8) x (v (t, x))) volume ∧ |
| 99 | |∫ x, ‖(u - v) (t, x)‖ ^ 2 * fderiv ℝ (fun y => φ y ^ 8) x (v (t, x))| ≤ |
| 100 | (8 * L) * comparisonLpNorm 2 (fun x => (u - v) (t, x)) ^ (3 / 2 : ℝ) * |
| 101 | cutoffL6 φ (u - v) t ^ (3 / 2 : ℝ) := by |
| 102 | have hw : Continuous (fun x => (u - v) (t, x)) := hu.sub hv |
| 103 | have hweighted := WeightedSobolev.memLp_cutoff_pow_smul hφ.continuous hs hw |
| 104 | (by norm_num : (4 : ℕ) ≠ 0) 6 |
| 105 | obtain ⟨hT, hTb⟩ := WeightedInterpolation.cutoff_transport_bound |
| 106 | hφ.continuous.aestronglyMeasurable hφ0 hw2 hweighted |
| 107 | have hswitch (x : Space) : fderiv ℝ (fun y => φ y ^ 8) x (v (t, x)) = |
| 108 | -fderiv ℝ (fun y => φ y ^ 8) x ((u - v) (t, x)) := by |
| 109 | simp only [Pi.sub_apply, map_sub, hvanish x, zero_sub, neg_neg] |
| 110 | have hbound (x : Space) : |
| 111 | ‖‖(u - v) (t, x)‖ ^ 2 * fderiv ℝ (fun y => φ y ^ 8) x (v (t, x))‖ ≤ |
| 112 | (8 * L) * (φ x ^ 6 * ‖(u - v) (t, x)‖ ^ 3) := by |
| 113 | rw [norm_mul, norm_pow, norm_norm, hswitch, norm_neg] |
| 114 | calc |
| 115 | ‖(u - v) (t, x)‖ ^ 2 * |
| 116 | ‖fderiv ℝ (fun y => φ y ^ 8) x ((u - v) (t, x))‖ ≤ |
| 117 | ‖(u - v) (t, x)‖ ^ 2 * ((8 * L) * φ x ^ 6 * ‖(u - v) (t, x)‖) := |
| 118 | mul_le_mul_of_nonneg_left |
| 119 | (norm_fderiv_cutoff_eight_apply_le (hφ.differentiable (by simp) x) |
| 120 | (hφ0 x) (hφ1 x) hL0 (hL x) _) (sq_nonneg _) |
| 121 | _ = _ := by ring |
| 122 | have hmajor := hT.const_mul (8 * L) |
| 123 | have hflux : Continuous (fun x => ‖(u - v) (t, x)‖ ^ 2 * |
| 124 | fderiv ℝ (fun y => φ y ^ 8) x (v (t, x))) := |
| 125 | (hw.norm.pow 2).mul (((hφ.pow 8).continuous_fderiv (by simp)).clm_apply hv) |
| 126 | refine ⟨hmajor.mono' hflux.aestronglyMeasurable (Eventually.of_forall hbound), ?_⟩ |
| 127 | calc |
| 128 | |∫ x, ‖(u - v) (t, x)‖ ^ 2 * fderiv ℝ (fun y => φ y ^ 8) x (v (t, x))| ≤ |
| 129 | ∫ x, (8 * L) * (φ x ^ 6 * ‖(u - v) (t, x)‖ ^ 3) := |
| 130 | norm_integral_le_of_norm_le hmajor (Eventually.of_forall hbound) |
| 131 | _ = (8 * L) * (∫ x, φ x ^ 6 * ‖(u - v) (t, x)‖ ^ 3) := integral_const_mul _ _ |
| 132 | _ ≤ (8 * L) * (comparisonLpNorm 2 (fun x => (u - v) (t, x)) ^ (3 / 2 : ℝ) * |
| 133 | cutoffL6 φ (u - v) t ^ (3 / 2 : ℝ)) := |
| 134 | mul_le_mul_of_nonneg_left hTb (by positivity) |
| 135 | _ = _ := by ring |
| 136 | |
| 137 | theorem continuous_laplacian {χ : Space → ℝ} (hχ : ContDiff ℝ ∞ χ) : |
| 138 | Continuous (ComparisonCutoffs.laplacian χ) := by |
| 139 | unfold ComparisonCutoffs.laplacian |
| 140 | exact continuous_finsetSum _ fun i _ => |
| 141 | (NavierStokes.PeriodicUniqueness.spatial_partial_contDiff |
| 142 | (NavierStokes.PeriodicUniqueness.spatial_partial_contDiff hχ i) i).continuous |
| 143 | |
| 144 | /-- A bounded Laplacian can be paired with any square-integrable field. -/ |
| 145 | theorem laplacian_flux_bound {χ : Space → ℝ} {w : Space → Space} |
| 146 | (hχ : ContDiff ℝ ∞ χ) (hw2 : MemLp w 2 volume) {K : ℝ} |
| 147 | (hK : ∀ x, ‖ComparisonCutoffs.laplacian χ x‖ ≤ K) : |
| 148 | Integrable (fun x => ‖w x‖ ^ 2 * ComparisonCutoffs.laplacian χ x) volume ∧ |
| 149 | |∫ x, ‖w x‖ ^ 2 * ComparisonCutoffs.laplacian χ x| ≤ K * comparisonLpNorm 2 w ^ 2 := by |
| 150 | have hsquare : Integrable (fun x => ‖w x‖ ^ 2) volume := |
| 151 | (memLp_two_iff_integrable_sq_norm hw2.aestronglyMeasurable).mp hw2 |
| 152 | have hmajor := hsquare.const_mul K |
| 153 | have hbound (x : Space) : ‖‖w x‖ ^ 2 * ComparisonCutoffs.laplacian χ x‖ ≤ |
| 154 | K * ‖w x‖ ^ 2 := by |
| 155 | rw [norm_mul, norm_pow, norm_norm] |
| 156 | exact (mul_le_mul_of_nonneg_left (hK x) (sq_nonneg _)).trans_eq (mul_comm _ _) |
| 157 | have hmeas : AEStronglyMeasurable |
| 158 | (fun x => ‖w x‖ ^ 2 * ComparisonCutoffs.laplacian χ x) volume := |
| 159 | (hw2.aestronglyMeasurable.norm.pow 2).mul (continuous_laplacian hχ).aestronglyMeasurable |
| 160 | refine ⟨hmajor.mono' hmeas (Eventually.of_forall hbound), ?_⟩ |
| 161 | calc |
| 162 | |∫ x, ‖w x‖ ^ 2 * ComparisonCutoffs.laplacian χ x| ≤ ∫ x, K * ‖w x‖ ^ 2 := |
| 163 | norm_integral_le_of_norm_le hmajor (Eventually.of_forall hbound) |
| 164 | _ = K * l2Sq w := integral_const_mul _ _ |
| 165 | _ = K * comparisonLpNorm 2 w ^ 2 := by rw [← LpNormTools.lpNorm_two_sq_eq_l2Sq hw2] |
| 166 | |
| 167 | private def baseWeight (x : Space) : ℝ := ComparisonCutoffs.baseCutoff x ^ 8 |
| 168 | |
| 169 | private theorem baseWeight_smooth : ContDiff ℝ ∞ baseWeight := |
| 170 | ComparisonCutoffs.baseCutoff_smooth.pow 8 |
| 171 | |
| 172 | private theorem baseWeight_hasCompactSupport : HasCompactSupport baseWeight := |
| 173 | ComparisonCutoffs.baseCutoff_hasCompactSupport.comp_left |
| 174 | (g := fun r : ℝ => r ^ 8) (by norm_num) |
| 175 | |
| 176 | private theorem exists_weight_second_derivative_bound : |
| 177 | ∃ C : ℝ, 0 < C ∧ ∀ x : Space, ‖iteratedFDeriv ℝ 2 baseWeight x‖ ≤ C := by |
| 178 | obtain ⟨C, hC⟩ := (baseWeight_hasCompactSupport.iteratedFDeriv 2).exists_bound_of_continuous |
| 179 | (ContDiff.continuous_iteratedFDeriv le_rfl (contDiff_infty.1 baseWeight_smooth 2)) |
| 180 | exact ⟨max 1 C, lt_of_lt_of_le zero_lt_one (le_max_left _ _), |
| 181 | fun x => (hC x).trans (le_max_right _ _)⟩ |
| 182 | |
| 183 | /-- A fixed derivative bound for the unscaled energy weight. -/ |
| 184 | def weightSecondDerivativeConstant : ℝ := Classical.choose exists_weight_second_derivative_bound |
| 185 | |
| 186 | theorem weightSecondDerivativeConstant_pos : 0 < weightSecondDerivativeConstant := |
| 187 | (Classical.choose_spec exists_weight_second_derivative_bound).1 |
| 188 | |
| 189 | private theorem baseWeight_iteratedFDeriv_two_le (x : Space) : |
| 190 | ‖iteratedFDeriv ℝ 2 baseWeight x‖ ≤ weightSecondDerivativeConstant := |
| 191 | (Classical.choose_spec exists_weight_second_derivative_bound).2 x |
| 192 | |
| 193 | private def weightDilation (R : ℝ) : Space →L[ℝ] Space := |
| 194 | R⁻¹ • ContinuousLinearMap.id ℝ Space |
| 195 | |
| 196 | private theorem norm_weightDilation_le {R : ℝ} (hR : 0 < R) : |
| 197 | ‖weightDilation R‖ ≤ R⁻¹ := by |
| 198 | apply ContinuousLinearMap.opNorm_le_bound _ (inv_nonneg.mpr hR.le) |
| 199 | intro x |
| 200 | change ‖R⁻¹ • x‖ ≤ R⁻¹ * ‖x‖ |
| 201 | rw [ComparisonCutoffs.norm_scaled hR, div_eq_inv_mul] |
| 202 | |
| 203 | /-- Apply scaling to the fixed eighth-power weight before estimating its |
| 204 | derivatives. The second derivative has the same inverse-square scaling. -/ |
| 205 | theorem weight_iteratedFDeriv_two_le {R : ℝ} (hR : 0 < R) (x : Space) : |
| 206 | ‖iteratedFDeriv ℝ 2 (ComparisonCutoffs.weight R) x‖ ≤ |
| 207 | weightSecondDerivativeConstant / R ^ 2 := by |
| 208 | change ‖iteratedFDeriv ℝ 2 (baseWeight ∘ weightDilation R) x‖ ≤ _ |
| 209 | rw [(weightDilation R).iteratedFDeriv_comp_right |
| 210 | (contDiff_infty.1 baseWeight_smooth 2) x le_rfl] |
| 211 | calc |
| 212 | ‖(iteratedFDeriv ℝ 2 baseWeight (weightDilation R x)).compContinuousLinearMap |
| 213 | (fun _ => weightDilation R)‖ ≤ |
| 214 | ‖iteratedFDeriv ℝ 2 baseWeight (weightDilation R x)‖ * |
| 215 | ∏ _ : Fin 2, ‖weightDilation R‖ := |
| 216 | ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _ |
| 217 | _ ≤ ‖iteratedFDeriv ℝ 2 baseWeight (weightDilation R x)‖ * (R⁻¹) ^ 2 := by |
| 218 | apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) |
| 219 | calc |
| 220 | ∏ _ : Fin 2, ‖weightDilation R‖ ≤ ∏ _ : Fin 2, R⁻¹ := |
| 221 | Finset.prod_le_prod (fun _ _ => norm_nonneg _) (fun _ _ => norm_weightDilation_le hR) |
| 222 | _ = (R⁻¹) ^ 2 := by simp |
| 223 | _ ≤ weightSecondDerivativeConstant * (R⁻¹) ^ 2 := |
| 224 | mul_le_mul_of_nonneg_right (baseWeight_iteratedFDeriv_two_le _) (by positivity) |
| 225 | _ = weightSecondDerivativeConstant / R ^ 2 := by simp [div_eq_mul_inv] |
| 226 | |
| 227 | theorem weight_second_fderiv_le {R : ℝ} (hR : 0 < R) (x : Space) : |
| 228 | ‖fderiv ℝ (fderiv ℝ (ComparisonCutoffs.weight R)) x‖ ≤ |
| 229 | weightSecondDerivativeConstant / R ^ 2 := by |
| 230 | have hn := norm_iteratedFDeriv_fderiv (𝕜 := ℝ) |
| 231 | (f := fderiv ℝ (ComparisonCutoffs.weight R)) (x := x) (n := 0) |
| 232 | simp only [norm_iteratedFDeriv_zero] at hn |
| 233 | rw [hn, norm_iteratedFDeriv_fderiv] |
| 234 | exact weight_iteratedFDeriv_two_le hR x |
| 235 | |
| 236 | /-- The fixed constant in the inverse-square Laplacian estimate. -/ |
| 237 | def weightLaplacianConstant : ℝ := 3 * weightSecondDerivativeConstant |
| 238 | |
| 239 | theorem weightLaplacianConstant_pos : 0 < weightLaplacianConstant := |
| 240 | mul_pos (by norm_num) weightSecondDerivativeConstant_pos |
| 241 | |
| 242 | theorem weight_laplacian_le {R : ℝ} (hR : 0 < R) (x : Space) : |
| 243 | ‖ComparisonCutoffs.laplacian (ComparisonCutoffs.weight R) x‖ ≤ |
| 244 | weightLaplacianConstant / R ^ 2 := by |
| 245 | calc |
| 246 | ‖ComparisonCutoffs.laplacian (ComparisonCutoffs.weight R) x‖ ≤ |
| 247 | ∑ i : Fin 3, ‖spatialPartial i (spatialPartial i (ComparisonCutoffs.weight R)) x‖ := |
| 248 | norm_sum_le _ _ |
| 249 | _ ≤ ∑ _ : Fin 3, weightSecondDerivativeConstant / R ^ 2 := |
| 250 | Finset.sum_le_sum fun i _ => |
| 251 | (ComparisonCutoffs.norm_partial_partial_le (ComparisonCutoffs.weight_smooth R) |
| 252 | i i x).trans (weight_second_fderiv_le hR x) |
| 253 | _ = weightLaplacianConstant / R ^ 2 := by |
| 254 | simp [weightLaplacianConstant, mul_div_assoc] |
| 255 | |
| 256 | /-- The Laplacian term in the energy identity is of order `R⁻² M²`. |
| 257 | Finiteness is explicit and only requires `L²` membership of the velocity. -/ |
| 258 | theorem weight_laplacian_flux_bound {R : ℝ} (hR : 0 < R) {w : VelocityField} {t : ℝ} |
| 259 | (hw2 : MemLp (fun x => w (t, x)) 2 volume) : |
| 260 | Integrable (fun x => ‖w (t, x)‖ ^ 2 * |
| 261 | ∑ i : Fin 3, spatialPartial i (spatialPartial i (ComparisonCutoffs.weight R)) x) volume ∧ |
| 262 | |∫ x, ‖w (t, x)‖ ^ 2 * |
| 263 | ∑ i : Fin 3, spatialPartial i (spatialPartial i (ComparisonCutoffs.weight R)) x| ≤ |
| 264 | (weightLaplacianConstant / R ^ 2) * comparisonLpNorm 2 (fun x => w (t, x)) ^ 2 := |
| 265 | laplacian_flux_bound (ComparisonCutoffs.weight_smooth R) hw2 (weight_laplacian_le hR) |
| 266 | |
| 267 | end NavierStokesR3.LocalizedFluxEstimates |