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.ParameterWordProduct |
| 2 | import Euler.BoundedInverseGevrey |
| 3 | |
| 4 | /-! |
| 5 | # A genuine inverse recurrence for the unchanged word sums |
| 6 | |
| 7 | Freeze the actual left inverse at a parameter value. The coefficient |
| 8 | difference vanishes there, so the direct word-product estimate removes the |
| 9 | top unknown term. The same factorial radius is used for input and output. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerParameterWordGevrey |
| 15 | |
| 16 | open ContinuousLinearMap Finset EulerJetProductBounds EulerGevrey |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 20 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 21 | |
| 22 | /-- Freezing the actual inverse yields the sharp recurrence for actual ordered word sums. -/ |
| 23 | theorem inverse_word_recurrence (directions : ι → P) |
| 24 | (A : P → E →L[ℝ] E) (u f : P → E) |
| 25 | (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) |
| 26 | (heq : ∀ y, A y (u y) = f y) (x : P) |
| 27 | (I : E →L[ℝ] E) (hI : ∀ v, I (A x v) = v) (n : ℕ) : |
| 28 | wordSum directions u n x ≤ ‖I‖ * |
| 29 | (wordSum directions f n x + ∑ j ∈ range n, |
| 30 | (n.choose (j+1) : ℝ) * wordSum directions A (j+1) x * |
| 31 | wordSum directions u (n-(j+1)) x) := by |
| 32 | let B : P → E →L[ℝ] E := A-fun _ => A x |
| 33 | have hB : ContDiff ℝ ∞ B := hA.sub contDiff_const |
| 34 | have hBu : ContDiff ℝ ∞ (fun y => B y (u y)) := hB.clm_apply hu |
| 35 | have hfreeze : u = I ∘ (f-fun y => B y (u y)) := by |
| 36 | funext y |
| 37 | dsimp [B] |
| 38 | rw [sub_apply, ← heq y, sub_sub_cancel] |
| 39 | exact (hI (u y)).symm |
| 40 | have hzero : wordSum directions B 0 x = 0 := by |
| 41 | rw [wordSum_zero] |
| 42 | simp only [B, Pi.sub_apply, sub_self, norm_zero] |
| 43 | have hpos (j : ℕ) : wordSum directions B (j+1) x = wordSum directions A (j+1) x := |
| 44 | wordSum_sub_const_succ directions A hA (A x) j x |
| 45 | have hprod := wordSum_clm_apply_le directions B u hB hu n x |
| 46 | unfold leibnizConvolution at hprod |
| 47 | rw [sum_range_succ'] at hprod |
| 48 | simp only [hzero, mul_zero, zero_mul, add_zero, hpos] at hprod |
| 49 | have hbound := wordSum_comp_clm_le directions I (f-fun y => B y (u y)) (hf.sub hBu) n x |
| 50 | rw [← hfreeze] at hbound |
| 51 | exact hbound.trans (mul_le_mul_of_nonneg_left |
| 52 | ((wordSum_sub_le directions f (fun y => B y (u y)) hf hBu n x).trans |
| 53 | (add_le_add le_rfl hprod)) (norm_nonneg I)) |
| 54 | |
| 55 | /-- The actual inverse maps a word-sum majorant to one higher factorial |
| 56 | shift at the identical radius. All constants are independent of the shift. -/ |
| 57 | theorem inverse_word_gevrey (directions : ι → P) |
| 58 | (A : P → E →L[ℝ] E) (u f : P → E) |
| 59 | (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) |
| 60 | (heq : ∀ y, A y (u y) = f y) |
| 61 | (inverse : P → E →L[ℝ] E) (hleft : ∀ x v, inverse x (A x v) = v) |
| 62 | (I C D M Rc R : ℝ) (hC : 0 ≤ C) (hD : 0 ≤ D) |
| 63 | (hM : 1 ≤ M) (hMC : I*C ≤ M) (hMD : I*D ≤ M) |
| 64 | (hRc : 0 ≤ Rc) (hR : 2*M*(Rc+1) ≤ R) |
| 65 | (hinv : ∀ x, ‖inverse x‖ ≤ I) |
| 66 | (hcoeff : ∀ j x, wordSum directions A (j+1) x ≤ C*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) |
| 67 | (d : ℕ) (hforce : ∀ n x, wordSum directions f n x ≤ D*majorant R d n) |
| 68 | (n : ℕ) (x : P) : wordSum directions u n x ≤ majorant R (d+1) n := by |
| 69 | have hR0 : 0 ≤ R := by nlinarith |
| 70 | apply triangular_inverse_majorant M Rc R hM hRc hR d |
| 71 | (fun k => majorant R d k) (fun k => wordSum directions u k x) (fun _ => le_rfl) _ n |
| 72 | intro k |
| 73 | let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ)*Rc^(j+1)* |
| 74 | ((j+1).factorial : ℝ)^2*wordSum directions u (k-(j+1)) x |
| 75 | have hS : 0 ≤ S := sum_nonneg (fun j _ => mul_nonneg |
| 76 | (mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (pow_nonneg hRc _)) (sq_nonneg _)) |
| 77 | (wordSum_nonneg directions u _ x)) |
| 78 | have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ)*wordSum directions A (j+1) x* |
| 79 | wordSum directions u (k-(j+1)) x) ≤ C*S := by |
| 80 | dsimp only [S] |
| 81 | rw [mul_sum] |
| 82 | apply sum_le_sum |
| 83 | intro j _ |
| 84 | have h := mul_le_mul_of_nonneg_right |
| 85 | (mul_le_mul_of_nonneg_left (hcoeff j x) (Nat.cast_nonneg (k.choose (j+1)))) |
| 86 | (wordSum_nonneg directions u (k-(j+1)) x) |
| 87 | convert h using 1 |
| 88 | ring |
| 89 | have hrec := inverse_word_recurrence directions A u f hA hu hf heq x (inverse x) (hleft x) k |
| 90 | have hb : wordSum directions u k x ≤ I*(D*majorant R d k+C*S) := by |
| 91 | apply hrec.trans |
| 92 | exact (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) (norm_nonneg _)).trans |
| 93 | (mul_le_mul_of_nonneg_right (hinv x) |
| 94 | (add_nonneg (mul_nonneg hD (majorant_nonneg R hR0 d k)) (mul_nonneg hC hS))) |
| 95 | have h₁ := mul_le_mul_of_nonneg_right hMC hS |
| 96 | have h₂ := mul_le_mul_of_nonneg_right hMD (majorant_nonneg R hR0 d k) |
| 97 | change wordSum directions u k x ≤ M*(majorant R d k+S) |
| 98 | nlinarith |
| 99 | |
| 100 | end EulerParameterWordGevrey |