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.H6PressureConstants |
| 2 | |
| 3 | /-! The actual pressure inverse in unshifted Gevrey-weighted fixed Sobolev blocks. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerWeightedPressure |
| 8 | |
| 9 | open Finset EulerPacketWeights EulerWeightedConvolution EulerGevrey |
| 10 | |
| 11 | /-- The ordinary Gevrey product weight gains the reciprocal binomial coefficient. -/ |
| 12 | theorem unshifted_weight_kernel (ρ Rc : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) |
| 13 | (j l : ℕ) (Z : ℝ) (hZ : 0 ≤ Z) : |
| 14 | weight ρ (j+l) * ((j+l).choose l : ℝ) * (Rc^l * (l.factorial : ℝ)^2) * Z ≤ |
| 15 | (ρ*Rc)^l * (weight ρ j * Z) := by |
| 16 | have he : weight ρ (j+l) * ((j+l).choose l : ℝ) * (Rc^l * (l.factorial : ℝ)^2) * Z = |
| 17 | ((ρ*Rc)^l * (weight ρ j * Z)) / ((j+l).choose l : ℝ) := by |
| 18 | rw [Nat.cast_choose ℝ (Nat.le_add_left l j)] |
| 19 | simp only [Nat.add_sub_cancel_right] |
| 20 | unfold weight |
| 21 | rw [pow_add, mul_pow] |
| 22 | field_simp [factorial_cast_ne_zero] |
| 23 | have hc : (1 : ℝ) ≤ ((j+l).choose l : ℝ) := by |
| 24 | exact_mod_cast Nat.choose_pos (Nat.le_add_left l j) |
| 25 | rw [he] |
| 26 | exact div_le_self (mul_nonneg (pow_nonneg (mul_nonneg hρ.le hRc) l) |
| 27 | (mul_nonneg (weight_pos hρ j).le hZ)) hc |
| 28 | |
| 29 | /-- Positive-order coefficient terms are absorbed in the unshifted Gevrey sum with a constant independent of the cutoff. -/ |
| 30 | theorem unshifted_weighted_inverse (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) |
| 31 | (hM : 1 ≤ M) (hsmall : 4 * M * (ρ * Rc) ≤ 1) |
| 32 | (N : ℕ) (A F Z : ℕ → ℝ) (_hF : ∀ n, 0 ≤ F n) (hZ : ∀ n, 0 ≤ Z n) |
| 33 | (hA : ∀ l, 1 ≤ l → l ≤ N → A l ≤ Rc ^ l * (l.factorial : ℝ) ^ 2) |
| 34 | (hrec : ∀ n ≤ N, Z n ≤ M * (F n + ∑ l ∈ range n, |
| 35 | (n.choose (l + 1) : ℝ) * A (l + 1) * Z (n - (l + 1)))) : |
| 36 | (∑ n ∈ range (N + 1), weight ρ n * Z n) ≤ |
| 37 | 2 * M * ∑ n ∈ range (N + 1), weight ρ n * F n := by |
| 38 | let v : ℕ → ℝ := fun n => weight ρ n |
| 39 | have hv : ∀ n, 0 ≤ v n := fun n => (weight_pos hρ _).le |
| 40 | have hq : 0 ≤ ρ * Rc := mul_nonneg hρ.le hRc |
| 41 | have hhalf : ρ * Rc ≤ 1 / 2 := by nlinarith |
| 42 | have hcomm : (∑ n ∈ range (N + 1), v n * ∑ l ∈ range n, |
| 43 | (n.choose (l + 1) : ℝ) * A (l + 1) * Z (n - (l + 1))) ≤ |
| 44 | (2 * (ρ * Rc)) * ∑ j ∈ range (N + 1), v j * Z j := by |
| 45 | calc |
| 46 | _ = ∑ n ∈ range (N + 1), ∑ l ∈ range n, |
| 47 | v n * (n.choose (l + 1) : ℝ) * A (l + 1) * Z (n - (l + 1)) := by |
| 48 | simp only [mul_sum, mul_assoc] |
| 49 | _ ≤ ∑ n ∈ range (N + 1), ∑ l ∈ range n, |
| 50 | (ρ * Rc) ^ (l + 1) * (v (n - (l + 1)) * Z (n - (l + 1))) := by |
| 51 | apply sum_le_sum |
| 52 | intro n hn |
| 53 | apply sum_le_sum |
| 54 | intro l hl |
| 55 | have hln := mem_range.mp hl |
| 56 | have hnN : n ≤ N := by have := mem_range.mp hn; omega |
| 57 | have hcoeff := hA (l + 1) (by omega) (by omega) |
| 58 | have h1 := mul_le_mul_of_nonneg_right |
| 59 | (mul_le_mul_of_nonneg_left hcoeff |
| 60 | (mul_nonneg (hv n) (Nat.cast_nonneg (n.choose (l + 1))))) (hZ (n - (l + 1))) |
| 61 | have h2 := unshifted_weight_kernel ρ Rc hρ hRc (n - (l + 1)) (l + 1) |
| 62 | (Z (n - (l + 1))) (hZ _) |
| 63 | have he : n - (l + 1) + (l + 1) = n := by omega |
| 64 | dsimp [v] at h1 ⊢ |
| 65 | exact h1.trans (by simpa only [he] using h2) |
| 66 | _ ≤ _ := geometric_lower_triangle (ρ * Rc) hq hhalf N |
| 67 | (fun j => v j * Z j) (fun j => mul_nonneg (hv j) (hZ j)) |
| 68 | have hs := sum_le_sum (s := range (N + 1)) (fun n hn => |
| 69 | mul_le_mul_of_nonneg_left (hrec n (by have := mem_range.mp hn; omega)) (hv n)) |
| 70 | have hsumid : (∑ n ∈ range (N + 1), v n * (M * (F n + ∑ l ∈ range n, |
| 71 | (n.choose (l + 1) : ℝ) * A (l + 1) * Z (n - (l + 1))))) = |
| 72 | M * ((∑ n ∈ range (N + 1), v n * F n) + |
| 73 | ∑ n ∈ range (N + 1), v n * ∑ l ∈ range n, |
| 74 | (n.choose (l + 1) : ℝ) * A (l + 1) * Z (n - (l + 1))) := by |
| 75 | simp only [mul_add, sum_add_distrib, mul_sum, mul_left_comm, mul_comm] |
| 76 | rw [hsumid] at hs |
| 77 | have hzsum : 0 ≤ ∑ n ∈ range (N + 1), v n * Z n := |
| 78 | sum_nonneg (fun n _ => mul_nonneg (hv n) (hZ n)) |
| 79 | have hsmall' := mul_le_mul_of_nonneg_right hsmall hzsum |
| 80 | have hcomm' := mul_le_mul_of_nonneg_left hcomm (show 0 ≤ M by linarith) |
| 81 | change (∑ n ∈ range (N + 1), v n * Z n) ≤ 2 * M * ∑ n ∈ range (N + 1), v n * F n |
| 82 | nlinarith |
| 83 | |
| 84 | end EulerWeightedPressure |
| 85 | |
| 86 | namespace EulerH6Pressure |
| 87 | |
| 88 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerSpatialSobolevInverse |
| 89 | EulerJetProductBounds EulerPressureJetIdentities EulerPressureSpatialRegularity |
| 90 | open scoped Topology |
| 91 | |
| 92 | variable (period : ℝ) [Fact (0 < period)] {directions : Fin 4 → LiftTangent} |
| 93 | |
| 94 | theorem pressure_unshifted_Hq_bound {s q : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} |
| 95 | (K : EulerSpatialSobolevInverse.CoefficientJet period directions s A) |
| 96 | (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) |
| 97 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 98 | (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) |
| 99 | (N : ℕ) (hN : N + q ≤ s) (hq : q ≤ s) |
| 100 | (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 101 | (hbase : (CoefficientJet.restrict K q hq).pressureConstant c ≤ M) |
| 102 | (hsmall : 4 * M * (ρ * Rc) ≤ 1) |
| 103 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → |
| 104 | coefficientBlock period K q l ≤ Rc ^ l * (l.factorial : ℝ) ^ 2) : |
| 105 | (∑ n ∈ Finset.range (N + 1), EulerPacketWeights.weight ρ n * |
| 106 | blockNorm period (J.solvePressure K κ m c hc hpos) q n) ≤ |
| 107 | 2 * M * ∑ n ∈ Finset.range (N + 1), EulerPacketWeights.weight ρ n * |
| 108 | blockNorm period J q n := by |
| 109 | apply EulerWeightedPressure.unshifted_weighted_inverse ρ Rc M hρ hRc hM hsmall N |
| 110 | (coefficientBlock period K q) (blockNorm period J q) |
| 111 | (blockNorm period (J.solvePressure K κ m c hc hpos) q) |
| 112 | (fun _ => blockNorm_nonneg J) (fun _ => blockNorm_nonneg _) hcoeff |
| 113 | intro n hn |
| 114 | exact pressure_block_recurrence K J κ m c hc hpos hq (by omega) M hbase |
| 115 | |
| 116 | end EulerH6Pressure |