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.GevreyRestriction |
| 2 | |
| 3 | /-! Radius reduction for actual finite weighted Sobolev norms. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerGevreyRadiusReduction |
| 8 | |
| 9 | open Finset EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 10 | EulerSpatialSobolevInverse EulerH6Pressure EulerJetProductBounds EulerPacketWeights |
| 11 | EulerSobolevGevreyOperators |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | omit [Fact (0 < period)] in |
| 16 | theorem weight_mono_radius {r R : ℝ} (hr : 0 ≤ r) (hR : r ≤ R) (n : ℕ) : |
| 17 | weight r n ≤ weight R n := by |
| 18 | exact div_le_div_of_nonneg_right (pow_le_pow_left₀ hr hR n) (sq_nonneg _) |
| 19 | |
| 20 | theorem weightedNorm_mono_radius {s : ℕ} (q N : ℕ) {r R : ℝ} |
| 21 | (hr : 0 ≤ r) (hR : r ≤ R) (u : SobolevSpace period s) : |
| 22 | weightedNorm period q N r u ≤ weightedNorm period q N R u := by |
| 23 | exact sum_le_sum fun n _ => mul_le_mul_of_nonneg_right |
| 24 | (weight_mono_radius hr hR n) (blockNorm_nonneg _) |
| 25 | |
| 26 | omit [Fact (0 < period)] in |
| 27 | theorem weightedCoefficient_mono_radius {s : ℕ} {A : SmoothCoefficient period} |
| 28 | (K : CoefficientJet period standardDirection s A) (q N : ℕ) {r R : ℝ} |
| 29 | (hr : 0 ≤ r) (hR : r ≤ R) : |
| 30 | weightedCoefficient period K q N r ≤ weightedCoefficient period K q N R := by |
| 31 | exact sum_le_sum fun n _ => mul_le_mul_of_nonneg_right |
| 32 | (weight_mono_radius hr hR n) (coefficientBlock_nonneg _) |
| 33 | |
| 34 | theorem weightedNorm_mono_cutoff {s : ℕ} (q : ℕ) {N M : ℕ} (hNM : N ≤ M) |
| 35 | (r : ℝ) (hr : 0 < r) (u : SobolevSpace period s) : |
| 36 | weightedNorm period q N r u ≤ weightedNorm period q M r u := by |
| 37 | exact sum_le_sum_of_subset_of_nonneg (range_mono (by omega)) |
| 38 | (fun n _ _ => mul_nonneg (weight_pos hr n).le (blockNorm_nonneg _)) |
| 39 | |
| 40 | omit [Fact (0 < period)] in |
| 41 | theorem weightedCoefficient_mono_cutoff {s : ℕ} {A : SmoothCoefficient period} |
| 42 | (K : CoefficientJet period standardDirection s A) (q : ℕ) {N M : ℕ} (hNM : N ≤ M) |
| 43 | (r : ℝ) (hr : 0 < r) : |
| 44 | weightedCoefficient period K q N r ≤ weightedCoefficient period K q M r := by |
| 45 | exact sum_le_sum_of_subset_of_nonneg (range_mono (by omega)) |
| 46 | (fun n _ _ => mul_nonneg (weight_pos hr n).le (coefficientBlock_nonneg _)) |
| 47 | |
| 48 | /-- A retained weighted norm depends only on the genuine underlying field. -/ |
| 49 | theorem weightedNorm_unique {s t : ℕ} (q N : ℕ) (r : ℝ) |
| 50 | (u : SobolevSpace period s) (v : SobolevSpace period t) |
| 51 | (huv : value period u = value period v) (hs : N+q ≤ s) (ht : N+q ≤ t) : |
| 52 | weightedNorm period q N r u = weightedNorm period q N r v := by |
| 53 | apply sum_congr rfl |
| 54 | intro n hn |
| 55 | congr 1 |
| 56 | exact blockNorm_unique period (toJet period u) (toJet period v) huv |
| 57 | (by have := mem_range.mp hn; omega) (by have := mem_range.mp hn; omega) |
| 58 | |
| 59 | /-- The four actual coordinate derivatives form exactly the next external block. -/ |
| 60 | theorem derivative_block_sum {s : ℕ} (q n : ℕ) (hn : n+q ≤ s) |
| 61 | (u : SobolevSpace period (s+1)) : |
| 62 | (∑ i : Fin 4, blockNorm period (toJet period (derivativeOperator period s i u)) q n) = |
| 63 | blockNorm period (toJet period u) q (n+1) := by |
| 64 | let J : SpatialJet period standardDirection (s+1) (value period u) := |
| 65 | .succ (fun i => value period (derivativeOperator period s i u)) |
| 66 | (fun i => toJet period (derivativeOperator period s i u)) |
| 67 | (fun i => derivativeOperator_hasDerivAt period i u) |
| 68 | rw [blockNorm_unique period (toJet period u) J rfl (by omega) (by omega), blockNorm_succ] |
| 69 | rfl |
| 70 | |
| 71 | omit [Fact (0 < period)] in |
| 72 | /-- A fixed exponential absorbs the square introduced by one factorial shift. -/ |
| 73 | theorem successor_square_le_four_two_pow (n : ℕ) : |
| 74 | ((n+1 : ℕ) : ℝ)^2 ≤ 4*(2 : ℝ)^n := by |
| 75 | induction n with |
| 76 | | zero => norm_num |
| 77 | | succ n ih => |
| 78 | by_cases h0 : n = 0 |
| 79 | · subst n; norm_num |
| 80 | by_cases h1 : n = 1 |
| 81 | · subst n; norm_num |
| 82 | have hn : (2 : ℝ) ≤ n := by exact_mod_cast (show 2 ≤ n by omega) |
| 83 | have hs : ((n+1+1 : ℕ) : ℝ)^2 ≤ 2*((n+1 : ℕ) : ℝ)^2 := by |
| 84 | push_cast |
| 85 | nlinarith [sq_nonneg ((n : ℝ)-2)] |
| 86 | calc |
| 87 | _ ≤ 2*((n+1 : ℕ) : ℝ)^2 := hs |
| 88 | _ ≤ 2*(4*(2 : ℝ)^n) := mul_le_mul_of_nonneg_left ih (by norm_num) |
| 89 | _ = _ := by rw [pow_succ]; ring |
| 90 | |
| 91 | omit [Fact (0 < period)] in |
| 92 | theorem weight_half_le_shift (R : ℝ) (hR : 0 < R) (n : ℕ) : |
| 93 | weight (R/2) n ≤ (4/R)*weight R (n+1) := by |
| 94 | have hn := successor_square_le_four_two_pow n |
| 95 | have hf : (0 : ℝ) < (n.factorial : ℝ) := by positivity |
| 96 | have hp : (0 : ℝ) < (2 : ℝ)^n := by positivity |
| 97 | unfold weight |
| 98 | rw [Nat.factorial_succ, Nat.cast_mul, pow_succ R, div_pow] |
| 99 | have he : (4/R)*(R^n*R/(((n+1 : ℕ) : ℝ)*(n.factorial : ℝ))^2) = |
| 100 | 4*R^n/(((n+1 : ℕ) : ℝ)^2*(n.factorial : ℝ)^2) := by |
| 101 | field_simp |
| 102 | rw [he, div_div] |
| 103 | apply (div_le_div_iff₀ (mul_pos hp (sq_pos_of_pos hf)) (by positivity)).mpr |
| 104 | have hm := mul_le_mul_of_nonneg_left hn (mul_nonneg (pow_nonneg hR.le n) (sq_nonneg (n.factorial : ℝ))) |
| 105 | nlinarith only [hm] |
| 106 | |
| 107 | /-- Halving the positive radius pays for one full spatial/angular derivative, |
| 108 | with no dependence on the external cutoff. -/ |
| 109 | theorem weightedNorm_derivative_half {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) |
| 110 | (R : ℝ) (hR : 0 < R) (u : SobolevSpace period (s+1)) : |
| 111 | (∑ i : Fin 4, weightedNorm period q N (R/2) (derivativeOperator period s i u)) ≤ |
| 112 | (4/R)*weightedNorm period q (N+1) R u := by |
| 113 | calc |
| 114 | _ = ∑ n ∈ range (N+1), weight (R/2) n * blockNorm period (toJet period u) q (n+1) := by |
| 115 | unfold weightedNorm |
| 116 | rw [sum_comm] |
| 117 | apply sum_congr rfl |
| 118 | intro n hn |
| 119 | rw [← mul_sum, derivative_block_sum period q n (by have := mem_range.mp hn; omega)] |
| 120 | _ ≤ ∑ n ∈ range (N+1), (4/R)*weight R (n+1)*blockNorm period (toJet period u) q (n+1) := by |
| 121 | exact sum_le_sum fun n _ => mul_le_mul_of_nonneg_right |
| 122 | (weight_half_le_shift R hR n) (blockNorm_nonneg _) |
| 123 | _ = (4/R)*(∑ n ∈ range (N+1), weight R (n+1)*blockNorm period (toJet period u) q (n+1)) := by |
| 124 | rw [mul_sum] |
| 125 | apply sum_congr rfl |
| 126 | intro n _ |
| 127 | ring |
| 128 | _ ≤ _ := by |
| 129 | apply mul_le_mul_of_nonneg_left _ (by positivity) |
| 130 | unfold weightedNorm |
| 131 | conv_rhs => rw [sum_range_succ'] |
| 132 | exact le_add_of_nonneg_right |
| 133 | (mul_nonneg (weight_pos hR 0).le (blockNorm_nonneg (q := q) (n := 0) (toJet period u))) |
| 134 | |
| 135 | end EulerGevreyRadiusReduction |