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.MixedH5Product |
| 2 | |
| 3 | /-! Actual outer derivatives of mixed products, with a fixed total derivative budget. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMixedH5Product |
| 8 | |
| 9 | open MeasureTheory EulerSobolev EulerLiftedGradientSpace EulerMetricTransport EulerTransportDerivatives |
| 10 | EulerCylinderSobolev EulerRealCylinder EulerVectorCylinder EulerGeneralCylinderAlgebra EulerH6Nonlinear |
| 11 | open scoped ContDiff ENNReal Topology |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- Outer product differentiation preserves the total derivative budget and costs only the finite Leibniz factor. -/ |
| 16 | theorem mixed_outer_product_bound {n k l : ℕ} (hnkl : n+k+l ≤ 5) |
| 17 | (a : Fin n → Fin 4) (w : Fin k → Fin 4) (v : Fin l → Fin 4) |
| 18 | (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) |
| 19 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 20 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 21 | (hfL : ∀ j ≤ 5, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u f) 2 (liftMeasure period)) |
| 22 | (hgL : ∀ j ≤ 5, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u g) 2 (liftMeasure period)) : |
| 23 | MemLp (iteratedFieldDerivative period a |
| 24 | (fun x => iteratedFieldDerivative period w f x • iteratedFieldDerivative period v g x)) 2 (liftMeasure period) ∧ |
| 25 | (eLpNorm (iteratedFieldDerivative period a |
| 26 | (fun x => iteratedFieldDerivative period w f x • iteratedFieldDerivative period v g x)) |
| 27 | 2 (liftMeasure period)).toReal ≤ (2 : ℝ)^n * mixedConstant period * liftSobolevNorm period 5 f * liftSobolevNorm period 5 g := by |
| 28 | induction n generalizing k l with |
| 29 | | zero => simpa only [iteratedFieldDerivative_zero, pow_zero, one_mul] using mixed_product_bound period (by omega : k+l ≤ 5) w v f g hf hg hfL hgL |
| 30 | | succ n ih => |
| 31 | let i := a (Fin.last n) |
| 32 | let F := iteratedFieldDerivative period w f |
| 33 | let G := iteratedFieldDerivative period v g |
| 34 | have hF : ∀ x, ContDiff ℝ ∞ (localFieldLift period F x) := iteratedFieldDerivative_smooth period w f hf |
| 35 | have hG : ∀ x, ContDiff ℝ ∞ (localFieldLift period G x) := iteratedFieldDerivative_smooth period v g hg |
| 36 | have h1 := ih (by omega : n+(k+1)+l ≤ 5) (Fin.init a) (Fin.cons i w) v |
| 37 | have h2 := ih (by omega : n+k+(l+1) ≤ 5) (Fin.init a) w (Fin.cons i v) |
| 38 | have he : iteratedFieldDerivative period a (fun x => F x • G x) = |
| 39 | iteratedFieldDerivative period (Fin.init a) |
| 40 | (fun x => iteratedFieldDerivative period (Fin.cons i w) f x • G x) + |
| 41 | iteratedFieldDerivative period (Fin.init a) |
| 42 | (fun x => F x • iteratedFieldDerivative period (Fin.cons i v) g x) := by |
| 43 | rw [word_init_last, fieldDerivative_smul period _ F G hF hG] |
| 44 | have hleft : ∀ x, ContDiff ℝ ∞ (localFieldLift period |
| 45 | (fun x => fieldDerivative period (standardDirection i) F x • G x) x) := |
| 46 | fun x => (fieldDerivative_smooth period _ F hF x).smul (hG x) |
| 47 | have hright : ∀ x, ContDiff ℝ ∞ (localFieldLift period |
| 48 | (fun x => F x • fieldDerivative period (standardDirection i) G x) x) := |
| 49 | fun x => (hF x).smul (fieldDerivative_smooth period _ G hG x) |
| 50 | rw [word_add period (Fin.init a) _ _ hleft hright] |
| 51 | rfl |
| 52 | change MemLp (iteratedFieldDerivative period a (fun x => F x • G x)) 2 (liftMeasure period) ∧ _ |
| 53 | rw [he] |
| 54 | refine ⟨h1.1.add h2.1, ?_⟩ |
| 55 | have hh := fieldL2_add_le period _ _ h1.1 h2.1 |
| 56 | exact hh.trans ((add_le_add h1.2 h2.2).trans_eq (by rw [pow_succ]; ring)) |
| 57 | |
| 58 | end EulerMixedH5Product |