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.PacketCylinderWeightedProduct |
| 2 | import Euler.PacketCylinderWeightedLinear |
| 3 | import Euler.PacketCylinderCoefficientBounds |
| 4 | import Euler.PacketCylinderHighPartBounds |
| 5 | |
| 6 | /-! A single coefficient cost bounds every elementary nonlinear packet term. -/ |
| 7 | |
| 8 | /-! ## From `Euler/PacketCylinderWeightedAdvection.lean` |
| 9 | |
| 10 | The text of `Euler/PacketCylinderWeightedAdvection.lean`, folded into this file, which was its only importer. -/ |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Same-radius normalized bounds for the literal slow and fast packet jet expressions. -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace EulerPacketCylinderField |
| 19 | |
| 20 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 21 | EulerPacketPointJets EulerPacketProfileRecursion EulerCylinderPathProduct |
| 22 | EulerCylinderScalarPrimitive EulerMeanCoefficients EulerParameterWordGevrey EulerGevrey |
| 23 | open scoped ContDiff |
| 24 | |
| 25 | namespace SpatialJetField |
| 26 | |
| 27 | variable {P T : ℝ} [Fact (0 < P)] {J K : Domain → VectorJet} |
| 28 | (G : SpatialJetField P T J) (H : SpatialJetField P T K) (hT : 0 ≤ T) |
| 29 | (g h b : C(Icc (0 : ℝ) T,ℝ)) |
| 30 | (hg : ∀ t, 0 < g t) (hh : ∀ t, 0 < h t) (hb : ∀ t, 0 < b t) |
| 31 | |
| 32 | theorem slowAdvection_normalized_bound |
| 33 | {inverse : Domain → Space →L[ℝ] Space} (F : MatrixCoefficient T inverse) |
| 34 | {R A B : ℝ} {d e : ℕ} |
| 35 | (hG : (G.field.normalized hT g hg).WordBound 6 R A d) |
| 36 | (hH : (H.field.normalized hT h hh).WordBound 6 R B e) |
| 37 | (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 38 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) |
| 39 | (hRF : sobolevCoefficientRadius (Fin 4) Rc ≤ R) |
| 40 | (hF : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath F.path) a‖ ≤ C*majorant Rc 0 n) |
| 41 | (c : ℝ) (hc : 0 ≤ c) (hprofile : ∀ t, |productProfileRatio g h b hb t| ≤ c) : |
| 42 | ((slowAdvection F G H).normalized hT b hb).WordBound 6 R |
| 43 | (c*(9*productBlockConstant P*(3*sobolevCoefficientAmplitude (Fin 4) 6 Rc C*A)*B)) |
| 44 | (d+e+1) := by |
| 45 | have hm := Field.WordBound.normalized_multiply hT hG F Rc C hRc hC hA hRF hF |
| 46 | have ham : 0 ≤ 3*sobolevCoefficientAmplitude (Fin 4) 6 Rc C*A := |
| 47 | mul_nonneg (mul_nonneg (by norm_num) |
| 48 | (sobolevCoefficientAmplitude_nonneg 6 Rc C hRc hC)) hA |
| 49 | have hs := Field.WordBound.normalized_spatialTransport hT hm hH hR ham hB c hc hprofile |
| 50 | exact hs.of_path_eq _ rfl |
| 51 | |
| 52 | theorem fastAdvection_normalized_bound |
| 53 | {normal : VectorField} (N : VectorCoefficient T normal) |
| 54 | {R A B : ℝ} {d e : ℕ} |
| 55 | (hG : (G.field.normalized hT g hg).WordBound 6 R A d) |
| 56 | (hH : (H.field.normalized hT h hh).WordBound 6 R B e) |
| 57 | (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 58 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) |
| 59 | (hRN : sobolevCoefficientRadius (Fin 4) Rc ≤ R) |
| 60 | (hN : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath N.path) a‖ ≤ C*majorant Rc 0 n) |
| 61 | (c : ℝ) (hc : 0 ≤ c) (hprofile : ∀ t, |productProfileRatio g h b hb t| ≤ c) : |
| 62 | ((fastAdvection N G H).normalized hT b hb).WordBound 6 R |
| 63 | (c*(3*productBlockConstant P*(3*sobolevCoefficientAmplitude (Fin 4) 6 Rc C*A)*B)) |
| 64 | (d+e+1) := by |
| 65 | have hm := Field.WordBound.normalized_multiply hT hG N.normalMatrix Rc C hRc hC hA hRN |
| 66 | (N.normalMatrix_bound Rc C hN) |
| 67 | have hd := Field.WordBound.normalized_derivative hT hH 0 |
| 68 | have ham : 0 ≤ 3*sobolevCoefficientAmplitude (Fin 4) 6 Rc C*A := |
| 69 | mul_nonneg (mul_nonneg (by norm_num) |
| 70 | (sobolevCoefficientAmplitude_nonneg 6 Rc C hRc hC)) hA |
| 71 | have hs := Field.WordBound.normalized_scalarProduct hT hm hd scalarProject |
| 72 | (le_of_eq scalarProject_norm) hR ham hB c hc hprofile |
| 73 | have he := hs.of_path_eq ((fastAdvection N G H).normalized hT b hb) rfl |
| 74 | simpa only [Nat.add_assoc] using he |
| 75 | |
| 76 | end SpatialJetField |
| 77 | |
| 78 | namespace Field |
| 79 | |
| 80 | variable {P T : ℝ} [Fact (0 < P)] (hT : 0 ≤ T) |
| 81 | (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 82 | |
| 83 | theorem WordBound.normalized_slowPressure |
| 84 | {inverse : Domain → Space →L[ℝ] Space} (F : MatrixCoefficient T inverse) |
| 85 | (p : ScalarField) (G : Field P T (pressureGradient p)) |
| 86 | {q d : ℕ} {R A : ℝ} (hG : (G.normalized hT g hg).WordBound q R A d) |
| 87 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) |
| 88 | (hRF : sobolevCoefficientRadius (Fin 4) Rc ≤ R) |
| 89 | (hF : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath F.path) a‖ ≤ C*majorant Rc 0 n) : |
| 90 | ((slowPressure F p G).normalized hT g hg).WordBound q R |
| 91 | (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*A) d := by |
| 92 | have hm := WordBound.normalized_multiply hT hG F.adjoint Rc C hRc hC hA hRF |
| 93 | (F.adjoint_bound Rc C hF) |
| 94 | exact hm.of_path_eq _ rfl |
| 95 | |
| 96 | theorem WordBound.normalized_linearPart |
| 97 | {strain : Domain → Space →L[ℝ] Space} (M : MatrixCoefficient T strain) |
| 98 | {raw raw_t : VectorField} (G : Field P T raw) (H : Field P T raw_t) |
| 99 | (hTpos : 0 < T) (hd : TimeDerivative hTpos.le G H) |
| 100 | (s : Set ℝ) (hs : s = Icc (0 : ℝ) T) |
| 101 | {q d : ℕ} {R A B : ℝ} |
| 102 | (hG : (G.normalized hT g hg).WordBound q R A d) |
| 103 | (hH : (H.normalized hT g hg).WordBound q R B d) |
| 104 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) |
| 105 | (hRM : sobolevCoefficientRadius (Fin 4) Rc ≤ R) |
| 106 | (hM : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath M.path) a‖ ≤ C*majorant Rc 0 n) : |
| 107 | ((linearPart M G H hTpos hd s hs).normalized hT g hg).WordBound q R |
| 108 | (B+3*sobolevCoefficientAmplitude (Fin 4) q Rc C*A) d := by |
| 109 | have hm := WordBound.normalized_multiply hT hG M Rc C hRc hC hA hRM hM |
| 110 | have ha := WordBound.normalized_add hT hH hm |
| 111 | exact ha.of_path_eq _ rfl |
| 112 | |
| 113 | end Field |
| 114 | end EulerPacketCylinderField |
| 115 | end |
| 116 | |
| 117 | end |
| 118 | |
| 119 | noncomputable section |
| 120 | |
| 121 | namespace EulerPacketCylinderField |
| 122 | |
| 123 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 124 | EulerMeanCoefficients EulerParameterWordGevrey EulerGevrey EulerCylinderPathProduct |
| 125 | open scoped ContDiff |
| 126 | |
| 127 | variable {P T : ℝ} [Fact (0 < P)] {O : Operators} |
| 128 | |
| 129 | structure CoefficientBudget (C : CoefficientData P T O) where |
| 130 | Rc : ℝ |
| 131 | amplitude : ℝ |
| 132 | Rc_nonneg : 0 ≤ Rc |
| 133 | amplitude_nonneg : 0 ≤ amplitude |
| 134 | inverse_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath C.inverse.path) a‖ ≤ |
| 135 | amplitude*majorant Rc 0 n |
| 136 | strain_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath C.strain.path) a‖ ≤ |
| 137 | amplitude*majorant Rc 0 n |
| 138 | normal_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath C.normal.path) a‖ ≤ |
| 139 | amplitude*majorant Rc 0 n |
| 140 | |
| 141 | namespace CoefficientBudget |
| 142 | |
| 143 | variable {C : CoefficientData P T O} (B : CoefficientBudget C) |
| 144 | |
| 145 | def multiplierCost : ℝ := 3*sobolevCoefficientAmplitude (Fin 4) 6 B.Rc B.amplitude |
| 146 | def slowCost : ℝ := 9*productBlockConstant P*B.multiplierCost |
| 147 | def fastCost : ℝ := 3*productBlockConstant P*B.multiplierCost |
| 148 | def linearCost : ℝ := 1+B.multiplierCost |
| 149 | def termCost : ℝ := 2*(1+B.multiplierCost+B.slowCost) |
| 150 | |
| 151 | omit [Fact (0 < P)] in |
| 152 | theorem multiplierCost_nonneg : 0 ≤ B.multiplierCost := |
| 153 | mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg 6 B.Rc B.amplitude |
| 154 | B.Rc_nonneg B.amplitude_nonneg) |
| 155 | |
| 156 | theorem slowCost_nonneg : 0 ≤ B.slowCost := |
| 157 | mul_nonneg (mul_nonneg (by norm_num) (productBlockConstant_nonneg P)) B.multiplierCost_nonneg |
| 158 | |
| 159 | theorem fastCost_nonneg : 0 ≤ B.fastCost := |
| 160 | mul_nonneg (mul_nonneg (by norm_num) (productBlockConstant_nonneg P)) B.multiplierCost_nonneg |
| 161 | |
| 162 | theorem fastCost_le_slowCost : B.fastCost ≤ B.slowCost := by |
| 163 | unfold fastCost slowCost |
| 164 | exact mul_le_mul_of_nonneg_right |
| 165 | (mul_le_mul_of_nonneg_right (by norm_num : (3 : ℝ) ≤ 9) (productBlockConstant_nonneg P)) |
| 166 | B.multiplierCost_nonneg |
| 167 | |
| 168 | omit [Fact (0 < P)] in |
| 169 | theorem linearCost_nonneg : 0 ≤ B.linearCost := add_nonneg zero_le_one B.multiplierCost_nonneg |
| 170 | |
| 171 | theorem termCost_nonneg : 0 ≤ B.termCost := by |
| 172 | have hm := B.multiplierCost_nonneg |
| 173 | have hs := B.slowCost_nonneg |
| 174 | unfold termCost |
| 175 | positivity |
| 176 | |
| 177 | theorem one_le_termCost : 1 ≤ B.termCost := by |
| 178 | have hm := B.multiplierCost_nonneg |
| 179 | have hs := B.slowCost_nonneg |
| 180 | unfold termCost |
| 181 | linarith |
| 182 | |
| 183 | theorem twice_slowCost_le : 2*B.slowCost ≤ B.termCost := by |
| 184 | have hm := B.multiplierCost_nonneg |
| 185 | unfold termCost |
| 186 | linarith |
| 187 | |
| 188 | theorem twice_fastCost_le : 2*B.fastCost ≤ B.termCost := |
| 189 | (mul_le_mul_of_nonneg_left B.fastCost_le_slowCost (by norm_num)).trans B.twice_slowCost_le |
| 190 | |
| 191 | theorem twice_linearCost_le : 2*B.linearCost ≤ B.termCost := by |
| 192 | have hs := B.slowCost_nonneg |
| 193 | unfold termCost linearCost |
| 194 | linarith |
| 195 | |
| 196 | theorem twice_multiplierCost_le : 2*B.multiplierCost ≤ B.termCost := by |
| 197 | have hs := B.slowCost_nonneg |
| 198 | unfold termCost |
| 199 | linarith |
| 200 | |
| 201 | variable {J K : Domain → VectorJet} (G : SpatialJetField P T J) (H : SpatialJetField P T K) |
| 202 | (hT : 0 ≤ T) (g h b : C(Icc (0 : ℝ) T,ℝ)) |
| 203 | (hg : ∀ t, 0 < g t) (hh : ∀ t, 0 < h t) (hb : ∀ t, 0 < b t) |
| 204 | |
| 205 | theorem slow_bound {R : ℝ} {d e : ℕ} |
| 206 | (hG : (G.field.normalized hT g hg).WordBound 6 R 1 d) |
| 207 | (hH : (H.field.normalized hT h hh).WordBound 6 R 1 e) |
| 208 | (hR : 0 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) B.Rc ≤ R) |
| 209 | (hp : ∀ t, g t*h t ≤ b t) : |
| 210 | ((SpatialJetField.slowAdvection C.inverse G H).normalized hT b hb).WordBound 6 R |
| 211 | B.slowCost (d+e+1) := by |
| 212 | have hbound := G.slowAdvection_normalized_bound H hT g h b hg hh hb C.inverse hG hH |
| 213 | hR zero_le_one zero_le_one B.Rc B.amplitude B.Rc_nonneg B.amplitude_nonneg hRc |
| 214 | B.inverse_bound 1 zero_le_one |
| 215 | (productProfileRatio_abs_le g h b (fun t => (hg t).le) (fun t => (hh t).le) hb 1 |
| 216 | (by simpa only [one_mul] using hp)) |
| 217 | simpa only [one_mul,mul_one,slowCost,multiplierCost] using hbound |
| 218 | |
| 219 | theorem fast_bound {R : ℝ} {d e : ℕ} |
| 220 | (hG : (G.field.normalized hT g hg).WordBound 6 R 1 d) |
| 221 | (hH : (H.field.normalized hT h hh).WordBound 6 R 1 e) |
| 222 | (hR : 0 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) B.Rc ≤ R) |
| 223 | (hp : ∀ t, g t*h t ≤ b t) : |
| 224 | ((SpatialJetField.fastAdvection C.normal G H).normalized hT b hb).WordBound 6 R |
| 225 | B.fastCost (d+e+1) := by |
| 226 | have hbound := G.fastAdvection_normalized_bound H hT g h b hg hh hb C.normal hG hH |
| 227 | hR zero_le_one zero_le_one B.Rc B.amplitude B.Rc_nonneg B.amplitude_nonneg hRc |
| 228 | B.normal_bound 1 zero_le_one |
| 229 | (productProfileRatio_abs_le g h b (fun t => (hg t).le) (fun t => (hh t).le) hb 1 |
| 230 | (by simpa only [one_mul] using hp)) |
| 231 | simpa only [one_mul,mul_one,fastCost,multiplierCost] using hbound |
| 232 | |
| 233 | end CoefficientBudget |
| 234 | end EulerPacketCylinderField |