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.PacketFiniteFieldAlgebra |
| 2 | import Euler.PacketProfileCoarseBounds |
| 3 | |
| 4 | /-! Uniform estimates for finite coefficient assembly, including zero and terminal grades. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField.Field |
| 9 | |
| 10 | open Set EulerPacketProfileRecursion EulerFiniteGrades EulerPacketShiftArithmetic |
| 11 | |
| 12 | variable {P T : ℝ} [Fact (0 < P)] |
| 13 | |
| 14 | theorem wordBound_truncateFamily (M : ℕ) (f : ℕ → VectorField) |
| 15 | (G : ∀ i, i ≤ M → Field P T (f i)) (q : ℕ) (R : ℝ) (A : ℕ → ℝ) (d : ℕ → ℕ) |
| 16 | (hR : 0 ≤ R) (hA : ∀ i, 0 ≤ A i) |
| 17 | (hG : ∀ i (hi : i ≤ M), (G i hi).WordBound q R (A i) (d i)) (n : ℕ) : |
| 18 | (truncateFamily M f G n).WordBound q R (A n) (d n) := by |
| 19 | by_cases hn : n ≤ M |
| 20 | · simp only [truncateFamily,dite_eq_left hn] |
| 21 | exact hG n hn |
| 22 | · simp only [truncateFamily,dite_eq_right hn] |
| 23 | exact (wordBound_zero P T q R (d n)).mono_amplitude hR (hA n) |
| 24 | |
| 25 | theorem wordBound_assembleFamily (M : ℕ) (f c : ℕ → VectorField) |
| 26 | (G : ∀ i, i ≤ M → Field P T (f i)) (H : ∀ i, i ≤ M → Field P T (c i)) |
| 27 | (R A : ℝ) (hR : 1 ≤ R) (hA : 1 ≤ A) |
| 28 | (hG : ∀ i (hi : i ≤ M), (G i hi).WordBound 6 R (2*A^(2*i)) (highShift i)) |
| 29 | (hH : ∀ i (hi : i ≤ M), (H i hi).WordBound 6 R (A^(2*i)) (highShift i)) (n : ℕ) : |
| 30 | (assembleFamily M f c G H n).WordBound 6 R (3*A^(2*n)) (highShift n) := by |
| 31 | have hA0 : 0 ≤ A := zero_le_one.trans hA |
| 32 | have hg := wordBound_truncateFamily M f G 6 R (fun i => 2*A^(2*i)) highShift |
| 33 | (zero_le_one.trans hR) (fun i => mul_nonneg (by norm_num) (pow_nonneg hA0 _)) hG |
| 34 | have hh := wordBound_truncateFamily M c H 6 R (fun i => A^(2*i)) highShift |
| 35 | (zero_le_one.trans hR) (fun i => pow_nonneg hA0 _) hH |
| 36 | cases n with |
| 37 | | zero => |
| 38 | exact (hg 0).mono_amplitude (zero_le_one.trans hR) (by norm_num) |
| 39 | | succ n => |
| 40 | have hshift : highShift n ≤ highShift (n+1) := by unfold highShift; omega |
| 41 | have hp : A^(2*n) ≤ A^(2*(n+1)) := pow_le_pow_right₀ hA (by omega) |
| 42 | have hnext := (hh n).mono_shift hR (pow_nonneg hA0 _) hshift |
| 43 | have hs := (hg (n+1)).add hnext |
| 44 | exact hs.mono_amplitude (zero_le_one.trans hR) (by nlinarith) |
| 45 | |
| 46 | end EulerPacketCylinderField.Field |