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.OrdinaryWordBounds |
| 2 | import Euler.OrdinaryL2Integration |
| 3 | import Euler.NonnegativeLogConvex |
| 4 | |
| 5 | /-! Genuine L² interpolation of ordinary derivative words. Integration |
| 6 | by parts gives log-convexity of the largest norm at each order. This |
| 7 | yields endpoint product estimates without a change of Sobolev order. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerOrdinarySobolev |
| 12 | |
| 13 | open MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 14 | EulerLpTranslation EulerLpTranslation.SmoothL2Field Finset |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | def wordMaximum (n : ℕ) (A : SmoothL2Field Space) : ℝ := |
| 18 | (univ : Finset (Fin n → Fin 3)).sup' univ_nonempty (fun w => ‖(wordField A w).toLp‖) |
| 19 | |
| 20 | theorem word_norm_le_maximum (A : SmoothL2Field Space) {n : ℕ} (w : Fin n → Fin 3) : |
| 21 | ‖(wordField A w).toLp‖ ≤ wordMaximum n A := |
| 22 | le_sup' (fun v => ‖(wordField A v).toLp‖) (mem_univ w) |
| 23 | |
| 24 | theorem wordMaximum_nonneg (A : SmoothL2Field Space) (n : ℕ) : 0 ≤ wordMaximum n A := |
| 25 | (norm_nonneg _).trans (word_norm_le_maximum A (fun _ => 0 : Fin n → Fin 3)) |
| 26 | |
| 27 | theorem wordMaximum_le {A : SmoothL2Field Space} {s n : ℕ} {M : ℝ} |
| 28 | (h : WordBound s M A) (hn : n ≤ s) : wordMaximum n A ≤ M := |
| 29 | sup'_le univ_nonempty _ (fun w _ => h n hn w) |
| 30 | |
| 31 | theorem wordMaximum_logconvex (A : SmoothL2Field Space) (n : ℕ) : |
| 32 | (wordMaximum (n+1) A)^2 ≤ wordMaximum n A*wordMaximum (n+2) A := by |
| 33 | obtain ⟨w,_,hw⟩ := exists_mem_eq_sup' (univ_nonempty : |
| 34 | (univ : Finset (Fin (n+1) → Fin 3)).Nonempty) (fun w => ‖(wordField A w).toLp‖) |
| 35 | change wordMaximum (n+1) A=‖(wordField A w).toLp‖ at hw |
| 36 | rw [hw] |
| 37 | let B := wordField A (Fin.tail w) |
| 38 | let v := axis (w 0) |
| 39 | change ‖(B.directionalField v).toLp‖^2 ≤ _ |
| 40 | have he := field_directional_inner B (B.directionalField v) v |
| 41 | rw [real_inner_self_eq_norm_sq] at he |
| 42 | calc |
| 43 | _ = -⟪B.toLp,((B.directionalField v).directionalField v).toLp⟫_ℝ := he |
| 44 | _ ≤ |⟪B.toLp,((B.directionalField v).directionalField v).toLp⟫_ℝ| := neg_le_abs _ |
| 45 | _ ≤ ‖B.toLp‖*‖((B.directionalField v).directionalField v).toLp‖ := |
| 46 | abs_real_inner_le_norm _ _ |
| 47 | _ ≤ wordMaximum n A*wordMaximum (n+2) A := by |
| 48 | apply mul_le_mul (word_norm_le_maximum A (Fin.tail w)) _ (norm_nonneg _) |
| 49 | (wordMaximum_nonneg A n) |
| 50 | exact word_norm_le_maximum A (Fin.cons (w 0) (Fin.cons (w 0) (Fin.tail w))) |
| 51 | |
| 52 | theorem wordMaximum_product_le (A : SmoothL2Field Space) (m : ℕ) (M N : ℝ) |
| 53 | (hM : WordBound 3 M A) (hN : WordBound m N A) |
| 54 | {a b : ℕ} (ha : a ≤ m) (hb : b ≤ m) (hab : a+b ≤ m+3) : |
| 55 | wordMaximum a A*wordMaximum b A ≤ M*N := by |
| 56 | have hm := wordBound_nonneg hM |
| 57 | by_cases has : a ≤ 3 |
| 58 | · exact mul_le_mul (wordMaximum_le hM has) (wordMaximum_le hN hb) |
| 59 | (wordMaximum_nonneg A b) hm |
| 60 | by_cases hbs : b ≤ 3 |
| 61 | · rw [mul_comm (wordMaximum a A)] |
| 62 | exact mul_le_mul (wordMaximum_le hM hbs) (wordMaximum_le hN ha) |
| 63 | (wordMaximum_nonneg A a) hm |
| 64 | have he (c d : ℕ) (hcs : 3 ≤ c) (hcd : c ≤ d) (hcm : c+d ≤ m+3) : |
| 65 | wordMaximum c A*wordMaximum d A ≤ M*N := by |
| 66 | have h := EulerNonnegativeLogConvex.between (fun j => wordMaximum j A) |
| 67 | (wordMaximum_nonneg A) (wordMaximum_logconvex A) 3 c d hcs hcd |
| 68 | exact h.trans (mul_le_mul (wordMaximum_le hM (le_refl 3)) |
| 69 | (wordMaximum_le hN (by omega)) (wordMaximum_nonneg A _) hm) |
| 70 | rcases le_total a b with h | h |
| 71 | · exact he a b (by omega) h hab |
| 72 | · rw [mul_comm (wordMaximum a A)] |
| 73 | exact he b a (by omega) h (by omega) |
| 74 | |
| 75 | theorem wordMaximum_directional (A : SmoothL2Field Space) (n : ℕ) (i : Fin 3) : |
| 76 | wordMaximum n (A.directionalField (axis i)) ≤ wordMaximum (n+1) A := by |
| 77 | apply sup'_le |
| 78 | intro w _ |
| 79 | rw [← wordField_snoc] |
| 80 | exact word_norm_le_maximum A (Fin.snoc w i) |
| 81 | |
| 82 | theorem wordMaximum_wordField (A : SmoothL2Field Space) {k : ℕ} (w : Fin k → Fin 3) (n : ℕ) : |
| 83 | wordMaximum n (wordField A w) ≤ wordMaximum (n+k) A := by |
| 84 | induction k generalizing A with |
| 85 | | zero => simp only [wordField_zero,Nat.add_zero,le_refl] |
| 86 | | succ k ih => |
| 87 | have he : wordField A w=wordField (A.directionalField (axis (w (Fin.last k)))) (Fin.init w) := by |
| 88 | simpa only [Fin.snoc_init_self] using wordField_snoc A (Fin.init w) (w (Fin.last k)) |
| 89 | rw [he] |
| 90 | exact (ih _ _).trans (wordMaximum_directional A (n+k) (w (Fin.last k))) |
| 91 | |
| 92 | theorem jet_norm_le_wordMaximum (A : SmoothL2Field Space) (n : ℕ) : |
| 93 | ‖A.jetLp n‖ ≤ (3 : ℝ)^n*wordMaximum n A := by |
| 94 | apply (jet_norm_le_word_sum A n).trans |
| 95 | calc |
| 96 | _ ≤ ∑ _w : Fin n → Fin 3, wordMaximum n A := |
| 97 | sum_le_sum (fun w _ => word_norm_le_maximum A w) |
| 98 | _ = _ := by simp |
| 99 | |
| 100 | theorem wordField_jet_maximum (A : SmoothL2Field Space) {k : ℕ} (w : Fin k → Fin 3) (n : ℕ) : |
| 101 | ‖(wordField A w).jetLp n‖ ≤ (3 : ℝ)^n*wordMaximum (k+n) A := by |
| 102 | apply (jet_norm_le_wordMaximum (wordField A w) n).trans |
| 103 | simpa only [Nat.add_comm n k] using mul_le_mul_of_nonneg_left |
| 104 | (wordMaximum_wordField A w n) (by positivity : 0 ≤ (3 : ℝ)^n) |
| 105 | |
| 106 | theorem wordField_pointwise_maximum (A : SmoothL2Field Space) {k : ℕ} |
| 107 | (w : Fin k → Fin 3) (x : Space) : |
| 108 | ‖(wordField A w).field x‖ ≤ EulerSmoothSobolev.smoothEmbeddingConstant* |
| 109 | (∑ j ∈ range 3, (3 : ℝ)^j*wordMaximum (k+j) A) := |
| 110 | (real_pointwise_H2 (wordField A w) x).trans (mul_le_mul_of_nonneg_left |
| 111 | (sum_le_sum (fun j _ => wordField_jet_maximum A w j)) |
| 112 | EulerSmoothSobolev.smoothEmbeddingConstant_nonneg) |
| 113 | |
| 114 | end EulerOrdinarySobolev |