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.PacketCylinderConvolution |
| 2 | import Euler.PacketCylinderHighPartBounds |
| 3 | import Euler.PacketCylinderBoundTransfer |
| 4 | |
| 5 | /-! Fixed-radius word bounds for the actual finite grade convolution. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketCylinderField.Field |
| 10 | |
| 11 | open Set Finset EulerPacketProfileRecursion |
| 12 | |
| 13 | variable {P T : ℝ} [Fact (0 < P)] |
| 14 | |
| 15 | theorem wordBound_convolution (M n : ℕ) (f : ℕ → ℕ → VectorField) |
| 16 | (G : ∀ i j, Field P T (f i j)) (q : ℕ) (R A : ℝ) (d : ℕ) |
| 17 | (hR : 0 ≤ R) (hA : 0 ≤ A) |
| 18 | (hG : ∀ i ∈ range (M+1), ∀ j ∈ range (M+1), i+j=n → (G i j).WordBound q R A d) : |
| 19 | (Field.convolution M n f G).WordBound q R (((M+1 : ℕ) : ℝ)^2*A) d := by |
| 20 | classical |
| 21 | let K : ∀ i j, Field P T (if i+j=n then f i j else 0) := fun i j => by |
| 22 | by_cases hij : i+j=n |
| 23 | · exact (G i j).congr (fun _ _ _ => by rw [ite_eq_left hij]) |
| 24 | · exact (Field.zero P T).congr (fun _ _ _ => by rw [ite_eq_right hij]) |
| 25 | have hK : ∀ i ∈ range (M+1), ∀ j ∈ range (M+1), (K i j).WordBound q R A d := by |
| 26 | intro i hi j hj |
| 27 | by_cases hij : i+j=n |
| 28 | · exact (hG i hi j hj hij).of_raw_eq (K i j) (fun _ _ _ => by rw [ite_eq_left hij]) |
| 29 | · exact (wordBound_of_zero (K i j) (fun _ _ _ => by rw [ite_eq_right hij]; rfl) q R d).mono_amplitude hR hA |
| 30 | let row : (i : ℕ) → Field P T (∑ j ∈ range (M+1), if i+j=n then f i j else 0) := fun i => |
| 31 | Field.finsetSum (range (M+1)) (fun j => if i+j=n then f i j else 0) (K i) |
| 32 | have hr : ∀ i ∈ range (M+1), (row i).WordBound q R (((M+1 : ℕ) : ℝ)*A) d := by |
| 33 | intro i hi |
| 34 | have h := wordBound_finsetSum (range (M+1)) (fun j => if i+j=n then f i j else 0) (K i) |
| 35 | (fun _ => A) (hK i hi) |
| 36 | simpa only [sum_const,card_range,nsmul_eq_mul] using h |
| 37 | have ht := wordBound_finsetSum (range (M+1)) |
| 38 | (fun i => ∑ j ∈ range (M+1), if i+j=n then f i j else 0) row |
| 39 | (fun _ => ((M+1 : ℕ) : ℝ)*A) hr |
| 40 | have he : ∑ _i ∈ range (M+1), ((M+1 : ℕ) : ℝ)*A = ((M+1 : ℕ) : ℝ)^2*A := by |
| 41 | simp only [sum_const,card_range,nsmul_eq_mul] |
| 42 | ring |
| 43 | rw [he] at ht |
| 44 | apply ht.of_raw_eq (Field.convolution M n f G) |
| 45 | intro t x θ |
| 46 | simp only [Finset.sum_apply,ite_apply,Pi.zero_apply] |
| 47 | |
| 48 | end EulerPacketCylinderField.Field |