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.ParameterSobolevBlocks |
| 2 | |
| 3 | /-! |
| 4 | # The actual inverse estimate at a fixed Sobolev order |
| 5 | |
| 6 | Differentiate the genuine equation once at each of finitely many base |
| 7 | indices. The resulting constant is a fixed polynomial recursion in the |
| 8 | ordinary inverse norm and the finite coefficient-jet bound. It does not |
| 9 | depend on any external derivative order or factorial shift. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerParameterWordGevrey |
| 15 | |
| 16 | open ContinuousLinearMap Finset |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | /-- A fixed finite recursion of polynomial base-order inverse constants. -/ |
| 20 | def sobolevInverseCost (I B : ℝ) : ℕ → ℝ |
| 21 | | 0 => I |
| 22 | | q+1 => I+sobolevInverseCost I B q+(2 : ℝ)^q*B*(sobolevInverseCost I B q)^2 |
| 23 | |
| 24 | theorem sobolevInverseCost_nonneg (I B : ℝ) (hI : 0 ≤ I) (hB : 0 ≤ B) (q : ℕ) : |
| 25 | 0 ≤ sobolevInverseCost I B q := by |
| 26 | induction q with |
| 27 | | zero => exact hI |
| 28 | | succ q ih => simp only [sobolevInverseCost]; positivity |
| 29 | |
| 30 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 31 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 32 | |
| 33 | /-- Fixed-order Sobolev boundedness of an actual inverse equation. |
| 34 | Every derivative is an ordinary derivative of the original smooth functions. -/ |
| 35 | theorem baseSize_inverse_bound (directions : ι → P) |
| 36 | (A : P → E →L[ℝ] E) (hA : ContDiff ℝ ∞ A) (x : P) |
| 37 | (inverse : E →L[ℝ] E) (hleft : ∀ v, inverse (A x v) = v) |
| 38 | (I B : ℝ) (hinv : ‖inverse‖ ≤ I) : |
| 39 | ∀ (q : ℕ) (u f : P → E), ContDiff ℝ ∞ u → ContDiff ℝ ∞ f → |
| 40 | (∀ y, A y (u y) = f y) → baseSize directions q A x ≤ B → |
| 41 | baseSize directions q u x ≤ sobolevInverseCost I B q*baseSize directions q f x := by |
| 42 | have hI : 0 ≤ I := (norm_nonneg inverse).trans hinv |
| 43 | intro q |
| 44 | induction q with |
| 45 | | zero => |
| 46 | intro u f _ _ heq _ |
| 47 | rw [baseSize_zero, baseSize_zero, sobolevInverseCost] |
| 48 | have he : u x = inverse (f x) := by rw [← heq x, hleft] |
| 49 | rw [he] |
| 50 | exact (inverse.le_opNorm (f x)).trans (mul_le_mul_of_nonneg_right hinv (norm_nonneg _)) |
| 51 | | succ q ih => |
| 52 | intro u f hu hf heq hAb |
| 53 | have hB : 0 ≤ B := (baseSize_nonneg directions (q+1) A x).trans hAb |
| 54 | let C := sobolevInverseCost I B q |
| 55 | let N := baseSize directions (q+1) f x |
| 56 | have hC : 0 ≤ C := sobolevInverseCost_nonneg I B hI hB q |
| 57 | have hN : 0 ≤ N := baseSize_nonneg directions (q+1) f x |
| 58 | have hAbq : baseSize directions q A x ≤ B := |
| 59 | (baseSize_mono directions A x (Nat.le_succ q)).trans hAb |
| 60 | have huq : baseSize directions q u x ≤ C*N := |
| 61 | (ih u f hu hf heq hAbq).trans |
| 62 | (mul_le_mul_of_nonneg_left (baseSize_mono directions f x (Nat.le_succ q)) hC) |
| 63 | have hzero : ‖u x‖ ≤ I*N := by |
| 64 | have he : u x = inverse (f x) := by rw [← heq x, hleft] |
| 65 | rw [he] |
| 66 | exact (inverse.le_opNorm (f x)).trans |
| 67 | (mul_le_mul hinv (norm_le_baseSize directions (q+1) f x) (norm_nonneg _) hI) |
| 68 | have hdf : (∑ i, baseSize directions q (directional directions f i) x) ≤ N := by |
| 69 | have h := baseSize_succ directions q f hf x |
| 70 | change baseSize directions (q+1) f x = _ at h |
| 71 | dsimp only [N] |
| 72 | linarith [norm_nonneg (f x)] |
| 73 | have hdA : (∑ i, baseSize directions q (directional directions A i) x) ≤ B := by |
| 74 | have h := baseSize_succ directions q A hA x |
| 75 | linarith [norm_nonneg (A x)] |
| 76 | have hdi (i : ι) : baseSize directions q (directional directions u i) x ≤ |
| 77 | C*(baseSize directions q (directional directions f i) x+ |
| 78 | (2 : ℝ)^q*baseSize directions q (directional directions A i) x*baseSize directions q u x) := by |
| 79 | let fᵢ := directional directions f i-fun y => directional directions A i y (u y) |
| 80 | have hfᵢ : ContDiff ℝ ∞ fᵢ := (directional_contDiff directions f hf i).sub |
| 81 | ((directional_contDiff directions A hA i).clm_apply hu) |
| 82 | have heqᵢ (y : P) : A y (directional directions u i y) = fᵢ y := by |
| 83 | change A y (directional directions u i y) = |
| 84 | directional directions f i y-directional directions A i y (u y) |
| 85 | apply eq_sub_iff_add_eq.mpr |
| 86 | have hd := congrFun (directional_bilinear directions |
| 87 | ((ContinuousLinearMap.apply ℝ E).flip) A u hA hu i) y |
| 88 | have he := congrArg (fun g : P → E => directional directions g i y) (funext heq) |
| 89 | exact hd.symm.trans he |
| 90 | have h := ih (directional directions u i) fᵢ (directional_contDiff directions u hu i) hfᵢ heqᵢ hAbq |
| 91 | apply h.trans |
| 92 | apply mul_le_mul_of_nonneg_left _ hC |
| 93 | exact (baseSize_sub_le directions q (directional directions f i) |
| 94 | (fun y => directional directions A i y (u y)) (directional_contDiff directions f hf i) |
| 95 | ((directional_contDiff directions A hA i).clm_apply hu) x).trans |
| 96 | (add_le_add le_rfl (baseSize_clm_apply_le directions q (directional directions A i) u |
| 97 | (directional_contDiff directions A hA i) hu x)) |
| 98 | have hsum : (∑ i, baseSize directions q (directional directions u i) x) ≤ |
| 99 | C*(N+(2 : ℝ)^q*B*(C*N)) := by |
| 100 | calc |
| 101 | _ ≤ ∑ i, C*(baseSize directions q (directional directions f i) x+ |
| 102 | (2 : ℝ)^q*baseSize directions q (directional directions A i) x*baseSize directions q u x) := |
| 103 | sum_le_sum (fun i _ => hdi i) |
| 104 | _ = C*((∑ i, baseSize directions q (directional directions f i) x)+ |
| 105 | (2 : ℝ)^q*(∑ i, baseSize directions q (directional directions A i) x)*baseSize directions q u x) := by |
| 106 | simp only [← mul_sum, sum_add_distrib, ← sum_mul] |
| 107 | _ ≤ C*(N+(2 : ℝ)^q*B*(C*N)) := by |
| 108 | gcongr |
| 109 | exact baseSize_nonneg directions q u x |
| 110 | rw [baseSize_succ directions q u hu x] |
| 111 | calc |
| 112 | _ ≤ I*N+C*(N+(2 : ℝ)^q*B*(C*N)) := add_le_add hzero hsum |
| 113 | _ = sobolevInverseCost I B (q+1)*baseSize directions (q+1) f x := by |
| 114 | simp only [sobolevInverseCost, C, N] |
| 115 | ring |
| 116 | |
| 117 | end EulerParameterWordGevrey |