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.OrdinaryFieldAlgebra |
| 2 | import Euler.OrdinaryWordBounds |
| 3 | import Euler.OrdinaryH3Norms |
| 4 | |
| 5 | /-! Literal scalar multiplication of smooth ordinary L² fields and all |
| 6 | of their genuine spatial derivatives. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerOrdinarySobolev |
| 11 | |
| 12 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLpTranslation |
| 13 | EulerLpTranslation.SmoothL2Field Finset |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 17 | |
| 18 | def scaleField (c : ℝ) (A : SmoothL2Field V) : SmoothL2Field V := |
| 19 | mapField (c • ContinuousLinearMap.id ℝ V) A |
| 20 | |
| 21 | @[simp] theorem scaleField_field (c : ℝ) (A : SmoothL2Field V) (x : Space) : |
| 22 | (scaleField c A).field x=c • A.field x := rfl |
| 23 | |
| 24 | theorem scaleField_toLp (c : ℝ) (A : SmoothL2Field V) : |
| 25 | (scaleField c A).toLp=c • A.toLp := by |
| 26 | apply Lp.ext |
| 27 | filter_upwards [(scaleField c A).toLp_ae,A.toLp_ae,Lp.coeFn_smul c A.toLp] with x hs ha hc |
| 28 | rw [hs,scaleField_field,hc,Pi.smul_apply,ha] |
| 29 | |
| 30 | theorem scaleField_jetLp (c : ℝ) (A : SmoothL2Field V) (n : ℕ) : |
| 31 | (scaleField c A).jetLp n=c • A.jetLp n := by |
| 32 | apply Lp.ext |
| 33 | filter_upwards [(scaleField c A).jetLp_ae n,A.jetLp_ae n,Lp.coeFn_smul c (A.jetLp n)] |
| 34 | with x hs ha hc |
| 35 | rw [hs,hc,Pi.smul_apply,ha] |
| 36 | change iteratedFDeriv ℝ n (fun x => c • A.field x) x=c • iteratedFDeriv ℝ n A.field x |
| 37 | exact iteratedFDeriv_const_smul_apply (A.smooth.contDiffAt.of_le (by simp)) |
| 38 | |
| 39 | theorem scaleField_fderiv (c : ℝ) (A : SmoothL2Field V) (x : Space) : |
| 40 | fderiv ℝ (scaleField c A).field x=c • fderiv ℝ A.field x := |
| 41 | ((A.smooth.differentiable (by simp) x).hasFDerivAt.const_smul c).fderiv |
| 42 | |
| 43 | theorem scaleField_one (A : SmoothL2Field V) : scaleField 1 A=A := by |
| 44 | apply field_ext |
| 45 | exact funext (fun x => by simp only [scaleField_field,one_smul]) |
| 46 | |
| 47 | theorem scaleField_continuous {K : Type*} [TopologicalSpace K] |
| 48 | (c : ℝ) (A : K → SmoothL2Field V) |
| 49 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (n : ℕ) : |
| 50 | Continuous (fun t => (scaleField c (A t)).jetLp n) := |
| 51 | continuous_jetLp_mapField _ A hA n |
| 52 | |
| 53 | theorem tensorNorm_scaleField (c : ℝ) (A : SmoothL2Field Space) (q : ℕ) : |
| 54 | tensorNorm q (scaleField c A)=|c| * tensorNorm q A := by |
| 55 | simp only [tensorNorm,scaleField_jetLp,norm_smul,Real.norm_eq_abs,Finset.mul_sum] |
| 56 | |
| 57 | theorem tensorNorm_scaleField_le (c : ℝ) (hc : 0 ≤ c) (hc1 : c ≤ 1) |
| 58 | (A : SmoothL2Field Space) (q : ℕ) : tensorNorm q (scaleField c A) ≤ tensorNorm q A := by |
| 59 | rw [tensorNorm_scaleField,abs_of_nonneg hc] |
| 60 | exact mul_le_of_le_one_left (tensorNorm_nonneg q A) hc1 |
| 61 | |
| 62 | end EulerOrdinarySobolev |