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.MeanPacketConstraints |
| 2 | |
| 3 | /-! The concrete mean inverse in the literal jets used by the packet recursion. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanPacketProvider |
| 8 | |
| 9 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerMeanScalarPressure |
| 10 | EulerMeanVariationalInverse EulerPacketPointJets EulerPacketProfileRecursion |
| 11 | open scoped ContDiff |
| 12 | |
| 13 | /-- The pressure jet is the ordinary spatial derivative at fixed time and angle. -/ |
| 14 | theorem pressureJet_spatial_derivative (p : ScalarField) (t : ℝ) (x : Space) (θ : ℝ) |
| 15 | (hp : DifferentiableAt ℝ (fun y : Space × ℝ => p (t,y)) (x,θ)) : |
| 16 | (pressureJet p (t,(x,θ))).2.comp spatialInjection = |
| 17 | fderiv ℝ (fun y : Space => p (t,(y,θ))) x := by |
| 18 | have hi : HasFDerivAt (fun y : Space => (y,θ)) |
| 19 | ((ContinuousLinearMap.id ℝ Space).prod (0 : Space →L[ℝ] ℝ)) x := |
| 20 | (hasFDerivAt_id (𝕜 := ℝ) x).prodMk (hasFDerivAt_const θ x) |
| 21 | have hd := hp.hasFDerivAt.comp x hi |
| 22 | apply ContinuousLinearMap.ext |
| 23 | intro v |
| 24 | rw [ContinuousLinearMap.comp_apply, pressureJet_space] |
| 25 | have he := congrArg (fun A : Space →L[ℝ] ℝ => A v) hd.fderiv |
| 26 | simpa only [Function.comp_def, comp_apply, prod_apply, id_apply, zero_apply] using he.symm |
| 27 | |
| 28 | theorem slowPressure_pressureJet (FInv : Space →L[ℝ] Space) |
| 29 | (p : ScalarField) (t : ℝ) (x : Space) (θ : ℝ) |
| 30 | (hp : DifferentiableAt ℝ (fun y : Space × ℝ => p (t,y)) (x,θ)) : |
| 31 | slowPressure FInv (pressureJet p (t,(x,θ))) = |
| 32 | FInv.adjoint (gradient (fun y => p (t,(y,θ))) x) := by |
| 33 | change FInv.adjoint ((toDual ℝ Space).symm ((pressureJet p (t,(x,θ))).2.comp spatialInjection)) = _ |
| 34 | rw [pressureJet_spatial_derivative p t x θ hp] |
| 35 | rfl |
| 36 | |
| 37 | namespace Forcing |
| 38 | |
| 39 | variable {D : Data} {raw : VectorField} (G : Forcing D raw) |
| 40 | |
| 41 | theorem slicedJet_time (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 42 | (slicedJet (Icc (0 : ℝ) D.T) G.vector (t,(x,θ))).2 timeDirection = |
| 43 | G.vectorDerivative (t,(x,θ)) := |
| 44 | slicedJet_time_eq _ _ _ _ ((uniqueDiffOn_Icc D.T_pos) _ t.property) |
| 45 | (G.vector_hasDerivWithinAt t x θ) |
| 46 | |
| 47 | /-- This is exactly the pointwise mean equation required by the grade recursion. -/ |
| 48 | theorem jet_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 49 | linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) D.T) G.vector (t,(x,θ)))+ |
| 50 | slowPressure (D.inverseFrame (t,(x,θ))) (pressureJet G.scalar (t,(x,θ))) = |
| 51 | raw (t,(x,θ)) := by |
| 52 | change (slicedJet (Icc (0 : ℝ) D.T) G.vector (t,(x,θ))).2 timeDirection+ |
| 53 | D.strain (t,(x,θ)) (G.vector (t,(x,θ)))+_ = _ |
| 54 | rw [G.slicedJet_time, slowPressure_pressureJet _ G.scalar t x θ |
| 55 | ((G.scalar_spatial_smooth t).differentiable (by simp) (x,θ))] |
| 56 | exact G.equation t x θ |
| 57 | |
| 58 | theorem vector_angle_jet (t : ℝ) (x : Space) (θ : ℝ) : |
| 59 | (slicedJet (Icc (0 : ℝ) D.T) G.vector (t,(x,θ))).2 angleDirection = 0 := by |
| 60 | rw [EulerPacketPointJets.slicedJet_angle] |
| 61 | have hfst : HasFDerivAt (Prod.fst : Space × ℝ → Space) |
| 62 | (ContinuousLinearMap.fst ℝ Space ℝ) (x,θ) := hasFDerivAt_fst |
| 63 | have hd := ((pathRepresentative_smooth D.T G.velocityPath G.velocityPath_orbit (D.clamp t)).differentiable |
| 64 | (by simp) x).hasFDerivAt.comp (x,θ) hfst |
| 65 | change (fderiv ℝ (fun y : Space × ℝ => |
| 66 | pathRepresentative D.T G.velocityPath G.velocityPath_orbit (D.clamp t) y.1) (x,θ)) (0,1) = 0 |
| 67 | have he := congrArg (fun A : (Space × ℝ) →L[ℝ] Space => A (0,1)) hd.fderiv |
| 68 | simpa only [Function.comp_def, comp_apply, ContinuousLinearMap.coe_fst', map_zero] using he |
| 69 | |
| 70 | theorem scalar_angle_jet (t : ℝ) (x : Space) (θ : ℝ) : |
| 71 | (pressureJet G.scalar (t,(x,θ))).2 angleDirection = 0 := by |
| 72 | rw [pressureJet_angle] |
| 73 | have hs := (pressureScalar_spec D.T D.T_pos.le D.F D.F₁ D.opInv G.solution |
| 74 | D.frameLower D.frameLower_pos D.frame_lower G.path G.pressureForcePath_orbit (D.clamp t)).1 |
| 75 | have hfst : HasFDerivAt (Prod.fst : Space × ℝ → Space) |
| 76 | (ContinuousLinearMap.fst ℝ Space ℝ) (x,θ) := hasFDerivAt_fst |
| 77 | have hd := (hs.differentiable (by simp) x).hasFDerivAt.comp (x,θ) hfst |
| 78 | change (fderiv ℝ (fun y : Space × ℝ => |
| 79 | pressureScalar D.T D.T_pos.le D.F D.F₁ D.opInv G.solution D.frameLower D.frameLower_pos |
| 80 | D.frame_lower G.path G.pressureForcePath_orbit (D.clamp t) y.1) (x,θ)) (0,1) = 0 |
| 81 | have he := congrArg (fun A : (Space × ℝ) →L[ℝ] ℝ => A (0,1)) hd.fderiv |
| 82 | simpa only [Function.comp_def, comp_apply, ContinuousLinearMap.coe_fst', map_zero] using he |
| 83 | |
| 84 | end Forcing |
| 85 | |
| 86 | /-- The total operator discharges the literal packet mean-jet interface on admissible inputs. -/ |
| 87 | theorem meanSolve_jet_equation (D : Data) (raw : VectorField) (h : Nonempty (Forcing D raw)) |
| 88 | (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 89 | linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) D.T) (meanSolve D raw).1 (t,(x,θ)))+ |
| 90 | slowPressure (D.inverseFrame (t,(x,θ))) (pressureJet (meanSolve D raw).2 (t,(x,θ))) = |
| 91 | raw (t,(x,θ)) := by |
| 92 | rw [meanSolve_of_admissible D raw h] |
| 93 | exact (Classical.choice h).jet_equation t x θ |
| 94 | |
| 95 | end EulerMeanPacketProvider |