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.GevreyDifferentiatedEquation |
| 2 | import Euler.RegularizedEnergyFamily |
| 3 | import Euler.SobolevWordBlockCoordinates |
| 4 | |
| 5 | /-! Exact concatenated coordinates connecting energy regularization to the actual external/base Gevrey forcing. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerEnergyWordCoordinates |
| 10 | |
| 11 | open EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevWordBlocks EulerSobolevWordLevel |
| 12 | EulerMildTopWord EulerGevreyDifferentiatedEquation EulerGevreyMetricComparison EulerBaseWordMetric |
| 13 | EulerRegularizedEnergyFamily EulerRegularizedWordEquation EulerH6Pressure |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- A derivative of a genuine word-at-level block is the literal concatenated strong derivative. -/ |
| 18 | theorem wordAtLevel_word {s : ℕ} (q n : ℕ) (w : Fin n → Fin 4) (h : n+q ≤ s) |
| 19 | (u : SobolevSpace period s) {m : ℕ} (hm : m ≤ q) (v : Fin m → Fin 4) : |
| 20 | word period (wordAtLevel period q n w h u) hm v = |
| 21 | word period u (by omega : m+n ≤ s) (Fin.append v w) := by |
| 22 | change word period (wordBlock period q n w (restrictOperator period (by omega : q+n ≤ s) u)) hm v = _ |
| 23 | rw [wordBlock_word] |
| 24 | rfl |
| 25 | |
| 26 | /-- Bounded word blocks and the spatial-estimate word-at-level operator are the same genuine map. -/ |
| 27 | theorem boundedWordBlock_eq_wordAtLevel {s : ℕ} (q n : ℕ) (h : q+n ≤ s) (w : Fin n → Fin 4) : |
| 28 | boundedWordBlock period q n h w = wordAtLevel period q n w (by omega : n+q ≤ s) := rfl |
| 29 | |
| 30 | /-- Two actual Sobolev word blocks compose by literal word concatenation. -/ |
| 31 | theorem wordAtLevel_comp {s p q n m : ℕ} (w : Fin n → Fin 4) (v : Fin m → Fin 4) |
| 32 | (h : n+q ≤ s) (h' : m+p ≤ q) (u : SobolevSpace period s) : |
| 33 | wordAtLevel period p m v h' (wordAtLevel period q n w h u) = |
| 34 | wordAtLevel period p (m+n) (Fin.append v w) (by omega : m+n+p ≤ s) u := by |
| 35 | apply value_injective period |
| 36 | rw [wordAtLevel_value, toJet_word period _ (by omega : m ≤ q), wordAtLevel_word, |
| 37 | wordAtLevel_value, toJet_word period _ (by omega : m+n ≤ s)] |
| 38 | |
| 39 | /-- The total derivative length in one external/base energy component. -/ |
| 40 | def energyLength {N q : ℕ} (I : ExternalWord N) (a : BaseWord q) : ℕ := a.1.val+I.1.val |
| 41 | |
| 42 | /-- The literal base-then-external concatenated derivative word of an energy component. -/ |
| 43 | def energyWord {N q : ℕ} (I : ExternalWord N) (a : BaseWord q) : Fin (energyLength I a) → Fin 4 := |
| 44 | Fin.append a.2 I.2 |
| 45 | |
| 46 | /-- Every total energy word stays below the advertised external-plus-base cutoff. -/ |
| 47 | theorem energyLength_le {s N q : ℕ} (h : N+q ≤ s) (I : ExternalWord N) (a : BaseWord q) : |
| 48 | energyLength I a ≤ s := by |
| 49 | have := I.1.isLt |
| 50 | have := a.1.isLt |
| 51 | dsimp [energyLength] |
| 52 | omega |
| 53 | |
| 54 | /-- The actual external/base metric-energy coordinate is exactly its concatenated strong derivative. -/ |
| 55 | theorem energyValues_eq_word {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) |
| 56 | (I : ExternalWord N) (a : BaseWord q) (u : SobolevSpace period s) : |
| 57 | energyValues period q N hN u I a = word period u (energyLength_le hN I a) (energyWord I a) := by |
| 58 | rw [← energyWordOperator_apply] |
| 59 | change value period (wordAtLevel period 0 a.1.val a.2 (by have := a.1.isLt; omega) |
| 60 | (wordAtLevel period q I.1.val I.2 (by have := I.1.isLt; omega) u)) = _ |
| 61 | rw [wordAtLevel_value, toJet_word period _ (by have := a.1.isLt; omega), wordAtLevel_word] |
| 62 | rfl |
| 63 | |
| 64 | /-- The actual continuous energy family used by regularization is exactly the spatial Gevrey energy family. -/ |
| 65 | theorem energyValueFamily_eq {s : ℕ} (q N : ℕ) (hN : N+q ≤ s+1) (T : ℝ) |
| 66 | (u : C(Set.Icc (0 : ℝ) T, SobolevSpace period (s+1))) |
| 67 | (I : ExternalWord N) (t : Set.Icc (0 : ℝ) T) : |
| 68 | energyValueFamily period energyLength energyWord (energyLength_le hN) T u I t = |
| 69 | energyValues period q N hN (u t) I := by |
| 70 | funext a |
| 71 | change value period (boundedWordBlock period 0 (energyLength I a) (by have := energyLength_le hN I a; omega) |
| 72 | (energyWord I a) (u t)) = _ |
| 73 | rw [boundedWordBlock_value, energyValues_eq_word] |
| 74 | |
| 75 | /-- The H¹ concatenated word is exactly the twice-blocked derivative used by the actual top transport. -/ |
| 76 | theorem topTransport_block {s N : ℕ} (hN : N+6 ≤ s) (I : ExternalWord N) (a : BaseWord 6) |
| 77 | (u : SobolevSpace period (s+1)) : |
| 78 | boundedWordBlock period 1 (energyLength I a) (by have := energyLength_le hN I a; omega) (energyWord I a) u = |
| 79 | wordAtLevel period 1 a.1.val a.2 (by have := a.1.isLt; omega) |
| 80 | (wordAtLevel period 7 I.1.val I.2 (by have := I.1.isLt; omega) u) := by |
| 81 | rw [wordAtLevel_comp, boundedWordBlock_eq_wordAtLevel] |
| 82 | rfl |
| 83 | |
| 84 | end EulerEnergyWordCoordinates |