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.OrdinaryGradientInterpolation |
| 2 | import Euler.OrdinaryH3Products |
| 3 | |
| 4 | /-! Sharp H³ products controlled by the actual velocity gradient. |
| 5 | The only middle product is D²u D²u, handled by cubic testing. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinarySobolev |
| 10 | |
| 11 | open MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLpTranslation |
| 12 | EulerLpTranslation.SmoothL2Field EulerGevreyProductLp Finset |
| 13 | |
| 14 | theorem firstWord_pointwise_gradient (A : SmoothL2Field Space) (K : ℝ) |
| 15 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (w : Fin 1 → Fin 3) (x : Space) : |
| 16 | ‖(wordField A w).field x‖ ≤ K := by |
| 17 | change ‖fderiv ℝ A.field x (axis (w 0))‖ ≤ K |
| 18 | exact ((fderiv ℝ A.field x).le_opNorm _).trans |
| 19 | (by simpa only [axis_norm,mul_one] using hK x) |
| 20 | |
| 21 | theorem secondWord_square_gradient (A : SmoothL2Field Space) (K N : ℝ) |
| 22 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hN : WordBound 3 N A) |
| 23 | (w : Fin 2 → Fin 3) (i : Fin 3) : |
| 24 | ‖(scalarProduct (wordField (mapField (EuclideanSpace.proj i) A) w) |
| 25 | (wordField (mapField (EuclideanSpace.proj i) A) w)).toLp‖ ≤ 3*K*N := by |
| 26 | have hK0 : 0 ≤ K := (norm_nonneg (fderiv ℝ A.field 0)).trans (hK 0) |
| 27 | have hb (x : Space) : |
| 28 | ‖(wordField (mapField (EuclideanSpace.proj i) A) (Fin.tail w)).field x‖ ≤ K := by |
| 29 | rw [wordField_map,mapField_field] |
| 30 | exact (PiLp.norm_apply_le _ i).trans |
| 31 | (firstWord_pointwise_gradient A K hK (Fin.tail w) x) |
| 32 | have hs := directional_square_norm |
| 33 | (wordField (mapField (EuclideanSpace.proj i) A) (Fin.tail w)) (axis (w 0)) K hb |
| 34 | change ‖(scalarProduct (wordField (mapField (EuclideanSpace.proj i) A) w) |
| 35 | (wordField (mapField (EuclideanSpace.proj i) A) w)).toLp‖ ≤ |
| 36 | 3*K*‖((wordField (mapField (EuclideanSpace.proj i) A) w).directionalField (axis (w 0))).toLp‖ at hs |
| 37 | apply hs.trans |
| 38 | have hn := (wordBound_coordinate hN i) 3 le_rfl (Fin.cons (w 0) w) |
| 39 | rw [wordField_cons] at hn |
| 40 | exact mul_le_mul_of_nonneg_left hn (by positivity) |
| 41 | |
| 42 | theorem scalar_secondWord_product_gradient (A : SmoothL2Field Space) (K N : ℝ) |
| 43 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hN : WordBound 3 N A) |
| 44 | (w v : Fin 2 → Fin 3) (i j : Fin 3) : |
| 45 | ‖(scalarProduct (wordField (mapField (EuclideanSpace.proj i) A) w) |
| 46 | (wordField (mapField (EuclideanSpace.proj j) A) v)).toLp‖ ≤ 3*K*N := by |
| 47 | have hK0 : 0 ≤ K := (norm_nonneg (fderiv ℝ A.field 0)).trans (hK 0) |
| 48 | have hN0 := wordBound_nonneg hN |
| 49 | exact scalarProduct_norm_of_square_bounds _ _ _ (by positivity) |
| 50 | (secondWord_square_gradient A K N hK hN w i) |
| 51 | (secondWord_square_gradient A K N hK hN v j) |
| 52 | |
| 53 | theorem norm_le_sum_coordinates (x : Space) : ‖x‖ ≤ ∑ i : Fin 3, ‖x i‖ := by |
| 54 | have hx : (∑ i : Fin 3, x i • axis i)=x := by |
| 55 | ext j |
| 56 | simp [axis,Pi.single_apply,mul_ite] |
| 57 | calc |
| 58 | _ = ‖∑ i : Fin 3, x i • axis i‖ := congrArg norm hx.symm |
| 59 | _ ≤ ∑ i : Fin 3, ‖x i • axis i‖ := norm_sum_le _ _ |
| 60 | _ = _ := by simp only [norm_smul,axis_norm,mul_one] |
| 61 | |
| 62 | theorem secondWord_product_gradient (A : SmoothL2Field Space) (K N : ℝ) |
| 63 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hN : WordBound 3 N A) |
| 64 | (w v : Fin 2 → Fin 3) (i : Fin 3) : |
| 65 | ‖(coordinateProduct i (wordField A w) (wordField A v)).toLp‖ ≤ 9*K*N := by |
| 66 | let B := coordinateProduct i (wordField A w) (wordField A v) |
| 67 | let C := fun j : Fin 3 => scalarProduct |
| 68 | (wordField (mapField (EuclideanSpace.proj i) A) w) |
| 69 | (wordField (mapField (EuclideanSpace.proj j) A) v) |
| 70 | have hc (j : Fin 3) (x : Space) : (C j).field x=(B.field x) j := by |
| 71 | simp only [C,B,wordField_map,mapField_field,scalarProduct_field, |
| 72 | coordinateProduct_field,PiLp.smul_apply,smul_eq_mul] |
| 73 | rfl |
| 74 | have hn (j : Fin 3) : |
| 75 | (eLpNorm (fun x => ‖(C j).field x‖) 2 volume).toReal = ‖(C j).toLp‖ := by |
| 76 | rw [field_norm,eLpNorm_norm] |
| 77 | have h := (finite_domination (volume : Measure Space) univ B.field |
| 78 | B.memLp.aestronglyMeasurable (fun j x => ‖(C j).field x‖) |
| 79 | (fun j _ => (C j).memLp.norm) (fun x => by |
| 80 | simp only [hc] |
| 81 | exact norm_le_sum_coordinates (B.field x))).2 |
| 82 | change ‖B.toLp‖ ≤ 9*K*N |
| 83 | rw [field_norm] |
| 84 | apply h.trans |
| 85 | simp only [hn] |
| 86 | calc |
| 87 | _ ≤ ∑ _j : Fin 3, 3*K*N := sum_le_sum (fun j _ => |
| 88 | scalar_secondWord_product_gradient A K N hK hN w v i j) |
| 89 | _ = _ := by simp only [sum_const,card_univ,Fintype.card_fin,nsmul_eq_mul]; ring |
| 90 | |
| 91 | theorem coordinateProduct_gradient (A : SmoothL2Field Space) (K N : ℝ) |
| 92 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hN : WordBound 3 N A) |
| 93 | {k l : ℕ} (hk : 1 ≤ k) (hl : 1 ≤ l) (hkl : k+l ≤ 4) |
| 94 | (w : Fin k → Fin 3) (v : Fin l → Fin 3) (i : Fin 3) : |
| 95 | ‖(coordinateProduct i (wordField A w) (wordField A v)).toLp‖ ≤ 9*K*N := by |
| 96 | have hK0 : 0 ≤ K := (norm_nonneg (fderiv ℝ A.field 0)).trans (hK 0) |
| 97 | have hN0 := wordBound_nonneg hN |
| 98 | have hc : K*N ≤ 9*K*N := by nlinarith [mul_nonneg hK0 hN0] |
| 99 | by_cases hk1 : k=1 |
| 100 | · subst k |
| 101 | have hs (x : Space) : |
| 102 | ‖(mapField (EuclideanSpace.proj i) (wordField A w)).field x‖ ≤ K := |
| 103 | (PiLp.norm_apply_le _ i).trans (firstWord_pointwise_gradient A K hK w x) |
| 104 | exact ((scalarProduct_norm_left _ _ K hs).trans |
| 105 | (mul_le_mul_of_nonneg_left (hN l (by omega) v) hK0)).trans hc |
| 106 | by_cases hl1 : l=1 |
| 107 | · subst l |
| 108 | have hs := scalarProduct_norm_right |
| 109 | (mapField (EuclideanSpace.proj i) (wordField A w)) (wordField A v) K |
| 110 | (firstWord_pointwise_gradient A K hK v) |
| 111 | have hn := (wordBound_coordinate hN i) k (by omega) w |
| 112 | rw [wordField_map] at hn |
| 113 | exact (hs.trans (mul_le_mul_of_nonneg_left hn hK0)).trans hc |
| 114 | have hk2 : k=2 := by omega |
| 115 | have hl2 : l=2 := by omega |
| 116 | subst k |
| 117 | subst l |
| 118 | exact secondWord_product_gradient A K N hK hN w v i |
| 119 | |
| 120 | theorem gradient_tame_outer_product (A : SmoothL2Field Space) (K N : ℝ) |
| 121 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hN : WordBound 3 N A) |
| 122 | {n k l : ℕ} (hk : 1 ≤ k) (hl : 1 ≤ l) (horder : n+k+l ≤ 4) |
| 123 | (a : Fin n → Fin 3) (w : Fin k → Fin 3) (v : Fin l → Fin 3) (i : Fin 3) : |
| 124 | ‖(wordField (coordinateProduct i (wordField A w) (wordField A v)) a).toLp‖ ≤ |
| 125 | (2 : ℝ)^n*9*K*N := by |
| 126 | induction n generalizing k l with |
| 127 | | zero => |
| 128 | simpa only [wordField_zero,pow_zero,one_mul] using |
| 129 | coordinateProduct_gradient A K N hK hN hk hl (by omega) w v i |
| 130 | | succ n ih => |
| 131 | rw [word_coordinateProduct_recurrence,toLp_addField] |
| 132 | apply (norm_add_le _ _).trans |
| 133 | have h1 := ih (k := k+1) (l := l) (by omega) hl (by omega) |
| 134 | (Fin.init a) (Fin.cons (a (Fin.last n)) w) v |
| 135 | have h2 := ih (k := k) (l := l+1) hk (by omega) (by omega) |
| 136 | (Fin.init a) w (Fin.cons (a (Fin.last n)) v) |
| 137 | exact (add_le_add h1 h2).trans_eq (by rw [pow_succ]; ring) |
| 138 | |
| 139 | end EulerOrdinarySobolev |