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

chore(NavierStokes/Analytic): delete 14 declarations nothing uses
Browse filesPart of #10.
main s1-euler-all-2 s1-euler-base-2 s1-euler-bounded-2 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-cylinder-2 s1-euler-euler-1 s1-euler-euler-2 s1-euler-field-2 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-mean-2 s1-euler-packet-2 s1-euler-parent-1 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-time-2 s1-euler-transverse-1 s1-euler-transverse-2 s1-euler-vorticity-1 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-actual-files-8 s1-ns-aligned-2 s1-ns-analytic-1 s1-ns-angular-2 s1-ns-appendix-1 s1-ns-assembled-1 s1-ns-assembled-2 s1-ns-axis-2 s1-ns-axisymmetric-2 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-borel-2 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-1 s1-ns-closed-2 s1-ns-common-2 s1-ns-compact-2 s1-ns-comparator-1 s1-ns-constructed-2 s1-ns-correction-2 s1-ns-curl-2 s1-ns-cycle-2 s1-ns-defect-2 s1-ns-direct-2 s1-ns-entrance-2 s1-ns-error-2 s1-ns-even-2 s1-ns-exponent-2 s1-ns-final-2 s1-ns-first-2 s1-ns-flat-2 s1-ns-flatness-2 s1-ns-fourier-2 s1-ns-future-2 s1-ns-gauge-2 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-harmonic-1 s1-ns-heat-2 s1-ns-initialized-2 s1-ns-integrated-1 s1-ns-joint-2 s1-ns-label-1 s1-ns-linear-2 s1-ns-local-2 s1-ns-localized-1 s1-ns-localized-2 s1-ns-maximal-2 s1-ns-mean-2 s1-ns-mixed-2 s1-ns-native-2 s1-ns-natural-1 s1-ns-natural-2 s1-ns-nilpotent-2 s1-ns-offplane-1 s1-ns-offplane-2 s1-ns-oscillatory-2 s1-ns-parametric-2 s1-ns-particular-1 s1-ns-particular-2 s1-ns-past-2 s1-ns-periodic-2 s1-ns-periodized-2 s1-ns-phase-2 s1-ns-physical-2 s1-ns-positive-2 s1-ns-pressure-2 s1-ns-primary-1 s1-ns-primary-2 s1-ns-pulse-2 s1-ns-r3-2 s1-ns-radial-2 s1-ns-reference-2 s1-ns-regular-2 s1-ns-renormalized-2 s1-ns-residual-2 s1-ns-scaling-2 s1-ns-schedule-2 s1-ns-sharp-2 s1-ns-signed-2 s1-ns-similarity-2 s1-ns-slot-2 s1-ns-slow-2 s1-ns-smooth-2 s1-ns-solenoidal-2 s1-ns-spatial-2 s1-ns-squared-2 s1-ns-state-2 s1-ns-subcover-2 s1-ns-tail-2 s1-ns-temporal-2 s1-ns-terminal-1 s1-ns-time-2 s1-ns-torus-2 s1-ns-transition-2 s1-ns-transport-2 s1-ns-true-1 s1-ns-uniform-2 s1-ns-variable-2 s1-ns-volterra-2 s1-ns-wave-1 s1-ns-wave-2 s1-ns-weighted-1 s1-ns-weighted-2 s1-ns-whole-1 s1-ns-within-2
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −46 NavierStokes/AnalyticCoefficientBounds.lean View file
| @@ -90,20 +90,6 @@ theorem hasDerivAt_realJet {f : ℂ → ℂ} {x : ℝ} | ||
| 90 | 90 | unfold realJet |
| 91 | 91 | simpa only [iteratedDeriv_succ] using hm.differentiableAt.hasDerivAt.real_of_complex |
| 92 | 92 | |
| 93 | -/-- The real-axis jets really are the ordinary iterated real derivatives. -/ | |
| 94 | -theorem iteratedDeriv_realPart {f : ℂ → ℂ} {x : ℝ} | |
| 95 | - (hf : AnalyticAt ℂ f (x : ℂ)) (m : ℕ) : | |
| 96 | - iteratedDeriv m (fun t : ℝ => (f t).re) x = realJet f m x := by | |
| 97 | - induction m generalizing x with | |
| 98 | - | zero => simp [realJet] | |
| 99 | - | succ m ih => | |
| 100 | - have heq : iteratedDeriv m (fun t : ℝ => (f t).re) =ᶠ[𝓝 x] realJet f m := by | |
| 101 | - filter_upwards [(Complex.continuous_ofReal.tendsto x).eventually | |
| 102 | - hf.eventually_analyticAt] with y hy | |
| 103 | - exact ih hy | |
| 104 | - rw [iteratedDeriv_succ, heq.deriv_eq] | |
| 105 | - exact (hasDerivAt_realJet hf m).deriv | |
| 106 | - | |
| 107 | 93 | theorem UnitHolomorphic.abs_realJet_le {I : Window} {ρ : ℝ} {f : ℂ → ℂ} |
| 108 | 94 | (hf : UnitHolomorphic I ρ f) (hρ : 0 < ρ) (m : ℕ) |
| 109 | 95 | {x : ℝ} (hx : x ∈ I.interval) : |
| @@ -115,14 +101,6 @@ theorem UnitHolomorphic.abs_realJet_le {I : Window} {ρ : ℝ} {f : ℂ → ℂ} | ||
| 115 | 101 | exact hf.norm_le_one z (closedBall_subset_closedTube I ρ hx |
| 116 | 102 | (sphere_subset_closedBall hz)) |
| 117 | 103 | |
| 118 | -theorem UnitHolomorphic.abs_iteratedDeriv_le {I : Window} {ρ : ℝ} {f : ℂ → ℂ} | |
| 119 | - (hf : UnitHolomorphic I ρ f) (hρ : 0 < ρ) (m : ℕ) | |
| 120 | - {x : ℝ} (hx : x ∈ I.interval) : | |
| 121 | - |iteratedDeriv m (fun t : ℝ => (f t).re) x| ≤ | |
| 122 | - (m.factorial : ℝ) * (ρ⁻¹) ^ m := by | |
| 123 | - rw [iteratedDeriv_realPart (hf.analytic x (real_mem_closedTube I hρ.le hx))] | |
| 124 | - exact hf.abs_realJet_le hρ m hx | |
| 125 | - | |
| 126 | 104 | /-- The loss in passing from a complex radius to the coefficient radius. -/ |
| 127 | 105 | def radiusLoss (q : ℝ) : ℝ := ∑' m : ℕ, ((m : ℝ) + 1) ^ 2 * q ^ m |
| 128 | 106 | |
| @@ -240,16 +218,6 @@ theorem UnitHolomorphic.coefficient_toAxisSpace {I : Window} {ε ρ : ℝ} {f : | ||
| 240 | 218 | rw [coefficient_ofJetFamily _ _ _ _ _ _ _ _ _ n hx] |
| 241 | 219 | simp only [degreeZeroJet, realJet, iteratedDeriv_zero] |
| 242 | 220 | |
| 243 | -theorem UnitHolomorphic.jet_toAxisSpace {I : Window} {ε ρ : ℝ} {f : ℂ → ℂ} | |
| 244 | - (hf : UnitHolomorphic I ρ f) (hε : 0 < ε) (hερ : ε < ρ) | |
| 245 | - (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 246 | - jet I (AxisWeightEstimates.weight ε) (hf.toAxisSpace hε hερ).1 n m x = | |
| 247 | - if n = 0 then iteratedDeriv m (fun t : ℝ => (f t).re) x else 0 := by | |
| 248 | - unfold UnitHolomorphic.toAxisSpace | |
| 249 | - rw [jet_ofJetFamily _ _ _ _ _ _ _ _ _ n m hx] | |
| 250 | - rw [iteratedDeriv_realPart (hf.analytic x (real_mem_closedTube I (hε.trans hερ).le hx))] | |
| 251 | - rfl | |
| 252 | - | |
| 253 | 221 | /-- The normalized axis exponential, defined on the whole complex plane |
| 254 | 222 | but bounded using the common complex neighborhood. -/ |
| 255 | 223 | def normalizedExp (F : ℂ → ℂ) (Λ C : ℝ) (z : ℂ) : ℂ := |
| @@ -286,20 +254,6 @@ theorem re_le_realPartSup {F : ℂ → ℂ} {K : Set ℂ} | ||
| 286 | 254 | le_csSup (hK.bddAbove_image (Complex.continuous_re.comp_continuousOn hF)) |
| 287 | 255 | (mem_image_of_mem (fun z => (F z).re) hz) |
| 288 | 256 | |
| 289 | -/-- A compact wider complex neighborhood is enough: every radius-`ρ` | |
| 290 | -closed disc about a real parameter must lie inside it. -/ | |
| 291 | -theorem normalizedExp_unitHolomorphic_of_compact | |
| 292 | - {I : Window} {ρ Λ C : ℝ} {F : ℂ → ℂ} {K : Set ℂ} | |
| 293 | - (hK : IsCompact K) (hF : AnalyticOnNhd ℂ F K) | |
| 294 | - (hcover : ∀ x ∈ I.interval, closedBall (x : ℂ) ρ ⊆ K) | |
| 295 | - (hΛ : 0 ≤ Λ) (hC : Real.exp (Λ * realPartSup F K) ≤ C) : | |
| 296 | - UnitHolomorphic I ρ (normalizedExp F Λ C) := by | |
| 297 | - have hsub : closedTube I ρ ⊆ K := by | |
| 298 | - rintro z ⟨x, hx, hz⟩ | |
| 299 | - exact hcover x hx hz | |
| 300 | - exact normalizedExp_unitHolomorphic (hF.mono hsub) | |
| 301 | - (fun z hz => re_le_realPartSup hK hF.continuousOn (hsub hz)) hΛ hC | |
| 302 | - | |
| 303 | 257 | theorem normalizedExp_re_of_real {F : ℂ → ℂ} {Λ C x : ℝ} |
| 304 | 258 | (hreal : (F (x : ℂ)).im = 0) : |
| 305 | 259 | (normalizedExp F Λ C (x : ℂ)).re = Real.exp (Λ * (F (x : ℂ)).re) / C := by |
+0 −89 NavierStokes/AnalyticPrimitive.lean View file
| @@ -156,25 +156,6 @@ theorem analyticOnNhd_primitive {U : Set ℂ} (ho : IsOpen U) | ||
| 156 | 156 | (hg : DifferentiableOn ℂ g U) : AnalyticOnNhd ℂ (primitive g) U := |
| 157 | 157 | (differentiableOn_primitive ho hU h0 hg).analyticOnNhd ho |
| 158 | 158 | |
| 159 | -/-- Reality is local to the real points of the given convex domain. -/ | |
| 160 | -theorem primitive_im_eq_zero {U : Set ℂ} (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) | |
| 161 | - {g : ℂ → ℂ} (hreal : ∀ x : ℝ, (x : ℂ) ∈ U → (g x).im = 0) | |
| 162 | - {x : ℝ} (hx : (x : ℂ) ∈ U) : (primitive g x).im = 0 := by | |
| 163 | - have heq : (∫ t in (0 : ℝ)..1, g ((t : ℂ) * (x : ℂ))) = | |
| 164 | - ∫ t in (0 : ℝ)..1, ((g ((t : ℂ) * (x : ℂ))).re : ℂ) := by | |
| 165 | - apply intervalIntegral.integral_congr | |
| 166 | - intro t ht | |
| 167 | - have htx := segment_mem hU h0 hx | |
| 168 | - (show t ∈ Icc (0 : ℝ) 1 by simpa only [uIcc_of_le zero_le_one] using ht) | |
| 169 | - have him : (g ((t : ℂ) * (x : ℂ))).im = 0 := by | |
| 170 | - simpa only [Complex.ofReal_mul] using hreal (t * x) | |
| 171 | - (by simpa only [Complex.ofReal_mul] using htx) | |
| 172 | - apply Complex.ext | |
| 173 | - · simp | |
| 174 | - · simpa using him | |
| 175 | - rw [primitive, heq, intervalIntegral.integral_ofReal] | |
| 176 | - simp | |
| 177 | - | |
| 178 | 159 | /-- If the integrand extends a real function, its segment primitive extends |
| 179 | 160 | the corresponding real segment integral exactly. -/ |
| 180 | 161 | theorem primitive_ofReal (g : ℂ → ℂ) (f : ℝ → ℝ) |
| @@ -186,12 +167,6 @@ theorem primitive_ofReal (g : ℂ → ℂ) (f : ℝ → ℝ) | ||
| 186 | 167 | rw [← Complex.ofReal_mul, hreal] |
| 187 | 168 | rw [primitive, heq, intervalIntegral.integral_ofReal, Complex.ofReal_mul] |
| 188 | 169 | |
| 189 | -theorem hasDerivAt_real_primitive {U : Set ℂ} (ho : IsOpen U) | |
| 190 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 191 | - (hg : DifferentiableOn ℂ g U) {x : ℝ} (hx : (x : ℂ) ∈ U) : | |
| 192 | - HasDerivAt (fun y : ℝ => (primitive g y).re) (g x).re x := | |
| 193 | - (hasDerivAt_primitive ho hU h0 hg hx).real_of_complex | |
| 194 | - | |
| 195 | 170 | /-- The normalized exponential built from the actual segment primitive. -/ |
| 196 | 171 | def amplitude (g : ℂ → ℂ) (Λ C : ℂ) (z : ℂ) : ℂ := |
| 197 | 172 | Complex.exp (Λ * primitive g z) / C |
| @@ -199,70 +174,6 @@ def amplitude (g : ℂ → ℂ) (Λ C : ℂ) (z : ℂ) : ℂ := | ||
| 199 | 174 | @[simp] theorem amplitude_zero (g : ℂ → ℂ) (Λ C : ℂ) : amplitude g Λ C 0 = 1 / C := by |
| 200 | 175 | simp [amplitude] |
| 201 | 176 | |
| 202 | -theorem amplitude_ne_zero (g : ℂ → ℂ) (Λ : ℂ) {C : ℂ} (hC : C ≠ 0) (z : ℂ) : | |
| 203 | - amplitude g Λ C z ≠ 0 := | |
| 204 | - div_ne_zero (Complex.exp_ne_zero _) hC | |
| 205 | - | |
| 206 | -/-- Normalization is constant in the spatial variable, so the differential | |
| 207 | -equation is valid for any normalization scalar. -/ | |
| 208 | -theorem hasDerivAt_amplitude {U : Set ℂ} (ho : IsOpen U) | |
| 209 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 210 | - (hg : DifferentiableOn ℂ g U) (Λ C : ℂ) {z : ℂ} (hz : z ∈ U) : | |
| 211 | - HasDerivAt (amplitude g Λ C) ((Λ * g z) * amplitude g Λ C z) z := by | |
| 212 | - have hd := (((hasDerivAt_primitive ho hU h0 hg hz).const_mul Λ).cexp).div_const C | |
| 213 | - convert! hd using 1 | |
| 214 | - unfold amplitude | |
| 215 | - ring | |
| 216 | - | |
| 217 | -theorem analyticOnNhd_amplitude {U : Set ℂ} (ho : IsOpen U) | |
| 218 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 219 | - (hg : DifferentiableOn ℂ g U) (Λ C : ℂ) : AnalyticOnNhd ℂ (amplitude g Λ C) U := by | |
| 220 | - apply DifferentiableOn.analyticOnNhd _ ho | |
| 221 | - intro z hz | |
| 222 | - exact (hasDerivAt_amplitude ho hU h0 hg Λ C hz).differentiableAt.differentiableWithinAt | |
| 223 | - | |
| 224 | -/-- The actual logarithmic derivative of the nonvanishing normalized | |
| 225 | -exponential is the prescribed scaled holomorphic gradient. -/ | |
| 226 | -theorem amplitude_log_derivative {U : Set ℂ} (ho : IsOpen U) | |
| 227 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 228 | - (hg : DifferentiableOn ℂ g U) (Λ : ℂ) {C : ℂ} (hC : C ≠ 0) | |
| 229 | - {z : ℂ} (hz : z ∈ U) : | |
| 230 | - deriv (amplitude g Λ C) z / amplitude g Λ C z = Λ * g z := by | |
| 231 | - rw [(hasDerivAt_amplitude ho hU h0 hg Λ C hz).deriv] | |
| 232 | - exact mul_div_cancel_right₀ _ (amplitude_ne_zero g Λ hC z) | |
| 233 | - | |
| 234 | -theorem amplitude_ofReal (g : ℂ → ℂ) (f : ℝ → ℝ) | |
| 235 | - (hreal : ∀ x : ℝ, g x = (f x : ℂ)) (Λ C x : ℝ) : | |
| 236 | - amplitude g Λ C x = | |
| 237 | - ((Real.exp (Λ * (x * ∫ t in (0 : ℝ)..1, f (t * x))) / C : ℝ) : ℂ) := by | |
| 238 | - rw [amplitude, primitive_ofReal g f hreal x, ← Complex.ofReal_mul, | |
| 239 | - ← Complex.ofReal_exp, ← Complex.ofReal_div] | |
| 240 | - | |
| 241 | -theorem amplitude_real_pos (g : ℂ → ℂ) (f : ℝ → ℝ) | |
| 242 | - (hreal : ∀ x : ℝ, g x = (f x : ℂ)) (Λ : ℝ) {C : ℝ} (hC : 0 < C) (x : ℝ) : | |
| 243 | - 0 < (amplitude g Λ C x).re := by | |
| 244 | - rw [amplitude_ofReal g f hreal Λ C x, Complex.ofReal_re] | |
| 245 | - exact div_pos (Real.exp_pos _) hC | |
| 246 | - | |
| 247 | -theorem hasDerivAt_real_amplitude {U : Set ℂ} (ho : IsOpen U) | |
| 248 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 249 | - (hg : DifferentiableOn ℂ g U) (f : ℝ → ℝ) | |
| 250 | - (hreal : ∀ x : ℝ, g x = (f x : ℂ)) (Λ C : ℝ) {x : ℝ} (hx : (x : ℂ) ∈ U) : | |
| 251 | - HasDerivAt (fun y : ℝ => (amplitude g Λ C y).re) | |
| 252 | - ((Λ * f x) * (amplitude g Λ C x).re) x := by | |
| 253 | - have hd := (hasDerivAt_amplitude ho hU h0 hg Λ C hx).real_of_complex | |
| 254 | - simpa only [hreal, Complex.mul_re, Complex.mul_im, Complex.ofReal_re, | |
| 255 | - Complex.ofReal_im, mul_zero, zero_mul, add_zero, sub_zero] using hd | |
| 256 | - | |
| 257 | -theorem real_amplitude_log_derivative {U : Set ℂ} (ho : IsOpen U) | |
| 258 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 259 | - (hg : DifferentiableOn ℂ g U) (f : ℝ → ℝ) | |
| 260 | - (hreal : ∀ x : ℝ, g x = (f x : ℂ)) (Λ : ℝ) {C : ℝ} (hC : 0 < C) | |
| 261 | - {x : ℝ} (hx : (x : ℂ) ∈ U) : | |
| 262 | - deriv (fun y : ℝ => (amplitude g Λ C y).re) x / (amplitude g Λ C x).re = Λ * f x := by | |
| 263 | - rw [(hasDerivAt_real_amplitude ho hU h0 hg f hreal Λ C hx).deriv] | |
| 264 | - exact mul_div_cancel_right₀ _ (ne_of_gt (amplitude_real_pos g f hreal Λ hC x)) | |
| 265 | - | |
| 266 | 177 | end NavierStokes.AnalyticPrimitive |
| 267 | 178 | |
| 268 | 179 | end |
+27 −0 routes/s1-ns-analytic-1/README.md added View file
| @@ -0,0 +1,27 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-analytic-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10), family `NavierStokes/Analytic*`: deletes 14 declarations | |
| 8 | +that nothing uses, 135 lines in two files. Twelve are in `NavierStokes/AnalyticPrimitive.lean` | |
| 9 | +(`primitive_im_eq_zero`, `hasDerivAt_real_primitive`, `amplitude_ne_zero`, `hasDerivAt_amplitude`, | |
| 10 | +`analyticOnNhd_amplitude`, `amplitude_log_derivative`, `amplitude_ofReal`, `amplitude_real_pos`, | |
| 11 | +`hasDerivAt_real_amplitude`, `real_amplitude_log_derivative`), and four in | |
| 12 | +`NavierStokes/AnalyticCoefficientBounds.lean` (`iteratedDeriv_realPart`, | |
| 13 | +`UnitHolomorphic.abs_iteratedDeriv_le`, `UnitHolomorphic.jet_toAxisSpace`, | |
| 14 | +`normalizedExp_unitHolomorphic_of_compact`). The diff is deletions only: 0 added, 135 removed. | |
| 15 | + | |
| 16 | +Checked as a reviewer: `git grep -n -w` over the tree for each of the 14 short names finds no | |
| 17 | +line at all, in Lean files or elsewhere, so no declaration that stays names one, and none of the | |
| 18 | +deleted docstrings cites the paper (no numbered Lemma, Theorem, Proposition, Corollary, Section or | |
| 19 | +Equation). No statement of `NavierStokes/PaperResults.lean` or | |
| 20 | +`NavierStokes/PeriodicPaperTheorem.lean` changes, and no other file is touched. | |
| 21 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as | |
| 22 | +approved; 2590 Lean files, 617000 lines, toolchain leanprover/lean4:v4.34.0-rc2`. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +The maintainer's review after `challenge` and `build`; the other declaration units of #10, a family | |
| 27 | +at a time, are separate pull requests. | |