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.AllOrderPressureCoherence |
| 2 | import Euler.GraphPressurePotential |
| 3 | |
| 4 | /-! Smooth actual pressure and graph potentials of the constructed common inviscid correction. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerAllOrderSmoothPressure |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerAllOrderCorrectionData |
| 12 | EulerAllOrderCorrectionBudget EulerAllOrderCorrectionFamily EulerAllOrderLiftedCorrection |
| 13 | EulerAllOrderPressureCoherence EulerVolterraConvolution EulerMetricTransport |
| 14 | EulerSmoothPressureRepresentative EulerGraphPressurePotential |
| 15 | open scoped Topology ContDiff |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | /-- Every strong derivative order of the common actual signed pressure is supplied by a constructed finite Sobolev realization. -/ |
| 20 | def pressureJet {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 21 | (n : ℕ) (t : Icc (0 : ℝ) T) : SpatialJet period standardDirection n (commonPressure period hT A B t) := by |
| 22 | rw [← signedPressurePath_value_common period hT A B (n+6) (by omega) t] |
| 23 | exact EulerH6Pressure.SpatialJet.restrict |
| 24 | (toJet period (signedPressurePath period hT A B (n+6) (by omega) t)) n (by omega) |
| 25 | |
| 26 | /-- The common nonlinear correction satisfies its actual signed-pressure equation in L². -/ |
| 27 | theorem commonPath_pressure_equation {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 28 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 29 | HasDerivAt (extendPath T hT.le (commonPath period hT A B)) |
| 30 | (-value period (rawSourcePath period hT A B 6 le_rfl ⟨t,ht.1.le,ht.2.le⟩)- |
| 31 | (A.metric.coefficient ⟨t,ht.1.le,ht.2.le⟩).operator |
| 32 | (commonPressure period hT A B ⟨t,ht.1.le,ht.2.le⟩)) t := by |
| 33 | have h := commonPath_hasDerivAt period hT A B t ht |
| 34 | rw [(A.atOrder period 6).source_value period le_rfl] at h |
| 35 | exact h |
| 36 | |
| 37 | /-- The constructed signed pressure has a genuine smooth spatial representative at every time. -/ |
| 38 | theorem exists_smooth_signed_pressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : |
| 39 | ∃ p : Icc (0 : ℝ) T → LiftDomain period → Vector3, |
| 40 | (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ |
| 41 | ∀ t, (commonPressure period hT A B t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t := by |
| 42 | have h (t : Icc (0 : ℝ) T) := exists_smooth_representative period (commonPressure period hT A B t) |
| 43 | (fun n => pressureJet period hT A B n t) |
| 44 | choose p hp ha using h |
| 45 | exact ⟨p,hp,ha⟩ |
| 46 | |
| 47 | /-- The actual signed correction pressure yields a smooth scalar potential on every reciprocal-frequency graph. |
| 48 | The common pressure, all its strong jets, its smooth representative and its closed-gradient property are constructed internally. -/ |
| 49 | theorem exists_smooth_pressure_graph {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 50 | (k : ℝ) (hk : k*A.κ=1) : |
| 51 | ∃ (p : Icc (0 : ℝ) T → LiftDomain period → Vector3) (Q : Icc (0 : ℝ) T → Vector3 → ℝ), |
| 52 | (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ |
| 53 | (∀ t, (commonPressure period hT A B t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t) ∧ |
| 54 | (∀ t, ContDiff ℝ ∞ (Q t)) ∧ |
| 55 | ∀ t x, gradient (Q t) x=A.κ • p t (cylinderGraph period k A.direction x) := by |
| 56 | obtain ⟨p,hp,ha⟩ := exists_smooth_signed_pressure period hT A B |
| 57 | have hQ (t : Icc (0 : ℝ) T) := gradientSpace_has_graph_potential period A.κ k hk A.direction |
| 58 | (commonPressure period hT A B t) (commonPressure_gradient period hT A B t) (p t) (ha t) (hp t) |
| 59 | choose Q hQs hQ using hQ |
| 60 | exact ⟨p,Q,hp,ha,hQs,hQ⟩ |
| 61 | |
| 62 | end EulerAllOrderSmoothPressure |