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 Euler.OrdinaryRegularizer |
| 2 | import Euler.OrdinaryRegularizedFlow |
| 3 | import Euler.OrdinaryH3Commutator |
| 4 | |
| 5 | /-! The actual regularized Euler right-hand side converges to the |
| 6 | projected Euler right-hand side, uniformly on bounded H⁴ sets. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerOrdinarySobolev |
| 11 | |
| 12 | open Set Filter MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 14 | EulerSmoothSobolev Finset |
| 15 | open scoped ContDiff Topology |
| 16 | |
| 17 | theorem regularizer_error_words (n : ℕ) (A : SmoothL2Field Space) |
| 18 | (hA : A.toLp ∈ solenoidalSpace) (q : ℕ) (M : ℝ) (hM : WordBound (q+1) M A) : |
| 19 | WordBound q (regularizerError n*M) (fieldSub ((regularizer n).field A.toLp) A) := by |
| 20 | intro k hk w |
| 21 | simp only [fieldSub,wordField_add,wordField_neg,toLp_addField,toLp_fieldNeg, |
| 22 | SmoothingOperator.field_word,← sub_eq_add_neg] |
| 23 | have hp : solenoidalProjection (wordField A w).toLp=(wordField A w).toLp := |
| 24 | solenoidalSpace.starProjection_eq_self_iff.mpr (word_solenoidal A hA w) |
| 25 | have h := regularizer_error_wordBound n (wordField A w) M |
| 26 | (wordBound_wordField (wordBound_mono hM (by omega : k+1 ≤ q+1)) w) |
| 27 | simpa only [hp] using h |
| 28 | |
| 29 | theorem wordBound_gradient {A : SmoothL2Field Space} {M : ℝ} (hM : WordBound 3 M A) |
| 30 | (x : Space) : ‖fderiv ℝ A.field x‖ ≤ (360*smoothEmbeddingConstant)*M := by |
| 31 | have h := real_smooth_fderiv_le_H3 3 A.field A.smooth (fun j _ => A.integrable j) x |
| 32 | rw [← tensorNorm_eq] at h |
| 33 | exact (h.trans (mul_le_mul_of_nonneg_left (tensorNorm_three_le A M hM) |
| 34 | (mul_nonneg (by norm_num) smoothEmbeddingConstant_nonneg))).trans_eq (by ring) |
| 35 | |
| 36 | theorem advection_low_words (A : SmoothL2Field Space) (M : ℝ) (hM : WordBound 4 M A) : |
| 37 | WordBound 1 (6*h3ProductConstant*M^2) (advectionField A A) := by |
| 38 | intro k hk w |
| 39 | apply (source_advection_outer A A M M (wordBound_mono hM (by omega)) hM (by omega) w).trans |
| 40 | have hcoef : 3*(2 : ℝ)^k ≤ 6 := by interval_cases k <;> norm_num |
| 41 | exact (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right |
| 42 | (mul_le_mul_of_nonneg_right hcoef h3ProductConstant_nonneg) (wordBound_nonneg hM)) |
| 43 | (wordBound_nonneg hM)).trans_eq (by ring) |
| 44 | |
| 45 | def regularizationCost (M : ℝ) : ℝ := (6*h3ProductConstant+399*smoothEmbeddingConstant)*M^2 |
| 46 | |
| 47 | theorem regularizationCost_nonneg (M : ℝ) : 0 ≤ regularizationCost M := by |
| 48 | have := h3ProductConstant_nonneg |
| 49 | have := smoothEmbeddingConstant_nonneg |
| 50 | unfold regularizationCost |
| 51 | positivity |
| 52 | |
| 53 | theorem regularized_rhs_error (n : ℕ) (A : SmoothL2Field Space) |
| 54 | (hA : A.toLp ∈ solenoidalSpace) (M : ℝ) (hM : WordBound 4 M A) : |
| 55 | ‖((regularizer n).rhs A.toLp).toLp-(projectedRhs A).toLp‖ ≤ |
| 56 | regularizerError n*regularizationCost M := by |
| 57 | let S := regularizer n |
| 58 | let B := S.field A.toLp |
| 59 | have hB : WordBound 4 M B := S.field_wordBound A 4 M hM |
| 60 | have he := regularizer_error_words n A hA 1 M (wordBound_mono hM (by omega)) |
| 61 | have he0 : ‖B.toLp-A.toLp‖ ≤ regularizerError n*M := by |
| 62 | simpa only [toLp_fieldSub] using wordBound_toLp he |
| 63 | have he1 : ‖B.jetLp 1-A.jetLp 1‖ ≤ 3*(regularizerError n*M) := by |
| 64 | simpa only [jetLp_fieldSub,pow_one] using wordBound_jet_norm he (le_refl 1) |
| 65 | have hadv : ‖(advectionField B B).toLp-(advectionField A A).toLp‖ ≤ |
| 66 | ((360*smoothEmbeddingConstant)*M)*(regularizerError n*M)+ |
| 67 | ((13*smoothEmbeddingConstant)*M)*(3*(regularizerError n*M)) := by |
| 68 | apply (advection_sub_norm B A _ _ (wordBound_gradient (wordBound_mono hB (by omega))) |
| 69 | (wordBound_pointwise (wordBound_mono hM (by omega)))).trans |
| 70 | exact add_le_add (mul_le_mul_of_nonneg_left he0 |
| 71 | (mul_nonneg (mul_nonneg (by norm_num) smoothEmbeddingConstant_nonneg) (wordBound_nonneg hM))) |
| 72 | (mul_le_mul_of_nonneg_left he1 |
| 73 | (mul_nonneg (mul_nonneg (by norm_num) smoothEmbeddingConstant_nonneg) (wordBound_nonneg hM))) |
| 74 | have hp := regularizer_error_wordBound n (advectionField B B) _ (advection_low_words B M hB) |
| 75 | have hq : ‖solenoidalProjection (advectionField B B).toLp- |
| 76 | solenoidalProjection (advectionField A A).toLp‖ ≤ |
| 77 | ‖(advectionField B B).toLp-(advectionField A A).toLp‖ := by |
| 78 | rw [← map_sub] |
| 79 | exact solenoidalProjection_apply_norm_le _ |
| 80 | have heq : ((regularizer n).rhs A.toLp).toLp-(projectedRhs A).toLp= |
| 81 | -(S.op (advectionField B B).toLp-solenoidalProjection (advectionField A A).toLp) := by |
| 82 | simp only [SmoothingOperator.rhs_toLp,SmoothingOperator.quadratic_apply,projectedRhs_toLp,S,B] |
| 83 | abel |
| 84 | rw [heq,norm_neg] |
| 85 | apply (norm_sub_le_norm_sub_add_norm_sub (S.op (advectionField B B).toLp) |
| 86 | (solenoidalProjection (advectionField B B).toLp) |
| 87 | (solenoidalProjection (advectionField A A).toLp)).trans |
| 88 | exact (add_le_add hp (hq.trans hadv)).trans_eq (by unfold regularizationCost; ring) |
| 89 | |
| 90 | end EulerOrdinarySobolev |