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.CorrectionDifference |
| 2 | import Euler.CorrectionMildEquation |
| 3 | |
| 4 | /-! The exact viscosity-difference equation of two genuine nonlinear mild corrections. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCorrectionDifferencePDE |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCorrectionOperators |
| 11 | EulerQuadraticSource EulerCorrectionContinuation EulerCorrectionDifference EulerSobolevTransport |
| 12 | EulerSobolevMetricTransport EulerSobolevHeatGenerator EulerVolterraConvolution |
| 13 | open scoped Topology |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The existing Sobolev normed-group instance, fixed explicitly for difference-equation elaboration. -/ |
| 18 | local instance differenceSobolevGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 19 | /-- The existing real Sobolev module instance, fixed explicitly for difference-equation elaboration. -/ |
| 20 | local instance differenceSobolevSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 21 | |
| 22 | /-- The literal right side of the viscosity-difference equation, including its genuine pressure difference. -/ |
| 23 | def differenceRhs {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 24 | (D : CorrectionData period q T) (hq : 6 ≤ q) (ν μ : ℝ) (t : T) |
| 25 | (u v : SobolevSpace period (q+1)) : LiftL2 period := |
| 26 | ν • laplacianEvaluation period (q+1) (by omega) (u-v)+ |
| 27 | (ν-μ) • laplacianEvaluation period (q+1) (by omega) v- |
| 28 | value period (transportBilinear period hq (velocityComponents D.κ D.direction) |
| 29 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) (D.approximation t+u) (u-v))- |
| 30 | value period (differenceRemainder period D hq t u v)- |
| 31 | (D.metric.coefficient t).operator (value period (D.pressure period hq t u)-value period (D.pressure period hq t v)) |
| 32 | |
| 33 | /-- Exact vector subtraction for a bilinear evolution with two viscosities. -/ |
| 34 | theorem vector_difference_identity {H : Type*} [AddCommGroup H] [Module ℝ H] |
| 35 | (ν μ : ℝ) (a b ru rv top rem pu pv : H) (hraw : ru-rv=top+rem) : |
| 36 | ν • (a-b)+(ν-μ) • b-top-rem-(pu-pv) = |
| 37 | (ν • a-ru-pu)-(μ • b-rv-pv) := by |
| 38 | have hr : ru=rv+(top+rem) := (sub_eq_iff_eq_add.mp hraw).trans (add_comm _ _) |
| 39 | rw [hr,smul_sub,sub_smul] |
| 40 | abel |
| 41 | |
| 42 | /-- The exposed difference equation is exactly the subtraction of the two actual PDE right sides. -/ |
| 43 | theorem differenceRhs_eq_sub {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 44 | (D : CorrectionData period q T) (hq : 6 ≤ q) (ν μ : ℝ) (t : T) |
| 45 | (u v : SobolevSpace period (q+1)) : |
| 46 | differenceRhs period D hq ν μ t u v = |
| 47 | (ν • laplacianEvaluation period (q+1) (by omega) u-value period (D.rawSource period hq t u)- |
| 48 | (D.metric.coefficient t).operator (value period (D.pressure period hq t u)))- |
| 49 | (μ • laplacianEvaluation period (q+1) (by omega) v-value period (D.rawSource period hq t v)- |
| 50 | (D.metric.coefficient t).operator (value period (D.pressure period hq t v))) := by |
| 51 | have hraw := congrArg (valueOperator period q) (rawSource_sub period D hq t u v) |
| 52 | change value period (D.rawSource period hq t u)-value period (D.rawSource period hq t v) = |
| 53 | value period (transportBilinear period hq (velocityComponents D.κ D.direction) |
| 54 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) |
| 55 | (D.approximation t+u) (u-v))+value period (differenceRemainder period D hq t u v) at hraw |
| 56 | have hlap := (laplacianEvaluation period (q+1) (by omega)).map_sub u v |
| 57 | have hp := (D.metric.coefficient t).operator.map_sub |
| 58 | (value period (D.pressure period hq t u)) (value period (D.pressure period hq t v)) |
| 59 | unfold differenceRhs |
| 60 | rw [hlap,hp] |
| 61 | exact vector_difference_identity ν μ _ _ _ _ _ _ _ _ hraw |
| 62 | |
| 63 | /-- Subtracting two actual mild correction equations gives the literal transport-pressure-heat difference equation. -/ |
| 64 | theorem correction_difference_hasDerivAt {q : ℕ} (hq : 6 ≤ q) (ν μ : ℝ) (hν : 0 < ν) (hμ : 0 < μ) |
| 65 | (T : ℝ) (hT : 0 ≤ T) (D : CorrectionData period q (Icc (0 : ℝ) T)) |
| 66 | (u v : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) |
| 67 | (hu : ∀ t, u t = quadraticDuhamel period ν hν hT le_rfl (D.coefficients period hq) 0 u t) |
| 68 | (hv : ∀ t, v t = quadraticDuhamel period μ hμ hT le_rfl (D.coefficients period hq) 0 v t) |
| 69 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 70 | HasDerivAt (fun s => value period (extendPath T hT u s)-value period (extendPath T hT v s)) |
| 71 | (differenceRhs period D hq ν μ ⟨t,ht.1.le,ht.2.le⟩ (u ⟨t,ht.1.le,ht.2.le⟩) (v ⟨t,ht.1.le,ht.2.le⟩)) t := by |
| 72 | have hu' := correction_mild_hasDerivAt period hq ν hν hT le_rfl D u hu t ht |
| 73 | have hv' := correction_mild_hasDerivAt period hq μ hμ hT le_rfl D v hv t ht |
| 74 | apply (hu'.sub hv').congr_deriv |
| 75 | exact (differenceRhs_eq_sub period D hq ν μ ⟨t,ht.1.le,ht.2.le⟩ _ _).symm |
| 76 | |
| 77 | end EulerCorrectionDifferencePDE |