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.PacketMomentumExpansion |
| 2 | |
| 3 | /-! Bounds for the surviving grades of the actual finite packet residual. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketTailBound |
| 8 | |
| 9 | open Finset |
| 10 | |
| 11 | theorem sum_geometric_le_two (q : ℝ) (hq : 0 ≤ q) (hqhalf : q ≤ 1/2) (N : ℕ) : |
| 12 | (∑ i ∈ range N, q^i) ≤ 2 := by |
| 13 | induction N with |
| 14 | | zero => simp |
| 15 | | succ N ih => |
| 16 | rw [sum_range_succ'] |
| 17 | simp only [pow_succ, pow_zero] |
| 18 | rw [← sum_mul] |
| 19 | have h := mul_le_mul_of_nonneg_right ih hq |
| 20 | linarith |
| 21 | |
| 22 | theorem sum_geometric_Ico_le (q : ℝ) (hq : 0 ≤ q) (hqhalf : q ≤ 1/2) (a b : ℕ) : |
| 23 | (∑ i ∈ Ico a b, q^i) ≤ 2*q^a := by |
| 24 | rw [sum_Ico_eq_sum_range] |
| 25 | simp only [pow_add] |
| 26 | rw [← mul_sum] |
| 27 | exact (mul_le_mul_of_nonneg_left (sum_geometric_le_two q hq hqhalf (b-a)) |
| 28 | (pow_nonneg hq a)).trans_eq (mul_comm _ _) |
| 29 | |
| 30 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 31 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 32 | |
| 33 | end EulerPacketTailBound |