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.OperatorGevreyCalculus |
| 2 | |
| 3 | /-! |
| 4 | # Actual ordered parameter derivatives and their factorial word sums |
| 5 | |
| 6 | The parameter estimates are stated for the genuine iterated Fréchet |
| 7 | derivative. Evaluation on an ordered family of directions gives the mixed |
| 8 | word derivative. Summing all words changes the radius by one fixed alphabet |
| 9 | factor, independent of the derivative order and factorial shift. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerParameterWordGevrey |
| 15 | |
| 16 | open Finset EulerGevrey |
| 17 | |
| 18 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 20 | |
| 21 | /-- The actual mixed differential evaluated on an ordered word of directions. -/ |
| 22 | def wordDerivative (directions : ι → P) (f : P → E) {n : ℕ} (w : Fin n → ι) (x : P) : E := |
| 23 | iteratedFDeriv ℝ n f x (fun j => directions (w j)) |
| 24 | |
| 25 | /-- The sum of the actual norms over all ordered words. -/ |
| 26 | def wordSum (directions : ι → P) (f : P → E) (n : ℕ) (x : P) : ℝ := |
| 27 | ∑ w : Fin n → ι, ‖wordDerivative directions f w x‖ |
| 28 | |
| 29 | omit [Fintype ι] in |
| 30 | /-- Unit directions do not enlarge the norm of the actual differential. -/ |
| 31 | theorem wordDerivative_norm (directions : ι → P) (hd : ∀ i, ‖directions i‖ ≤ 1) |
| 32 | (f : P → E) {n : ℕ} (w : Fin n → ι) (x : P) : |
| 33 | ‖wordDerivative directions f w x‖ ≤ ‖iteratedFDeriv ℝ n f x‖ := by |
| 34 | have hp : (∏ j : Fin n, ‖directions (w j)‖) ≤ 1 := |
| 35 | prod_le_one (fun _ _ => norm_nonneg _) (fun j _ => hd (w j)) |
| 36 | exact ((iteratedFDeriv ℝ n f x).le_opNorm (fun j => directions (w j))).trans |
| 37 | (by simpa only [mul_one] using mul_le_mul_of_nonneg_left hp (norm_nonneg _)) |
| 38 | |
| 39 | /-- Summing the actual word norms costs precisely the number of words. -/ |
| 40 | theorem wordSum_le (directions : ι → P) (hd : ∀ i, ‖directions i‖ ≤ 1) |
| 41 | (f : P → E) (n : ℕ) (x : P) : |
| 42 | wordSum directions f n x ≤ (Fintype.card ι : ℝ)^n * ‖iteratedFDeriv ℝ n f x‖ := by |
| 43 | have h := sum_le_sum (fun (w : Fin n → ι) (_ : w ∈ univ) => wordDerivative_norm directions hd f w x) |
| 44 | simpa only [wordSum, sum_const, card_univ, Fintype.card_fun, Fintype.card_fin, |
| 45 | nsmul_eq_mul, Nat.cast_pow] using h |
| 46 | |
| 47 | /-- The actual word sum has a factorial bound with one dimension-dependent radius enlargement. -/ |
| 48 | theorem wordSum_gevrey (directions : ι → P) (hd : ∀ i, ‖directions i‖ ≤ 1) |
| 49 | (f : P → E) (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (d : ℕ) |
| 50 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ C*majorant R d n) |
| 51 | (n : ℕ) (x : P) : |
| 52 | wordSum directions f n x ≤ |
| 53 | C * majorant (max 1 (Fintype.card ι : ℝ) * R) d n := by |
| 54 | let m : ℝ := max 1 (Fintype.card ι : ℝ) |
| 55 | have hm : 1 ≤ m := le_max_left _ _ |
| 56 | have hcard : (Fintype.card ι : ℝ) ≤ m := le_max_right _ _ |
| 57 | have hpow : (Fintype.card ι : ℝ)^n ≤ m^(n+d) := |
| 58 | (pow_le_pow_left₀ (by positivity) hcard n).trans |
| 59 | (pow_le_pow_right₀ hm (Nat.le_add_right n d)) |
| 60 | have hM : 0 ≤ majorant R d n := majorant_nonneg R hR d n |
| 61 | calc |
| 62 | wordSum directions f n x ≤ (Fintype.card ι : ℝ)^n * ‖iteratedFDeriv ℝ n f x‖ := |
| 63 | wordSum_le directions hd f n x |
| 64 | _ ≤ (Fintype.card ι : ℝ)^n * (C*majorant R d n) := |
| 65 | mul_le_mul_of_nonneg_left (hb n x) (by positivity) |
| 66 | _ ≤ m^(n+d) * (C*majorant R d n) := |
| 67 | mul_le_mul_of_nonneg_right hpow (mul_nonneg hC hM) |
| 68 | _ = C*majorant (m*R) d n := by simp only [majorant, mul_pow]; ring |
| 69 | |
| 70 | end EulerParameterWordGevrey |