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/Even): delete 12 declarations nothing uses
Browse filesPart of #10 (S-1, unit s1-ns-even-3). Deletes 12 unused declarations from NavierStokes/EvenSmoothDescent.lean; 116 lines, deletions only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main maintainer-statement p1-ns-physical s1-euler-angle-9 s1-euler-canonical-8 s1-euler-correction-9 s1-euler-cylinder-8 s1-euler-inviscid-8 s1-euler-mean-8 s1-euler-packet-8 s1-euler-transverse-9 s1-ns-actual-8 s1-ns-annular-8 s1-ns-assembled-7 s1-ns-axisymmetric-8 s1-ns-base-8 s1-ns-common-8 s1-ns-common-9 s1-ns-constructed-8 s1-ns-copy-8 s1-ns-curl-9 s1-ns-error-9 s1-ns-even-3 s1-ns-five-8 s1-ns-flat-8 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-harmonic-7 s1-ns-joint-8 s1-ns-linear-7 s1-ns-mean-8 s1-ns-particular-10 s1-ns-particular-8 s1-ns-partitioned-8 s1-ns-periodic-8 s1-ns-periodic-9 s1-ns-periodized-8 s1-ns-periodized-9 s1-ns-physical-8 s1-ns-positive-8 s1-ns-pressure-9 s1-ns-primary-8 s1-ns-radial-9 s1-ns-reserved-8 s1-ns-signed-8 s1-ns-smooth-3 s1-ns-smooth-8 s1-ns-state-8 s1-ns-temporal-8 s1-ns-uniform-8 s1-ns-wave-11 s1-ns-wave-8 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-8 s1-ns-weighted-9 s2-build-profile-files s2-euler-all-1 s2-euler-base-1 s2-euler-bounded-1 s2-euler-child-1 s2-euler-coefficient-1 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-div-1 s2-euler-drift-1 s2-euler-euler-1 s2-euler-field-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-gaussian-1 s2-euler-gevrey-1 s2-euler-h6-1 s2-euler-heat-1 s2-euler-initial-1 s2-euler-integral-1 s2-euler-linear-1 s2-euler-local-1 s2-euler-logarithmic-1 s2-euler-mean-1 s2-euler-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-parameter-1 s2-euler-parent-1 s2-euler-radial-1 s2-euler-small-1 s2-euler-sobolev-1 s2-euler-squared-1 s2-euler-static-1 s2-euler-terminal-1 s2-euler-time-1 s2-euler-transport-1 s2-euler-transverse-1 s2-euler-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-instances-1 s2-ns-activation-1 s2-ns-actual-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-annular-1 s2-ns-axis-1 s2-ns-base-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-common-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-correction-1 s2-ns-covariance-1 s2-ns-current-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-global-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-heat-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-outgoing-2 s2-ns-parametric-1 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-phase-1 s2-ns-physical-1 s2-ns-polar-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-profile-1 s2-ns-pulse-1 s2-ns-r3-1 s2-ns-r3-folder-1 s2-ns-reference-1 s2-ns-renormalized-1 s2-ns-repair-1 s2-ns-reserved-1 s2-ns-reset-1 s2-ns-residual-1 s2-ns-scaled-1 s2-ns-scaled-2 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-signed-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-temporal-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-1 s2-ns-volterra-2 s5-cap-1 s5-euler-all-1 s5-euler-base-1 s5-euler-bounded-1 s5-euler-canonical-1 s5-euler-coefficient-1 s5-euler-compact-1 s5-euler-continuous-1 s5-euler-correction-1 s5-euler-cylinder-1 s5-euler-drift-1 s5-euler-duhamel-1 s5-euler-elapsed-1 s5-euler-elapsed-2 s5-euler-euler-1 s5-euler-external-1 s5-euler-field-1 s5-euler-fixed-1 s5-euler-gained-1 s5-euler-gaussian-1 s5-euler-gevrey-1 s5-euler-graph-1 s5-euler-h5-1 s5-euler-h6-1 s5-euler-heat-1 s5-euler-inviscid-1 s5-euler-lifted-1 s5-euler-linear-1 s5-euler-lp-1 s5-euler-mean-1 s5-euler-mixed-1 s5-euler-ordinary-1 s5-euler-packet-1 s5-euler-parameter-1 s5-euler-parent-1 s5-euler-physical-1 s5-euler-projected-1 s5-euler-quadratic-1 s5-euler-regularized-1 s5-euler-small-1 s5-euler-smooth-1 s5-euler-sobolev-1 s5-euler-source-1 s5-euler-stage-1 s5-euler-static-1 s5-euler-terminal-1 s5-euler-time-1 s5-euler-top-1 s5-euler-transverse-1 s5-euler-weighted-1 s5-euler-whole-1 s5-ns-actual-1 s5-ns-axis-1 s5-ns-generic-1 s5-ns-label-1 s5-ns-local-1 s5-ns-mean-1 s5-ns-moment-1 s5-ns-particular-1 s5-ns-periodic-1 s5-ns-periodize-1 s5-ns-positive-1 s5-ns-r3-folder-1 s5-ns-reference-1 s5-ns-sharp-1 s5-ns-smooth-1 s5-ns-torus-1 s5-ns-valid-1 s5-ns-whole-1 s5-ns-within-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
ci/docs
Details
+0 −116 NavierStokes/EvenSmoothDescent.lean View file
| @@ -33,11 +33,6 @@ theorem contDiff_iteratedDeriv {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (n : | ||
| 33 | 33 | ContDiff ℝ ∞ (iteratedDeriv n f) := by |
| 34 | 34 | simpa only [iteratedDeriv_eq_iterate] using hf.iterate_deriv n |
| 35 | 35 | |
| 36 | -omit [CompleteSpace E] in | |
| 37 | -theorem iteratedDeriv_iteratedDeriv (f : ℝ → E) (m n : ℕ) : | |
| 38 | - iteratedDeriv m (iteratedDeriv n f) = iteratedDeriv (m + n) f := by | |
| 39 | - simp only [iteratedDeriv_eq_iterate, Function.iterate_add_apply] | |
| 40 | - | |
| 41 | 36 | noncomputable def average (f : ℝ → E) (x : ℝ) : E := |
| 42 | 37 | ∫ t in (0 : ℝ)..1, f (t * x) |
| 43 | 38 | |
| @@ -87,26 +82,6 @@ theorem contDiff_average {f : ℝ → E} (hf : ContDiff ℝ ∞ f) : | ||
| 87 | 82 | SmoothParameterIntegral.contDiff_integral_of_iteratedDeriv hs |
| 88 | 83 | (measurable_scaled_jet hf) (dominated_scaled_jet hf) |
| 89 | 84 | |
| 90 | -omit [CompleteSpace E] in | |
| 91 | -theorem iteratedDeriv_average {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : ℝ) : | |
| 92 | - iteratedDeriv n (average f) x = | |
| 93 | - ∫ t in (0 : ℝ)..1, t ^ n • iteratedDeriv n f (t * x) := by | |
| 94 | - change iteratedDeriv n (fun y => ∫ t in (0 : ℝ)..1, f (t * y)) x = _ | |
| 95 | - have hs : ∀ᵐ t ∂volume.restrict (Ioc (0 : ℝ) 1), | |
| 96 | - ContDiff ℝ ∞ (fun x => f (t * x)) := | |
| 97 | - Filter.Eventually.of_forall fun t => hf.comp (contDiff_const.mul contDiff_id) | |
| 98 | - have h := SmoothParameterIntegral.iteratedDeriv_integral hs | |
| 99 | - (measurable_scaled_jet hf) (dominated_scaled_jet hf) n x | |
| 100 | - simp_rw [iteratedDeriv_scale hf] at h | |
| 101 | - simpa only [average, intervalIntegral.integral_of_le zero_le_one] using h | |
| 102 | - | |
| 103 | -theorem iteratedDeriv_average_zero {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (n : ℕ) : | |
| 104 | - iteratedDeriv n (average f) 0 = (1 / ((n : ℝ) + 1)) • iteratedDeriv n f 0 := by | |
| 105 | - rw [iteratedDeriv_average hf] | |
| 106 | - simp only [mul_zero] | |
| 107 | - rw [intervalIntegral.integral_smul_const, integral_pow] | |
| 108 | - simp | |
| 109 | - | |
| 110 | 85 | theorem average_deriv_identity {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (x : ℝ) : |
| 111 | 86 | x • average (deriv f) x = f x - f 0 := by |
| 112 | 87 | rw [average, intervalIntegral.smul_integral_comp_mul_right, zero_mul, one_mul] |
| @@ -176,17 +151,6 @@ theorem radialDerivative_eq_div {f : ℝ → E} (hf : ContDiff ℝ ∞ f) | ||
| 176 | 151 | simpa only [smul_smul, inv_mul_cancel₀ hne, one_smul, |
| 177 | 152 | one_div] using h |
| 178 | 153 | |
| 179 | -theorem iteratedDeriv_radialDerivative_zero {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (n : ℕ) : | |
| 180 | - iteratedDeriv n (radialDerivative f) 0 = | |
| 181 | - (1 / (2 * ((n : ℝ) + 1))) • iteratedDeriv (n + 2) f 0 := by | |
| 182 | - have ha := contDiff_average (contDiff_iteratedDeriv hf 2) | |
| 183 | - change iteratedDeriv n ((1 / 2 : ℝ) • average (iteratedDeriv 2 f)) 0 = _ | |
| 184 | - rw [iteratedDeriv_const_smul (ha.of_le (nat_le_infty n)).contDiffAt, | |
| 185 | - iteratedDeriv_average_zero (contDiff_iteratedDeriv hf 2), iteratedDeriv_iteratedDeriv, | |
| 186 | - smul_smul] | |
| 187 | - congr 1 | |
| 188 | - field_simp | |
| 189 | - | |
| 190 | 154 | noncomputable def descent (f : ℝ → E) (X : ℝ) : E := f (Real.sqrt X) |
| 191 | 155 | |
| 192 | 156 | omit [NormedSpace ℝ E] [CompleteSpace E] in |
| @@ -239,11 +203,6 @@ theorem radialIterate_succ (f : ℝ → E) (n : ℕ) : | ||
| 239 | 203 | radialIterate f (n + 1) = radialDerivative (radialIterate f n) := |
| 240 | 204 | Function.iterate_succ_apply' radialDerivative n f |
| 241 | 205 | |
| 242 | -omit [CompleteSpace E] in | |
| 243 | -theorem radialIterate_succ_right (f : ℝ → E) (n : ℕ) : | |
| 244 | - radialIterate f (n + 1) = radialIterate (radialDerivative f) n := | |
| 245 | - Function.iterate_succ_apply radialDerivative n f | |
| 246 | - | |
| 247 | 206 | omit [CompleteSpace E] in |
| 248 | 207 | theorem contDiff_radialIterate {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 249 | 208 | ContDiff ℝ ∞ (radialIterate f n) := by |
| @@ -271,30 +230,6 @@ theorem iteratedDerivWithin_descent {f : ℝ → E} (hf : ContDiff ℝ ∞ f) | ||
| 271 | 230 | exact (hasDerivWithinAt_descent (contDiff_radialIterate hf n) |
| 272 | 231 | (even_radialIterate he n) hX).derivWithin (uniqueDiffOn_Ici 0 X hX) |
| 273 | 232 | |
| 274 | -theorem radialIterate_at_zero (n : ℕ) {f : ℝ → E} (hf : ContDiff ℝ ∞ f) : | |
| 275 | - radialIterate f n 0 = | |
| 276 | - ((n.factorial : ℝ) / ((2 * n).factorial : ℝ)) • iteratedDeriv (2 * n) f 0 := by | |
| 277 | - induction n generalizing f with | |
| 278 | - | zero => simp [radialIterate_zero] | |
| 279 | - | succ n ih => | |
| 280 | - rw [radialIterate_succ_right, ih (contDiff_radialDerivative hf), | |
| 281 | - iteratedDeriv_radialDerivative_zero hf, smul_smul] | |
| 282 | - have hi : 2 * n + 2 = 2 * (n + 1) := by omega | |
| 283 | - rw [hi] | |
| 284 | - congr 1 | |
| 285 | - rw [show 2 * (n + 1) = (2 * n + 1) + 1 by omega, | |
| 286 | - Nat.factorial_succ (2 * n + 1), Nat.factorial_succ (2 * n), Nat.factorial_succ n] | |
| 287 | - push_cast | |
| 288 | - field_simp ; ring | |
| 289 | - | |
| 290 | -/-- Exact right jets of the descended function. -/ | |
| 291 | -theorem iteratedDerivWithin_descent_zero {f : ℝ → E} (hf : ContDiff ℝ ∞ f) | |
| 292 | - (he : Function.Even f) (n : ℕ) : | |
| 293 | - iteratedDerivWithin n (descent f) (Ici 0) 0 = | |
| 294 | - ((n.factorial : ℝ) / ((2 * n).factorial : ℝ)) • iteratedDeriv (2 * n) f 0 := by | |
| 295 | - rw [iteratedDerivWithin_descent hf he n (show (0 : ℝ) ∈ Ici 0 from by simp)] | |
| 296 | - simpa only [descent, Real.sqrt_zero] using radialIterate_at_zero n hf | |
| 297 | - | |
| 298 | 233 | /-! The local theorem uses an explicit cutoff extension. This extension is |
| 299 | 234 | constructed here; the input is not assumed to have a global even extension. -/ |
| 300 | 235 | |
| @@ -320,11 +255,6 @@ theorem evenCutoff_eventually_one (r : ℝ) : evenCutoff r =ᶠ[𝓝 0] (fun _ = | ||
| 320 | 255 | with x hx hn |
| 321 | 256 | simp only [evenCutoff, hx, hn, mul_one] |
| 322 | 257 | |
| 323 | -omit [CompleteSpace E] in | |
| 324 | -theorem localized_eventuallyEq (r : ℝ) (f : ℝ → E) : localized r f =ᶠ[𝓝 0] f := by | |
| 325 | - filter_upwards [evenCutoff_eventually_one r] with x hx | |
| 326 | - simp only [localized, hx, one_smul] | |
| 327 | - | |
| 328 | 258 | private theorem one_lt_scaled_abs {r x : ℝ} (hr : 0 < r) (hx : r ≤ |x|) : |
| 329 | 259 | 1 < |(2 / r) * x| := by |
| 330 | 260 | rw [abs_mul, abs_of_pos (div_pos (by norm_num) hr)] |
| @@ -340,35 +270,6 @@ theorem localized_eventually_zero {r x : ℝ} (hr : 0 < r) (hx : r ≤ |x|) (f : | ||
| 340 | 270 | with y hy |
| 341 | 271 | simp only [localized, evenCutoff, hy, zero_mul, zero_smul] |
| 342 | 272 | |
| 343 | -omit [CompleteSpace E] in | |
| 344 | -theorem contDiff_localized {r : ℝ} (hr : 0 < r) {f : ℝ → E} | |
| 345 | - (hf : ContDiffOn ℝ ∞ f (Ioo (-r) r)) : ContDiff ℝ ∞ (localized r f) := by | |
| 346 | - rw [contDiff_iff_contDiffAt] | |
| 347 | - intro x | |
| 348 | - by_cases hx : |x| < r | |
| 349 | - · exact (contDiff_evenCutoff r).contDiffAt.smul | |
| 350 | - (hf.contDiffAt (isOpen_Ioo.mem_nhds (abs_lt.mp hx))) | |
| 351 | - · exact contDiffAt_const.congr_of_eventuallyEq | |
| 352 | - (localized_eventually_zero hr (le_of_not_gt hx) f) | |
| 353 | - | |
| 354 | -omit [CompleteSpace E] in | |
| 355 | -theorem even_localized {r : ℝ} (hr : 0 < r) {f : ℝ → E} | |
| 356 | - (he : ∀ x ∈ Ioo (-r) r, f (-x) = f x) : Function.Even (localized r f) := by | |
| 357 | - intro x | |
| 358 | - by_cases hx : |x| < r | |
| 359 | - · change evenCutoff r (-x) • f (-x) = evenCutoff r x • f x | |
| 360 | - rw [even_evenCutoff r x, he x (abs_lt.mp hx)] | |
| 361 | - · have hx' : r ≤ |x| := le_of_not_gt hx | |
| 362 | - have hnx : r ≤ |-x| := by simpa only [abs_neg] using hx' | |
| 363 | - rw [(localized_eventually_zero hr hnx f).eq_of_nhds, | |
| 364 | - (localized_eventually_zero hr hx' f).eq_of_nhds] | |
| 365 | - | |
| 366 | -omit [CompleteSpace E] in | |
| 367 | -theorem descent_localized_eventuallyEq (r : ℝ) (f : ℝ → E) : | |
| 368 | - descent (localized r f) =ᶠ[𝓝 0] descent f := | |
| 369 | - (localized_eventuallyEq r f).comp_tendsto | |
| 370 | - (by simpa only [Real.sqrt_zero] using Real.continuous_sqrt.tendsto (0 : ℝ)) | |
| 371 | - | |
| 372 | 273 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] in |
| 373 | 274 | theorem descent_square_local {r : ℝ} {f : ℝ → E} |
| 374 | 275 | (he : ∀ x ∈ Ioo (-r) r, f (-x) = f x) {x : ℝ} (hx : x ∈ Ioo (-r) r) : |
| @@ -378,21 +279,4 @@ theorem descent_square_local {r : ℝ} {f : ℝ → E} | ||
| 378 | 279 | · rw [abs_of_nonneg h] |
| 379 | 280 | · rw [abs_of_neg h, he x hx] |
| 380 | 281 | |
| 381 | -/-- The exact endpoint jets of the local descent, using actual within | |
| 382 | -derivatives on the closed positive half-line. -/ | |
| 383 | -theorem iteratedDerivWithin_descent_zero_local {r : ℝ} (hr : 0 < r) {f : ℝ → E} | |
| 384 | - (hf : ContDiffOn ℝ ∞ f (Ioo (-r) r)) | |
| 385 | - (he : ∀ x ∈ Ioo (-r) r, f (-x) = f x) (n : ℕ) : | |
| 386 | - iteratedDerivWithin n (descent f) (Ici 0) 0 = | |
| 387 | - ((n.factorial : ℝ) / ((2 * n).factorial : ℝ)) • iteratedDeriv (2 * n) f 0 := by | |
| 388 | - have h := iteratedDerivWithin_descent_zero | |
| 389 | - (contDiff_localized hr hf) (even_localized hr he) n | |
| 390 | - have hEq := descent_localized_eventuallyEq r f | |
| 391 | - have hd : iteratedDerivWithin n (descent (localized r f)) (Ici 0) 0 = | |
| 392 | - iteratedDerivWithin n (descent f) (Ici 0) 0 := by | |
| 393 | - simp only [iteratedDerivWithin_eq_iteratedFDerivWithin] | |
| 394 | - rw [(hEq.filter_mono nhdsWithin_le_nhds).iteratedFDerivWithin_eq hEq.eq_of_nhds n] | |
| 395 | - rw [hd, (localized_eventuallyEq r f).iteratedDeriv_eq (2 * n)] at h | |
| 396 | - exact h | |
| 397 | - | |
| 398 | 282 | end NavierStokes.EvenSmoothDescent |
+25 −0 routes/s1-ns-even-3/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-even-3 | |
| 6 | + | |
| 7 | +S-1 (#10), unit `s1-ns-even-3`: the `NavierStokes/Even*` family, file | |
| 8 | +`NavierStokes/EvenSmoothDescent.lean`. I delete 12 declarations that nothing on | |
| 9 | +`main` uses — 116 lines, deletions only (the list is in the pull request). The | |
| 10 | +unit was cut by Treant (TitiSkywalker/NavierStokesAndEuler, the run of | |
| 11 | +2026-12-03) and re-cut from this project's main under the keep rule. No other | |
| 12 | +agent holds this family on the board; nothing in the patch had to be kept back. | |
| 13 | + | |
| 14 | +Checked before committing: `git grep -w` finds no remaining use of any of the | |
| 15 | +12 short names (the only hits are distinct plane-valued declarations of the same | |
| 16 | +short names in `NavierStokes/ParametricEvenDescent.lean`); no deleted docstring | |
| 17 | +cites the paper; `python3 checks/challenge.py .` ends `ok`. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +The pull request is open; wait for `challenge` and `build` on its head. A local | |
| 22 | +build was not possible (no `.lake` cache, and `lake exe cache get` could not | |
| 23 | +proceed), so `build` is the first compile of this tree. If a deleted declaration | |
| 24 | +turns out to be needed, restore it from `origin/main` rather than editing the | |
| 25 | +patch by hand. | |