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.PacketPotentialMultiplier |
| 2 | import Euler.PacketPiolaPair |
| 3 | import Euler.AnglePrimitiveSpatialRegularity |
| 4 | |
| 5 | /-! Spatial smoothness of the source vector potential, derived from its literal integral. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketPiola |
| 10 | |
| 11 | open EulerSmoothLimit EulerPacketCrossProduct EulerPacketAngularPotential |
| 12 | EulerAngleMeanZeroPrimitive EulerLiftedGradientSpace EulerMetricTransport |
| 13 | EulerTransportDerivatives EulerMeanBoundary Set MeasureTheory InnerProductSpace |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | def curlLinear : (Space →L[ℝ] Space) →ₗ[ℝ] Space where |
| 17 | toFun := curlMatrix |
| 18 | map_add' := curlMatrix_add |
| 19 | map_smul' := curlMatrix_smul |
| 20 | |
| 21 | def curlOperator : (Space →L[ℝ] Space) →L[ℝ] Space := curlLinear.toContinuousLinearMap |
| 22 | |
| 23 | @[simp] theorem curlOperator_apply (A : Space →L[ℝ] Space) : curlOperator A = curlMatrix A := rfl |
| 24 | |
| 25 | theorem coveringPotential_contDiff (P : ℝ) (hP : 0 ≤ P) |
| 26 | (m : Space → Space) (A : LiftTangent → Space) |
| 27 | (hm : ContDiff ℝ ∞ m) (hnz : ∀ y, m y ≠ 0) (hA : ContDiff ℝ ∞ A) : |
| 28 | ContDiff ℝ ∞ (coveringPotential P m A) := by |
| 29 | exact primitive_joint_contDiff P hP |
| 30 | (fun z : LiftTangent => potentialMultiplier (m z.1) (A z)) |
| 31 | (((potentialMultiplier_contDiff m hm hnz).comp contDiff_fst).clm_apply hA) |
| 32 | |
| 33 | end EulerPacketPiola |