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.OrdinaryGradientProducts |
| 2 | import Euler.OrdinaryTameEnergy |
| 3 | |
| 4 | /-! Sharp H³ transport energy with the actual L-infinity norm of the |
| 5 | velocity gradient. The pressure and undifferentiated transport cancel |
| 6 | before the cubic-test interpolation estimate is used. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerOrdinarySobolev |
| 11 | |
| 12 | open MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal Finset |
| 14 | |
| 15 | theorem gradientSup_advection_outer (A : SmoothL2Field Space) (K N : ℝ) |
| 16 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hN : WordBound 3 N A) |
| 17 | {n k l : ℕ} (hk : 1 ≤ k) (horder : n+k+l ≤ 3) |
| 18 | (a : Fin n → Fin 3) (w : Fin k → Fin 3) (v : Fin l → Fin 3) : |
| 19 | ‖(wordField (advectionField (wordField A w) (wordField A v)) a).toLp‖ ≤ |
| 20 | 27*(2 : ℝ)^n*K*N := by |
| 21 | rw [advectionField,wordField_sum,toLp_sumField] |
| 22 | apply (norm_sum_le _ _).trans |
| 23 | calc |
| 24 | _ ≤ ∑ _i : Fin 3, (2 : ℝ)^n*9*K*N := by |
| 25 | apply sum_le_sum |
| 26 | intro i _ |
| 27 | simpa only [wordField_cons] using gradient_tame_outer_product A K N hK hN hk |
| 28 | (by omega : 1 ≤ l+1) (by omega : n+k+(l+1) ≤ 4) a w (Fin.cons i v) i |
| 29 | _ = _ := by simp only [sum_const,card_univ,Fintype.card_fin,nsmul_eq_mul]; ring |
| 30 | |
| 31 | theorem gradient_transportCommutator_word (A : SmoothL2Field Space) (K N : ℝ) |
| 32 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hN : WordBound 3 N A) |
| 33 | {n l : ℕ} (horder : n+l ≤ 3) (a : Fin n → Fin 3) (v : Fin l → Fin 3) : |
| 34 | ‖(transportCommutator A (wordField A v) a).toLp‖ ≤ |
| 35 | 27*((2 : ℝ)^n-1)*K*N := by |
| 36 | induction n generalizing l with |
| 37 | | zero => simp only [transportCommutator_zero,norm_zero,pow_zero,sub_self,mul_zero,zero_mul,le_refl] |
| 38 | | succ n ih => |
| 39 | have he : transportCommutator A (wordField A v) a = |
| 40 | addField |
| 41 | (wordField (advectionField (A.directionalField (axis (a (Fin.last n)))) (wordField A v)) (Fin.init a)) |
| 42 | (transportCommutator A (wordField A (Fin.cons (a (Fin.last n)) v)) (Fin.init a)) := by |
| 43 | simpa only [Fin.snoc_init_self,wordField_cons] using |
| 44 | transportCommutator_snoc A (wordField A v) (Fin.init a) (a (Fin.last n)) |
| 45 | rw [he,toLp_addField] |
| 46 | apply (norm_add_le _ _).trans |
| 47 | have h1 := gradientSup_advection_outer A K N hK hN (by norm_num : 1 ≤ 1) |
| 48 | (by omega : n+1+l ≤ 3) (Fin.init a) (Fin.cons (a (Fin.last n)) Fin.elim0) v |
| 49 | have h2 := ih (by omega : n+(l+1) ≤ 3) (Fin.init a) (Fin.cons (a (Fin.last n)) v) |
| 50 | simp only [wordField_cons,wordField_zero] at h1 |
| 51 | exact (add_le_add h1 h2).trans_eq (by rw [pow_succ]; ring) |
| 52 | |
| 53 | theorem gradient_transportCommutator (A : SmoothL2Field Space) (K N : ℝ) |
| 54 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hN : WordBound 3 N A) |
| 55 | {n : ℕ} (hn : n ≤ 3) (w : Fin n → Fin 3) : |
| 56 | ‖(transportCommutator A A w).toLp‖ ≤ 27*((2 : ℝ)^n-1)*K*N := by |
| 57 | simpa only [wordField_zero] using gradient_transportCommutator_word A K N hK hN |
| 58 | (by simpa only [Nat.add_zero] using hn) w Fin.elim0 |
| 59 | |
| 60 | def gradientEnergyConstant : ℝ := 54*(∑ n ∈ range 4, (6 : ℝ)^n) |
| 61 | |
| 62 | theorem gradientEnergyConstant_nonneg : 0 ≤ gradientEnergyConstant := by |
| 63 | exact mul_nonneg (by norm_num) (sum_nonneg (fun _ _ => by positivity)) |
| 64 | |
| 65 | theorem gradientEnergyConstant_eq : gradientEnergyConstant=13986 := by |
| 66 | norm_num [gradientEnergyConstant,sum_range_succ] |
| 67 | |
| 68 | theorem eulerRhs_word_gradient (A P : SmoothL2Field Space) (K : ℝ) |
| 69 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hdiv : ∀ x, divergence A.field x=0) |
| 70 | (hA : A.toLp ∈ solenoidalSpace) (hP : P.toLp ∈ gradientSpace) |
| 71 | {n : ℕ} (hn : n ≤ 3) (w : Fin n → Fin 3) : |
| 72 | ⟪(wordField A w).toLp,(wordField (eulerRhs A P) w).toLp⟫_ℝ ≤ |
| 73 | 27*(2 : ℝ)^n*K*wordEnergy 3 A := by |
| 74 | let X := Real.sqrt (wordEnergy 3 A) |
| 75 | have hx : X^2=wordEnergy 3 A := Real.sq_sqrt (wordEnergy_nonneg 3 A) |
| 76 | have hN : WordBound 3 X A := wordBound_sqrt_energy 3 A |
| 77 | have hb := gradient_transportCommutator A K X hK hN hn w |
| 78 | have hK0 : 0 ≤ K := (norm_nonneg (fderiv ℝ A.field 0)).trans (hK 0) |
| 79 | have hX : 0 ≤ X := Real.sqrt_nonneg _ |
| 80 | have hb' : ‖(transportCommutator A A w).toLp‖ ≤ 27*(2 : ℝ)^n*K*X := by |
| 81 | apply hb.trans |
| 82 | have hcoef : 27*((2 : ℝ)^n-1) ≤ 27*(2 : ℝ)^n := by linarith |
| 83 | exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hcoef hK0) hX |
| 84 | rw [eulerRhs_pairing A P hdiv hA hP w] |
| 85 | calc |
| 86 | _ ≤ |⟪(transportCommutator A A w).toLp,(wordField A w).toLp⟫_ℝ| := neg_le_abs _ |
| 87 | _ ≤ ‖(transportCommutator A A w).toLp‖*‖(wordField A w).toLp‖ := abs_real_inner_le_norm _ _ |
| 88 | _ ≤ (27*(2 : ℝ)^n*K*X)*X := |
| 89 | mul_le_mul hb' (hN n hn w) (norm_nonneg _) (by positivity) |
| 90 | _ = 27*(2 : ℝ)^n*K*wordEnergy 3 A := by rw [← hx]; ring |
| 91 | |
| 92 | theorem h3_energy_gradient (A P : SmoothL2Field Space) (K : ℝ) |
| 93 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hdiv : ∀ x, divergence A.field x=0) |
| 94 | (hA : A.toLp ∈ solenoidalSpace) (hP : P.toLp ∈ gradientSpace) : |
| 95 | integerEnergyProduction 3 A (eulerRhs A P) ≤ |
| 96 | gradientEnergyConstant*K*wordEnergy 3 A := by |
| 97 | have hs : (∑ n ∈ range 4, ∑ w : Fin n → Fin 3, |
| 98 | ⟪(wordField A w).toLp,(wordField (eulerRhs A P) w).toLp⟫_ℝ) ≤ |
| 99 | ∑ n ∈ range 4, (3 : ℝ)^n*(27*(2 : ℝ)^n*K*wordEnergy 3 A) := by |
| 100 | apply sum_le_sum |
| 101 | intro n hn |
| 102 | calc |
| 103 | _ ≤ ∑ _w : Fin n → Fin 3, 27*(2 : ℝ)^n*K*wordEnergy 3 A := |
| 104 | sum_le_sum (fun w _ => eulerRhs_word_gradient A P K hK hdiv hA hP |
| 105 | (by have := mem_range.mp hn; omega) w) |
| 106 | _ = _ := by simp |
| 107 | have hp (n : ℕ) : (3 : ℝ)^n*(27*(2 : ℝ)^n*K*wordEnergy 3 A) = |
| 108 | (6 : ℝ)^n*(27*K*wordEnergy 3 A) := by |
| 109 | rw [show (6 : ℝ)=3*2 by norm_num,mul_pow] |
| 110 | ring |
| 111 | simp_rw [hp] at hs |
| 112 | rw [← sum_mul] at hs |
| 113 | exact (mul_le_mul_of_nonneg_left hs (by norm_num : (0 : ℝ) ≤ 2)).trans_eq |
| 114 | (by unfold gradientEnergyConstant; ring) |
| 115 | |
| 116 | end EulerOrdinarySobolev |