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.AllOrderDriftFinite |
| 2 | import Euler.CorrectionAssemblyPressureParity |
| 3 | |
| 4 | /-! Actual common pressure and a canonically normalized scalar graph pressure |
| 5 | constructed from all-order drift-aware input budgets. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerAllOrderDriftCorrection |
| 10 | |
| 11 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 12 | EulerAllOrderCorrectionData EulerCorrectionAssembly EulerGraphPressurePotential |
| 13 | EulerMetricTransport EulerCylinderReflection EulerSobolevReflection EulerCorrectionOperators |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 18 | |
| 19 | /-- The actual signed L² pressure of the family constructed from drift-aware budgets. -/ |
| 20 | def Budget.commonPressure (B : Budget period hT A) : |
| 21 | C(Icc (0 : ℝ) T, LiftL2 period) := |
| 22 | (B.family period).commonPressure period |
| 23 | |
| 24 | /-- Actual continuous Sobolev realizations at every order of the same constructed pressure. -/ |
| 25 | def Budget.pressureTower (B : Budget period hT A) : FieldTower period T := |
| 26 | (B.family period).pressureTower period (B.comparisonData period) |
| 27 | |
| 28 | /-- Evaluating the genuine finite-order pressure solver on the constructed correction |
| 29 | gives exactly the corresponding realization of the common pressure tower. -/ |
| 30 | theorem Budget.pressure_eq_realization (B : Budget period hT A) |
| 31 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 32 | (A.atOrder period q).pressure period hq t (B.solution period q hq t) = |
| 33 | (B.pressureTower period).realization q t := |
| 34 | congrArg (fun f => f t) |
| 35 | ((B.family period).signedPressurePath_eq_realization period (B.comparisonData period) q hq) |
| 36 | |
| 37 | /-- Bounded Sobolev evaluation fixes a canonical pointwise representative of the pressure. -/ |
| 38 | def Budget.pointPressure (B : Budget period hT A) |
| 39 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 40 | (B.family period).pointPressure period t x |
| 41 | |
| 42 | /-- The canonical representative agrees almost everywhere with the actual constructed pressure. -/ |
| 43 | theorem Budget.pointPressure_ae (B : Budget period hT A) (t : Icc (0 : ℝ) T) : |
| 44 | (B.commonPressure period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 45 | B.pointPressure period t := |
| 46 | (B.family period).pointPressure_ae period t |
| 47 | |
| 48 | /-- The selected actual pressure representative is jointly continuous, including endpoint times. -/ |
| 49 | theorem Budget.pointPressure_joint_continuous (B : Budget period hT A) : |
| 50 | Continuous (B.pointPressure period).uncurry := |
| 51 | (B.family period).pointPressure_joint_continuous period |
| 52 | |
| 53 | /-- The same pressure representative is smooth in all cylinder coordinates at every time. -/ |
| 54 | theorem Budget.pointPressure_smooth (B : Budget period hT A) |
| 55 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 56 | ContDiff ℝ ∞ (localFieldLift period (B.pointPressure period t) x) := |
| 57 | (B.family period).pointPressure_smooth period (B.comparisonData period) t x |
| 58 | |
| 59 | /-- The scalar graph pressure constructed by radial integration, with its additive gauge fixed at zero. -/ |
| 60 | def Budget.normalizedGraphPotential (B : Budget period hT A) (k : ℝ) |
| 61 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 62 | (B.family period).normalizedGraphPotential period k t x |
| 63 | |
| 64 | /-- The actual normalized scalar pressure is spatially smooth on each time slice. -/ |
| 65 | theorem Budget.normalizedGraphPotential_smooth (B : Budget period hT A) |
| 66 | (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : |
| 67 | ContDiff ℝ ∞ (B.normalizedGraphPotential period k t) := |
| 68 | (B.family period).normalizedGraphPotential_smooth period (B.comparisonData period) k hk t |
| 69 | |
| 70 | /-- Its actual scalar gradient is precisely the signed pressure from the constructed correction. -/ |
| 71 | theorem Budget.normalizedGraphPotential_gradient (B : Budget period hT A) |
| 72 | (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 73 | gradient (B.normalizedGraphPotential period k t) x = |
| 74 | A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) := |
| 75 | (B.family period).normalizedGraphPotential_gradient period (B.comparisonData period) k hk t x |
| 76 | |
| 77 | end EulerAllOrderDriftCorrection |