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.SobolevWordBlockCoordinates |
| 2 | |
| 3 | /-! Actual higher Sobolev norms controlled by lower norms and finitely many top derivative blocks. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerSobolevTopBlocks |
| 8 | |
| 9 | open EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevWordBlocks |
| 10 | |
| 11 | variable (period : ℝ) [Fact (0 < period)] |
| 12 | |
| 13 | /-- A full top derivative is literally a second derivative of one of the genuine top word blocks. -/ |
| 14 | theorem top_word_block (q : ℕ) (u : SobolevSpace period (2+q)) (w : Fin (2+q) → Fin 4) : |
| 15 | word period u (le_refl (2+q)) w = |
| 16 | word period (wordBlock period 2 q (fun i => w (Fin.natAdd 2 i)) u) (le_refl 2) |
| 17 | (fun i => w (Fin.castAdd q i)) := by |
| 18 | rw [wordBlock_word, Fin.append_castAdd_natAdd] |
| 19 | |
| 20 | /-- The genuine complete H^(q+2) norm is controlled by H^(q+1) and all order-q H² derivative blocks. -/ |
| 21 | theorem top_blocks_norm_sq (q : ℕ) (u : SobolevSpace period (2+q)) : |
| 22 | ‖u‖^2 ≤ ‖restrictOperator period (by omega : 1+q ≤ 2+q) u‖^2 + |
| 23 | ∑ w : Fin q → Fin 4, ‖wordBlock period 2 q w u‖^2 := by |
| 24 | have hsum : 0 ≤ ∑ w : Fin q → Fin 4, ‖wordBlock period 2 q w u‖^2 := |
| 25 | Finset.sum_nonneg (fun _ _ => sq_nonneg _) |
| 26 | have hB : 0 ≤ ‖restrictOperator period (by omega : 1+q ≤ 2+q) u‖^2 + |
| 27 | ∑ w : Fin q → Fin 4, ‖wordBlock period 2 q w u‖^2 := add_nonneg (sq_nonneg _) hsum |
| 28 | apply (Real.le_sqrt (norm_nonneg u) hB).mp |
| 29 | change ‖u.val‖ ≤ _ |
| 30 | apply (pi_norm_le_iff_of_nonneg (Real.sqrt_nonneg _)).mpr |
| 31 | rintro ⟨⟨n, hn⟩, w⟩ |
| 32 | apply Real.le_sqrt_of_sq_le |
| 33 | by_cases hlow : n ≤ 1+q |
| 34 | · have hnorm : ‖u.val ⟨⟨n, hn⟩, w⟩‖ ≤ ‖restrictOperator period (by omega : 1+q ≤ 2+q) u‖ := |
| 35 | word_norm_le period (restrictOperator period (by omega : 1+q ≤ 2+q) u) |
| 36 | ⟨⟨n, Nat.lt_succ_of_le hlow⟩, w⟩ |
| 37 | nlinarith [norm_nonneg (u.val ⟨⟨n, hn⟩, w⟩), norm_nonneg (restrictOperator period (by omega : 1+q ≤ 2+q) u)] |
| 38 | · have hn2 : n = 2+q := by omega |
| 39 | subst n |
| 40 | have hw := top_word_block period q u w |
| 41 | change ‖word period u (le_refl (2+q)) w‖^2 ≤ _ |
| 42 | rw [hw] |
| 43 | have hnorm := word_norm_le period (wordBlock period 2 q (fun i => w (Fin.natAdd 2 i)) u) |
| 44 | (⟨⟨2, by omega⟩, fun i => w (Fin.castAdd q i)⟩ : SobolevWord 2) |
| 45 | change ‖word period (wordBlock period 2 q (fun i => w (Fin.natAdd 2 i)) u) |
| 46 | (le_refl 2) (fun i => w (Fin.castAdd q i))‖ ≤ _ at hnorm |
| 47 | have hs := Finset.single_le_sum (fun v _ => sq_nonneg ‖wordBlock period 2 q v u‖) |
| 48 | (Finset.mem_univ (fun i => w (Fin.natAdd 2 i))) |
| 49 | nlinarith [norm_nonneg (word period (wordBlock period 2 q (fun i => w (Fin.natAdd 2 i)) u) |
| 50 | (le_refl 2) (fun i => w (Fin.castAdd q i))), |
| 51 | norm_nonneg (wordBlock period 2 q (fun i => w (Fin.natAdd 2 i)) u), |
| 52 | sq_nonneg ‖restrictOperator period (by omega : 1+q ≤ 2+q) u‖] |
| 53 | |
| 54 | end EulerSobolevTopBlocks |