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.ParentEulerSobolev |
| 2 | |
| 3 | /-! The physical gradient is continuous up to the endpoints in the |
| 4 | actual Sobolev class. Incompressibility therefore holds at time zero |
| 5 | and the final time as well as in the open Euler interval. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerParentPacketFrames.SobolevData |
| 10 | |
| 11 | open Set EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 12 | EulerMeanSobolevBoundedField EulerMeanCoefficients |
| 13 | open scoped Topology |
| 14 | |
| 15 | variable {A : Parent} {E : Evolution A} (S : SobolevData E) |
| 16 | |
| 17 | include S |
| 18 | |
| 19 | theorem spatial_derivative_continuous (x : Space) : |
| 20 | Continuous (fun t : Icc (0 : ℝ) A.T => fderiv ℝ (fun y => E.velocity (t,y)) x) := by |
| 21 | let D := coefficientPath (fun t => (S.velocity t).derivative) |
| 22 | (continuous_jetLp_derivative S.velocity S.velocity_continuous) |
| 23 | have hc : Continuous (fun t => D.field t x) := |
| 24 | (BoundedContinuousFunction.evalCLM ℝ x).continuous.comp D.field.continuous |
| 25 | apply hc.congr |
| 26 | intro t |
| 27 | rw [show D.field t x=fderiv ℝ (S.velocity t).field x from |
| 28 | coefficientPath_apply _ _ t x] |
| 29 | rw [funext (S.velocity_match t)] |
| 30 | |
| 31 | theorem divergence_closed (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 32 | divergence (fun y => E.velocity (t,y)) x=0 := by |
| 33 | let f : ℝ → ℝ := fun s => coordinateTrace |
| 34 | (fderiv ℝ (fun y => E.velocity (projIcc 0 A.T A.T_pos.le s,y)) x) |
| 35 | have hf : Continuous f := coordinateTrace.continuous.comp |
| 36 | ((S.spatial_derivative_continuous x).comp continuous_projIcc) |
| 37 | have he : EqOn f (fun _ => 0) (Ioo 0 A.T) := by |
| 38 | intro s hs |
| 39 | simpa only [f,projIcc_of_mem A.T_pos.le ⟨hs.1.le,hs.2.le⟩, |
| 40 | coordinateTrace_eq_linearTrace,divergence] using E.divergence_zero s hs x |
| 41 | have ht : (t : ℝ) ∈ closure (Ioo (0 : ℝ) A.T) := by |
| 42 | rw [closure_Ioo A.T_pos.ne] |
| 43 | exact t.property |
| 44 | have hh := he.closure hf continuous_const ht |
| 45 | simpa only [f,projIcc_of_mem A.T_pos.le t.property, |
| 46 | coordinateTrace_eq_linearTrace,divergence] using hh |
| 47 | |
| 48 | end EulerParentPacketFrames.SobolevData |