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/Pressure): delete 6 declarations nothing uses
Browse filesPart of #10. Deletes six unused declarations in NavierStokes/PressureStream.lean; deletions only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main s1-ns-harmonic-11 s1-ns-pressure-9 s1-ns-radial-9 s1-ns-wave-11 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-euler-1 s2-euler-finite-1 s2-euler-mean-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-transverse-1 s2-ns-actual-1 s2-ns-annular-1 s2-ns-base-1 s2-ns-common-1 s2-ns-correction-1 s2-ns-current-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-global-1 s2-ns-heat-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-outgoing-2 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-physical-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-reserved-1 s2-ns-residual-1 s2-ns-scaled-2 s2-ns-signed-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-temporal-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-2
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −53 NavierStokes/PressureStream.lean View file
| @@ -202,9 +202,6 @@ noncomputable def graphDr (k : ℝ → ℝ) (v : E) (f : ℝ × E → ℝ) (p : | ||
| 202 | 202 | noncomputable def graphDz (w : E) (f : ℝ × E → ℝ) (p : ℝ × E) : ℝ := |
| 203 | 203 | fderiv ℝ f p (0, w) |
| 204 | 204 | |
| 205 | -theorem graphDz_contDiff {f : ℝ × E → ℝ} (hf : ContDiff ℝ ∞ f) (w : E) : | |
| 206 | - ContDiff ℝ ∞ (graphDz w f) := fixedDeriv_contDiff hf (0, w) | |
| 207 | - | |
| 208 | 205 | theorem radialVector_hasFDerivAt {k : ℝ → ℝ} (v : E) {p : ℝ × E} |
| 209 | 206 | (hk : DifferentiableAt ℝ k p.1) : |
| 210 | 207 | HasFDerivAt (radialVector k v) |
| @@ -333,11 +330,6 @@ theorem graphDr_supported {a b : ℝ} {f : ℝ × E → ℝ} | ||
| 333 | 330 | intro hd |
| 334 | 331 | exact hp (by simp [graphDr, hd]) |
| 335 | 332 | |
| 336 | -theorem graphDz_supported {a b : ℝ} {f : ℝ × E → ℝ} | |
| 337 | - (hs : RadialAlias.RadiallySupported a b f) (w : E) : | |
| 338 | - RadialAlias.RadiallySupported a b (graphDz w f) := | |
| 339 | - fixedDeriv_supported hs (0, w) | |
| 340 | - | |
| 341 | 333 | theorem graphDr_contDiff_of_support {a b : ℝ} (ha : 0 < a) |
| 342 | 334 | {f : ℝ × E → ℝ} {k : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) |
| 343 | 335 | (hs : RadialAlias.RadiallySupported a b f) |
| @@ -435,12 +427,6 @@ theorem streamPotential_supported {d a b M : ℝ} (ha : 0 < a) (hab : a < b) (hd | ||
| 435 | 427 | (RadialPullback.physicalCompact_supported ha hab hd (weightedSource_contDiff hγ) |
| 436 | 428 | (weightedSource_supported hs) M v) |
| 437 | 429 | |
| 438 | -theorem streamBeta_contDiff {d a b M : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 439 | - (v w : E) {γd : ℝ × E → ℝ} (hγ : ContDiff ℝ ∞ γd) | |
| 440 | - (hs : RadialAlias.RadiallySupported a b γd) : | |
| 441 | - ContDiff ℝ ∞ (streamBeta w (streamPotential d a b M v γd)) := | |
| 442 | - (graphDz_contDiff (streamPotential_contDiff ha hab hd v hγ hs) w).neg | |
| 443 | - | |
| 444 | 430 | theorem streamGamma_contDiff {d a b M : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) |
| 445 | 431 | (v : E) {γd : ℝ × E → ℝ} (hγ : ContDiff ℝ ∞ γd) |
| 446 | 432 | (hs : RadialAlias.RadiallySupported a b γd) : |
| @@ -470,17 +456,6 @@ theorem streamGamma_eq_desired_sub_alias {d a b M : ℝ} (ha : 0 < a) (hab : a < | ||
| 470 | 456 | unfold weightedSource |
| 471 | 457 | field_simp |
| 472 | 458 | |
| 473 | -theorem reconstructed_divergence_zero_of_ne {d a b M : ℝ} (ha : 0 < a) (hab : a < b) | |
| 474 | - (hd : 0 < d) (v w : E) {γd : ℝ × E → ℝ} (hγ : ContDiff ℝ ∞ γd) | |
| 475 | - (hs : RadialAlias.RadiallySupported a b γd) (p : ℝ × E) (hp : p.1 ≠ 0) : | |
| 476 | - graphDivergence (physicalSpeed d M) v w | |
| 477 | - (streamBeta w (streamPotential d a b M v γd)) | |
| 478 | - (streamGamma (physicalSpeed d M) v (streamPotential d a b M v γd)) p = 0 := | |
| 479 | - stream_divergence_zero v w | |
| 480 | - ((streamPotential_contDiff ha hab hd v hγ hs).contDiffAt.of_le | |
| 481 | - (ENat.natCast_lt_of_coe_top_le_withTop le_rfl 2).le) | |
| 482 | - ((physicalSpeed_smooth d M hp).differentiableAt (by simp)) hp | |
| 483 | - | |
| 484 | 459 | end Stream |
| 485 | 460 | |
| 486 | 461 | section BarIdentities |
| @@ -669,14 +644,6 @@ section GlobalStream | ||
| 669 | 644 | |
| 670 | 645 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 671 | 646 | |
| 672 | -theorem streamBeta_supported {a b : ℝ} {Ψ : ℝ × E → ℝ} | |
| 673 | - (hs : RadialAlias.RadiallySupported a b Ψ) (w : E) : | |
| 674 | - RadialAlias.RadiallySupported a b (streamBeta w Ψ) := by | |
| 675 | - intro p hp | |
| 676 | - apply graphDz_supported hs w | |
| 677 | - intro hz | |
| 678 | - exact hp (by simp [streamBeta, hz]) | |
| 679 | - | |
| 680 | 647 | theorem streamGamma_supported {a b : ℝ} {Ψ : ℝ × E → ℝ} |
| 681 | 648 | (hs : RadialAlias.RadiallySupported a b Ψ) (k : ℝ → ℝ) (v : E) : |
| 682 | 649 | RadialAlias.RadiallySupported a b (streamGamma k v Ψ) := by |
| @@ -690,26 +657,6 @@ theorem streamGamma_supported {a b : ℝ} {Ψ : ℝ × E → ℝ} | ||
| 690 | 657 | exact hn (divideRadius_supported hs hne) |
| 691 | 658 | exact hp (by simp [streamGamma, hR, hQ]) |
| 692 | 659 | |
| 693 | -/-- The support proof handles the axis as well as the positive annulus. -/ | |
| 694 | -theorem reconstructed_divergence_zero {d a b M : ℝ} (ha : 0 < a) (hab : a < b) | |
| 695 | - (hd : 0 < d) (v w : E) {γd : ℝ × E → ℝ} (hγ : ContDiff ℝ ∞ γd) | |
| 696 | - (hs : RadialAlias.RadiallySupported a b γd) (p : ℝ × E) : | |
| 697 | - graphDivergence (physicalSpeed d M) v w | |
| 698 | - (streamBeta w (streamPotential d a b M v γd)) | |
| 699 | - (streamGamma (physicalSpeed d M) v (streamPotential d a b M v γd)) p = 0 := by | |
| 700 | - by_cases hp : p.1 ≠ 0 | |
| 701 | - · exact reconstructed_divergence_zero_of_ne ha hab hd v w hγ hs p hp | |
| 702 | - · have hp₀ : p.1 = 0 := not_ne_iff.mp hp | |
| 703 | - have hpa : p.1 < a := by simpa [hp₀] using ha | |
| 704 | - have hΨs := streamPotential_supported (M := M) ha hab hd v hγ hs | |
| 705 | - have hβs := streamBeta_supported hΨs w | |
| 706 | - have hγs := streamGamma_supported hΨs (physicalSpeed d M) v | |
| 707 | - have hβ := radial_zero_of_lt hβs hpa | |
| 708 | - have hDβ := radial_zero_of_lt (radialSupport_fderiv hβs) hpa | |
| 709 | - have hDγ := radial_zero_of_lt (radialSupport_fderiv hγs) hpa | |
| 710 | - simp only [graphDivergence, graphDr, graphDz, hβ, hDβ, hDγ, | |
| 711 | - _root_.zero_apply, zero_div, add_zero] | |
| 712 | - | |
| 713 | 660 | theorem streamGamma_eq_desired_sub_alias_global {d a b M : ℝ} |
| 714 | 661 | (ha : 0 < a) (hab : a < b) (hd : 0 < d) (v : E) |
| 715 | 662 | {γd : ℝ × E → ℝ} (hγ : ContDiff ℝ ∞ γd) (hs : RadialAlias.RadiallySupported a b γd) |
+30 −0 routes/s1-ns-pressure-9/README.md added View file
| @@ -0,0 +1,30 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-pressure-9 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Pressure*`: | |
| 8 | +delete 6 declarations that nothing uses, in 1 file, 53 lines. | |
| 9 | + | |
| 10 | +- `NavierStokes/PressureStream.lean`: `graphDz_contDiff`, `graphDz_supported`, | |
| 11 | + `streamBeta_contDiff`, `reconstructed_divergence_zero_of_ne`, `streamBeta_supported`, | |
| 12 | + `reconstructed_divergence_zero` (53 lines) | |
| 13 | + | |
| 14 | +The unit is cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and re-read | |
| 15 | +against this project's declaration graph under the rule that the paper's results stay. The diff is | |
| 16 | +deletions only: no statement or proof that stays is changed. | |
| 17 | + | |
| 18 | +What I checked. For each of the 6 short names, `git grep -n -w` on `*.lean` at the head of this | |
| 19 | +branch finds no hit, so the files left in the tree no longer name them. Of the deleted | |
| 20 | +declarations, only `reconstructed_divergence_zero` had a docstring ("The support proof handles the | |
| 21 | +axis as well as the positive annulus."); it cites no numbered Lemma, Theorem, Proposition, | |
| 22 | +Corollary, Section or Equation, so nothing deleted cites the paper. Nothing had to stay. | |
| 23 | + | |
| 24 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as | |
| 25 | +approved; …`. | |
| 26 | + | |
| 27 | +## Next | |
| 28 | + | |
| 29 | +Open the pull request into `main` with the body of `/work/unit/PR.md`, and leave the `build` | |
| 30 | +verdict to the check. | |