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.ParameterSobolevInverse |
| 2 | import Euler.ParameterSobolevCommutator |
| 3 | import Euler.ParameterWordInverse |
| 4 | |
| 5 | /-! |
| 6 | # A single-radius inverse estimate in genuine fixed Sobolev blocks |
| 7 | |
| 8 | The fixed Sobolev inverse bound is applied to each actual external word. |
| 9 | Its commutator contains only positive external coefficient derivatives. |
| 10 | Consequently the original factorial radius is preserved at every grade. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerParameterWordGevrey |
| 16 | |
| 17 | open ContinuousLinearMap Finset EulerJetProductBounds EulerGevrey |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 21 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 22 | |
| 23 | theorem block_inverse_bound (directions : ι → P) (q : ℕ) |
| 24 | (A : P → E →L[ℝ] E) (u f : P → E) |
| 25 | (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) |
| 26 | (heq : ∀ y, A y (u y) = f y) (x : P) |
| 27 | (inverse : E →L[ℝ] E) (hleft : ∀ v, inverse (A x v) = v) |
| 28 | (I B : ℝ) (hinv : ‖inverse‖ ≤ I) (hbase : baseSize directions q A x ≤ B) |
| 29 | (n : ℕ) : |
| 30 | block directions q u n x ≤ sobolevInverseCost I B q* |
| 31 | (block directions q f n x+commutatorBlock directions q A u n x) := by |
| 32 | have hI : 0 ≤ I := (norm_nonneg inverse).trans hinv |
| 33 | have hB : 0 ≤ B := (baseSize_nonneg directions q A x).trans hbase |
| 34 | have hcost : 0 ≤ sobolevInverseCost I B q := sobolevInverseCost_nonneg I B hI hB q |
| 35 | have hfun : (fun y => A y (u y)) = f := funext heq |
| 36 | have hw (w : Fin n → ι) : baseSize directions q (wordDerivative directions u w) x ≤ |
| 37 | sobolevInverseCost I B q*(baseSize directions q (wordDerivative directions f w) x+ |
| 38 | baseSize directions q (wordCommutator directions A u w) x) := by |
| 39 | let g := wordDerivative directions f w-wordCommutator directions A u w |
| 40 | have hg : ContDiff ℝ ∞ g := (wordDerivative_contDiff directions f hf w).sub |
| 41 | (wordCommutator_contDiff directions A u hA hu w) |
| 42 | have he (y : P) : A y (wordDerivative directions u w y) = g y := by |
| 43 | change A y (wordDerivative directions u w y) = wordDerivative directions f w y- |
| 44 | (wordDerivative directions (fun z => A z (u z)) w y-A y (wordDerivative directions u w y)) |
| 45 | rw [hfun] |
| 46 | abel |
| 47 | exact (baseSize_inverse_bound directions A hA x inverse hleft I B hinv q |
| 48 | (wordDerivative directions u w) g (wordDerivative_contDiff directions u hu w) hg he hbase).trans |
| 49 | (mul_le_mul_of_nonneg_left (baseSize_sub_le directions q _ _ |
| 50 | (wordDerivative_contDiff directions f hf w) (wordCommutator_contDiff directions A u hA hu w) x) hcost) |
| 51 | calc |
| 52 | _ ≤ ∑ w : Fin n → ι, sobolevInverseCost I B q* |
| 53 | (baseSize directions q (wordDerivative directions f w) x+ |
| 54 | baseSize directions q (wordCommutator directions A u w) x) := |
| 55 | sum_le_sum (fun w _ => hw w) |
| 56 | _ = _ := by rw [← mul_sum, sum_add_distrib]; rfl |
| 57 | |
| 58 | /-- Genuine fixed-Sobolev external-word recurrence with the computed base inverse constant. -/ |
| 59 | theorem block_inverse_recurrence (directions : ι → P) (q : ℕ) |
| 60 | (A : P → E →L[ℝ] E) (u f : P → E) |
| 61 | (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) |
| 62 | (heq : ∀ y, A y (u y) = f y) (x : P) |
| 63 | (inverse : E →L[ℝ] E) (hleft : ∀ v, inverse (A x v) = v) |
| 64 | (I B : ℝ) (hinv : ‖inverse‖ ≤ I) (hbase : baseSize directions q A x ≤ B) |
| 65 | (n : ℕ) : |
| 66 | block directions q u n x ≤ sobolevInverseCost I B q* |
| 67 | (block directions q f n x+∑ j ∈ range n, |
| 68 | (n.choose (j+1) : ℝ)*coefficientBlock directions q A (j+1) x* |
| 69 | block directions q u (n-(j+1)) x) := by |
| 70 | have hI : 0 ≤ I := (norm_nonneg inverse).trans hinv |
| 71 | have hB : 0 ≤ B := (baseSize_nonneg directions q A x).trans hbase |
| 72 | have h := (block_inverse_bound directions q A u f hA hu hf heq x inverse hleft I B hinv hbase n).trans |
| 73 | (mul_le_mul_of_nonneg_left (add_le_add le_rfl (commutatorBlock_bound directions q A u hA hu n x)) |
| 74 | (sobolevInverseCost_nonneg I B hI hB q)) |
| 75 | simpa only [commutatorConvolution_eq_sum] using h |
| 76 | |
| 77 | /-- One factorial shift in fixed Hq, using the identical input and output |
| 78 | radius and constants independent of the input shift and external order. -/ |
| 79 | theorem block_inverse_gevrey (directions : ι → P) (q : ℕ) |
| 80 | (A : P → E →L[ℝ] E) (u f : P → E) |
| 81 | (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) |
| 82 | (heq : ∀ y, A y (u y) = f y) |
| 83 | (inverse : P → E →L[ℝ] E) (hleft : ∀ x v, inverse x (A x v) = v) |
| 84 | (I B C D M Rc R : ℝ) (_hC : 0 ≤ C) (_hD : 0 ≤ D) |
| 85 | (hM : 1 ≤ M) (hMC : sobolevInverseCost I B q*C ≤ M) |
| 86 | (hMD : sobolevInverseCost I B q*D ≤ M) |
| 87 | (hRc : 0 ≤ Rc) (hR : 2*M*(Rc+1) ≤ R) |
| 88 | (hinv : ∀ x, ‖inverse x‖ ≤ I) (hbase : ∀ x, baseSize directions q A x ≤ B) |
| 89 | (hcoeff : ∀ j x, coefficientBlock directions q A (j+1) x ≤ C*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) |
| 90 | (d : ℕ) (hforce : ∀ n x, block directions q f n x ≤ D*majorant R d n) |
| 91 | (n : ℕ) (x : P) : block directions q u n x ≤ majorant R (d+1) n := by |
| 92 | have hR0 : 0 ≤ R := by nlinarith |
| 93 | have hI : 0 ≤ I := (norm_nonneg (inverse x)).trans (hinv x) |
| 94 | have hB : 0 ≤ B := (baseSize_nonneg directions q A x).trans (hbase x) |
| 95 | have hcost := sobolevInverseCost_nonneg I B hI hB q |
| 96 | apply triangular_inverse_majorant M Rc R hM hRc hR d |
| 97 | (fun k => majorant R d k) (fun k => block directions q u k x) (fun _ => le_rfl) _ n |
| 98 | intro k |
| 99 | let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ)*Rc^(j+1)* |
| 100 | ((j+1).factorial : ℝ)^2*block directions q u (k-(j+1)) x |
| 101 | have hS : 0 ≤ S := sum_nonneg (fun j _ => mul_nonneg |
| 102 | (mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (pow_nonneg hRc _)) (sq_nonneg _)) |
| 103 | (block_nonneg directions q u _ x)) |
| 104 | have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ)*coefficientBlock directions q A (j+1) x* |
| 105 | block directions q u (k-(j+1)) x) ≤ C*S := by |
| 106 | dsimp only [S] |
| 107 | rw [mul_sum] |
| 108 | apply sum_le_sum |
| 109 | intro j _ |
| 110 | have h := mul_le_mul_of_nonneg_right |
| 111 | (mul_le_mul_of_nonneg_left (hcoeff j x) (Nat.cast_nonneg (k.choose (j+1)))) |
| 112 | (block_nonneg directions q u (k-(j+1)) x) |
| 113 | convert h using 1 |
| 114 | ring |
| 115 | have hrec := block_inverse_recurrence directions q A u f hA hu hf heq x |
| 116 | (inverse x) (hleft x) I B (hinv x) (hbase x) k |
| 117 | have hb : block directions q u k x ≤ sobolevInverseCost I B q*(D*majorant R d k+C*S) := |
| 118 | hrec.trans (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) hcost) |
| 119 | have h₁ := mul_le_mul_of_nonneg_right hMC hS |
| 120 | have h₂ := mul_le_mul_of_nonneg_right hMD (majorant_nonneg R hR0 d k) |
| 121 | change block directions q u k x ≤ M*(majorant R d k+S) |
| 122 | nlinarith |
| 123 | |
| 124 | end EulerParameterWordGevrey |