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.ParameterSobolevGevrey |
| 2 | |
| 3 | /-! |
| 4 | # The fixed-Sobolev inverse estimate needs bounds only at its base point |
| 5 | |
| 6 | In particular a frozen Duhamel equation has identity as its base operator. |
| 7 | The actual equation and smoothness hold as functions; every quantitative |
| 8 | hypothesis, including invertibility, is needed only at the evaluation point. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerParameterWordGevrey |
| 14 | |
| 15 | open ContinuousLinearMap Finset EulerJetProductBounds EulerGevrey |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 20 | |
| 21 | theorem block_inverse_gevrey_at (directions : ι → P) (q : ℕ) |
| 22 | (A : P → E →L[ℝ] E) (u f : P → E) |
| 23 | (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) |
| 24 | (heq : ∀ y, A y (u y) = f y) |
| 25 | (x : P) (inverse : E →L[ℝ] E) (hleft : ∀ v, inverse (A x v) = v) |
| 26 | (I B C D M Rc R : ℝ) (_hC : 0 ≤ C) (_hD : 0 ≤ D) |
| 27 | (hM : 1 ≤ M) (hMC : sobolevInverseCost I B q*C ≤ M) |
| 28 | (hMD : sobolevInverseCost I B q*D ≤ M) |
| 29 | (hRc : 0 ≤ Rc) (hR : 2*M*(Rc+1) ≤ R) |
| 30 | (hinv : ‖inverse‖ ≤ I) (hbase : baseSize directions q A x ≤ B) |
| 31 | (hcoeff : ∀ j, coefficientBlock directions q A (j+1) x ≤ C*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) |
| 32 | (d : ℕ) (hforce : ∀ n, block directions q f n x ≤ D*majorant R d n) |
| 33 | (n : ℕ) : block directions q u n x ≤ majorant R (d+1) n := by |
| 34 | have hR0 : 0 ≤ R := by nlinarith |
| 35 | have hI : 0 ≤ I := (norm_nonneg inverse).trans hinv |
| 36 | have hB : 0 ≤ B := (baseSize_nonneg directions q A x).trans hbase |
| 37 | have hcost := sobolevInverseCost_nonneg I B hI hB q |
| 38 | apply triangular_inverse_majorant M Rc R hM hRc hR d |
| 39 | (fun k => majorant R d k) (fun k => block directions q u k x) (fun _ => le_rfl) _ n |
| 40 | intro k |
| 41 | let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ)*Rc^(j+1)* |
| 42 | ((j+1).factorial : ℝ)^2*block directions q u (k-(j+1)) x |
| 43 | have hS : 0 ≤ S := sum_nonneg (fun j _ => mul_nonneg |
| 44 | (mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (pow_nonneg hRc _)) (sq_nonneg _)) |
| 45 | (block_nonneg directions q u _ x)) |
| 46 | have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ)*coefficientBlock directions q A (j+1) x* |
| 47 | block directions q u (k-(j+1)) x) ≤ C*S := by |
| 48 | dsimp only [S] |
| 49 | rw [mul_sum] |
| 50 | apply sum_le_sum |
| 51 | intro j _ |
| 52 | have h := mul_le_mul_of_nonneg_right |
| 53 | (mul_le_mul_of_nonneg_left (hcoeff j) (Nat.cast_nonneg (k.choose (j+1)))) |
| 54 | (block_nonneg directions q u (k-(j+1)) x) |
| 55 | convert h using 1 |
| 56 | ring |
| 57 | have hrec := block_inverse_recurrence directions q A u f hA hu hf heq x |
| 58 | inverse hleft I B hinv hbase k |
| 59 | have hb : block directions q u k x ≤ sobolevInverseCost I B q*(D*majorant R d k+C*S) := |
| 60 | hrec.trans (mul_le_mul_of_nonneg_left (add_le_add (hforce k) hsum) hcost) |
| 61 | have h₁ := mul_le_mul_of_nonneg_right hMC hS |
| 62 | have h₂ := mul_le_mul_of_nonneg_right hMD (majorant_nonneg R hR0 d k) |
| 63 | change block directions q u k x ≤ M*(majorant R d k+S) |
| 64 | nlinarith |
| 65 | |
| 66 | end EulerParameterWordGevrey |