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.PacketCylinderFieldAlgebra |
| 2 | |
| 3 | /-! Finite grade convolution of actual raw cylinder fields. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketCylinderField.Field |
| 8 | |
| 9 | open Set Finset EulerPacketPointJets EulerPacketProfileRecursion |
| 10 | |
| 11 | variable {P T : ℝ} [Fact (0 < P)] |
| 12 | |
| 13 | /-- A grade selector and two finite sums preserve genuine raw-field admissibility. -/ |
| 14 | def convolution (M n : ℕ) (f : ℕ → ℕ → VectorField) (G : ∀ i j, Field P T (f i j)) : |
| 15 | Field P T (fun z => ∑ i ∈ range (M+1), ∑ j ∈ range (M+1), |
| 16 | if i+j=n then f i j z else 0) := by |
| 17 | classical |
| 18 | let h (i j : ℕ) : Field P T (if i+j=n then f i j else 0) := by |
| 19 | by_cases hij : i+j=n |
| 20 | · simpa only [hij,ite_true] using G i j |
| 21 | · simpa only [hij,ite_false] using Field.zero P T |
| 22 | let row (i : ℕ) := Field.finsetSum (range (M+1)) (fun j => if i+j=n then f i j else 0) (h i) |
| 23 | let total := Field.finsetSum (range (M+1)) |
| 24 | (fun i => ∑ j ∈ range (M+1), if i+j=n then f i j else 0) row |
| 25 | exact total.congr (fun _ _ _ => by simp only [Finset.sum_apply,ite_apply,Pi.zero_apply]) |
| 26 | |
| 27 | end EulerPacketCylinderField.Field |