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.OrdinaryTameProduct |
| 2 | import Euler.OrdinaryH3Energy |
| 3 | |
| 4 | /-! Integer-order Euler transport energy with a genuine H³ coefficient. |
| 5 | The pressure and top transport term cancel. All remaining products |
| 6 | are controlled by the proved L² interpolation of derivative words. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerOrdinarySobolev |
| 11 | |
| 12 | open MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal Finset |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | theorem tame_advection_outer (A : SmoothL2Field Space) (m : ℕ) (hm : 3 ≤ m) (M N : ℝ) |
| 17 | (hM : WordBound 3 M A) (hN : WordBound m N A) |
| 18 | {n k l : ℕ} (hk : 1 ≤ k) (horder : n+k+l ≤ m) |
| 19 | (a : Fin n → Fin 3) (w : Fin k → Fin 3) (v : Fin l → Fin 3) : |
| 20 | ‖(wordField (advectionField (wordField A w) (wordField A v)) a).toLp‖ ≤ |
| 21 | 3*(2 : ℝ)^n*h3ProductConstant*M*N := by |
| 22 | rw [advectionField,wordField_sum,toLp_sumField] |
| 23 | apply (norm_sum_le _ _).trans |
| 24 | calc |
| 25 | _ ≤ ∑ _i : Fin 3, (2 : ℝ)^n*h3ProductConstant*M*N := by |
| 26 | apply sum_le_sum |
| 27 | intro i _ |
| 28 | simpa only [wordField_cons] using tame_outer_product A m hm M N hM hN hk |
| 29 | (by omega : 1 ≤ l+1) (by omega : n+k+(l+1) ≤ m+1) a w (Fin.cons i v) i |
| 30 | _ = _ := by simp only [sum_const,card_univ,Fintype.card_fin,nsmul_eq_mul]; ring |
| 31 | |
| 32 | theorem tame_transportCommutator_word (A : SmoothL2Field Space) (m : ℕ) (hm : 3 ≤ m) |
| 33 | (M N : ℝ) (hM : WordBound 3 M A) (hN : WordBound m N A) |
| 34 | {n l : ℕ} (horder : n+l ≤ m) (a : Fin n → Fin 3) (v : Fin l → Fin 3) : |
| 35 | ‖(transportCommutator A (wordField A v) a).toLp‖ ≤ |
| 36 | 3*((2 : ℝ)^n-1)*h3ProductConstant*M*N := by |
| 37 | induction n generalizing l with |
| 38 | | zero => simp only [transportCommutator_zero,norm_zero,pow_zero,sub_self,mul_zero,zero_mul,le_refl] |
| 39 | | succ n ih => |
| 40 | have he : transportCommutator A (wordField A v) a = |
| 41 | addField |
| 42 | (wordField (advectionField (A.directionalField (axis (a (Fin.last n)))) (wordField A v)) (Fin.init a)) |
| 43 | (transportCommutator A (wordField A (Fin.cons (a (Fin.last n)) v)) (Fin.init a)) := by |
| 44 | simpa only [Fin.snoc_init_self,wordField_cons] using |
| 45 | transportCommutator_snoc A (wordField A v) (Fin.init a) (a (Fin.last n)) |
| 46 | rw [he,toLp_addField] |
| 47 | apply (norm_add_le _ _).trans |
| 48 | have h1 := tame_advection_outer A m hm M N hM hN (by norm_num : 1 ≤ 1) |
| 49 | (by omega : n+1+l ≤ m) (Fin.init a) (Fin.cons (a (Fin.last n)) Fin.elim0) v |
| 50 | have h2 := ih (by omega : n+(l+1) ≤ m) (Fin.init a) (Fin.cons (a (Fin.last n)) v) |
| 51 | simp only [wordField_cons,wordField_zero] at h1 |
| 52 | exact (add_le_add h1 h2).trans_eq (by rw [pow_succ]; ring) |
| 53 | |
| 54 | theorem tame_transportCommutator (A : SmoothL2Field Space) (m : ℕ) (hm : 3 ≤ m) |
| 55 | (M N : ℝ) (hM : WordBound 3 M A) (hN : WordBound m N A) |
| 56 | {n : ℕ} (hn : n ≤ m) (w : Fin n → Fin 3) : |
| 57 | ‖(transportCommutator A A w).toLp‖ ≤ |
| 58 | 3*((2 : ℝ)^n-1)*h3ProductConstant*M*N := by |
| 59 | simpa only [wordField_zero] using tame_transportCommutator_word A m hm M N hM hN |
| 60 | (by simpa only [Nat.add_zero] using hn) w Fin.elim0 |
| 61 | |
| 62 | def eulerRhs (A P : SmoothL2Field Space) : SmoothL2Field Space := |
| 63 | fieldNeg (addField (advectionField A A) P) |
| 64 | |
| 65 | theorem eulerRhs_field (A P : SmoothL2Field Space) (x : Space) : |
| 66 | (eulerRhs A P).field x = -fderiv ℝ A.field x (A.field x)-P.field x := by |
| 67 | simp only [eulerRhs,fieldNeg_field,addField_field,advectionField_field] |
| 68 | abel |
| 69 | |
| 70 | theorem eulerRhs_pairing (A P : SmoothL2Field Space) |
| 71 | (hdiv : ∀ x, divergence A.field x=0) |
| 72 | (hA : A.toLp ∈ solenoidalSpace) (hP : P.toLp ∈ gradientSpace) |
| 73 | {n : ℕ} (w : Fin n → Fin 3) : |
| 74 | ⟪(wordField A w).toLp,(wordField (eulerRhs A P) w).toLp⟫_ℝ = |
| 75 | -⟪(transportCommutator A A w).toLp,(wordField A w).toLp⟫_ℝ := by |
| 76 | have ht : ⟪(wordField A w).toLp,(wordField (advectionField A A) w).toLp⟫_ℝ = |
| 77 | ⟪(transportCommutator A A w).toLp,(wordField A w).toLp⟫_ℝ := by |
| 78 | rw [real_inner_comm,transportCommutator,toLp_fieldSub,inner_sub_left, |
| 79 | advection_inner_zero A (wordField A w) hdiv,sub_zero] |
| 80 | have hp : ⟪(wordField A w).toLp,(wordField P w).toLp⟫_ℝ=0 := by |
| 81 | rw [real_inner_comm] |
| 82 | exact word_pressure_pairing_zero P A hP hA w |
| 83 | simp only [eulerRhs,wordField_neg,wordField_add,toLp_fieldNeg,toLp_addField, |
| 84 | inner_neg_right,inner_add_right,ht,hp,add_zero] |
| 85 | |
| 86 | def tameEnergyConstant (m : ℕ) : ℝ := |
| 87 | 6*h3ProductConstant*(∑ n ∈ range (m+1), (6 : ℝ)^n) |
| 88 | |
| 89 | theorem tameEnergyConstant_nonneg (m : ℕ) : 0 ≤ tameEnergyConstant m := |
| 90 | mul_nonneg (mul_nonneg (by norm_num) h3ProductConstant_nonneg) |
| 91 | (sum_nonneg (fun _ _ => by positivity)) |
| 92 | |
| 93 | def integerEnergyProduction (m : ℕ) (A Q : SmoothL2Field Space) : ℝ := |
| 94 | 2*(∑ n ∈ range (m+1), ∑ w : Fin n → Fin 3, |
| 95 | ⟪(wordField A w).toLp,(wordField Q w).toLp⟫_ℝ) |
| 96 | |
| 97 | theorem eulerRhs_word_tame (A P : SmoothL2Field Space) (m : ℕ) (hm : 3 ≤ m) |
| 98 | (M : ℝ) (hM : WordBound 3 M A) (hdiv : ∀ x, divergence A.field x=0) |
| 99 | (hA : A.toLp ∈ solenoidalSpace) (hP : P.toLp ∈ gradientSpace) |
| 100 | {n : ℕ} (hn : n ≤ m) (w : Fin n → Fin 3) : |
| 101 | ⟪(wordField A w).toLp,(wordField (eulerRhs A P) w).toLp⟫_ℝ ≤ |
| 102 | 3*(2 : ℝ)^n*h3ProductConstant*M*wordEnergy m A := by |
| 103 | let X := Real.sqrt (wordEnergy m A) |
| 104 | have hx : X^2=wordEnergy m A := Real.sq_sqrt (wordEnergy_nonneg m A) |
| 105 | have hN : WordBound m X A := wordBound_sqrt_energy m A |
| 106 | have hb := tame_transportCommutator A m hm M X hM hN hn w |
| 107 | have hM0 := wordBound_nonneg hM |
| 108 | have hX : 0 ≤ X := Real.sqrt_nonneg _ |
| 109 | have hc := h3ProductConstant_nonneg |
| 110 | have hb' : ‖(transportCommutator A A w).toLp‖ ≤ 3*(2 : ℝ)^n*h3ProductConstant*M*X := by |
| 111 | apply hb.trans |
| 112 | have hcoef : 3*((2 : ℝ)^n-1) ≤ 3*(2 : ℝ)^n := by linarith |
| 113 | exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right |
| 114 | (mul_le_mul_of_nonneg_right hcoef hc) hM0) hX |
| 115 | rw [eulerRhs_pairing A P hdiv hA hP w] |
| 116 | calc |
| 117 | _ ≤ |⟪(transportCommutator A A w).toLp,(wordField A w).toLp⟫_ℝ| := neg_le_abs _ |
| 118 | _ ≤ ‖(transportCommutator A A w).toLp‖*‖(wordField A w).toLp‖ := abs_real_inner_le_norm _ _ |
| 119 | _ ≤ (3*(2 : ℝ)^n*h3ProductConstant*M*X)*X := |
| 120 | mul_le_mul hb' (hN n hn w) (norm_nonneg _) (by positivity) |
| 121 | _ = 3*(2 : ℝ)^n*h3ProductConstant*M*wordEnergy m A := by rw [← hx]; ring |
| 122 | |
| 123 | theorem integer_energy_tame (A P : SmoothL2Field Space) (m : ℕ) (hm : 3 ≤ m) |
| 124 | (M : ℝ) (hM : WordBound 3 M A) (hdiv : ∀ x, divergence A.field x=0) |
| 125 | (hA : A.toLp ∈ solenoidalSpace) (hP : P.toLp ∈ gradientSpace) : |
| 126 | integerEnergyProduction m A (eulerRhs A P) ≤ tameEnergyConstant m*M*wordEnergy m A := by |
| 127 | have hs : (∑ n ∈ range (m+1), ∑ w : Fin n → Fin 3, |
| 128 | ⟪(wordField A w).toLp,(wordField (eulerRhs A P) w).toLp⟫_ℝ) ≤ |
| 129 | ∑ n ∈ range (m+1), (3 : ℝ)^n*(3*(2 : ℝ)^n*h3ProductConstant*M*wordEnergy m A) := by |
| 130 | apply sum_le_sum |
| 131 | intro n hn |
| 132 | calc |
| 133 | _ ≤ ∑ _w : Fin n → Fin 3, 3*(2 : ℝ)^n*h3ProductConstant*M*wordEnergy m A := |
| 134 | sum_le_sum (fun w _ => eulerRhs_word_tame A P m hm M hM hdiv hA hP |
| 135 | (by have := mem_range.mp hn; omega) w) |
| 136 | _ = _ := by simp |
| 137 | have hp (n : ℕ) : (3 : ℝ)^n*(3*(2 : ℝ)^n*h3ProductConstant*M*wordEnergy m A) = |
| 138 | (6 : ℝ)^n*(3*h3ProductConstant*M*wordEnergy m A) := by |
| 139 | rw [show (6 : ℝ)=3*2 by norm_num,mul_pow] |
| 140 | ring |
| 141 | simp_rw [hp] at hs |
| 142 | rw [← sum_mul] at hs |
| 143 | exact (mul_le_mul_of_nonneg_left hs (by norm_num : (0 : ℝ) ≤ 2)).trans_eq |
| 144 | (by unfold tameEnergyConstant; ring) |
| 145 | |
| 146 | end EulerOrdinarySobolev |