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.H6NonlinearProduct |
| 2 | |
| 3 | /-! The actual transport forcing has the shifted Gevrey H⁶ estimate without a cutoff-plus-one loss. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerH6Nonlinear |
| 8 | |
| 9 | open MeasureTheory EulerSobolev EulerCylinderSobolev EulerCylinderAlgebra |
| 10 | EulerLiftedGradientSpace EulerMetricTransport EulerTransportDerivatives EulerVectorCylinder |
| 11 | EulerJetProductBounds EulerSpatialSobolevInverse EulerPacketWeights |
| 12 | open scoped ContDiff ENNReal Topology |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | section FiniteSums |
| 17 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 18 | |
| 19 | omit [Fact (0 < period)] in |
| 20 | theorem word_zero {n : ℕ} (w : Fin n → Fin 4) : |
| 21 | iteratedFieldDerivative period w (0 : LiftDomain period → F) = 0 := by |
| 22 | induction n with |
| 23 | | zero => rfl |
| 24 | | succ n ih => |
| 25 | rw [iteratedFieldDerivative_succ, ih] |
| 26 | ext x |
| 27 | change fderiv ℝ (fun _ : LiftTangent => (0 : F)) 0 _ = 0 |
| 28 | simp |
| 29 | |
| 30 | @[simp] theorem wordSobolevNorm_zero_field (q n : ℕ) : |
| 31 | wordSobolevNorm period q n (0 : LiftDomain period → F) = 0 := by |
| 32 | simp [wordSobolevNorm, liftSobolevNorm, word_zero] |
| 33 | |
| 34 | omit [Fact (0 < period)] in |
| 35 | theorem smooth_sum {α : Type*} (s : Finset α) (f : α → LiftDomain period → F) |
| 36 | (hf : ∀ i ∈ s, ∀ x, ContDiff ℝ ∞ (localFieldLift period (f i) x)) : |
| 37 | ∀ x, ContDiff ℝ ∞ (localFieldLift period (∑ i ∈ s, f i) x) := by |
| 38 | intro x |
| 39 | have he : localFieldLift period (∑ i ∈ s, f i) x = |
| 40 | fun y => ∑ i ∈ s, localFieldLift period (f i) x y := by |
| 41 | funext y |
| 42 | simp [localFieldLift] |
| 43 | rw [he] |
| 44 | exact ContDiff.sum (fun i hi => hf i hi x) |
| 45 | |
| 46 | omit [Fact (0 < period)] in |
| 47 | theorem word_sum {α : Type*} (s : Finset α) (f : α → LiftDomain period → F) |
| 48 | (hf : ∀ i ∈ s, ∀ x, ContDiff ℝ ∞ (localFieldLift period (f i) x)) |
| 49 | {n : ℕ} (w : Fin n → Fin 4) : |
| 50 | iteratedFieldDerivative period w (∑ i ∈ s, f i) = |
| 51 | ∑ i ∈ s, iteratedFieldDerivative period w (f i) := by |
| 52 | classical |
| 53 | induction s using Finset.induction_on with |
| 54 | | empty => simp [word_zero] |
| 55 | | @insert a s ha ih => |
| 56 | rw [Finset.sum_insert ha, Finset.sum_insert ha, |
| 57 | word_add period w (f a) (∑ i ∈ s, f i) (hf a (Finset.mem_insert_self ..)) |
| 58 | (smooth_sum period s f (fun i hi => hf i (Finset.mem_insert_of_mem hi))), |
| 59 | ih (fun i hi => hf i (Finset.mem_insert_of_mem hi))] |
| 60 | |
| 61 | theorem sum_all_memLp {α : Type*} (s : Finset α) (f : α → LiftDomain period → F) |
| 62 | (hf : ∀ i ∈ s, ∀ x, ContDiff ℝ ∞ (localFieldLift period (f i) x)) |
| 63 | (hfL2 : ∀ i ∈ s, ∀ j, ∀ w : Fin j → Fin 4, |
| 64 | MemLp (iteratedFieldDerivative period w (f i)) 2 (liftMeasure period)) : |
| 65 | ∀ j, ∀ w : Fin j → Fin 4, |
| 66 | MemLp (iteratedFieldDerivative period w (∑ i ∈ s, f i)) 2 (liftMeasure period) := by |
| 67 | intro j w |
| 68 | rw [word_sum period s f hf w] |
| 69 | exact memLp_finsetSum' s (fun i hi => hfL2 i hi j w) |
| 70 | |
| 71 | theorem wordSobolevNorm_sum_le {α : Type*} (s : Finset α) (q n : ℕ) |
| 72 | (f : α → LiftDomain period → F) |
| 73 | (hf : ∀ i ∈ s, ∀ x, ContDiff ℝ ∞ (localFieldLift period (f i) x)) |
| 74 | (hfL2 : ∀ i ∈ s, ∀ j, ∀ w : Fin j → Fin 4, |
| 75 | MemLp (iteratedFieldDerivative period w (f i)) 2 (liftMeasure period)) : |
| 76 | wordSobolevNorm period q n (∑ i ∈ s, f i) ≤ ∑ i ∈ s, wordSobolevNorm period q n (f i) := by |
| 77 | classical |
| 78 | induction s using Finset.induction_on with |
| 79 | | empty => simp |
| 80 | | @insert a s ha ih => |
| 81 | rw [Finset.sum_insert ha, Finset.sum_insert ha] |
| 82 | exact (wordSobolevNorm_add_le period q n (f a) (∑ i ∈ s, f i) |
| 83 | (hf a (Finset.mem_insert_self ..)) (smooth_sum period s f (fun i hi => hf i (Finset.mem_insert_of_mem hi))) |
| 84 | (hfL2 a (Finset.mem_insert_self ..)) (sum_all_memLp period s f |
| 85 | (fun i hi => hf i (Finset.mem_insert_of_mem hi)) (fun i hi => hfL2 i (Finset.mem_insert_of_mem hi)))).trans |
| 86 | (add_le_add le_rfl (ih (fun i hi => hf i (Finset.mem_insert_of_mem hi)) |
| 87 | (fun i hi => hfL2 i (Finset.mem_insert_of_mem hi)))) |
| 88 | |
| 89 | end FiniteSums |
| 90 | |
| 91 | section Postcomposition |
| 92 | variable {F G : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 93 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 94 | |
| 95 | theorem wordSobolevNorm_postcomp_le (q n : ℕ) (L : F →L[ℝ] G) (hL : ‖L‖ ≤ 1) |
| 96 | (f : LiftDomain period → F) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 97 | (hfL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) : |
| 98 | wordSobolevNorm period q n (L ∘ f) ≤ wordSobolevNorm period q n f := by |
| 99 | apply Finset.sum_le_sum |
| 100 | intro w _ |
| 101 | rw [EulerRealCylinder.iteratedFieldDerivative_postcomp period L w f hf] |
| 102 | exact postcomp_sobolevNorm_le period q L hL _ (iteratedFieldDerivative_smooth period w f hf) |
| 103 | (fun j _ v => word_all_memLp period w f hfL2 j v) |
| 104 | |
| 105 | end Postcomposition |
| 106 | |
| 107 | /-- Actual transport in the four cylinder coordinates; angle is the first coordinate. -/ |
| 108 | def transportField (q : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Domain q) : |
| 109 | LiftDomain period → Domain q := |
| 110 | ∑ i : Fin 4, (fun x => b x i • fieldDerivative period (standardDirection i) e x) |
| 111 | |
| 112 | theorem transport_all_memLp (q : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Domain q) |
| 113 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 114 | (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) |
| 115 | (hbL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w b) 2 (liftMeasure period)) |
| 116 | (heL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w e) 2 (liftMeasure period)) : |
| 117 | ∀ j, ∀ w : Fin j → Fin 4, |
| 118 | MemLp (iteratedFieldDerivative period w (transportField period q b e)) 2 (liftMeasure period) := by |
| 119 | apply sum_all_memLp period Finset.univ |
| 120 | · intro i _ x |
| 121 | exact (postcomp_smooth period (coordinate 4 i) b hb x).smul (fieldDerivative_smooth period _ e he x) |
| 122 | · intro i _ |
| 123 | exact product_all_memLp period q (coordinate 4 i ∘ b) _ |
| 124 | (postcomp_smooth period _ b hb) (fieldDerivative_smooth period _ e he) |
| 125 | (fun j w => postcomp_word_memLp period (show j ≤ j by omega) _ b hb (fun r _ v => hbL2 r v) w) |
| 126 | (derivative_all_memLp period e heL2 i) |
| 127 | |
| 128 | /-- The actual transport source has a single derivative on the transported H⁶ block. -/ |
| 129 | theorem transport_wordSobolevNorm_bound (q n : ℕ) |
| 130 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Domain q) |
| 131 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 132 | (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) |
| 133 | (hbL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w b) 2 (liftMeasure period)) |
| 134 | (heL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w e) 2 (liftMeasure period)) : |
| 135 | wordSobolevNorm period 6 n (transportField period q b e) ≤ |
| 136 | productConstant period q * leibnizConvolution |
| 137 | (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 (l + 1) e) n := by |
| 138 | have hbi (i : Fin 4) := postcomp_smooth period (coordinate 4 i) b hb |
| 139 | have hbiL2 (i : Fin 4) : ∀ j, ∀ w : Fin j → Fin 4, |
| 140 | MemLp (iteratedFieldDerivative period w (coordinate 4 i ∘ b)) 2 (liftMeasure period) := |
| 141 | fun j w => postcomp_word_memLp period (show j ≤ j by omega) _ b hb (fun r _ v => hbL2 r v) w |
| 142 | have hs := wordSobolevNorm_sum_le period Finset.univ 6 n |
| 143 | (fun i x => b x i • fieldDerivative period (standardDirection i) e x) |
| 144 | (fun i _ x => (hbi i x).smul (fieldDerivative_smooth period _ e he x)) |
| 145 | (fun i _ => product_all_memLp period q (coordinate 4 i ∘ b) _ (hbi i) |
| 146 | (fieldDerivative_smooth period _ e he) (hbiL2 i) (derivative_all_memLp period e heL2 i)) |
| 147 | apply hs.trans |
| 148 | calc |
| 149 | _ ≤ ∑ i : Fin 4, productConstant period q * leibnizConvolution |
| 150 | (fun l => wordSobolevNorm period 6 l b) |
| 151 | (fun l => wordSobolevNorm period 6 l (fieldDerivative period (standardDirection i) e)) n := by |
| 152 | apply Finset.sum_le_sum |
| 153 | intro i _ |
| 154 | have hp := product_wordSobolevNorm_bound period q n (coordinate 4 i ∘ b) _ (hbi i) |
| 155 | (fieldDerivative_smooth period _ e he) (hbiL2 i) (derivative_all_memLp period e heL2 i) |
| 156 | apply hp.trans |
| 157 | apply mul_le_mul_of_nonneg_left _ (productConstant_nonneg period q) |
| 158 | apply Finset.sum_le_sum |
| 159 | intro l _ |
| 160 | exact mul_le_mul_of_nonneg_right |
| 161 | (mul_le_mul_of_nonneg_left |
| 162 | (wordSobolevNorm_postcomp_le period 6 l (coordinate 4 i) (coordinate_norm_le 4 i) b hb hbL2) |
| 163 | (Nat.cast_nonneg _)) (wordSobolevNorm_nonneg period 6 (n-l) _) |
| 164 | _ = _ := by |
| 165 | rw [← Finset.mul_sum, sum_leibnizConvolution_right] |
| 166 | simp_rw [← wordSobolevNorm_succ] |
| 167 | |
| 168 | /-- Source18's transport forcing bound, with every velocity derivative at or below the cutoff N. -/ |
| 169 | theorem transport_shifted_weighted_bound (q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) |
| 170 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Domain q) |
| 171 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 172 | (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) |
| 173 | (hbL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w b) 2 (liftMeasure period)) |
| 174 | (heL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w e) 2 (liftMeasure period)) : |
| 175 | (∑ n ∈ Finset.range N, ((n+1 : ℕ) : ℝ) * weight ρ (n+1) * |
| 176 | wordSobolevNorm period 6 n (transportField period q b e)) ≤ |
| 177 | 2 * productConstant period q * |
| 178 | (∑ l ∈ Finset.range (N+1), weight ρ l * wordSobolevNorm period 6 l b) * |
| 179 | (∑ j ∈ Finset.range (N+1), (j : ℝ) * weight ρ j * wordSobolevNorm period 6 j e) := by |
| 180 | calc |
| 181 | _ ≤ ∑ n ∈ Finset.range N, ((n+1 : ℕ) : ℝ) * weight ρ (n+1) * |
| 182 | (productConstant period q * leibnizConvolution |
| 183 | (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 (l+1) e) n) := by |
| 184 | apply Finset.sum_le_sum |
| 185 | intro n _ |
| 186 | exact mul_le_mul_of_nonneg_left (transport_wordSobolevNorm_bound period q n b e hb he hbL2 heL2) |
| 187 | (mul_nonneg (Nat.cast_nonneg _) (weight_pos hρ _).le) |
| 188 | _ = productConstant period q * (∑ n ∈ Finset.range N, ∑ l ∈ Finset.range (n+1), |
| 189 | ((n+1 : ℕ) : ℝ) * weight ρ (n+1) * (n.choose l : ℝ) * |
| 190 | wordSobolevNorm period 6 l b * wordSobolevNorm period 6 (n-l+1) e) := by |
| 191 | simp only [leibnizConvolution, Finset.mul_sum] |
| 192 | apply Finset.sum_congr rfl |
| 193 | intro n _ |
| 194 | apply Finset.sum_congr rfl |
| 195 | intro l _ |
| 196 | ring |
| 197 | _ ≤ _ := by |
| 198 | have h := mul_le_mul_of_nonneg_left |
| 199 | (EulerWeightedConvolution.shifted_source_sum ρ hρ N |
| 200 | (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 l e) |
| 201 | (fun l => wordSobolevNorm_nonneg period 6 l b) (fun l => wordSobolevNorm_nonneg period 6 l e)) |
| 202 | (productConstant_nonneg period q) |
| 203 | simpa only [mul_assoc, mul_left_comm, mul_comm] using h |
| 204 | |
| 205 | end EulerH6Nonlinear |