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.ParameterSobolevBlocks |
| 2 | |
| 3 | /-! |
| 4 | # Positive external-order commutators in actual fixed Sobolev blocks |
| 5 | |
| 6 | The commutator is an explicit difference of genuine derivatives and the |
| 7 | undifferentiated coefficient action. Its direct word recurrence places at |
| 8 | least one external derivative on the coefficient in every term. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerParameterWordGevrey |
| 14 | |
| 15 | open ContinuousLinearMap Finset EulerJetProductBounds |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | variable {P E F ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℝ F] [Fintype ι] |
| 21 | |
| 22 | /-- The actual external word commutator of operator multiplication. -/ |
| 23 | def wordCommutator (directions : ι → P) (A : P → E →L[ℝ] F) (f : P → E) |
| 24 | {n : ℕ} (w : Fin n → ι) : P → F := |
| 25 | wordDerivative directions (fun y => A y (f y)) w- |
| 26 | fun y => A y (wordDerivative directions f w y) |
| 27 | |
| 28 | omit [Fintype ι] in |
| 29 | theorem wordCommutator_contDiff (directions : ι → P) (A : P → E →L[ℝ] F) (f : P → E) |
| 30 | (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) {n : ℕ} (w : Fin n → ι) : |
| 31 | ContDiff ℝ ∞ (wordCommutator directions A f w) := |
| 32 | (wordDerivative_contDiff directions _ (hA.clm_apply hf) w).sub |
| 33 | (hA.clm_apply (wordDerivative_contDiff directions f hf w)) |
| 34 | |
| 35 | omit [Fintype ι] in |
| 36 | theorem wordCommutator_snoc (directions : ι → P) (A : P → E →L[ℝ] F) (f : P → E) |
| 37 | (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) {n : ℕ} (w : Fin n → ι) (i : ι) : |
| 38 | wordCommutator directions A f (Fin.snoc w i) = |
| 39 | wordCommutator directions A (directional directions f i) w+ |
| 40 | wordDerivative directions (fun y => directional directions A i y (f y)) w := by |
| 41 | have hprod := directional_bilinear directions ((ContinuousLinearMap.apply ℝ F).flip) A f hA hf i |
| 42 | change directional directions (fun y => A y (f y)) i = |
| 43 | (fun y => A y (directional directions f i y))+ |
| 44 | (fun y => directional directions A i y (f y)) at hprod |
| 45 | funext x |
| 46 | change wordDerivative directions (fun y => A y (f y)) (Fin.snoc w i) x- |
| 47 | A x (wordDerivative directions f (Fin.snoc w i) x) = |
| 48 | (wordDerivative directions (fun y => A y (directional directions f i y)) w x- |
| 49 | A x (wordDerivative directions (directional directions f i) w x))+ |
| 50 | wordDerivative directions (fun y => directional directions A i y (f y)) w x |
| 51 | rw [wordDerivative_snoc directions _ (hA.clm_apply hf), wordDerivative_snoc directions f hf, |
| 52 | hprod, wordDerivative_add directions _ _ |
| 53 | (hA.clm_apply (directional_contDiff directions f hf i)) |
| 54 | ((directional_contDiff directions A hA i).clm_apply hf)] |
| 55 | abel |
| 56 | |
| 57 | def commutatorBlock (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] F) (f : P → E) |
| 58 | (n : ℕ) (x : P) : ℝ := |
| 59 | ∑ w : Fin n → ι, baseSize directions q (wordCommutator directions A f w) x |
| 60 | |
| 61 | theorem baseSize_zero_function (directions : ι → P) (q : ℕ) (x : P) : |
| 62 | baseSize directions q (fun _ : P => (0 : E)) x = 0 := by |
| 63 | unfold baseSize |
| 64 | apply sum_eq_zero |
| 65 | intro n _ |
| 66 | cases n with |
| 67 | | zero => simp only [wordSum_zero, norm_zero] |
| 68 | | succ n => simp only [wordSum, wordDerivative, iteratedFDeriv_succ_const, |
| 69 | Pi.zero_apply, zero_apply, norm_zero, sum_const_zero] |
| 70 | |
| 71 | theorem commutatorBlock_zero (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] F) (f : P → E) |
| 72 | (x : P) : commutatorBlock directions q A f 0 x = 0 := by |
| 73 | have he (w : Fin 0 → ι) : wordCommutator directions A f w = fun _ => 0 := by |
| 74 | funext y |
| 75 | simp only [wordCommutator, Pi.sub_apply, wordDerivative_zero, sub_self] |
| 76 | simp only [commutatorBlock, he, baseSize_zero_function, sum_const_zero] |
| 77 | |
| 78 | theorem commutatorBlock_nonneg (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] F) (f : P → E) |
| 79 | (n : ℕ) (x : P) : 0 ≤ commutatorBlock directions q A f n x := |
| 80 | sum_nonneg (fun _ _ => baseSize_nonneg directions q _ x) |
| 81 | |
| 82 | theorem commutatorBlock_succ_le (directions : ι → P) (q : ℕ) |
| 83 | (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) |
| 84 | (n : ℕ) (x : P) : |
| 85 | commutatorBlock directions q A f (n+1) x ≤ |
| 86 | ∑ i, (commutatorBlock directions q A (directional directions f i) n x+ |
| 87 | block directions q (fun y => directional directions A i y (f y)) n x) := by |
| 88 | unfold commutatorBlock block |
| 89 | rw [sum_words_snoc] |
| 90 | apply sum_le_sum |
| 91 | intro i _ |
| 92 | rw [← sum_add_distrib] |
| 93 | apply sum_le_sum |
| 94 | intro w _ |
| 95 | rw [wordCommutator_snoc directions A f hA hf w i] |
| 96 | exact baseSize_add_le directions q _ _ |
| 97 | (wordCommutator_contDiff directions A (directional directions f i) hA |
| 98 | (directional_contDiff directions f hf i) w) |
| 99 | (wordDerivative_contDiff directions _ ((directional_contDiff directions A hA i).clm_apply hf) w) x |
| 100 | |
| 101 | theorem sum_commutator_convolution_right (A : ℕ → ℝ) (B : ι → ℕ → ℝ) (n : ℕ) : |
| 102 | (∑ i, commutatorConvolution A (B i) n) = |
| 103 | commutatorConvolution A (fun k => ∑ i, B i k) n := by |
| 104 | simp only [commutatorConvolution] |
| 105 | rw [sum_sub_distrib, sum_convolution_right, mul_sum] |
| 106 | |
| 107 | /-- Every external commutator term contains a positive external derivative |
| 108 | of the coefficient, with no enlargement of solution or forcing radii. -/ |
| 109 | theorem commutatorBlock_bound (directions : ι → P) (q : ℕ) |
| 110 | (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) |
| 111 | (n : ℕ) (x : P) : |
| 112 | commutatorBlock directions q A f n x ≤ |
| 113 | commutatorConvolution (fun k => coefficientBlock directions q A k x) |
| 114 | (fun k => block directions q f k x) n := by |
| 115 | induction n generalizing A f with |
| 116 | | zero => simp only [commutatorBlock_zero, commutatorConvolution_eq_sum, range_zero, sum_empty, le_refl] |
| 117 | | succ n ih => |
| 118 | apply (commutatorBlock_succ_le directions q A f hA hf n x).trans |
| 119 | have ht (i : ι) := add_le_add |
| 120 | (ih A (directional directions f i) hA (directional_contDiff directions f hf i)) |
| 121 | (block_clm_apply_le directions q (directional directions A i) f |
| 122 | (directional_contDiff directions A hA i) hf n x) |
| 123 | apply (sum_le_sum (fun i _ => ht i)).trans_eq |
| 124 | rw [sum_add_distrib, sum_commutator_convolution_right, sum_convolution_left] |
| 125 | simp_rw [← block_succ directions q f hf, ← coefficientBlock_succ directions q A hA] |
| 126 | rw [commutatorConvolution_succ] |
| 127 | |
| 128 | end EulerParameterWordGevrey |