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 | import Euler.OrdinaryEulerDifference |
| 3 | |
| 4 | /-! The actual particle-parent Euler solution supplies the ordinary |
| 5 | Sobolev evolution used by the H³ stability estimate. The solenoidal |
| 6 | constraint at the endpoints follows by L² continuity from the interior. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerParentPacketFrames.SobolevData |
| 11 | |
| 12 | open Set MeasureTheory EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 13 | EulerMeanSolenoidal EulerMeanClassical EulerOrdinarySobolev |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable {A : Parent} {E : EulerParentPacketFrames.Evolution A} (S : SobolevData E) |
| 17 | |
| 18 | theorem velocity_solenoidal (t : Icc (0 : ℝ) A.T) : (S.velocity t).toLp ∈ solenoidalSpace := by |
| 19 | let f : ℝ → EulerMeanSolenoidal.L2 := fun r => (S.velocity (projIcc 0 A.T A.T_pos.le r)).toLp |
| 20 | have hc : Continuous f := (continuous_toLp S.velocity (S.velocity_continuous 0)).comp |
| 21 | continuous_projIcc |
| 22 | have hclosed : IsClosed (solenoidalSpace : Set EulerMeanSolenoidal.L2) := |
| 23 | gradientSpace.isClosed_orthogonal |
| 24 | have hi : Ioo (0 : ℝ) A.T ⊆ f ⁻¹' (solenoidalSpace : Set EulerMeanSolenoidal.L2) := by |
| 25 | intro r hr |
| 26 | change (S.velocity (projIcc 0 A.T A.T_pos.le r)).toLp ∈ solenoidalSpace |
| 27 | rw [projIcc_of_mem A.T_pos.le ⟨hr.1.le,hr.2.le⟩] |
| 28 | apply smooth_mem_solenoidal _ (S.velocity _).smooth (S.velocity _).memLp |
| 29 | intro x |
| 30 | have he : (S.velocity ⟨r,hr.1.le,hr.2.le⟩).field=(fun y => E.velocity (r,y)) := |
| 31 | funext (fun y => (S.velocity_match ⟨r,hr.1.le,hr.2.le⟩ y).symm) |
| 32 | rw [he] |
| 33 | exact E.divergence_zero r hr x |
| 34 | have hh := closure_minimal hi (hclosed.preimage hc) |
| 35 | have ht : (t : ℝ) ∈ closure (Ioo (0 : ℝ) A.T) := by |
| 36 | rw [closure_Ioo A.T_pos.ne] |
| 37 | exact t.property |
| 38 | have hm := hh ht |
| 39 | change (S.velocity (projIcc 0 A.T A.T_pos.le (t : ℝ))).toLp ∈ solenoidalSpace at hm |
| 40 | simpa only [projIcc_of_mem A.T_pos.le t.property] using hm |
| 41 | |
| 42 | def ordinaryEvolution : EulerOrdinarySobolev.Evolution A.T A.T_pos.le where |
| 43 | velocity := S.velocity |
| 44 | pressureForce := S.force |
| 45 | velocity_continuous := S.velocity_continuous |
| 46 | pressure_continuous := S.force_continuous |
| 47 | solenoidal := S.velocity_solenoidal |
| 48 | gradient t := by |
| 49 | have hg : ∀ x, (S.force t).field x=gradient (fun y => E.pressure (t,y)) x := |
| 50 | fun x => ((E.pressure_gradient t x).trans (S.force_match t x)).symm |
| 51 | exact gradient_mem (S.force t) _ |
| 52 | (potential_smooth (S.force t) _ (E.pressure_differentiable t) hg) hg |
| 53 | time_law := EulerSmoothEulerEvolution.pointwise_time_derivative_of_classical A.T A.T_pos.le |
| 54 | S.velocity S.force E.velocity E.pressure S.velocity_match |
| 55 | (fun t x => (E.pressure_gradient t x).trans (S.force_match t x)) |
| 56 | E.velocity_differentiable E.momentum_zero |
| 57 | |
| 58 | end EulerParentPacketFrames.SobolevData |