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.MeanPacketForcing |
| 2 | import Euler.LpSmoothFieldAlgebra |
| 3 | |
| 4 | /-! |
| 5 | # Genuine algebraic closure of admissible mean forcing |
| 6 | |
| 7 | Admissibility is preserved by finite sums, bounded linear maps, and actual |
| 8 | spatial directional derivatives. Every witness consists of literal smooth |
| 9 | fields and their continuous L² jets; no inverse or equation is assumed. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerMeanPacketProvider |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerMeanSolenoidal |
| 17 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerPacketPointJets |
| 18 | EulerPacketProfileRecursion |
| 19 | open scoped ContDiff |
| 20 | |
| 21 | namespace Forcing |
| 22 | |
| 23 | variable {D : Data} {raw raw' : VectorField} |
| 24 | |
| 25 | /-- The time path is constructed from the actual zeroth L² jet. -/ |
| 26 | def ofSlices (A : ℝ → SmoothL2Field Space) |
| 27 | (hA : ∀ n, Continuous (fun t : Icc (0 : ℝ) D.T => (A t).jetLp n)) |
| 28 | (heq : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(x,θ)) = (A t).field x) : Forcing D raw where |
| 29 | slices := A |
| 30 | jets_continuous := hA |
| 31 | path := ⟨fun t => (A t).toLp, continuous_toLp (fun t : Icc (0 : ℝ) D.T => A t) (hA 0)⟩ |
| 32 | path_eq _ := rfl |
| 33 | raw_eq := heq |
| 34 | |
| 35 | def zero (D : Data) : Forcing D (0 : VectorField) := |
| 36 | ofSlices (fun _ => zeroField) (fun _ => continuous_const) (fun _ _ _ => rfl) |
| 37 | |
| 38 | def add (G : Forcing D raw) (H : Forcing D raw') : Forcing D (raw+raw') := |
| 39 | ofSlices (fun t => addField (G.slices t) (H.slices t)) |
| 40 | (continuous_jetLp_addField (fun t : Icc (0 : ℝ) D.T => G.slices t) |
| 41 | (fun t : Icc (0 : ℝ) D.T => H.slices t) G.jets_continuous H.jets_continuous) |
| 42 | (fun t x θ => by simp only [Pi.add_apply, G.raw_eq t x θ, H.raw_eq t x θ, addField_field]) |
| 43 | |
| 44 | /-- Applying a genuine bounded linear map preserves every actual L² jet. -/ |
| 45 | def map (G : Forcing D raw) (L : Space →L[ℝ] Space) : Forcing D (fun z => L (raw z)) := |
| 46 | ofSlices (fun t => mapField L (G.slices t)) |
| 47 | (continuous_jetLp_mapField L (fun t : Icc (0 : ℝ) D.T => G.slices t) G.jets_continuous) |
| 48 | (fun t x θ => by simp only [G.raw_eq t x θ, mapField_field]) |
| 49 | |
| 50 | def smul (G : Forcing D raw) (c : ℝ) : Forcing D (c • raw) := |
| 51 | G.map (c • ContinuousLinearMap.id ℝ Space) |
| 52 | |
| 53 | def neg (G : Forcing D raw) : Forcing D (-raw) := G.map (-ContinuousLinearMap.id ℝ Space) |
| 54 | |
| 55 | /-- The derivative is the ordinary derivative of the prescribed raw field at fixed time and angle. -/ |
| 56 | def spatialDerivative (G : Forcing D raw) (v : Space) : |
| 57 | Forcing D (fun z => fderiv ℝ (fun x => raw (z.1,(x,z.2.2))) z.2.1 v) := |
| 58 | ofSlices (fun t => directionalField (G.slices t) v) |
| 59 | (continuous_jetLp_directionalField (fun t : Icc (0 : ℝ) D.T => G.slices t) G.jets_continuous v) |
| 60 | (fun t x θ => by |
| 61 | have he : (fun y => raw (t,(y,θ))) = (G.slices t).field := |
| 62 | funext (fun y => G.raw_eq t y θ) |
| 63 | rw [he] |
| 64 | rfl) |
| 65 | |
| 66 | end Forcing |
| 67 | |
| 68 | /-- Every actual finite sum of admissible forcing fields is admissible. -/ |
| 69 | theorem admissible_finset_sum {ι : Type*} (D : Data) (s : Finset ι) (raw : ι → VectorField) |
| 70 | (h : ∀ i ∈ s, Nonempty (Forcing D (raw i))) : Nonempty (Forcing D (∑ i ∈ s, raw i)) := by |
| 71 | classical |
| 72 | induction s using Finset.induction_on with |
| 73 | | empty => simpa using (show Nonempty (Forcing D 0) from ⟨Forcing.zero D⟩) |
| 74 | | @insert i s his ih => |
| 75 | have hi : Nonempty (Forcing D (raw i)) := h i (Finset.mem_insert_self i s) |
| 76 | have hs : Nonempty (Forcing D (∑ j ∈ s, raw j)) := ih (fun j hj => h j (Finset.mem_insert_of_mem hj)) |
| 77 | simpa only [Finset.sum_insert his] using |
| 78 | (show Nonempty (Forcing D (raw i+∑ j ∈ s, raw j)) from ⟨(Classical.choice hi).add (Classical.choice hs)⟩) |
| 79 | |
| 80 | end EulerMeanPacketProvider |