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 NavierStokes.AxisHolomorphic |
| 2 | import Mathlib.Analysis.Complex.LocallyUniformLimit |
| 3 | import NavierStokes.CauchyRestriction |
| 4 | import NavierStokes.HolomorphicFamilyAnalytic |
| 5 | |
| 6 | /-! # Joint real analyticity of the actual evaluated axis profiles |
| 7 | |
| 8 | A geometrically convergent radial series takes values in the Banach space of |
| 9 | holomorphic parameter-disk functions. Fixed-contour Cauchy evaluation gives |
| 10 | joint analyticity; termwise real agreement identifies the constructed profile. |
| 11 | -/ |
| 12 | |
| 13 | /-! ## From `NavierStokes/AxisAnalyticCoefficients.lean` |
| 14 | |
| 15 | The text of `NavierStokes/AxisAnalyticCoefficients.lean`, folded into this file, which was its only importer. -/ |
| 16 | |
| 17 | section |
| 18 | |
| 19 | /-! # Holomorphic radial coefficients with a common geometric bound -/ |
| 20 | |
| 21 | noncomputable section |
| 22 | |
| 23 | open Set Metric Filter Complex |
| 24 | open scoped Topology |
| 25 | open NavierStokes.AxisCoefficientSpace NavierStokes.AxisWeightEstimates |
| 26 | open NavierStokes.AxisEvaluation NavierStokes.AxisHolomorphic |
| 27 | |
| 28 | namespace NavierStokes.AxisJointAnalytic |
| 29 | |
| 30 | def coefficientJet (I : Window) (ε : ℝ) (A : AxisSpace I ε) (n m : ℕ) (x : ℝ) : ℝ := |
| 31 | jet I (weight ε) A.1 n m x / (m.factorial : ℝ) |
| 32 | |
| 33 | theorem coefficientJet_hasDerivAt (I : Window) {ε : ℝ} (_hε : 0 < ε) |
| 34 | (A : AxisSpace I ε) (n m : ℕ) {x : ℝ} (hx : x ∈ Ioo I.left I.right) : |
| 35 | HasDerivAt (coefficientJet I ε A n m) |
| 36 | (((m : ℝ) + 1) * coefficientJet I ε A n (m + 1) x) x := by |
| 37 | have hd := (hasDerivAt_jet_interior I (weight ε) A n m hx).div_const (m.factorial : ℝ) |
| 38 | convert! hd using 1 |
| 39 | unfold coefficientJet |
| 40 | rw [Nat.factorial_succ, Nat.cast_mul, Nat.cast_add, Nat.cast_one] |
| 41 | have hm : (m.factorial : ℝ) ≠ 0 := by positivity |
| 42 | have hm1 : (m : ℝ) + 1 ≠ 0 := by positivity |
| 43 | field_simp |
| 44 | |
| 45 | theorem coefficientJet_bound (I : Window) {ε s : ℝ} (hε : 0 < ε) |
| 46 | (hs : (1 : ℝ) / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) |
| 47 | (n m : ℕ) (x : ℝ) : |
| 48 | ‖coefficientJet I ε A n m x‖ ≤ |
| 49 | (‖A‖ / (1 - s) * (1 / 20 / s) ^ n) * ((ε * (1 - s))⁻¹) ^ m := by |
| 50 | have hb := term_factorial_bound I hε (R := 1) (by rfl) hs hs1 A 0 m n |
| 51 | (p := (1, x)) (by norm_num) |
| 52 | simp only [term, polynomialJet, Nat.descFactorial_zero, Nat.cast_one, Nat.sub_zero, |
| 53 | one_pow, one_mul, pow_zero, mul_one] at hb |
| 54 | rw [coefficientJet, norm_div, Real.norm_natCast] |
| 55 | apply (div_le_iff₀ (by positivity : (0 : ℝ) < m.factorial)).mpr |
| 56 | calc |
| 57 | _ ≤ _ := hb |
| 58 | _ = _ := by ring |
| 59 | |
| 60 | /-- The actual vertical Taylor extension of radial coefficient `n`. -/ |
| 61 | def complexCoefficient (I : Window) (ε : ℝ) (A : AxisSpace I ε) (n : ℕ) : ℂ → ℂ := |
| 62 | verticalExtension (coefficientJet I ε A n) |
| 63 | |
| 64 | theorem complexCoefficient_ofReal (I : Window) (ε : ℝ) (A : AxisSpace I ε) |
| 65 | (n : ℕ) (x : ℝ) : |
| 66 | complexCoefficient I ε A n (x : ℂ) = (coefficient I (weight ε) A n x : ℂ) := by |
| 67 | rw [complexCoefficient, verticalExtension_ofReal] |
| 68 | simp [coefficientJet, coefficient] |
| 69 | |
| 70 | theorem complexCoefficient_analytic (I : Window) {ε s : ℝ} (hε : 0 < ε) |
| 71 | (hs : (1 : ℝ) / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) (n : ℕ) : |
| 72 | AnalyticOnNhd ℂ (complexCoefficient I ε A n) (parameterStrip I (ε * (1 - s))) := by |
| 73 | apply verticalExtension_analytic I (C := ‖A‖ / (1 - s) * (1 / 20 / s) ^ n) |
| 74 | (mul_nonneg (div_nonneg (norm_nonneg A) (by linarith)) (by positivity)) |
| 75 | (mul_pos hε (by linarith)) |
| 76 | · intro m x hx |
| 77 | exact coefficientJet_hasDerivAt I hε A n m hx |
| 78 | · intro m x _ |
| 79 | exact coefficientJet_bound I hε hs hs1 A n m x |
| 80 | |
| 81 | theorem complexCoefficient_bound (I : Window) {ε s : ℝ} (hε : 0 < ε) |
| 82 | (hs : (1 : ℝ) / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) (n : ℕ) |
| 83 | {z : ℂ} (hz : z ∈ parameterStrip I (ε * (1 - s))) : |
| 84 | ‖complexCoefficient I ε A n z‖ ≤ (2 * ‖A‖ / (1 - s)) * (1 / 20 / s) ^ n := by |
| 85 | have hb := verticalExtension_bound |
| 86 | (C := ‖A‖ / (1 - s) * (1 / 20 / s) ^ n) |
| 87 | (mul_nonneg (div_nonneg (norm_nonneg A) (by linarith)) (by positivity)) |
| 88 | (mul_pos hε (by linarith)) hz.2.le |
| 89 | (fun m => coefficientJet_bound I hε hs hs1 A n m z.re) |
| 90 | change ‖verticalExtension (coefficientJet I ε A n) z‖ ≤ _ |
| 91 | convert! hb using 1 |
| 92 | ring |
| 93 | |
| 94 | end NavierStokes.AxisJointAnalytic |
| 95 | end |
| 96 | |
| 97 | end |
| 98 | |
| 99 | /-! ## From `NavierStokes/AxisAnalyticRadialSeries.lean` |
| 100 | |
| 101 | The text of `NavierStokes/AxisAnalyticRadialSeries.lean`, folded into this file, which was its only importer. -/ |
| 102 | |
| 103 | section |
| 104 | |
| 105 | /-! # A convergent radial series in a Banach space of parameter-disk functions -/ |
| 106 | |
| 107 | noncomputable section |
| 108 | |
| 109 | open Set Metric Filter Complex |
| 110 | open scoped Topology |
| 111 | open NavierStokes.AxisCoefficientSpace NavierStokes.AxisWeightEstimates |
| 112 | open NavierStokes.AxisEvaluation NavierStokes.AxisHolomorphic NavierStokes.CauchyRestriction |
| 113 | |
| 114 | namespace NavierStokes.AxisJointAnalytic |
| 115 | |
| 116 | section Geometric |
| 117 | |
| 118 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] |
| 119 | |
| 120 | /-- Uniform geometric coefficient bounds yield a genuine Banach-valued |
| 121 | holomorphic radial sum throughout the indicated disk. -/ |
| 122 | theorem geometricSeries_analytic {a : ℕ → E} {C ρ R : ℝ} |
| 123 | (_hC : 0 ≤ C) (hρ : 0 ≤ ρ) (hR : 0 < R) (hq : R * ρ < 1) |
| 124 | (ha : ∀ n, ‖a n‖ ≤ C * ρ ^ n) : |
| 125 | AnalyticOnNhd ℂ (fun z : ℂ => ∑' n : ℕ, z ^ n • a n) (ball 0 R) := by |
| 126 | have hg : Summable (fun n : ℕ => C * (R * ρ) ^ n) := |
| 127 | (summable_geometric_of_norm_lt_one (by |
| 128 | rw [Real.norm_eq_abs, abs_of_nonneg (mul_nonneg hR.le hρ)] |
| 129 | exact hq)).mul_left C |
| 130 | apply (Complex.differentiableOn_tsum_of_summable_norm hg _ isOpen_ball _).analyticOnNhd isOpen_ball |
| 131 | · intro n |
| 132 | exact ((differentiable_id.pow n).smul_const (a n)).differentiableOn |
| 133 | · intro n z hz |
| 134 | have hzR : ‖z‖ ≤ R := (mem_ball_zero_iff.mp hz).le |
| 135 | rw [norm_smul, norm_pow] |
| 136 | calc |
| 137 | _ ≤ R ^ n * (C * ρ ^ n) := mul_le_mul (pow_le_pow_left₀ (norm_nonneg z) hzR n) |
| 138 | (ha n) (norm_nonneg _) (pow_nonneg hR.le n) |
| 139 | _ = _ := by rw [mul_pow]; ring |
| 140 | |
| 141 | theorem geometricSeries_summable {a : ℕ → E} {C ρ R : ℝ} |
| 142 | (_hC : 0 ≤ C) (hρ : 0 ≤ ρ) (hR : 0 < R) (hq : R * ρ < 1) |
| 143 | (ha : ∀ n, ‖a n‖ ≤ C * ρ ^ n) {z : ℂ} (hz : ‖z‖ ≤ R) : |
| 144 | Summable (fun n : ℕ => z ^ n • a n) := by |
| 145 | apply Summable.of_norm_bounded |
| 146 | ((summable_geometric_of_norm_lt_one (by |
| 147 | rw [Real.norm_eq_abs, abs_of_nonneg (mul_nonneg hR.le hρ)] |
| 148 | exact hq)).mul_left C) |
| 149 | intro n |
| 150 | rw [norm_smul, norm_pow] |
| 151 | calc |
| 152 | _ ≤ R ^ n * (C * ρ ^ n) := mul_le_mul (pow_le_pow_left₀ (norm_nonneg z) hz n) |
| 153 | (ha n) (norm_nonneg _) (pow_nonneg hR.le n) |
| 154 | _ = _ := by rw [mul_pow]; ring |
| 155 | |
| 156 | end Geometric |
| 157 | |
| 158 | /-- Each coefficient restricted to a closed disk inside the common strip. -/ |
| 159 | def diskCoefficient (I : Window) {ε s : ℝ} (hε : 0 < ε) |
| 160 | (hs : (1 : ℝ) / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) |
| 161 | (c : ℂ) (σ : ℝ) (hK : closedBall c σ ⊆ parameterStrip I (ε * (1 - s))) |
| 162 | (n : ℕ) : C(Disk c σ, ℂ) where |
| 163 | toFun z := complexCoefficient I ε A n z |
| 164 | continuous_toFun := (complexCoefficient_analytic I hε hs hs1 A n).continuousOn.comp_continuous |
| 165 | continuous_subtype_val (fun z => hK z.2) |
| 166 | |
| 167 | theorem diskCoefficient_bound (I : Window) {ε s : ℝ} (hε : 0 < ε) |
| 168 | (hs : (1 : ℝ) / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) |
| 169 | (c : ℂ) (σ : ℝ) (hK : closedBall c σ ⊆ parameterStrip I (ε * (1 - s))) (n : ℕ) : |
| 170 | ‖diskCoefficient I hε hs hs1 A c σ hK n‖ ≤ |
| 171 | (2 * ‖A‖ / (1 - s)) * (1 / 20 / s) ^ n := by |
| 172 | apply (ContinuousMap.norm_le _ (by positivity)).mpr |
| 173 | intro z |
| 174 | exact complexCoefficient_bound I hε hs hs1 A n (hK z.2) |
| 175 | |
| 176 | /-- The same coefficient series, evaluated at a real radius and a complex |
| 177 | parameter. Its real slice is the original constructed profile. -/ |
| 178 | def radialExtension (I : Window) (ε : ℝ) (A : AxisSpace I ε) (Y : ℝ) (z : ℂ) : ℂ := |
| 179 | ∑' n : ℕ, (Y : ℂ) ^ n * complexCoefficient I ε A n z |
| 180 | |
| 181 | theorem radialExtension_ofReal (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 182 | (A : AxisSpace I ε) {Y : ℝ} (hY : |Y| < 20) (x : ℝ) : |
| 183 | radialExtension I ε A Y (x : ℂ) = (profile I ε A (Y, x) : ℂ) := by |
| 184 | unfold radialExtension profile |
| 185 | simp only [complexCoefficient_ofReal, ← Complex.ofReal_pow, ← Complex.ofReal_mul] |
| 186 | exact (Complex.ofRealCLM.map_tsum (profile_hasSum I hε A (p := (Y, x)) hY).summable).symm |
| 187 | |
| 188 | end NavierStokes.AxisJointAnalytic |
| 189 | end |
| 190 | |
| 191 | end |
| 192 | |
| 193 | noncomputable section |
| 194 | |
| 195 | open Set Metric Filter Complex |
| 196 | open scoped Topology |
| 197 | open NavierStokes.AxisCoefficientSpace NavierStokes.AxisWeightEstimates |
| 198 | open NavierStokes.AxisEvaluation NavierStokes.AxisHolomorphic NavierStokes.CauchyRestriction |
| 199 | |
| 200 | namespace NavierStokes.AxisJointAnalytic |
| 201 | |
| 202 | private theorem ratio_lt_one {R s : ℝ} (hR : 1 ≤ R) (hs : R / 20 < s) : |
| 203 | R * (1 / 20 / s) < 1 := by |
| 204 | have hs0 : 0 < s := lt_trans (by positivity : 0 < R / 20) hs |
| 205 | calc |
| 206 | R * (1 / 20 / s) = R / 20 / s := by ring |
| 207 | _ < 1 := (div_lt_one hs0).mpr hs |
| 208 | |
| 209 | private theorem term_bound {R s C : ℝ} (hR : 0 ≤ R) (_hC : 0 ≤ C) (_hs : 0 < s) |
| 210 | {Y z : ℂ} (hY : ‖Y‖ ≤ R) (n : ℕ) |
| 211 | (hz : ‖z‖ ≤ C * (1 / 20 / s) ^ n) : |
| 212 | ‖Y ^ n * z‖ ≤ C * (R * (1 / 20 / s)) ^ n := by |
| 213 | rw [norm_mul, norm_pow] |
| 214 | calc |
| 215 | _ ≤ R ^ n * (C * (1 / 20 / s) ^ n) := |
| 216 | mul_le_mul (pow_le_pow_left₀ (norm_nonneg Y) hY n) hz (norm_nonneg z) (by positivity) |
| 217 | _ = _ := by rw [mul_pow]; ring |
| 218 | |
| 219 | /-- The parameter slices of the radial sum are holomorphic on a common strip. -/ |
| 220 | theorem radialExtension_analytic_parameter (I : Window) {ε R s : ℝ} (hε : 0 < ε) |
| 221 | (hR : 1 ≤ R) (hs : R / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) |
| 222 | {Y : ℝ} (hY : |Y| ≤ R) : |
| 223 | AnalyticOnNhd ℂ (radialExtension I ε A Y) (parameterStrip I (ε * (1 - s))) := by |
| 224 | change AnalyticOnNhd ℂ (fun z : ℂ => ∑' n : ℕ, (Y : ℂ) ^ n * complexCoefficient I ε A n z) _ |
| 225 | have hs0 : 0 < s := lt_trans (by positivity : 0 < R / 20) hs |
| 226 | have hs' : (1 : ℝ) / 20 < s := (div_le_div_of_nonneg_right hR (by norm_num)).trans_lt hs |
| 227 | have hC : 0 ≤ 2 * ‖A‖ / (1 - s) := by positivity |
| 228 | have hq := ratio_lt_one hR hs |
| 229 | have hqn : ‖(R * (1 / 20 / s) : ℝ)‖ < 1 := by |
| 230 | rw [Real.norm_eq_abs, abs_of_nonneg (mul_nonneg (zero_le_one.trans hR) (by positivity))] |
| 231 | exact hq |
| 232 | have hg : Summable (fun n : ℕ => (2 * ‖A‖ / (1 - s)) * (R * (1 / 20 / s)) ^ n) := |
| 233 | (summable_geometric_of_norm_lt_one hqn).mul_left (2 * ‖A‖ / (1 - s)) |
| 234 | have ht (n : ℕ) : DifferentiableOn ℂ |
| 235 | (fun z : ℂ => (Y : ℂ) ^ n * complexCoefficient I ε A n z) |
| 236 | (parameterStrip I (ε * (1 - s))) := |
| 237 | (complexCoefficient_analytic I hε hs' hs1 A n).differentiableOn.const_mul _ |
| 238 | have hb (n : ℕ) (z : ℂ) (hz : z ∈ parameterStrip I (ε * (1 - s))) : |
| 239 | ‖(Y : ℂ) ^ n * complexCoefficient I ε A n z‖ ≤ |
| 240 | (2 * ‖A‖ / (1 - s)) * (R * (1 / 20 / s)) ^ n := by |
| 241 | apply term_bound (by positivity) hC hs0 _ n |
| 242 | (complexCoefficient_bound I hε hs' hs1 A n hz) |
| 243 | simpa only [norm_real, Real.norm_eq_abs] using hY |
| 244 | exact (Complex.differentiableOn_tsum_of_summable_norm hg ht |
| 245 | (parameterStrip_isOpen I (ε * (1 - s))) hb).analyticOnNhd |
| 246 | (parameterStrip_isOpen I (ε * (1 - s))) |
| 247 | |
| 248 | /-- The constructed complex extension is jointly real analytic on each |
| 249 | parameter disk, with an open radial interval independent of the coefficient vector. -/ |
| 250 | theorem radialExtension_joint_disk (I : Window) {ε R s : ℝ} (hε : 0 < ε) |
| 251 | (hR : 1 ≤ R) (hs : R / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) |
| 252 | (c : ℂ) {σ : ℝ} (hσ : 0 < σ) |
| 253 | (hK : closedBall c σ ⊆ parameterStrip I (ε * (1 - s))) : |
| 254 | AnalyticOnNhd ℝ (fun p : ℝ × ℂ => radialExtension I ε A p.1 p.2) |
| 255 | (Ioo (-R) R ×ˢ ball c σ) := by |
| 256 | have hR0 : 0 < R := lt_of_lt_of_le (by norm_num) hR |
| 257 | have hs0 : 0 < s := lt_trans (by positivity : 0 < R / 20) hs |
| 258 | have hs' : (1 : ℝ) / 20 < s := (div_le_div_of_nonneg_right hR (by norm_num)).trans_lt hs |
| 259 | let a : ℕ → C(Disk c σ, ℂ) := diskCoefficient I hε hs' hs1 A c σ hK |
| 260 | let V : ℝ → C(Disk c σ, ℂ) := fun Y => ∑' n : ℕ, (Y : ℂ) ^ n • a n |
| 261 | have hC : 0 ≤ 2 * ‖A‖ / (1 - s) := by positivity |
| 262 | have hρ : 0 ≤ (1 : ℝ) / 20 / s := by positivity |
| 263 | have hb (n : ℕ) : ‖a n‖ ≤ (2 * ‖A‖ / (1 - s)) * (1 / 20 / s) ^ n := |
| 264 | diskCoefficient_bound I hε hs' hs1 A c σ hK n |
| 265 | have hVc := geometricSeries_analytic hC hρ hR0 (ratio_lt_one hR hs) hb |
| 266 | apply HolomorphicFamily.analyticOnNhd_of_disk_family c hσ isOpen_Ioo V (radialExtension I ε A) |
| 267 | · intro Y hY |
| 268 | have hYc : (Y : ℂ) ∈ ball 0 R := by |
| 269 | simpa only [mem_ball_zero_iff, norm_real, Real.norm_eq_abs] using abs_lt.mpr hY |
| 270 | exact (hVc (Y : ℂ) hYc).restrictScalars.comp (Complex.ofRealCLM.analyticAt Y) |
| 271 | · intro Y hY |
| 272 | exact (radialExtension_analytic_parameter I hε hR hs hs1 A (abs_lt.mpr hY).le).differentiableOn.mono |
| 273 | (ball_subset_closedBall.trans hK) |
| 274 | · intro Y hY z |
| 275 | have hsum := geometricSeries_summable hC hρ hR0 (ratio_lt_one hR hs) hb |
| 276 | (z := (Y : ℂ)) (by simpa only [norm_real, Real.norm_eq_abs] using (abs_lt.mpr hY).le) |
| 277 | change (ContinuousMap.evalCLM (R := ℂ) z) (∑' n : ℕ, (Y : ℂ) ^ n • a n) = _ |
| 278 | rw [(ContinuousMap.evalCLM (R := ℂ) z).map_tsum hsum] |
| 279 | rfl |
| 280 | |
| 281 | /-- Every genuine axis coefficient vector evaluates to a function analytic |
| 282 | jointly in the two real variables throughout the natural open strip. -/ |
| 283 | theorem profile_analyticOnNhd (I : Window) {ε : ℝ} (hε : 0 < ε) (A : AxisSpace I ε) : |
| 284 | AnalyticOnNhd ℝ (profile I ε A) (strip I 20) := by |
| 285 | intro p hp |
| 286 | have hY20 : |p.1| < 20 := abs_lt.mpr hp.1 |
| 287 | obtain ⟨R, hRp, hR20⟩ := exists_between (max_lt (by norm_num : (1 : ℝ) < 20) hY20) |
| 288 | have hR : 1 ≤ R := (le_max_left 1 |p.1|).trans hRp.le |
| 289 | have hYR : |p.1| < R := (le_max_right 1 |p.1|).trans_lt hRp |
| 290 | obtain ⟨s, hs, hs1⟩ := exists_between (show R / 20 < 1 by linarith) |
| 291 | have ha : 0 < ε * (1 - s) := mul_pos hε (by linarith) |
| 292 | have hc : (p.2 : ℂ) ∈ parameterStrip I (ε * (1 - s)) := by |
| 293 | exact ⟨hp.2, by simpa only [ofReal_im, abs_zero] using (half_pos ha)⟩ |
| 294 | obtain ⟨σ, hσ, hK⟩ := Metric.nhds_basis_closedBall.mem_iff.mp |
| 295 | ((parameterStrip_isOpen I (ε * (1 - s))).mem_nhds hc) |
| 296 | have hj := radialExtension_joint_disk I hε hR hs hs1 A (p.2 : ℂ) hσ hK |
| 297 | let J : ℝ × ℝ → ℝ × ℂ := fun q => (q.1, (q.2 : ℂ)) |
| 298 | have hJ : AnalyticAt ℝ J p := |
| 299 | analyticAt_fst.prod (Complex.ofRealCLM.analyticAt _ |>.comp analyticAt_snd) |
| 300 | have hpJ : J p ∈ Ioo (-R) R ×ˢ ball (p.2 : ℂ) σ := ⟨abs_lt.mp hYR, mem_ball_self hσ⟩ |
| 301 | have hcomp : AnalyticAt ℝ (fun q : ℝ × ℝ => (radialExtension I ε A q.1 (q.2 : ℂ)).re) p := |
| 302 | Complex.reCLM.analyticAt _ |>.comp_of_eq ((hj (J p) hpJ).comp hJ) rfl |
| 303 | apply hcomp.congr |
| 304 | filter_upwards [(isOpen_Ioo.prod isOpen_Ioo).mem_nhds hp] with q hq |
| 305 | rw [radialExtension_ofReal I hε A (abs_lt.mpr hq.1), ofReal_re] |
| 306 | |
| 307 | end NavierStokes.AxisJointAnalytic |