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.CorrectionAssemblyReconstruction |
| 2 | import Euler.InviscidSobolevEvolution |
| 3 | import Euler.SobolevPointMultiplication |
| 4 | |
| 5 | /-! Genuine pointwise time differentiation of the generically assembled correction. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCorrectionAssembly |
| 10 | |
| 11 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerAllOrderCorrectionData |
| 12 | EulerCorrectionOperators EulerVolterraConvolution EulerSobolevPointEvaluation |
| 13 | EulerSobolevJointEvaluation EulerSobolevPointMultiplication EulerSobolevCoefficientPressure |
| 14 | EulerQuadraticSourceLimit EulerInviscidSobolevEvolution |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 18 | |
| 19 | /-- The canonical pointwise nonlinear raw source of the actual common correction. -/ |
| 20 | def FiniteFamily.pointRawSource (F : FiniteFamily period hT A) |
| 21 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 22 | pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) |
| 23 | (F.rawSourcePath period 6 le_rfl t)) |
| 24 | |
| 25 | /-- The canonical actual time derivative, defined by bounded evaluation of the genuine continuous Sobolev source. -/ |
| 26 | def FiniteFamily.pointTimeDerivative (F : FiniteFamily period hT A) |
| 27 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 28 | pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) |
| 29 | (((A.atOrder period 6).coefficients period le_rfl).apply t (F.solution 6 le_rfl t))) |
| 30 | |
| 31 | /-- The actual pointwise time derivative is jointly continuous in time and space. -/ |
| 32 | theorem FiniteFamily.pointTimeDerivative_joint_continuous (F : FiniteFamily period hT A) : |
| 33 | Continuous (F.pointTimeDerivative period).uncurry := |
| 34 | path_representative_joint_continuous period |
| 35 | ((restrictOperator period (by omega : 3 ≤ 6)).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 36 | (sourcePath ((A.atOrder period 6).coefficients period le_rfl) (F.solution 6 le_rfl))) |
| 37 | |
| 38 | /-- The pointwise time derivative is the literal raw-source and signed-pressure expression. -/ |
| 39 | theorem FiniteFamily.pointTimeDerivative_eq_pressure (F : FiniteFamily period hT A) |
| 40 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 41 | F.pointTimeDerivative period t x = -F.pointRawSource period t x - |
| 42 | (A.metric.coefficient t).coefficient x (F.pointPressure period t x) := by |
| 43 | unfold FiniteFamily.pointTimeDerivative |
| 44 | rw [EulerInviscidSobolevEvolution.CorrectionData.source_sobolev] |
| 45 | simp only [map_sub, map_neg] |
| 46 | rw [pointEvaluation_coefficient period (by omega : 3 ≤ 6) ((A.atOrder period 6).metric.coefficient t) |
| 47 | ((A.atOrder period 6).metric.jet t)] |
| 48 | rfl |
| 49 | |
| 50 | /-- The canonical common field has its genuine pointwise first time derivative at every interior time. -/ |
| 51 | theorem FiniteFamily.pointField_hasDerivAt (F : FiniteFamily period hT A) |
| 52 | (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 53 | HasDerivAt (fun r => F.pointField period (projIcc 0 T hT.le r) x) |
| 54 | (F.pointTimeDerivative period ⟨t, ht.1.le, ht.2.le⟩ x) t := by |
| 55 | have hd := sobolev_hasDerivAt period T hT.le |
| 56 | ((A.atOrder period 6).coefficients period le_rfl) (F.solution 6 le_rfl) |
| 57 | (F.equation 6 le_rfl) t ht |
| 58 | have he := (((pointEvaluation period x).comp (restrictOperator period (by omega : 3 ≤ 6))).hasFDerivAt).comp_hasDerivAt t hd |
| 59 | simpa only [Function.comp_def, ContinuousLinearMap.comp_apply, restrictOperator_truncate, |
| 60 | FiniteFamily.pointField, FiniteFamily.pointTimeDerivative, extendPath] using he |
| 61 | |
| 62 | /-- The actual pointwise correction equation uses the reconstructed signed pressure and literal matrix multiplication. -/ |
| 63 | theorem FiniteFamily.pointField_hasDerivAt_pressure (F : FiniteFamily period hT A) |
| 64 | (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 65 | HasDerivAt (fun r => F.pointField period (projIcc 0 T hT.le r) x) |
| 66 | (-F.pointRawSource period ⟨t, ht.1.le, ht.2.le⟩ x - |
| 67 | (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).coefficient x |
| 68 | (F.pointPressure period ⟨t, ht.1.le, ht.2.le⟩ x)) t := by |
| 69 | simpa only [F.pointTimeDerivative_eq_pressure period] using F.pointField_hasDerivAt period x t ht |
| 70 | |
| 71 | end EulerCorrectionAssembly |