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.MeanPacketReflection |
| 2 | |
| 3 | /-! Odd velocity and even normalized pressure for the actual mean provider. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanPacketProvider |
| 8 | |
| 9 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 10 | EulerMeanSolenoidal EulerMeanCoefficients EulerMeanVariationalInverse EulerMeanScalarPressure |
| 11 | EulerMeanSmoothRepresentative EulerMeanTimeContinuousTranslation EulerMeanTimeReflection |
| 12 | EulerMeanFixedReflection EulerCanonicalGraphPotential EulerVolterraConvolution |
| 13 | EulerPacketProfileRecursion |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | /-- Oddness of an actual L² class transfers to its unique smooth representative. -/ |
| 17 | theorem representative_odd_of_reflection (u : L2) (hs : SmoothOrbit u) |
| 18 | (hu : reflection u = -u) (x : Space) : representative u hs (-x) = -representative u hs x := by |
| 19 | have hae : (fun y => representative u hs (-y)) =ᵐ[volume] (fun y => -representative u hs y) := by |
| 20 | filter_upwards [reflection_ae u, Lp.coeFn_neg u, |
| 21 | measurePreserving_reflection.quasiMeasurePreserving.ae (representative_ae u hs), |
| 22 | representative_ae u hs] with y h₁ h₂ h₃ h₄ |
| 23 | have he := congrArg (fun z : L2 => z y) hu |
| 24 | rw [h₁, h₂] at he |
| 25 | simpa only [Pi.neg_apply, h₃, h₄] using he |
| 26 | exact congrFun (Measure.eq_of_ae_eq hae |
| 27 | ((representative_smooth u hs).continuous.comp continuous_neg) |
| 28 | (representative_smooth u hs).continuous.neg) x |
| 29 | |
| 30 | namespace Forcing |
| 31 | |
| 32 | variable {D : Data} {raw : VectorField} (G : Forcing D raw) |
| 33 | (hD : EvenData D) |
| 34 | (hodd : ∀ (t : Icc (0 : ℝ) D.T) x, raw (t,(-x,0)) = -raw (t,(x,0))) |
| 35 | |
| 36 | include hD hodd in |
| 37 | theorem velocityPath_reflection (t : Icc (0 : ℝ) D.T) : |
| 38 | reflection (G.velocityPath t) = -(G.velocityPath t) := by |
| 39 | have hv := congrArg (fun v : solenoidalSpace => (v : L2)) |
| 40 | (G.coordinate_velocity_reflection hodd hD t) |
| 41 | change reflection (G.solution.velocity t : L2) = -(G.solution.velocity t : L2) at hv |
| 42 | have he : G.velocityPath t = D.opF t (G.solution.velocity t : L2) := by |
| 43 | simpa only [StrongMeanEvolution.physicalPath, extendPath, projIcc_of_mem D.T_pos.le t.property] |
| 44 | using G.solution.continuousVelocity_eq_physicalPath D.T_pos D.opF_time t |
| 45 | rw [he] |
| 46 | exact (multiplier_reflection_of_even (D.F.field t) (hD.frame t) (G.solution.velocity t : L2)).symm.trans |
| 47 | ((congrArg (multiplier (D.F.field t)) hv).trans |
| 48 | ((multiplier (D.F.field t)).map_neg (G.solution.velocity t : L2))) |
| 49 | |
| 50 | include hD hodd in |
| 51 | /-- The actual raw velocity is odd at every time; its exterior definition uses the same retraction. -/ |
| 52 | theorem vector_odd (t : ℝ) (x : Space) (θ : ℝ) : |
| 53 | G.vector (t,(-x,θ)) = -G.vector (t,(x,θ)) := |
| 54 | representative_odd_of_reflection (G.velocityPath (D.clamp t)) |
| 55 | (pathTranslation_evaluation_contDiff D.T G.velocityPath G.velocityPath_orbit (D.clamp t)) |
| 56 | (G.velocityPath_reflection hD hodd (D.clamp t)) x |
| 57 | |
| 58 | include hD hodd in |
| 59 | /-- Actual within-time derivatives preserve the odd velocity parity at both endpoints. -/ |
| 60 | theorem vectorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 61 | G.vectorDerivative (t,(-x,θ)) = -G.vectorDerivative (t,(x,θ)) := by |
| 62 | have h₁ := G.vector_hasDerivWithinAt t (-x) θ |
| 63 | have h₂ := (G.vector_hasDerivWithinAt t x θ).neg |
| 64 | have he : (fun r => G.vector (r,(-x,θ))) = fun r => -G.vector (r,(x,θ)) := |
| 65 | funext (fun r => G.vector_odd hD hodd r x θ) |
| 66 | rw [he] at h₁ |
| 67 | have hs := (uniqueDiffOn_Icc D.T_pos) (t : ℝ) t.property |
| 68 | exact (h₁.derivWithin hs).symm.trans (h₂.derivWithin hs) |
| 69 | |
| 70 | /-- The pressure-force representative satisfies the already constructed physical equation. -/ |
| 71 | theorem pressureRepresentative_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 72 | G.vectorDerivative (t,(x,θ))+D.M.field t x (G.vector (t,(x,θ)))+ |
| 73 | pathRepresentative D.T G.pressureForcePath G.pressureForcePath_orbit t x = raw (t,(x,θ)) := by |
| 74 | have he := pathRepresentative_equation D.T G.velocityPath G.derivativePath G.pressureForcePath G.path |
| 75 | G.velocityPath_orbit G.derivativePath_orbit G.pressureForcePath_orbit G.path_orbit D.M.field |
| 76 | (G.solution.pressurePath_equation D.frameLower D.frameLower_pos D.frame_lower G.path |
| 77 | D.T_pos D.opF_time D.opM D.opStrain_eq) t x |
| 78 | rw [G.forcingRepresentative_eq t x θ] at he |
| 79 | simpa only [vectorDerivative, vector, Data.clamp_coe] using he |
| 80 | |
| 81 | include hD hodd in |
| 82 | theorem pressureRepresentative_odd (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 83 | pathRepresentative D.T G.pressureForcePath G.pressureForcePath_orbit t (-x) = |
| 84 | -pathRepresentative D.T G.pressureForcePath G.pressureForcePath_orbit t x := by |
| 85 | have hp := G.pressureRepresentative_equation t x 0 |
| 86 | have hn := G.pressureRepresentative_equation t (-x) 0 |
| 87 | rw [G.vectorDerivative_odd hD hodd, G.vector_odd hD hodd, hD.strain t x, map_neg, hodd t x] at hn |
| 88 | have hn' : -(G.vectorDerivative (t,(x,0))+D.M.field t x (G.vector (t,(x,0))))+ |
| 89 | pathRepresentative D.T G.pressureForcePath G.pressureForcePath_orbit t (-x) = -raw (t,(x,0)) := by |
| 90 | simpa only [neg_add] using hn |
| 91 | apply add_left_cancel (a := -(G.vectorDerivative (t,(x,0))+D.M.field t x (G.vector (t,(x,0))))) |
| 92 | exact hn'.trans ((congrArg Neg.neg hp).symm.trans (neg_add _ _)) |
| 93 | |
| 94 | include hD hodd in |
| 95 | /-- Canonical radial normalization makes the actual scalar pressure even. -/ |
| 96 | theorem scalar_even (t : ℝ) (x : Space) (θ : ℝ) : G.scalar (t,(-x,θ)) = G.scalar (t,(x,θ)) := by |
| 97 | let V : Space → Space := fun y => (D.F.field (D.clamp t) y).adjoint |
| 98 | (pathRepresentative D.T G.pressureForcePath G.pressureForcePath_orbit (D.clamp t) y) |
| 99 | have hV (y : Space) : V (-y) = -V y := by |
| 100 | change (D.F.field (D.clamp t) (-y)).adjoint |
| 101 | (pathRepresentative D.T G.pressureForcePath G.pressureForcePath_orbit (D.clamp t) (-y)) = _ |
| 102 | rw [hD.frame (D.clamp t) y, G.pressureRepresentative_odd hD hodd, map_neg] |
| 103 | change radialPotential V (-x) = radialPotential V x |
| 104 | simp only [radialPotential, smul_neg, hV, inner_neg_neg] |
| 105 | |
| 106 | end Forcing |
| 107 | |
| 108 | theorem meanSolve_odd (D : Data) (hD : EvenData D) (raw : VectorField) |
| 109 | (h : Nonempty (Forcing D raw)) |
| 110 | (hodd : ∀ (t : Icc (0 : ℝ) D.T) x, raw (t,(-x,0)) = -raw (t,(x,0))) |
| 111 | (t : ℝ) (x : Space) (θ : ℝ) : |
| 112 | (meanSolve D raw).1 (t,(-x,-θ)) = -(meanSolve D raw).1 (t,(x,θ)) := by |
| 113 | rw [meanSolve_of_admissible D raw h] |
| 114 | exact (Classical.choice h).vector_odd hD hodd t x (-θ) |
| 115 | |
| 116 | theorem meanSolve_even (D : Data) (hD : EvenData D) (raw : VectorField) |
| 117 | (h : Nonempty (Forcing D raw)) |
| 118 | (hodd : ∀ (t : Icc (0 : ℝ) D.T) x, raw (t,(-x,0)) = -raw (t,(x,0))) |
| 119 | (t : ℝ) (x : Space) (θ : ℝ) : |
| 120 | (meanSolve D raw).2 (t,(-x,-θ)) = (meanSolve D raw).2 (t,(x,θ)) := by |
| 121 | rw [meanSolve_of_admissible D raw h] |
| 122 | exact (Classical.choice h).scalar_even hD hodd t x (-θ) |
| 123 | |
| 124 | end EulerMeanPacketProvider |