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.BaseTransportCommutator |
| 2 | import Euler.H6TransportSource |
| 3 | |
| 4 | /-! Actual fixed-H⁶ external scalar multiplication commutators with positive-order binomial bounds. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerExternalScalarCommutator |
| 9 | |
| 10 | open MeasureTheory EulerSobolev EulerLiftedGradientSpace EulerMetricTransport EulerTransportDerivatives |
| 11 | EulerCylinderSobolev EulerRealCylinder EulerVectorCylinder EulerH6Nonlinear EulerBaseTransportCommutator |
| 12 | EulerJetProductBounds EulerSpatialSobolevInverse |
| 13 | open scoped ContDiff ENNReal Topology |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | section Subtraction |
| 18 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 19 | |
| 20 | omit [Fact (0 < period)] in |
| 21 | theorem fieldDerivative_sub (a : LiftTangent) (f g : LiftDomain period → F) |
| 22 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 23 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 24 | fieldDerivative period a (f-g) = fieldDerivative period a f-fieldDerivative period a g := by |
| 25 | funext x |
| 26 | have h := (((hf x).differentiable (by simp)) 0).hasFDerivAt.sub (((hg x).differentiable (by simp)) 0).hasFDerivAt |
| 27 | exact congrArg (fun A : LiftTangent →L[ℝ] F => A a) h.fderiv |
| 28 | |
| 29 | omit [Fact (0 < period)] in |
| 30 | theorem word_sub {n : ℕ} (w : Fin n → Fin 4) (f g : LiftDomain period → F) |
| 31 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 32 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 33 | iteratedFieldDerivative period w (f-g) = iteratedFieldDerivative period w f-iteratedFieldDerivative period w g := by |
| 34 | induction n with |
| 35 | | zero => rfl |
| 36 | | succ n ih => |
| 37 | rw [iteratedFieldDerivative_succ, ih (Fin.tail w), fieldDerivative_sub period _ _ _ |
| 38 | (iteratedFieldDerivative_smooth period _ f hf) (iteratedFieldDerivative_smooth period _ g hg)] |
| 39 | rfl |
| 40 | |
| 41 | end Subtraction |
| 42 | |
| 43 | omit [Fact (0 < period)] in |
| 44 | theorem scalarCommutator_smooth {n : ℕ} (w : Fin n → Fin 4) |
| 45 | (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) |
| 46 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 47 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 48 | ∀ x, ContDiff ℝ ∞ (localFieldLift period (scalarCommutator period w f g) x) := |
| 49 | fun x => (iteratedFieldDerivative_smooth period w (fun x => f x • g x) (fun y => (hf y).smul (hg y)) x).sub |
| 50 | ((hf x).smul (iteratedFieldDerivative_smooth period w g hg x)) |
| 51 | |
| 52 | theorem scalarCommutator_all_memLp {n : ℕ} (w : Fin n → Fin 4) |
| 53 | (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) |
| 54 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 55 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 56 | (hfL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u f) 2 (liftMeasure period)) |
| 57 | (hgL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u g) 2 (liftMeasure period)) : |
| 58 | ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u (scalarCommutator period w f g)) 2 (liftMeasure period) := by |
| 59 | intro j u |
| 60 | rw [scalarCommutator, word_sub period u (iteratedFieldDerivative period w (fun x => f x • g x)) |
| 61 | (fun x => f x • iteratedFieldDerivative period w g x) |
| 62 | (iteratedFieldDerivative_smooth period w (fun x => f x • g x) (fun x => (hf x).smul (hg x))) |
| 63 | (fun x => (hf x).smul (iteratedFieldDerivative_smooth period w g hg x))] |
| 64 | exact (word_all_memLp period w _ (product_all_memLp period 3 f g hf hg hfL hgL) j u).sub |
| 65 | (product_all_memLp period 3 f _ hf (iteratedFieldDerivative_smooth period w g hg) hfL |
| 66 | (word_all_memLp period w g hgL) j u) |
| 67 | |
| 68 | /-- Sum of actual H⁶ norms of external commutators at one order. -/ |
| 69 | def commutatorH6Norm (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) : ℝ := |
| 70 | ∑ w : Fin n → Fin 4, liftSobolevNorm period 6 (scalarCommutator period w f g) |
| 71 | |
| 72 | theorem commutatorH6Norm_nonneg (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) : |
| 73 | 0 ≤ commutatorH6Norm period n f g := Finset.sum_nonneg fun _ _ => liftSobolevNorm_nonneg period 6 _ |
| 74 | |
| 75 | @[simp] theorem commutatorH6Norm_zero (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) : |
| 76 | commutatorH6Norm period 0 f g = 0 := by |
| 77 | simp [commutatorH6Norm, scalarCommutator, iteratedFieldDerivative_zero, liftSobolevNorm, EulerH6Nonlinear.word_zero] |
| 78 | |
| 79 | /-- The exact differential recurrence gives a recurrence of the actual fixed-base Sobolev norms. -/ |
| 80 | theorem commutatorH6Norm_succ_le (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) |
| 81 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 82 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 83 | (hfL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u f) 2 (liftMeasure period)) |
| 84 | (hgL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u g) 2 (liftMeasure period)) : |
| 85 | commutatorH6Norm period (n+1) f g ≤ ∑ i : Fin 4, |
| 86 | (wordSobolevNorm period 6 n (fun x => fieldDerivative period (standardDirection i) f x • g x) + |
| 87 | commutatorH6Norm period n f (fieldDerivative period (standardDirection i) g)) := by |
| 88 | rw [commutatorH6Norm, sum_word_snoc] |
| 89 | apply Finset.sum_le_sum |
| 90 | intro i _ |
| 91 | rw [wordSobolevNorm, commutatorH6Norm, ← Finset.sum_add_distrib] |
| 92 | apply Finset.sum_le_sum |
| 93 | intro w _ |
| 94 | rw [scalarCommutator_recurrence period _ f g hf hg] |
| 95 | have hi : (Fin.snoc (α := fun _ : Fin (n+1) => Fin 4) w i) (Fin.last n) = i := by simp [Fin.snoc] |
| 96 | simp only [Fin.init_snoc, hi] |
| 97 | have hdf := fieldDerivative_smooth period (standardDirection i) f hf |
| 98 | have hdg := fieldDerivative_smooth period (standardDirection i) g hg |
| 99 | have hdfL := derivative_all_memLp period f hfL i |
| 100 | have hdgL := derivative_all_memLp period g hgL i |
| 101 | exact sobolev_add_le period 6 _ _ |
| 102 | (iteratedFieldDerivative_smooth period w _ (fun x => (hdf x).smul (hg x))) |
| 103 | (scalarCommutator_smooth period w f _ hf hdg) |
| 104 | (fun j _ u => word_all_memLp period w _ (product_all_memLp period 3 _ g hdf hg hdfL hgL) j u) |
| 105 | (fun j _ u => scalarCommutator_all_memLp period w f _ hf hdg hfL hdgL j u) |
| 106 | |
| 107 | /-- The actual external commutator has exactly the positive-coefficient-order binomial convolution. -/ |
| 108 | theorem commutatorH6Norm_bound (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) |
| 109 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 110 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 111 | (hfL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u f) 2 (liftMeasure period)) |
| 112 | (hgL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u g) 2 (liftMeasure period)) : |
| 113 | commutatorH6Norm period n f g ≤ productConstant period 3 * |
| 114 | commutatorConvolution (fun l => wordSobolevNorm period 6 l f) (fun l => wordSobolevNorm period 6 l g) n := by |
| 115 | induction n generalizing f g with |
| 116 | | zero => simp [commutatorConvolution_eq_sum] |
| 117 | | succ n ih => |
| 118 | apply (commutatorH6Norm_succ_le period n f g hf hg hfL hgL).trans |
| 119 | calc |
| 120 | _ ≤ ∑ i : Fin 4, (productConstant period 3 * leibnizConvolution |
| 121 | (fun l => wordSobolevNorm period 6 l (fieldDerivative period (standardDirection i) f)) |
| 122 | (fun l => wordSobolevNorm period 6 l g) n + productConstant period 3 * commutatorConvolution |
| 123 | (fun l => wordSobolevNorm period 6 l f) |
| 124 | (fun l => wordSobolevNorm period 6 l (fieldDerivative period (standardDirection i) g)) n) := by |
| 125 | apply Finset.sum_le_sum |
| 126 | intro i _ |
| 127 | exact add_le_add (product_wordSobolevNorm_bound period 3 n _ g |
| 128 | (fieldDerivative_smooth period _ f hf) hg (derivative_all_memLp period f hfL i) hgL) |
| 129 | (ih f _ hf (fieldDerivative_smooth period _ g hg) hfL (derivative_all_memLp period g hgL i)) |
| 130 | _ = _ := by |
| 131 | rw [Finset.sum_add_distrib, ← Finset.mul_sum, ← Finset.mul_sum, |
| 132 | sum_leibnizConvolution_left, sum_commutatorConvolution_right, commutatorConvolution_succ] |
| 133 | simp_rw [← wordSobolevNorm_succ] |
| 134 | ring |
| 135 | |
| 136 | end EulerExternalScalarCommutator |