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.ParameterWordProduct |
| 2 | import Euler.ParameterWordHigher |
| 3 | import Euler.H6Pressure |
| 4 | |
| 5 | /-! |
| 6 | # Fixed Sobolev blocks of genuine external parameter words |
| 7 | |
| 8 | The fixed base order is kept inside each actual external word. Product |
| 9 | bounds place its finite cost on coefficient blocks, preserving the input |
| 10 | and output external radius and factorial shift. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerParameterWordGevrey |
| 16 | |
| 17 | open ContinuousLinearMap Finset EulerJetProductBounds |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | variable {P E F ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 21 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | [NormedAddCommGroup F] [NormedSpace ℝ F] [Fintype ι] |
| 23 | |
| 24 | /-- The fixed-order sum of the actual spatial derivative norms. -/ |
| 25 | def baseSize (directions : ι → P) (q : ℕ) (f : P → E) (x : P) : ℝ := |
| 26 | ∑ k ∈ range (q+1), wordSum directions f k x |
| 27 | |
| 28 | /-- A fixed Sobolev base norm inside the sum of actual external words. -/ |
| 29 | def block (directions : ι → P) (q : ℕ) (f : P → E) (n : ℕ) (x : P) : ℝ := |
| 30 | ∑ w : Fin n → ι, baseSize directions q (wordDerivative directions f w) x |
| 31 | |
| 32 | /-- The finite base-order Leibniz constant belongs only to the coefficient block. -/ |
| 33 | def coefficientBlock (directions : ι → P) (q : ℕ) (f : P → E) (n : ℕ) (x : P) : ℝ := |
| 34 | (2 : ℝ)^q*block directions q f n x |
| 35 | |
| 36 | theorem baseSize_nonneg (directions : ι → P) (q : ℕ) (f : P → E) (x : P) : |
| 37 | 0 ≤ baseSize directions q f x := sum_nonneg (fun k _ => wordSum_nonneg directions f k x) |
| 38 | |
| 39 | theorem block_nonneg (directions : ι → P) (q : ℕ) (f : P → E) (n : ℕ) (x : P) : |
| 40 | 0 ≤ block directions q f n x := sum_nonneg (fun _w _ => baseSize_nonneg directions q _ x) |
| 41 | |
| 42 | theorem coefficientBlock_nonneg (directions : ι → P) (q : ℕ) (f : P → E) (n : ℕ) (x : P) : |
| 43 | 0 ≤ coefficientBlock directions q f n x := |
| 44 | mul_nonneg (by positivity) (block_nonneg directions q f n x) |
| 45 | |
| 46 | theorem baseSize_zero (directions : ι → P) (f : P → E) (x : P) : |
| 47 | baseSize directions 0 f x = ‖f x‖ := by |
| 48 | simp only [baseSize, Nat.zero_add, sum_range_one, wordSum_zero] |
| 49 | |
| 50 | theorem baseSize_succ (directions : ι → P) (q : ℕ) (f : P → E) |
| 51 | (hf : ContDiff ℝ ∞ f) (x : P) : |
| 52 | baseSize directions (q+1) f x = ‖f x‖+∑ i, baseSize directions q (directional directions f i) x := by |
| 53 | unfold baseSize |
| 54 | rw [sum_range_succ'] |
| 55 | simp only [wordSum_zero, wordSum_succ directions f hf] |
| 56 | rw [sum_comm, add_comm] |
| 57 | |
| 58 | theorem baseSize_mono (directions : ι → P) (f : P → E) (x : P) {p q : ℕ} (hpq : p ≤ q) : |
| 59 | baseSize directions p f x ≤ baseSize directions q f x := |
| 60 | sum_le_sum_of_subset_of_nonneg (range_mono (Nat.add_le_add_right hpq 1)) |
| 61 | (fun k _ _ => wordSum_nonneg directions f k x) |
| 62 | |
| 63 | theorem norm_le_baseSize (directions : ι → P) (q : ℕ) (f : P → E) (x : P) : |
| 64 | ‖f x‖ ≤ baseSize directions q f x := |
| 65 | (baseSize_zero directions f x).symm.trans_le (baseSize_mono directions f x (Nat.zero_le q)) |
| 66 | |
| 67 | theorem baseSize_add_le (directions : ι → P) (q : ℕ) (f g : P → E) |
| 68 | (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (x : P) : |
| 69 | baseSize directions q (f+g) x ≤ baseSize directions q f x+baseSize directions q g x := by |
| 70 | unfold baseSize |
| 71 | rw [← sum_add_distrib] |
| 72 | exact sum_le_sum (fun k _ => wordSum_add_le directions f g hf hg k x) |
| 73 | |
| 74 | theorem baseSize_sub_le (directions : ι → P) (q : ℕ) (f g : P → E) |
| 75 | (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (x : P) : |
| 76 | baseSize directions q (f-g) x ≤ baseSize directions q f x+baseSize directions q g x := by |
| 77 | unfold baseSize |
| 78 | rw [← sum_add_distrib] |
| 79 | exact sum_le_sum (fun k _ => wordSum_sub_le directions f g hf hg k x) |
| 80 | |
| 81 | theorem baseSize_clm_apply_le (directions : ι → P) (q : ℕ) |
| 82 | (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) (x : P) : |
| 83 | baseSize directions q (fun y => A y (f y)) x ≤ |
| 84 | (2 : ℝ)^q*baseSize directions q A x*baseSize directions q f x := by |
| 85 | apply (sum_le_sum (fun k _ => wordSum_clm_apply_le directions A f hA hf k x)).trans |
| 86 | exact EulerH6Pressure.base_convolution_bound q (fun k => wordSum directions A k x) |
| 87 | (fun k => wordSum directions f k x) |
| 88 | (fun k => wordSum_nonneg directions A k x) (fun k => wordSum_nonneg directions f k x) |
| 89 | |
| 90 | theorem block_zero (directions : ι → P) (q : ℕ) (f : P → E) (x : P) : |
| 91 | block directions q f 0 x = baseSize directions q f x := by |
| 92 | have he (w : Fin 0 → ι) : wordDerivative directions f w = f := |
| 93 | funext (wordDerivative_zero directions f w) |
| 94 | simp only [block, he, sum_const, card_univ, Fintype.card_fun, Fintype.card_fin, pow_zero, one_smul] |
| 95 | |
| 96 | theorem block_succ (directions : ι → P) (q : ℕ) (f : P → E) (hf : ContDiff ℝ ∞ f) |
| 97 | (n : ℕ) (x : P) : |
| 98 | block directions q f (n+1) x = ∑ i, block directions q (directional directions f i) n x := by |
| 99 | unfold block |
| 100 | rw [sum_words_snoc] |
| 101 | apply sum_congr rfl |
| 102 | intro i _ |
| 103 | apply sum_congr rfl |
| 104 | intro w _ |
| 105 | exact congrArg (fun g : P → E => baseSize directions q g x) |
| 106 | (funext (wordDerivative_snoc directions f hf w i)) |
| 107 | |
| 108 | theorem coefficientBlock_succ (directions : ι → P) (q : ℕ) (f : P → E) (hf : ContDiff ℝ ∞ f) |
| 109 | (n : ℕ) (x : P) : |
| 110 | coefficientBlock directions q f (n+1) x = |
| 111 | ∑ i, coefficientBlock directions q (directional directions f i) n x := by |
| 112 | simp only [coefficientBlock, block_succ directions q f hf, mul_sum] |
| 113 | |
| 114 | theorem block_add_le (directions : ι → P) (q : ℕ) (f g : P → E) |
| 115 | (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (n : ℕ) (x : P) : |
| 116 | block directions q (f+g) n x ≤ block directions q f n x+block directions q g n x := by |
| 117 | unfold block |
| 118 | rw [← sum_add_distrib] |
| 119 | apply sum_le_sum |
| 120 | intro w _ |
| 121 | have he : wordDerivative directions (f+g) w = |
| 122 | wordDerivative directions f w+wordDerivative directions g w := |
| 123 | funext (wordDerivative_add directions f g hf hg w) |
| 124 | rw [he] |
| 125 | exact baseSize_add_le directions q _ _ (wordDerivative_contDiff directions f hf w) |
| 126 | (wordDerivative_contDiff directions g hg w) x |
| 127 | |
| 128 | /-- Direct Leibniz in external words with fixed Sobolev blocks. -/ |
| 129 | theorem block_clm_apply_le (directions : ι → P) (q : ℕ) |
| 130 | (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) |
| 131 | (n : ℕ) (x : P) : |
| 132 | block directions q (fun y => A y (f y)) n x ≤ |
| 133 | leibnizConvolution (fun k => coefficientBlock directions q A k x) |
| 134 | (fun k => block directions q f k x) n := by |
| 135 | let B : (E →L[ℝ] F) →L[ℝ] E →L[ℝ] F := (ContinuousLinearMap.apply ℝ F).flip |
| 136 | induction n generalizing A f with |
| 137 | | zero => |
| 138 | simpa only [leibnizConvolution, Nat.zero_add, sum_range_one, Nat.choose_zero_right, |
| 139 | Nat.cast_one, one_mul, Nat.sub_zero, block_zero, coefficientBlock] using |
| 140 | baseSize_clm_apply_le directions q A f hA hf x |
| 141 | | succ n ih => |
| 142 | have hp : ContDiff ℝ ∞ (fun y => A y (f y)) := hA.clm_apply hf |
| 143 | rw [block_succ directions q _ hp n x] |
| 144 | have ht (i : ι) : |
| 145 | block directions q (directional directions (fun y => A y (f y)) i) n x ≤ |
| 146 | leibnizConvolution (fun k => coefficientBlock directions q A k x) |
| 147 | (fun k => block directions q (directional directions f i) k x) n + |
| 148 | leibnizConvolution (fun k => coefficientBlock directions q (directional directions A i) k x) |
| 149 | (fun k => block directions q f k x) n := by |
| 150 | have he := directional_bilinear directions B A f hA hf i |
| 151 | change directional directions (fun y => A y (f y)) i = |
| 152 | (fun y => A y (directional directions f i y))+ |
| 153 | (fun y => directional directions A i y (f y)) at he |
| 154 | rw [he] |
| 155 | exact (block_add_le directions q _ _ (hA.clm_apply (directional_contDiff directions f hf i)) |
| 156 | ((directional_contDiff directions A hA i).clm_apply hf) n x).trans |
| 157 | (add_le_add (ih A (directional directions f i) hA (directional_contDiff directions f hf i)) |
| 158 | (ih (directional directions A i) f (directional_contDiff directions A hA i) hf)) |
| 159 | apply (sum_le_sum (fun i _ => ht i)).trans_eq |
| 160 | rw [sum_add_distrib, sum_convolution_right, sum_convolution_left] |
| 161 | simp_rw [← block_succ directions q f hf, ← coefficientBlock_succ directions q A hA] |
| 162 | rw [leibnizConvolution_succ] |
| 163 | |
| 164 | end EulerParameterWordGevrey |