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.UnshiftedPressure |
| 2 | |
| 3 | /-! Actual external pressure commutators controlled by the shifted pressure sum below the velocity cutoff. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPressureCommutatorWeights |
| 8 | |
| 9 | open Finset EulerPacketWeights EulerWeightedConvolution EulerWeightedPressure EulerGevrey |
| 10 | EulerJetProductBounds |
| 11 | |
| 12 | /-- Remove the coefficient's zeroth order, which is absent from every commutator. -/ |
| 13 | def positivePart (A : ℕ → ℝ) (n : ℕ) : ℝ := if n = 0 then 0 else A n |
| 14 | |
| 15 | /-- Delay a pressure sequence by one order so the external radius-loss convolution has the source's exact index. -/ |
| 16 | def delayed (P : ℕ → ℝ) : ℕ → ℝ |
| 17 | | 0 => 0 |
| 18 | | n+1 => P n |
| 19 | |
| 20 | /-- The positive coefficient sum is a geometric tail, uniformly in its cutoff. -/ |
| 21 | theorem positiveCoefficientSum_bound (ρ Rc : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) |
| 22 | (hsmall : ρ*Rc ≤ 1/2) (N : ℕ) (A : ℕ → ℝ) |
| 23 | (hA : ∀ l, 1 ≤ l → l ≤ N → A l ≤ Rc^l * (l.factorial : ℝ)^2) : |
| 24 | (∑ l ∈ range (N+1), weight ρ l * positivePart A l) ≤ 2*(ρ*Rc) := by |
| 25 | rw [sum_range_succ'] |
| 26 | simp only [positivePart, Nat.add_one_ne_zero, ite_false, ite_true, mul_zero, add_zero] |
| 27 | calc |
| 28 | _ ≤ ∑ l ∈ range N, (ρ*Rc)^(l+1) := by |
| 29 | apply sum_le_sum |
| 30 | intro l hl |
| 31 | have h := mul_le_mul_of_nonneg_left (hA (l+1) (by omega) (by have := mem_range.mp hl; omega)) (weight_pos hρ (l+1)).le |
| 32 | have he : weight ρ (l+1) * (Rc^(l+1)*((l+1).factorial : ℝ)^2) = (ρ*Rc)^(l+1) := by |
| 33 | unfold weight |
| 34 | rw [mul_pow] |
| 35 | field_simp [factorial_cast_ne_zero] |
| 36 | exact h.trans_eq he |
| 37 | _ ≤ _ := geometric_tail_le_two_mul (ρ*Rc) (mul_nonneg hρ.le hRc) hsmall N |
| 38 | |
| 39 | /-- The delayed pressure sum is exactly the shifted sum strictly below the cutoff. -/ |
| 40 | theorem delayed_weighted_sum (ρ : ℝ) (N : ℕ) (P : ℕ → ℝ) : |
| 41 | (∑ j ∈ range (N+1), (j : ℝ)*weight ρ j*delayed P j) = |
| 42 | ∑ j ∈ range N, ((j+1 : ℕ) : ℝ)*weight ρ (j+1)*P j := by |
| 43 | rw [sum_range_succ'] |
| 44 | simp only [delayed, Nat.cast_zero, zero_mul, add_zero] |
| 45 | |
| 46 | /-- The external commutator is controlled by the shifted lower-order pressure sum, without pressure order N. -/ |
| 47 | theorem commutator_weighted_shifted (ρ Rc : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) |
| 48 | (hsmall : ρ*Rc ≤ 1/2) (N : ℕ) (A P : ℕ → ℝ) |
| 49 | (hA0 : ∀ l, 0 ≤ A l) (hP : ∀ l, 0 ≤ P l) |
| 50 | (hA : ∀ l, 1 ≤ l → l ≤ N → A l ≤ Rc^l * (l.factorial : ℝ)^2) : |
| 51 | (∑ n ∈ range (N+1), weight ρ n * commutatorConvolution A P n) ≤ |
| 52 | 2*Rc * ∑ j ∈ range N, ((j+1 : ℕ) : ℝ)*weight ρ (j+1)*P j := by |
| 53 | have ha : ∀ l, 0 ≤ positivePart A l := fun l => by unfold positivePart; split <;> first | exact le_rfl | exact hA0 l |
| 54 | have hp : ∀ l, 0 ≤ delayed P l := by intro l; cases l with | zero => exact le_rfl | succ l => exact hP l |
| 55 | have he : (∑ n ∈ range (N+1), weight ρ n * commutatorConvolution A P n) = |
| 56 | ∑ n ∈ range (N+1), ∑ l ∈ range n, |
| 57 | weight ρ n * (n.choose (l+1) : ℝ) * positivePart A (l+1) * delayed P (n-l) := by |
| 58 | simp only [commutatorConvolution_eq_sum, mul_sum] |
| 59 | apply sum_congr rfl |
| 60 | intro n _ |
| 61 | apply sum_congr rfl |
| 62 | intro l hl |
| 63 | have hn : n-l = (n-(l+1))+1 := by have := mem_range.mp hl; omega |
| 64 | rw [hn] |
| 65 | simp only [positivePart, Nat.add_one_ne_zero, ite_false, delayed] |
| 66 | ring |
| 67 | rw [he] |
| 68 | have h := external_commutator_sum ρ hρ N (positivePart A) (delayed P) ha hp |
| 69 | rw [delayed_weighted_sum] at h |
| 70 | have hs : 0 ≤ ∑ j ∈ range N, ((j+1 : ℕ) : ℝ)*weight ρ (j+1)*P j := |
| 71 | sum_nonneg fun j _ => mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (weight_pos hρ _).le) (hP j) |
| 72 | exact h.trans ((mul_le_mul_of_nonneg_right |
| 73 | (mul_le_mul_of_nonneg_left (positiveCoefficientSum_bound ρ Rc hρ hRc hsmall N A hA) |
| 74 | (inv_nonneg.mpr hρ.le)) hs).trans_eq (by field_simp [hρ.ne'])) |
| 75 | |
| 76 | end EulerPressureCommutatorWeights |
| 77 | |
| 78 | namespace EulerH6Pressure |
| 79 | |
| 80 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerSpatialSobolevInverse |
| 81 | EulerJetProductBounds EulerPressureJetIdentities EulerPressureSpatialRegularity EulerPacketWeights |
| 82 | |
| 83 | variable (period : ℝ) [Fact (0 < period)] {directions : Fin 4 → LiftTangent} |
| 84 | |
| 85 | /-- The actual fixed-Sobolev external coefficient commutator has a bound using only the shifted pressure below the cutoff. -/ |
| 86 | theorem commutatorBlock_weighted_shifted {s q : ℕ} {A : SmoothCoefficient period} {p : LiftL2 period} |
| 87 | (K : EulerSpatialSobolevInverse.CoefficientJet period directions s A) |
| 88 | (P : EulerSpatialSobolevInverse.SpatialJet period directions s p) |
| 89 | (N : ℕ) (hN : N+q ≤ s) (ρ Rc : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hsmall : ρ*Rc ≤ 1/2) |
| 90 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K q l ≤ Rc^l*(l.factorial : ℝ)^2) : |
| 91 | (∑ n ∈ Finset.range (N+1), weight ρ n * commutatorBlock K P q n) ≤ |
| 92 | 2*Rc * ∑ j ∈ Finset.range N, ((j+1 : ℕ) : ℝ)*weight ρ (j+1)*blockNorm period P q j := by |
| 93 | have h := Finset.sum_le_sum (s := Finset.range (N+1)) (fun n hn => |
| 94 | mul_le_mul_of_nonneg_left (commutatorBlock_bound K P (by have := Finset.mem_range.mp hn; omega : n+q ≤ s)) |
| 95 | (weight_pos hρ n).le) |
| 96 | exact h.trans (EulerPressureCommutatorWeights.commutator_weighted_shifted ρ Rc hρ hRc hsmall N |
| 97 | (coefficientBlock period K q) (blockNorm period P q) |
| 98 | (fun _ => coefficientBlock_nonneg K) (fun _ => blockNorm_nonneg P) hcoeff) |
| 99 | |
| 100 | end EulerH6Pressure |