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.PacketCylinderFieldBounds |
| 2 | import Euler.PacketShiftArithmetic |
| 3 | |
| 4 | /-! One spare factorial shift pays all finite grade sums without changing the external radius. -/ |
| 5 | |
| 6 | namespace EulerGevrey |
| 7 | |
| 8 | theorem finite_cost_absorbed (C R : ℝ) (hC : 0 ≤ C) (hCR : C ≤ R) |
| 9 | (m d n : ℕ) (hd : 0 < d) (hm : m ≤ d^2) : |
| 10 | (C*(m : ℝ))*majorant R (d-1) n ≤ majorant R d n := by |
| 11 | have hR : 0 ≤ R := hC.trans hCR |
| 12 | have hdn : d^2 ≤ (n+d)^2 := Nat.pow_le_pow_left (by omega : d ≤ n+d) 2 |
| 13 | have hmn : (m : ℝ) ≤ ((n+d : ℕ) : ℝ)^2 := by exact_mod_cast hm.trans hdn |
| 14 | have hcost : C*(m : ℝ) ≤ R*((n+d : ℕ) : ℝ)^2 := |
| 15 | (mul_le_mul_of_nonneg_left hmn hC).trans (mul_le_mul_of_nonneg_right hCR (sq_nonneg _)) |
| 16 | have h := mul_le_mul_of_nonneg_right hcost (majorant_nonneg R hR (d-1) n) |
| 17 | have he := majorant_succ_identity R (d-1) n |
| 18 | rw [show d-1+1=d by omega,show n+(d-1)+1=n+d by omega] at he |
| 19 | exact h.trans_eq he.symm |
| 20 | |
| 21 | end EulerGevrey |
| 22 | |
| 23 | namespace EulerPacketCylinderField.Field |
| 24 | |
| 25 | open Set Finset EulerGevrey EulerPacketProfileRecursion |
| 26 | |
| 27 | variable {P T : ℝ} [Fact (0 < P)] |
| 28 | |
| 29 | theorem wordBound_finset_absorb {ι : Type*} (s : Finset ι) (f : ι → VectorField) |
| 30 | (G : ∀ i, Field P T (f i)) (q : ℕ) (R C : ℝ) (d : ℕ) (shift : ι → ℕ) |
| 31 | (hR : 1 ≤ R) (hC : 0 ≤ C) (hCR : C ≤ R) (hd : 0 < d) |
| 32 | (hcount : s.card ≤ d^2) (hshift : ∀ i ∈ s, shift i < d) |
| 33 | (hG : ∀ i ∈ s, (G i).WordBound q R C (shift i)) : |
| 34 | (Field.finsetSum s f G).WordBound q R 1 d := by |
| 35 | have hs := wordBound_finsetSum s f G (fun _ => C) |
| 36 | (fun i hi => (hG i hi).mono_shift hR hC (by have := hshift i hi; omega : shift i ≤ d-1)) |
| 37 | intro n |
| 38 | have hn := hs n |
| 39 | simp only [sum_const,nsmul_eq_mul] at hn |
| 40 | rw [mul_comm (s.card : ℝ) C] at hn |
| 41 | have hc := finite_cost_absorbed C R hC hCR s.card d n hd hcount |
| 42 | simpa only [one_mul] using hn.trans hc |
| 43 | |
| 44 | end EulerPacketCylinderField.Field |
| 45 | |
| 46 | namespace EulerPacketShiftArithmetic |
| 47 | |
| 48 | /-- Even a padded quadratic family of grade terms is paid by the source's spare shift. -/ |
| 49 | theorem padded_grade_count (p : ℕ) (hp : 2 ≤ p) : |
| 50 | 100*(p+2)^2 ≤ (meanForceShift p)^2 ∧ 100*(p+2)^2 ≤ (highForceShift p)^2 := by |
| 51 | obtain ⟨hm,hh⟩ := force_shift_dominates_grade p hp |
| 52 | have hpoly : 100*(p+2)^2 ≤ (25*p)^2 := by nlinarith |
| 53 | exact ⟨hpoly.trans (Nat.pow_le_pow_left hm 2),hpoly.trans (Nat.pow_le_pow_left hh 2)⟩ |
| 54 | |
| 55 | end EulerPacketShiftArithmetic |