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.ParameterSobolevCoefficient |
| 2 | |
| 3 | /-! Exact parameter restriction and injective subalphabet bounds for genuine derivative words. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerParameterWordGevrey |
| 8 | |
| 9 | open ContinuousLinearMap Finset |
| 10 | open scoped ContDiff |
| 11 | |
| 12 | variable {P Q E ι κ : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 13 | [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 14 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] [Fintype κ] |
| 15 | |
| 16 | /-- Restricting an alphabet only discards nonnegative summands. -/ |
| 17 | theorem wordSum_subalphabet_le (directions : κ → P) (e : ι → κ) (he : Function.Injective e) |
| 18 | (f : P → E) (n : ℕ) (x : P) : |
| 19 | wordSum (directions ∘ e) f n x ≤ wordSum directions f n x := by |
| 20 | classical |
| 21 | have hinj : Function.Injective (fun w : Fin n → ι => e ∘ w) := by |
| 22 | intro u v h |
| 23 | exact funext (fun j => he (congrFun h j)) |
| 24 | calc |
| 25 | _ = ∑ w ∈ univ.image (fun w : Fin n → ι => e ∘ w), ‖wordDerivative directions f w x‖ := by |
| 26 | rw [sum_image hinj.injOn] |
| 27 | rfl |
| 28 | _ ≤ ∑ w : Fin n → κ, ‖wordDerivative directions f w x‖ := |
| 29 | sum_le_sum_of_subset_of_nonneg (subset_univ _) (fun _ _ _ => norm_nonneg _) |
| 30 | |
| 31 | /-- The same literal subalphabet restriction is contractive on every fixed Sobolev block. -/ |
| 32 | theorem block_subalphabet_le (directions : κ → P) (e : ι → κ) (he : Function.Injective e) |
| 33 | (q : ℕ) (f : P → E) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : P) : |
| 34 | block (directions ∘ e) q f n x ≤ block directions q f n x := by |
| 35 | rw [block_eq_sum_levels _ q f hf,block_eq_sum_levels _ q f hf] |
| 36 | exact sum_le_sum (fun k _ => wordSum_subalphabet_le directions e he f (n+k) x) |
| 37 | |
| 38 | omit [Fintype ι] in |
| 39 | /-- A linear parameter map transports the actual directions exactly. -/ |
| 40 | theorem wordDerivative_comp_right (directions : ι → P) (A : P →L[ℝ] Q) |
| 41 | (f : Q → E) (hf : ContDiff ℝ ∞ f) {n : ℕ} (w : Fin n → ι) (x : P) : |
| 42 | wordDerivative directions (f ∘ A) w x = wordDerivative (A ∘ directions) f w (A x) := by |
| 43 | have h := congrArg (fun D : P[×n]→L[ℝ] E => D (fun j => directions (w j))) |
| 44 | (A.iteratedFDeriv_comp_right hf x (i := n) (by simp)) |
| 45 | exact h |
| 46 | |
| 47 | theorem wordSum_comp_right (directions : ι → P) (A : P →L[ℝ] Q) |
| 48 | (f : Q → E) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : P) : |
| 49 | wordSum directions (f ∘ A) n x = wordSum (A ∘ directions) f n (A x) := by |
| 50 | unfold wordSum |
| 51 | exact sum_congr rfl (fun w _ => congrArg norm (wordDerivative_comp_right directions A f hf w x)) |
| 52 | |
| 53 | /-- Restricting parameters does not change a fixed block when the directions are transported. -/ |
| 54 | theorem block_comp_right (directions : ι → P) (A : P →L[ℝ] Q) |
| 55 | (q : ℕ) (f : Q → E) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : P) : |
| 56 | block directions q (f ∘ A) n x = block (A ∘ directions) q f n (A x) := by |
| 57 | rw [block_eq_sum_levels _ q _ (hf.comp A.contDiff),block_eq_sum_levels _ q _ hf] |
| 58 | exact sum_congr rfl (fun k _ => wordSum_comp_right directions A f hf (n+k) x) |
| 59 | |
| 60 | end EulerParameterWordGevrey |