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.PacketCylinderFieldAlgebra |
| 2 | import Euler.CylinderPathAdvection |
| 3 | import Euler.LpCylinderRectangularRegularity |
| 4 | |
| 5 | /-! Actual nonlinear and coefficient operations on raw cylinder-path witnesses. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketCylinderField.Field |
| 10 | |
| 11 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 12 | EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerCylinderPathProduct |
| 13 | EulerCylinderConstantMap EulerLpCylinderRectangular EulerMeanCoefficients EulerMetricTransport |
| 14 | EulerLiftedWeakDerivative EulerCylinderSobolev EulerPacketProfileRecursion |
| 15 | open scoped ContDiff BoundedContinuousFunction |
| 16 | |
| 17 | variable {P T : ℝ} [Fact (0 < P)] {raw raw' : VectorField} |
| 18 | |
| 19 | def map (G : Field P T raw) (L : Space →L[ℝ] Space) : |
| 20 | Field P T (fun z => L (raw z)) := |
| 21 | ofLifted (pathMap P L G.path) (pathMap_orbit_contDiff P L G.path G.orbit) |
| 22 | (fun t x => L (pointField P G.path G.orbit t x)) |
| 23 | (fun t => L.continuous.comp (smoothField_continuous P _ (pointField_smooth P G.path G.orbit t))) |
| 24 | (fun t => by |
| 25 | filter_upwards [map_ae P L (G.path t),pointField_ae P G.path G.orbit t] with x hL hG |
| 26 | exact hL.trans (congrArg L hG)) |
| 27 | (fun t x θ => congrArg L (G.raw_eq t x θ)) |
| 28 | |
| 29 | /-- The literal mixed derivative is represented by the actual derivative path. -/ |
| 30 | def derivative (G : Field P T raw) (i : Fin 4) : |
| 31 | Field P T (fun z => fderiv ℝ (fun y => raw (z.1,y)) z.2 (standardDirection i)) where |
| 32 | path := derivativePath P G.path i |
| 33 | orbit := derivativePath_orbit P G.path G.orbit i |
| 34 | raw_eq t x θ := by |
| 35 | rw [G.raw_fderiv] |
| 36 | exact (pointField_derivativePath P G.path G.orbit i t (x,(θ : AddCircle P))).symm |
| 37 | |
| 38 | def scalarProduct (G : Field P T raw) (H : Field P T raw') |
| 39 | (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) : Field P T (fun z => L (raw z) • raw' z) where |
| 40 | path := scalarProductPath P L hL G.path H.path G.orbit H.orbit |
| 41 | orbit := scalarProductPath_orbit P L hL G.path H.path G.orbit H.orbit |
| 42 | raw_eq t x θ := by |
| 43 | rw [G.raw_eq,H.raw_eq] |
| 44 | exact (pointField_scalarProductPath P L hL G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm |
| 45 | |
| 46 | def bilinear (G : Field P T raw) (H : Field P T raw') |
| 47 | (B : Space →L[ℝ] Space →L[ℝ] Space) : Field P T (fun z => B (raw z) (raw' z)) where |
| 48 | path := bilinearProductPath P B G.path H.path G.orbit H.orbit |
| 49 | orbit := bilinearProductPath_orbit P B G.path H.path G.orbit H.orbit |
| 50 | raw_eq t x θ := by |
| 51 | rw [G.raw_eq,H.raw_eq] |
| 52 | exact (pointField_bilinearProductPath P B G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm |
| 53 | |
| 54 | /-- Spatial advection is the literal ordinary derivative of the second raw field. -/ |
| 55 | def advection (G : Field P T raw) (H : Field P T raw') : |
| 56 | Field P T (fun z => fderiv ℝ (fun y : Space => raw' (z.1,(y,z.2.2))) z.2.1 (raw z)) where |
| 57 | path := advectionPath P G.path H.path G.orbit H.orbit |
| 58 | orbit := advectionPath_orbit P G.path H.path G.orbit H.orbit |
| 59 | raw_eq t x θ := by |
| 60 | have he : (fun y : Space => raw' (t,(y,θ))) = |
| 61 | fun y : Space => pointField P H.path H.orbit t (y,(θ : AddCircle P)) := |
| 62 | funext (fun y => H.raw_eq t y θ) |
| 63 | rw [he,coverField_spatial_fderiv P _ (pointField_smooth P H.path H.orbit t), |
| 64 | G.raw_eq,comp_apply,inl_apply] |
| 65 | exact (pointField_advectionPath P G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm |
| 66 | |
| 67 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 68 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 69 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 70 | private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 71 | |
| 72 | /-- A genuine smooth coefficient path multiplies a raw field without a new regularity premise. -/ |
| 73 | def multiply (G : Field P T raw) (A : C(Icc (0 : ℝ) T,Space →ᵇ Space →L[ℝ] Space)) |
| 74 | (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) |
| 75 | (coef : EulerPacketPointJets.Domain → Space →L[ℝ] Space) |
| 76 | (hcoef : ∀ (t : Icc (0 : ℝ) T) x θ, coef (t,(x,θ)) = A t x) : |
| 77 | Field P T (fun z => coef z (raw z)) := |
| 78 | ofLifted (fullMultiplierMap P A G.path) (product_orbit_contDiff P A hA G.path G.orbit) |
| 79 | (fun t x => A t x.1 (pointField P G.path G.orbit t x)) |
| 80 | (fun t => ((A t).continuous.comp continuous_fst).clm_apply |
| 81 | (smoothField_continuous P _ (pointField_smooth P G.path G.orbit t))) |
| 82 | (fun t => by |
| 83 | filter_upwards [EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (A t)) (G.path t), |
| 84 | pointField_ae P G.path G.orbit t] with x hM hG |
| 85 | exact hM.trans (congrArg (A t x.1) hG)) |
| 86 | (fun t x θ => by rw [hcoef,G.raw_eq]) |
| 87 | |
| 88 | end EulerPacketCylinderField.Field |