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.ParameterWordCalculus |
| 2 | |
| 3 | /-! Smoothness and exact concatenation of genuine directional word derivatives. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerParameterWordGevrey |
| 8 | |
| 9 | open ContinuousLinearMap Finset |
| 10 | open scoped ContDiff |
| 11 | |
| 12 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 13 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 14 | |
| 15 | theorem wordDerivative_contDiff (directions : ι → P) (f : P → E) |
| 16 | (hf : ContDiff ℝ ∞ f) {n : ℕ} (w : Fin n → ι) : |
| 17 | ContDiff ℝ ∞ (wordDerivative directions f w) := by |
| 18 | induction n generalizing f with |
| 19 | | zero => |
| 20 | have he : wordDerivative directions f w = f := funext (wordDerivative_zero directions f w) |
| 21 | rwa [he] |
| 22 | | succ n ih => |
| 23 | have he : wordDerivative directions f w = |
| 24 | wordDerivative directions (directional directions f (w (Fin.last n))) (Fin.init w) := by |
| 25 | funext x |
| 26 | simpa only [Fin.snoc_init_self] using |
| 27 | wordDerivative_snoc directions f hf (Fin.init w) (w (Fin.last n)) x |
| 28 | rw [he] |
| 29 | exact ih _ (directional_contDiff directions f hf (w (Fin.last n))) (Fin.init w) |
| 30 | |
| 31 | /-- The sum over all words can be decomposed for any scalar expression on words. -/ |
| 32 | theorem sum_words_snoc [Fintype ι] (n : ℕ) (a : (Fin (n+1) → ι) → ℝ) : |
| 33 | (∑ w, a w) = ∑ i, ∑ w : Fin n → ι, a (Fin.snoc w i) := by |
| 34 | calc |
| 35 | _ = ∑ z : ι × (Fin n → ι), a (Fin.snoc z.2 z.1) := |
| 36 | ((Fin.snocEquiv (fun _ : Fin (n+1) => ι)).sum_comp a).symm |
| 37 | _ = _ := Fintype.sum_prod_type _ |
| 38 | |
| 39 | end EulerParameterWordGevrey |