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.ExternalScalarCommutator |
| 2 | |
| 3 | /-! The actual external transport commutator and its cutoff-independent Gevrey radius-loss estimate. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerExternalTransportCommutator |
| 8 | |
| 9 | open MeasureTheory EulerSobolev EulerLiftedGradientSpace EulerMetricTransport EulerTransportDerivatives |
| 10 | EulerCylinderSobolev EulerRealCylinder EulerVectorCylinder EulerH6Nonlinear EulerBaseTransportCommutator |
| 11 | EulerExternalScalarCommutator EulerJetProductBounds EulerSpatialSobolevInverse EulerPacketWeights EulerLiftedCurl |
| 12 | open scoped ContDiff ENNReal Topology |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | omit [Fact (0 < period)] in |
| 17 | /-- Actual coordinate words commute with each constant-direction derivative of a smooth field. -/ |
| 18 | theorem word_derivative_comm {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 19 | {n : ℕ} (w : Fin n → Fin 4) (a : LiftTangent) (f : LiftDomain period → F) |
| 20 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : |
| 21 | iteratedFieldDerivative period w (fieldDerivative period a f) = |
| 22 | fieldDerivative period a (iteratedFieldDerivative period w f) := by |
| 23 | induction n with |
| 24 | | zero => rfl |
| 25 | | succ n ih => |
| 26 | rw [iteratedFieldDerivative_succ, ih (Fin.tail w)] |
| 27 | funext x |
| 28 | exact fieldDerivatives_commute period _ _ _ (iteratedFieldDerivative_smooth period (Fin.tail w) f hf) x |
| 29 | |
| 30 | /-- The literal external transport commutator D^w(b·∇e)−b·∇D^w e. -/ |
| 31 | def transportCommutator {n : ℕ} (w : Fin n → Fin 4) |
| 32 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) : LiftDomain period → Vector3 := |
| 33 | iteratedFieldDerivative period w (transportField period 3 b e) - |
| 34 | transportField period 3 b (iteratedFieldDerivative period w e) |
| 35 | |
| 36 | omit [Fact (0 < period)] in |
| 37 | /-- The actual transport commutator is exactly the sum of the scalar multiplication commutators. -/ |
| 38 | theorem transportCommutator_eq_sum {n : ℕ} (w : Fin n → Fin 4) |
| 39 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) |
| 40 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 41 | (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) : |
| 42 | transportCommutator period w b e = ∑ i : Fin 4, |
| 43 | scalarCommutator period w (coordinate 4 i ∘ b) (fieldDerivative period (standardDirection i) e) := by |
| 44 | unfold transportCommutator transportField |
| 45 | rw [word_sum period Finset.univ (fun i : Fin 4 => fun x => b x i • fieldDerivative period (standardDirection i) e x) (fun i _ x => |
| 46 | (postcomp_smooth period (coordinate 4 i) b hb x).smul (fieldDerivative_smooth period (standardDirection i) e he x)) w, |
| 47 | ← Finset.sum_sub_distrib] |
| 48 | apply Finset.sum_congr rfl |
| 49 | intro i _ |
| 50 | rw [scalarCommutator, word_derivative_comm period w (standardDirection i) e he] |
| 51 | rfl |
| 52 | |
| 53 | /-- Sum of the actual H⁶ norms of all external transport commutators at one order. -/ |
| 54 | def transportCommutatorNorm (n : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) : ℝ := |
| 55 | ∑ w : Fin n → Fin 4, liftSobolevNorm period 6 (transportCommutator period w b e) |
| 56 | |
| 57 | /-- Positivity allows monotonicity of the coefficient sequence in the genuine commutator convolution. -/ |
| 58 | theorem commutatorConvolution_mono_left (n : ℕ) (A A' B : ℕ → ℝ) |
| 59 | (hA : ∀ l, A l ≤ A' l) (hB : ∀ l, 0 ≤ B l) : |
| 60 | commutatorConvolution A B n ≤ commutatorConvolution A' B n := by |
| 61 | rw [commutatorConvolution_eq_sum, commutatorConvolution_eq_sum] |
| 62 | exact Finset.sum_le_sum fun l _ => mul_le_mul_of_nonneg_right |
| 63 | (mul_le_mul_of_nonneg_left (hA (l+1)) (Nat.cast_nonneg _)) (hB _) |
| 64 | |
| 65 | /-- The actual external transport commutator has no undifferentiated-velocity term. -/ |
| 66 | theorem transportCommutatorNorm_bound (n : ℕ) |
| 67 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) |
| 68 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 69 | (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) |
| 70 | (hbL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u b) 2 (liftMeasure period)) |
| 71 | (heL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u e) 2 (liftMeasure period)) : |
| 72 | transportCommutatorNorm period n b e ≤ productConstant period 3 * |
| 73 | commutatorConvolution (fun l => wordSobolevNorm period 6 l b) |
| 74 | (fun l => wordSobolevNorm period 6 (l+1) e) n := by |
| 75 | have hbi (i : Fin 4) := postcomp_smooth period (coordinate 4 i) b hb |
| 76 | have hbiL (i : Fin 4) : ∀ j, ∀ w : Fin j → Fin 4, |
| 77 | MemLp (iteratedFieldDerivative period w (coordinate 4 i ∘ b)) 2 (liftMeasure period) := |
| 78 | fun j w => postcomp_word_memLp period (show j ≤ j by omega) _ b hb (fun r _ v => hbL r v) w |
| 79 | have hw (w : Fin n → Fin 4) : liftSobolevNorm period 6 (transportCommutator period w b e) ≤ |
| 80 | ∑ i : Fin 4, liftSobolevNorm period 6 |
| 81 | (scalarCommutator period w (coordinate 4 i ∘ b) (fieldDerivative period (standardDirection i) e)) := by |
| 82 | rw [transportCommutator_eq_sum period w b e hb he] |
| 83 | have h := wordSobolevNorm_sum_le period Finset.univ 6 0 |
| 84 | (fun i => scalarCommutator period w (coordinate 4 i ∘ b) (fieldDerivative period (standardDirection i) e)) |
| 85 | (fun i _ => scalarCommutator_smooth period w _ _ (hbi i) (fieldDerivative_smooth period _ e he)) |
| 86 | (fun i _ => scalarCommutator_all_memLp period w _ _ (hbi i) (fieldDerivative_smooth period _ e he) |
| 87 | (hbiL i) (derivative_all_memLp period e heL i)) |
| 88 | simpa only [wordSobolevNorm_zero] using h |
| 89 | have hsum := Finset.sum_le_sum (fun w (_ : w ∈ (Finset.univ : Finset (Fin n → Fin 4))) => hw w) |
| 90 | rw [Finset.sum_comm] at hsum |
| 91 | apply hsum.trans |
| 92 | calc |
| 93 | _ ≤ ∑ i : Fin 4, productConstant period 3 * commutatorConvolution |
| 94 | (fun l => wordSobolevNorm period 6 l b) |
| 95 | (fun l => wordSobolevNorm period 6 l (fieldDerivative period (standardDirection i) e)) n := by |
| 96 | apply Finset.sum_le_sum |
| 97 | intro i _ |
| 98 | have hi := commutatorH6Norm_bound period n _ _ (hbi i) (fieldDerivative_smooth period _ e he) |
| 99 | (hbiL i) (derivative_all_memLp period e heL i) |
| 100 | apply hi.trans |
| 101 | apply mul_le_mul_of_nonneg_left _ (productConstant_nonneg period 3) |
| 102 | exact commutatorConvolution_mono_left n _ _ _ |
| 103 | (fun l => wordSobolevNorm_postcomp_le period 6 l (coordinate 4 i) (coordinate_norm_le 4 i) b hb hbL) |
| 104 | (fun l => wordSobolevNorm_nonneg period 6 l _) |
| 105 | _ = _ := by |
| 106 | rw [← Finset.mul_sum, sum_commutatorConvolution_right] |
| 107 | simp_rw [← wordSobolevNorm_succ] |
| 108 | |
| 109 | /-- The actual external transport commutator obeys the radius-loss bound with no cutoff-dependent constant or cutoff-plus-one velocity. -/ |
| 110 | theorem transportCommutator_weighted_bound (N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) |
| 111 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) |
| 112 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 113 | (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) |
| 114 | (hbL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u b) 2 (liftMeasure period)) |
| 115 | (heL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u e) 2 (liftMeasure period)) : |
| 116 | (∑ n ∈ Finset.range (N+1), weight ρ n * transportCommutatorNorm period n b e) ≤ |
| 117 | productConstant period 3 * ρ⁻¹ * |
| 118 | (∑ l ∈ Finset.range (N+1), weight ρ l * wordSobolevNorm period 6 l b) * |
| 119 | (∑ j ∈ Finset.range (N+1), (j : ℝ)*weight ρ j * wordSobolevNorm period 6 j e) := by |
| 120 | calc |
| 121 | _ ≤ ∑ n ∈ Finset.range (N+1), weight ρ n * (productConstant period 3 * commutatorConvolution |
| 122 | (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 (l+1) e) n) := |
| 123 | Finset.sum_le_sum fun n _ => mul_le_mul_of_nonneg_left |
| 124 | (transportCommutatorNorm_bound period n b e hb he hbL heL) (weight_pos hρ n).le |
| 125 | _ = productConstant period 3 * (∑ n ∈ Finset.range (N+1), ∑ l ∈ Finset.range n, |
| 126 | weight ρ n * (n.choose (l+1) : ℝ) * wordSobolevNorm period 6 (l+1) b * wordSobolevNorm period 6 (n-l) e) := by |
| 127 | simp only [commutatorConvolution_eq_sum, Finset.mul_sum] |
| 128 | apply Finset.sum_congr rfl |
| 129 | intro n _ |
| 130 | apply Finset.sum_congr rfl |
| 131 | intro l hl |
| 132 | have hn : n-(l+1)+1 = n-l := by have := Finset.mem_range.mp hl; omega |
| 133 | rw [hn] |
| 134 | ring |
| 135 | _ ≤ _ := (mul_le_mul_of_nonneg_left |
| 136 | (EulerWeightedConvolution.external_commutator_sum ρ hρ N |
| 137 | (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 l e) |
| 138 | (fun l => wordSobolevNorm_nonneg period 6 l b) (fun l => wordSobolevNorm_nonneg period 6 l e)) |
| 139 | (productConstant_nonneg period 3)).trans_eq (by ring) |
| 140 | |
| 141 | end EulerExternalTransportCommutator |