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 | import Euler.ParameterSobolevBlocks |
| 3 | |
| 4 | /-! Local equality preserves genuine fixed-Sobolev external derivative blocks. -/ |
| 5 | |
| 6 | /-! ## From `Euler/ParameterWordLocal.lean` |
| 7 | |
| 8 | The text of `Euler/ParameterWordLocal.lean`, folded into this file, which was its only importer. -/ |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual ordered derivative sums depend only on the local function germ. -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerParameterWordGevrey |
| 17 | |
| 18 | open scoped Topology |
| 19 | |
| 20 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 21 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 22 | |
| 23 | omit [Fintype ι] in |
| 24 | /-- Equality on a genuine neighborhood identifies every actual ordered word derivative. -/ |
| 25 | theorem wordDerivative_eq_of_eventuallyEq (directions : ι → P) {f g : P → E} {x : P} |
| 26 | (h : f =ᶠ[𝓝 x] g) {n : ℕ} (w : Fin n → ι) : |
| 27 | wordDerivative directions f w x = wordDerivative directions g w x := by |
| 28 | unfold wordDerivative |
| 29 | rw [(h.iteratedFDeriv ℝ n).eq_of_nhds] |
| 30 | |
| 31 | /-- The identical external-word sum transfers across local equality, with no radius factor. -/ |
| 32 | theorem wordSum_eq_of_eventuallyEq (directions : ι → P) {f g : P → E} {x : P} |
| 33 | (h : f =ᶠ[𝓝 x] g) (n : ℕ) : wordSum directions f n x = wordSum directions g n x := by |
| 34 | unfold wordSum |
| 35 | apply Finset.sum_congr rfl |
| 36 | intro w _ |
| 37 | rw [wordDerivative_eq_of_eventuallyEq directions h w] |
| 38 | |
| 39 | end EulerParameterWordGevrey |
| 40 | end |
| 41 | |
| 42 | end |
| 43 | |
| 44 | noncomputable section |
| 45 | |
| 46 | namespace EulerParameterWordGevrey |
| 47 | |
| 48 | open scoped Topology |
| 49 | |
| 50 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 51 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 52 | |
| 53 | /-- A fixed finite Sobolev sum depends only on the actual function germ. -/ |
| 54 | theorem baseSize_eq_of_eventuallyEq (directions : ι → P) (q : ℕ) {f g : P → E} {x : P} |
| 55 | (h : f =ᶠ[𝓝 x] g) : baseSize directions q f x = baseSize directions q g x := by |
| 56 | unfold baseSize |
| 57 | exact Finset.sum_congr rfl (fun k _ => wordSum_eq_of_eventuallyEq directions h k) |
| 58 | |
| 59 | /-- All inner and external word derivatives agree under equality on a neighborhood. -/ |
| 60 | theorem block_eq_of_eventuallyEq (directions : ι → P) (q : ℕ) {f g : P → E} {x : P} |
| 61 | (h : f =ᶠ[𝓝 x] g) (n : ℕ) : block directions q f n x = block directions q g n x := by |
| 62 | unfold block |
| 63 | apply Finset.sum_congr rfl |
| 64 | intro w _ |
| 65 | apply baseSize_eq_of_eventuallyEq directions q |
| 66 | filter_upwards [h.iteratedFDeriv ℝ n] with y hy |
| 67 | exact congrArg (fun D : P [×n]→L[ℝ] E => D (fun j => directions (w j))) hy |
| 68 | |
| 69 | end EulerParameterWordGevrey |