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.HilbertCoerciveGevrey |
| 2 | import Euler.TransverseGramInverse |
| 3 | |
| 4 | /-! |
| 5 | # Factorial bounds for genuine operator-valued derivatives |
| 6 | |
| 7 | These estimates use actual iterated Fréchet derivatives and bounded linear or |
| 8 | bilinear maps. They transfer coefficient bounds to the time multipliers, |
| 9 | transported variational forms, and right sides of the constructed inverses. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | namespace EulerOperatorGevreyCalculus |
| 17 | |
| 18 | open ContinuousLinearMap EulerGevrey EulerTransverseGramInverse |
| 19 | |
| 20 | /-- Enlarging the radius enlarges the factorial majorant. -/ |
| 21 | theorem majorant_radius_mono (R S : ℝ) (hR : 0 ≤ R) (hRS : R ≤ S) (d n : ℕ) : |
| 22 | majorant R d n ≤ majorant S d n := by |
| 23 | exact mul_le_mul_of_nonneg_right (pow_le_pow_left₀ hR hRS (n+d)) (sq_nonneg _) |
| 24 | |
| 25 | section Normed |
| 26 | |
| 27 | variable {P E F G : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 28 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 29 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 30 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 31 | |
| 32 | /-- A constant field satisfies the order-zero multiplier bound. -/ |
| 33 | theorem const_bound (v : E) (R C : ℝ) (hR : 0 ≤ R) (hv : ‖v‖ ≤ C) |
| 34 | (n : ℕ) (x : P) : |
| 35 | ‖iteratedFDeriv ℝ n (fun _ : P => v) x‖ ≤ C * majorant R 0 n := by |
| 36 | cases n with |
| 37 | | zero => simpa only [norm_iteratedFDeriv_zero, majorant, Nat.add_zero, |
| 38 | pow_zero, Nat.factorial_zero, Nat.cast_one, one_pow, mul_one] using hv |
| 39 | | succ n => |
| 40 | rw [iteratedFDeriv_succ_const, Pi.zero_apply, norm_zero] |
| 41 | exact mul_nonneg ((norm_nonneg v).trans hv) (majorant_nonneg R hR 0 (n+1)) |
| 42 | |
| 43 | /-- Bounded linear maps preserve every factorial shift. -/ |
| 44 | theorem linear_bound (L : E →L[ℝ] F) (f : P → E) (hf : ContDiff ℝ ∞ f) |
| 45 | (R A : ℝ) (d : ℕ) |
| 46 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ A * majorant R d n) |
| 47 | (n : ℕ) (x : P) : |
| 48 | ‖iteratedFDeriv ℝ n (fun y => L (f y)) x‖ ≤ (‖L‖*A) * majorant R d n := by |
| 49 | exact (L.norm_iteratedFDeriv_comp_left hf.contDiffAt (by simp)).trans |
| 50 | (by simpa only [mul_assoc] using mul_le_mul_of_nonneg_left (hb n x) (norm_nonneg L)) |
| 51 | |
| 52 | /-- A linear contraction does not enlarge a factorial multiplier constant. -/ |
| 53 | theorem contraction_bound (L : E →L[ℝ] F) (hL : ‖L‖ ≤ 1) |
| 54 | (f : P → E) (hf : ContDiff ℝ ∞ f) |
| 55 | (R A : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (d : ℕ) |
| 56 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ A * majorant R d n) |
| 57 | (n : ℕ) (x : P) : |
| 58 | ‖iteratedFDeriv ℝ n (fun y => L (f y)) x‖ ≤ A * majorant R d n := by |
| 59 | apply (linear_bound L f hf R A d hb n x).trans |
| 60 | exact mul_le_mul_of_nonneg_right |
| 61 | (by simpa only [one_mul] using mul_le_mul_of_nonneg_right hL hA) |
| 62 | (majorant_nonneg R hR d n) |
| 63 | |
| 64 | /-- The shifted product bound for any bilinear contraction. -/ |
| 65 | theorem bilinear_bound (B : E →L[ℝ] F →L[ℝ] G) (hB : ‖B‖ ≤ 1) |
| 66 | (f : P → E) (g : P → F) (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) |
| 67 | (R A C : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (hC : 0 ≤ C) (d e : ℕ) |
| 68 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ A * majorant R d n) |
| 69 | (hc : ∀ n x, ‖iteratedFDeriv ℝ n g x‖ ≤ C * majorant R e n) |
| 70 | (n : ℕ) (x : P) : |
| 71 | ‖iteratedFDeriv ℝ n (fun y => B (f y) (g y)) x‖ ≤ |
| 72 | (3*A*C) * majorant R (d+e) n := by |
| 73 | have hp := sequence_product_majorant R A C hR hA hC d e |
| 74 | (fun k => ‖iteratedFDeriv ℝ k f x‖) (fun k => ‖iteratedFDeriv ℝ k g x‖) |
| 75 | (fun k => by simpa only [abs_norm] using hb k x) |
| 76 | (fun k => by simpa only [abs_norm] using hc k x) n |
| 77 | exact (B.norm_iteratedFDeriv_le_of_bilinear_of_le_one hf hg x (by simp) hB).trans |
| 78 | ((le_abs_self _).trans (by simpa using hp)) |
| 79 | |
| 80 | /-- Actual operator application has the shifted factorial product bound. -/ |
| 81 | theorem clm_apply_bound (A : P → E →L[ℝ] F) (u : P → E) |
| 82 | (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) |
| 83 | (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (d e : ℕ) |
| 84 | (hcoeff : ∀ n x, ‖iteratedFDeriv ℝ n A x‖ ≤ C * majorant R d n) |
| 85 | (hfield : ∀ n x, ‖iteratedFDeriv ℝ n u x‖ ≤ D * majorant R e n) |
| 86 | (n : ℕ) (x : P) : |
| 87 | ‖iteratedFDeriv ℝ n (fun y => A y (u y)) x‖ ≤ |
| 88 | (3*C*D) * majorant R (d+e) n := |
| 89 | bilinear_bound (ContinuousLinearMap.id ℝ (E →L[ℝ] F)) norm_id_le |
| 90 | A u hA hu R C D hR hC hD d e hcoeff hfield n x |
| 91 | |
| 92 | /-- Composition of actual parameterized operators has the same product bound. -/ |
| 93 | theorem clm_comp_bound (A : P → F →L[ℝ] G) (B : P → E →L[ℝ] F) |
| 94 | (hA : ContDiff ℝ ∞ A) (hB : ContDiff ℝ ∞ B) |
| 95 | (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (d e : ℕ) |
| 96 | (hcoeff : ∀ n x, ‖iteratedFDeriv ℝ n A x‖ ≤ C * majorant R d n) |
| 97 | (hfield : ∀ n x, ‖iteratedFDeriv ℝ n B x‖ ≤ D * majorant R e n) |
| 98 | (n : ℕ) (x : P) : |
| 99 | ‖iteratedFDeriv ℝ n (fun y => (A y).comp (B y)) x‖ ≤ |
| 100 | (3*C*D) * majorant R (d+e) n := |
| 101 | bilinear_bound (ContinuousLinearMap.compL ℝ E F G) (norm_compL_le ℝ E F G) |
| 102 | A B hA hB R C D hR hC hD d e hcoeff hfield n x |
| 103 | |
| 104 | /-- Adding actual jets adds the multiplier constants. -/ |
| 105 | theorem add_bound (f g : P → E) (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) |
| 106 | (R A B : ℝ) (d : ℕ) |
| 107 | (ha : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ A * majorant R d n) |
| 108 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n g x‖ ≤ B * majorant R d n) |
| 109 | (n : ℕ) (x : P) : |
| 110 | ‖iteratedFDeriv ℝ n (fun y => f y + g y) x‖ ≤ (A+B) * majorant R d n := by |
| 111 | rw [fun_iteratedFDeriv_add_apply (hf.contDiffAt.of_le (by simp)) (hg.contDiffAt.of_le (by simp))] |
| 112 | exact (norm_add_le _ _).trans (by simpa only [add_mul] using add_le_add (ha n x) (hb n x)) |
| 113 | |
| 114 | /-- Subtracting actual jets adds the multiplier constants. -/ |
| 115 | theorem sub_bound (f g : P → E) (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) |
| 116 | (R A B : ℝ) (d : ℕ) |
| 117 | (ha : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ A * majorant R d n) |
| 118 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n g x‖ ≤ B * majorant R d n) |
| 119 | (n : ℕ) (x : P) : |
| 120 | ‖iteratedFDeriv ℝ n (fun y => f y - g y) x‖ ≤ (A+B) * majorant R d n := by |
| 121 | change ‖iteratedFDeriv ℝ n (f-g) x‖ ≤ _ |
| 122 | rw [iteratedFDeriv_sub_apply (hf.contDiffAt.of_le (by simp)) (hg.contDiffAt.of_le (by simp))] |
| 123 | exact (norm_sub_le _ _).trans (by simpa only [add_mul] using add_le_add (ha n x) (hb n x)) |
| 124 | |
| 125 | /-- Composition with a fixed operator on the right costs its operator norm. -/ |
| 126 | theorem clm_comp_const_right_bound (A : P → F →L[ℝ] G) (B : E →L[ℝ] F) |
| 127 | (hA : ContDiff ℝ ∞ A) (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (d : ℕ) |
| 128 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n A x‖ ≤ C * majorant R d n) |
| 129 | (n : ℕ) (x : P) : |
| 130 | ‖iteratedFDeriv ℝ n (fun y => (A y).comp B) x‖ ≤ (‖B‖*C) * majorant R d n := by |
| 131 | let L : (F →L[ℝ] G) →L[ℝ] (E →L[ℝ] G) := (compL ℝ E F G).flip B |
| 132 | have hL : ‖L‖ ≤ ‖B‖ := by |
| 133 | apply opNorm_le_bound _ (norm_nonneg B) |
| 134 | intro a |
| 135 | exact (opNorm_comp_le a B).trans_eq (mul_comm _ _) |
| 136 | exact (linear_bound L A hA R C d hb n x).trans |
| 137 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hL hC) (majorant_nonneg R hR d n)) |
| 138 | |
| 139 | /-- Composition with a fixed operator on the left costs its operator norm. -/ |
| 140 | theorem clm_comp_const_left_bound (A : F →L[ℝ] G) (B : P → E →L[ℝ] F) |
| 141 | (hB : ContDiff ℝ ∞ B) (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (d : ℕ) |
| 142 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n B x‖ ≤ C * majorant R d n) |
| 143 | (n : ℕ) (x : P) : |
| 144 | ‖iteratedFDeriv ℝ n (fun y => A.comp (B y)) x‖ ≤ (‖A‖*C) * majorant R d n := by |
| 145 | let L : (E →L[ℝ] F) →L[ℝ] (E →L[ℝ] G) := compL ℝ E F G A |
| 146 | have hL : ‖L‖ ≤ ‖A‖ := by |
| 147 | apply opNorm_le_bound _ (norm_nonneg A) |
| 148 | intro b |
| 149 | exact opNorm_comp_le A b |
| 150 | exact (linear_bound L B hB R C d hb n x).trans |
| 151 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hL hC) (majorant_nonneg R hR d n)) |
| 152 | |
| 153 | /-- Negating a field leaves all factorial bounds unchanged. -/ |
| 154 | theorem neg_bound (f : P → E) (R C : ℝ) (d : ℕ) |
| 155 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ C * majorant R d n) |
| 156 | (n : ℕ) (x : P) : |
| 157 | ‖iteratedFDeriv ℝ n (fun y => -f y) x‖ ≤ C * majorant R d n := by |
| 158 | change ‖iteratedFDeriv ℝ n (-f) x‖ ≤ _ |
| 159 | simpa only [iteratedFDeriv_neg_apply, norm_neg] using hb n x |
| 160 | |
| 161 | end Normed |
| 162 | |
| 163 | section Hilbert |
| 164 | |
| 165 | variable {P U E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 166 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 167 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 168 | |
| 169 | /-- Taking the actual Hilbert adjoint preserves the multiplier constant. -/ |
| 170 | theorem adjoint_bound (A : P → U →L[ℝ] E) (hA : ContDiff ℝ ∞ A) |
| 171 | (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (d : ℕ) |
| 172 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n A x‖ ≤ C * majorant R d n) |
| 173 | (n : ℕ) (x : P) : |
| 174 | ‖iteratedFDeriv ℝ n (fun y => (A y).adjoint) x‖ ≤ C * majorant R d n := by |
| 175 | have hL : ‖realAdjoint (U := U) (E := E)‖ ≤ 1 := by |
| 176 | apply opNorm_le_bound _ zero_le_one |
| 177 | intro a |
| 178 | change ‖a.adjoint‖ ≤ 1 * ‖a‖ |
| 179 | simp only [LinearIsometryEquiv.norm_map, one_mul, le_refl] |
| 180 | exact contraction_bound (P := P) (E := U →L[ℝ] E) (F := E →L[ℝ] U) |
| 181 | (realAdjoint (U := U) (E := E)) hL A hA R C hR hC d hb n x |
| 182 | |
| 183 | end Hilbert |
| 184 | |
| 185 | end EulerOperatorGevreyCalculus |