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.H6PressureInverse |
| 2 | |
| 3 | /-! Explicit polynomial dependence of the fixed-order inverse on coefficient bounds. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerH6Pressure |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerSpatialSobolevInverse |
| 10 | EulerJetProductBounds EulerPressureJetIdentities EulerPressureSpatialRegularity |
| 11 | open scoped Topology |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] {directions : Fin 4 → LiftTangent} |
| 14 | |
| 15 | omit [Fact (0 < period)] in |
| 16 | theorem coefficient_restrict_level {s q n : ℕ} {A : SmoothCoefficient period} |
| 17 | (K : EulerSpatialSobolevInverse.CoefficientJet period directions s A) |
| 18 | (hq : q ≤ s) (hn : n ≤ q) : |
| 19 | boundLevel period (CoefficientJet.restrict K q hq) n = boundLevel period K n := by |
| 20 | induction q generalizing s A n with |
| 21 | | zero => |
| 22 | have hn0 : n = 0 := by omega |
| 23 | subst n |
| 24 | simp [CoefficientJet.restrict, boundLevel] |
| 25 | | succ q ih => |
| 26 | cases s with |
| 27 | | zero => omega |
| 28 | | succ s => |
| 29 | cases K with |
| 30 | | succ dA lower hd => |
| 31 | cases n with |
| 32 | | zero => simp only [CoefficientJet.restrict, boundLevel] |
| 33 | | succ n => |
| 34 | simp only [CoefficientJet.restrict, boundLevel] |
| 35 | exact Finset.sum_congr rfl (fun i _ => ih (lower i) (by omega) (by omega)) |
| 36 | |
| 37 | variable {period} |
| 38 | |
| 39 | omit [Fact (0 < period)] in |
| 40 | /-- Uniform coefficient level bounds pass to every immediate derivative subtree. -/ |
| 41 | theorem coefficient_child_levels {s : ℕ} {A : SmoothCoefficient period} |
| 42 | (dA : Fin 4 → SmoothCoefficient period) |
| 43 | (lower : ∀ i, EulerSpatialSobolevInverse.CoefficientJet period directions s (dA i)) |
| 44 | (hd : ∀ i x, (dA i).coefficient x = EulerTransportDerivatives.fieldDerivative period (directions i) A.coefficient x) |
| 45 | (L : ℝ) |
| 46 | (h : ∀ r ≤ s + 1, boundLevel period (.succ dA lower hd) r ≤ L) (i : Fin 4) : |
| 47 | ∀ r ≤ s, boundLevel period (lower i) r ≤ L := by |
| 48 | intro r hr |
| 49 | have hs := h (r + 1) (by omega) |
| 50 | rw [boundLevel] at hs |
| 51 | exact (Finset.single_le_sum (fun j _ => boundLevel_nonneg (lower j)) (Finset.mem_univ i)).trans hs |
| 52 | |
| 53 | omit [Fact (0 < period)] in |
| 54 | /-- The fixed-order multiplier constant has an explicit polynomial bound. -/ |
| 55 | theorem productConstant_polynomial {q : ℕ} {A : SmoothCoefficient period} |
| 56 | (K : EulerSpatialSobolevInverse.CoefficientJet period directions q A) |
| 57 | (L : ℝ) (hL : 0 ≤ L) (hcoeff : ∀ r ≤ q, boundLevel period K r ≤ L) : |
| 58 | K.productConstant ≤ (9 : ℝ) ^ q * L := by |
| 59 | induction q generalizing A with |
| 60 | | zero => |
| 61 | cases K |
| 62 | simpa [EulerSpatialSobolevInverse.CoefficientJet.productConstant, boundLevel] using hcoeff 0 (by omega) |
| 63 | | succ q ih => |
| 64 | cases K with |
| 65 | | succ dA lower hd => |
| 66 | let K := EulerSpatialSobolevInverse.CoefficientJet.succ dA lower hd |
| 67 | have ht : ∀ r ≤ q, boundLevel period K.truncate r ≤ L := by |
| 68 | intro r hr |
| 69 | rw [boundLevel_truncate K hr] |
| 70 | exact hcoeff r (by omega) |
| 71 | have hbase := ih K.truncate ht |
| 72 | have hchild : ∀ i, (lower i).productConstant ≤ (9 : ℝ) ^ q * L := |
| 73 | fun i => ih (lower i) (coefficient_child_levels dA lower hd L hcoeff i) |
| 74 | have hzero : (A.bound : ℝ) ≤ L := by simpa only [boundLevel] using hcoeff 0 (by omega) |
| 75 | have hpower : L ≤ (9 : ℝ) ^ q * L := by |
| 76 | simpa only [one_mul] using mul_le_mul_of_nonneg_right |
| 77 | (one_le_pow₀ (by norm_num : (1 : ℝ) ≤ 9)) hL |
| 78 | calc |
| 79 | _ = (A.bound : ℝ) + ∑ i : Fin 4, |
| 80 | (K.truncate.productConstant + (lower i).productConstant) := by |
| 81 | rw [EulerSpatialSobolevInverse.CoefficientJet.productConstant] |
| 82 | _ ≤ L + ∑ _i : Fin 4, ((9 : ℝ) ^ q * L + (9 : ℝ) ^ q * L) := |
| 83 | add_le_add hzero (Finset.sum_le_sum (fun i _ => add_le_add hbase (hchild i))) |
| 84 | _ = L + 8 * ((9 : ℝ) ^ q * L) := by simp; ring |
| 85 | _ ≤ (9 : ℝ) ^ (q + 1) * L := by rw [pow_succ]; nlinarith only [hpower] |
| 86 | |
| 87 | /-- A simple bound used to keep the inverse majorant polynomial at each fixed order. -/ |
| 88 | theorem succ_le_three_pow (q : ℕ) : q + 1 ≤ 3 ^ q := by |
| 89 | induction q with |
| 90 | | zero => norm_num |
| 91 | | succ q ih => rw [pow_succ]; omega |
| 92 | |
| 93 | /-- The inverse majorant dominates nine times the fixed-order multiplier majorant. -/ |
| 94 | theorem inverse_majorant_dominates (q : ℕ) {L : ℝ} (hL : 1 ≤ L) : |
| 95 | 9 * ((9 : ℝ) ^ q * L) ≤ (9 * L) ^ (3 ^ q) := by |
| 96 | have hp : 1 ≤ L ^ q := one_le_pow₀ hL |
| 97 | have hstep : L ≤ L ^ (q + 1) := by |
| 98 | rw [pow_succ] |
| 99 | simpa only [one_mul] using mul_le_mul_of_nonneg_right hp (by linarith : 0 ≤ L) |
| 100 | calc |
| 101 | _ = (9 : ℝ) ^ (q + 1) * L := by rw [pow_succ]; ring |
| 102 | _ ≤ (9 : ℝ) ^ (q + 1) * L ^ (q + 1) := |
| 103 | mul_le_mul_of_nonneg_left hstep (by positivity) |
| 104 | _ = (9 * L) ^ (q + 1) := (mul_pow ..).symm |
| 105 | _ ≤ _ := pow_le_pow_right₀ (by linarith) (succ_le_three_pow q) |
| 106 | |
| 107 | /-- One stage of the explicit polynomial inverse bound. -/ |
| 108 | theorem inverse_majorant_step {L B M : ℝ} (hL : 1 ≤ L) (hB : L ≤ B) (hM : 9 * B ≤ M) : |
| 109 | L + 4 * (M * (1 + B * M)) ≤ M ^ 3 := by |
| 110 | have hM9 : 9 ≤ M := by linarith |
| 111 | have hM0 : 0 ≤ M := by linarith |
| 112 | have hLleM : L ≤ M := by linarith |
| 113 | have hM2 : 81 ≤ M ^ 2 := by nlinarith only [hM9] |
| 114 | have hcube := mul_le_mul_of_nonneg_right hM2 hM0 |
| 115 | have hprod := mul_le_mul_of_nonneg_right hM (sq_nonneg M) |
| 116 | have hcubepos : 0 ≤ M ^ 3 := by positivity |
| 117 | nlinarith only [hLleM, hcube, hprod, hcubepos] |
| 118 | |
| 119 | omit [Fact (0 < period)] in |
| 120 | /-- Every fixed-order coercive inverse constant is bounded by an explicit polynomial in L. |
| 121 | At the source's Sobolev index6 the exponent is729, independent of the external cutoff. -/ |
| 122 | theorem pressureConstant_polynomial {q : ℕ} {A : SmoothCoefficient period} |
| 123 | (K : EulerSpatialSobolevInverse.CoefficientJet period directions q A) |
| 124 | (c L : ℝ) (hc : 0 < c) (hL : 1 ≤ L) (hcL : c⁻¹ ≤ L) |
| 125 | (hcoeff : ∀ r ≤ q, boundLevel period K r ≤ L) : |
| 126 | K.pressureConstant c ≤ (9 * L) ^ (3 ^ q) := by |
| 127 | induction q generalizing A with |
| 128 | | zero => |
| 129 | cases K |
| 130 | simp only [EulerSpatialSobolevInverse.CoefficientJet.pressureConstant, pow_zero, pow_one] |
| 131 | linarith |
| 132 | | succ q ih => |
| 133 | cases K with |
| 134 | | succ dA lower hd => |
| 135 | let K := EulerSpatialSobolevInverse.CoefficientJet.succ dA lower hd |
| 136 | let B : ℝ := (9 : ℝ) ^ q * L |
| 137 | let M : ℝ := (9 * L) ^ (3 ^ q) |
| 138 | have ht : ∀ r ≤ q, boundLevel period K.truncate r ≤ L := by |
| 139 | intro r hr |
| 140 | rw [boundLevel_truncate K hr] |
| 141 | exact hcoeff r (by omega) |
| 142 | have hbase : K.truncate.pressureConstant c ≤ M := ih K.truncate ht |
| 143 | have hchild : ∀ i, (lower i).productConstant ≤ B := |
| 144 | fun i => productConstant_polynomial (lower i) L (by linarith) |
| 145 | (coefficient_child_levels dA lower hd L hcoeff i) |
| 146 | have hB : L ≤ B := by |
| 147 | simpa only [one_mul] using mul_le_mul_of_nonneg_right |
| 148 | (one_le_pow₀ (by norm_num : (1 : ℝ) ≤ 9)) (by linarith : 0 ≤ L) |
| 149 | have hM : 9 * B ≤ M := inverse_majorant_dominates q hL |
| 150 | have hM0 : 0 ≤ M := by dsimp [M]; positivity |
| 151 | have hbase0 : 0 ≤ K.truncate.pressureConstant c := K.truncate.pressureConstant_nonneg c hc |
| 152 | have hB0 : 0 ≤ B := by linarith |
| 153 | have hterm : ∀ i, K.truncate.pressureConstant c * |
| 154 | (1 + (lower i).productConstant * K.truncate.pressureConstant c) ≤ M * (1 + B * M) := by |
| 155 | intro i |
| 156 | exact mul_le_mul hbase |
| 157 | (add_le_add le_rfl (mul_le_mul (hchild i) hbase hbase0 hB0)) |
| 158 | (add_nonneg zero_le_one (mul_nonneg (lower i).productConstant_nonneg hbase0)) hM0 |
| 159 | calc |
| 160 | _ = c⁻¹ + ∑ i : Fin 4, K.truncate.pressureConstant c * |
| 161 | (1 + (lower i).productConstant * K.truncate.pressureConstant c) := by |
| 162 | rw [EulerSpatialSobolevInverse.CoefficientJet.pressureConstant] |
| 163 | _ ≤ L + ∑ _i : Fin 4, M * (1 + B * M) := |
| 164 | add_le_add hcL (Finset.sum_le_sum (fun i _ => hterm i)) |
| 165 | _ = L + 4 * (M * (1 + B * M)) := by simp |
| 166 | _ ≤ M ^ 3 := inverse_majorant_step hL hB hM |
| 167 | _ = (9 * L) ^ (3 ^ (q + 1)) := by dsimp [M]; rw [← pow_mul, pow_succ] |
| 168 | |
| 169 | /-- The shifted Hq pressure estimate with an explicit polynomial coefficient constant. |
| 170 | All assumptions concern the actual coefficient, its derivative bounds, and coercivity. -/ |
| 171 | theorem pressure_shifted_Hq_polynomial_bound {s q : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} |
| 172 | (K : EulerSpatialSobolevInverse.CoefficientJet period directions s A) |
| 173 | (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) |
| 174 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 175 | (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) |
| 176 | (N : ℕ) (hN : N + q ≤ s) (L ρ Rc : ℝ) |
| 177 | (hL : 1 ≤ L) (hcL : c⁻¹ ≤ L) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) |
| 178 | (hbasecoeff : ∀ r ≤ q, boundLevel period K r ≤ L) |
| 179 | (hsmall : 4 * (9 * L) ^ (3 ^ q) * (ρ * Rc) ≤ 1) |
| 180 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → |
| 181 | coefficientBlock period K q l ≤ Rc ^ l * (l.factorial : ℝ) ^ 2) : |
| 182 | (∑ n ∈ Finset.range (N + 1), ((n + 1 : ℕ) : ℝ) * EulerPacketWeights.weight ρ (n + 1) * |
| 183 | blockNorm period (J.solvePressure K κ m c hc hpos) q n) ≤ |
| 184 | 2 * (9 * L) ^ (3 ^ q) * ∑ n ∈ Finset.range (N + 1), |
| 185 | ((n + 1 : ℕ) : ℝ) * EulerPacketWeights.weight ρ (n + 1) * blockNorm period J q n := by |
| 186 | have hq : q ≤ s := by omega |
| 187 | have hbase : (CoefficientJet.restrict K q hq).pressureConstant c ≤ (9 * L) ^ (3 ^ q) := by |
| 188 | apply pressureConstant_polynomial _ c L hc hL hcL |
| 189 | intro r hr |
| 190 | rw [coefficient_restrict_level period K hq hr] |
| 191 | exact hbasecoeff r hr |
| 192 | exact pressure_shifted_Hq_bound K J κ m c hc hpos N hN hq ρ Rc ((9 * L) ^ (3 ^ q)) |
| 193 | hρ hRc (one_le_pow₀ (by linarith)) hbase hsmall hcoeff |
| 194 | |
| 195 | end EulerH6Pressure |