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.PacketFiniteProfileBounds |
| 2 | import Euler.PacketTailBase |
| 3 | |
| 4 | /-! Low packet grades retain fixed polynomial costs; higher grades use one common tail base. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField |
| 9 | |
| 10 | open EulerPacketProfileRecursion EulerPacketShiftArithmetic EulerPacketCoarseMajorant EulerGevrey |
| 11 | |
| 12 | def fixedVelocityGradeCost (R H : ℝ) (n : ℕ) : ℝ := |
| 13 | (3*H^(2*n))*((4*R)^(highShift n)*((highShift n).factorial : ℝ)^2) |
| 14 | |
| 15 | theorem fixedVelocityGradeCost_nonneg (R H : ℝ) (hR : 0 ≤ R) (n : ℕ) : |
| 16 | 0 ≤ fixedVelocityGradeCost R H n := by |
| 17 | unfold fixedVelocityGradeCost |
| 18 | rw [pow_mul H 2 n] |
| 19 | positivity |
| 20 | |
| 21 | namespace Field |
| 22 | |
| 23 | variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} {G : Field P T raw} |
| 24 | {q d n : ℕ} {R A H : ℝ} |
| 25 | |
| 26 | theorem WordBound.split_fixed_shift (hG : G.WordBound q R A d) (hR : 0 ≤ R) (hA : 0 ≤ A) : |
| 27 | G.WordBound q (4*R) (A*((4*R)^d*(d.factorial : ℝ)^2)) 0 := by |
| 28 | intro j |
| 29 | exact (hG j).trans ((mul_le_mul_of_nonneg_left (majorant_coarse_split R hR d j) hA).trans_eq |
| 30 | (by ring)) |
| 31 | |
| 32 | theorem WordBound.fixed_velocity_grade (hG : G.WordBound q R (3*H^(2*n)) (highShift n)) |
| 33 | (hR : 0 ≤ R) (hH : 0 ≤ H) : |
| 34 | G.WordBound q (4*R) (fixedVelocityGradeCost R H n) 0 := |
| 35 | hG.split_fixed_shift hR (mul_nonneg (by norm_num) (pow_nonneg hH _)) |
| 36 | |
| 37 | theorem WordBound.coarse_velocity_grade (hG : G.WordBound q R (3*H^(2*n)) (highShift n)) |
| 38 | (hR : 1 ≤ R) (hH : 1 ≤ H) (C : ℝ) (hC : 1 ≤ C) (N : ℕ) (hN : 1 ≤ N) |
| 39 | (hn : n ≤ 2*N+2) : G.WordBound q (4*R) ((tailBase R H C N)^(n+1)) 0 := by |
| 40 | have hC0 : 0 ≤ C := zero_le_one.trans hC |
| 41 | have hH0 : 0 ≤ H := zero_le_one.trans hH |
| 42 | have hNN : (2 : ℝ) ≤ ((N+2 : ℕ) : ℝ) := by exact_mod_cast (show 2 ≤ N+2 by omega) |
| 43 | have hP : (3 : ℝ) ≤ 1+18*((N+2 : ℕ) : ℝ)^2 := by nlinarith |
| 44 | have hPC : (3 : ℝ) ≤ (1+18*((N+2 : ℕ) : ℝ)^2)*C := |
| 45 | hP.trans (le_mul_of_one_le_right (by positivity) hC) |
| 46 | have ha : 3*H^(2*n) ≤ (1+18*((N+2 : ℕ) : ℝ)^2)*C*H^(2*n+2) := by |
| 47 | calc |
| 48 | _ ≤ 3*H^(2*n+2) := mul_le_mul_of_nonneg_left (pow_le_pow_right₀ hH (by omega)) (by norm_num) |
| 49 | _ ≤ _ := mul_le_mul_of_nonneg_right hPC (pow_nonneg hH0 _) |
| 50 | have hA : 0 ≤ (1+18*((N+2 : ℕ) : ℝ)^2)*C*H^(2*n+2) := by positivity |
| 51 | have h := (hG.mono_amplitude (zero_le_one.trans hR) ha).coarse_grade hR hA N n hN hn |
| 52 | (show highShift n ≤ 110*(n+1) by unfold highShift; omega) |
| 53 | exact h.mono_amplitude (by linarith) (tailBase_absorption R H C hC0 N n) |
| 54 | |
| 55 | end Field |
| 56 | end EulerPacketCylinderField |