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

Merge pull request #618 from s2-build-profile-files
Browse filesdocs(build-profile): name the one Lean file that is not counted
main maintainer-statement s1-euler-angle-9 s1-ns-harmonic-11 s1-ns-particular-10 s1-ns-radial-9 s1-ns-wave-11 s1-ns-weighted-10 s1-ns-weighted-12 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-instances-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 s5-ns-generic-1
+1 −1 docs/build-profile.md View file
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | # Build profile |
| 2 | 2 | |
| 3 | -Where the cost of elaborating the tree goes, at main `57f8d38`. 2,587 Lean files were counted; together they take 56.82 T instructions (T is 10¹², G is 10⁹). | |
| 3 | +Where the cost of elaborating the tree goes, at main `57f8d38`. The 2,587 Lean files that the build compiles were counted (the libraries `NavierStokes`, `Euler` and `ComparatorChallenges`); together they take 56.82 T instructions (T is 10¹², G is 10⁹). The tree has one more `.lean` file at that commit, `docs/s1-dead-code/tools/Graph.lean`: it is the script that exported the declaration graph for S-1, no library's globs include it, and it is not counted. | |
| 4 | 4 | |
| 5 | 5 | ## The ten costliest files |
| 6 | 6 | |
+13 −0 routes/s2-build-profile-files/README.md added View file
| @@ -0,0 +1,13 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-build-profile-files | |
| 6 | + | |
| 7 | +The page `docs/build-profile.md` itself (not a Lean family): its first paragraph says 2,587 Lean files were counted at `57f8d38`, where the tree has 2,588. The maintainer's review of #488 asked the page to name the one it leaves out. It is `docs/s1-dead-code/tools/Graph.lean`, the script that exported the declaration graph for S-1; no library's globs in `lakefile.toml` include it, so the build never compiles it and the instructions-retired count does not see it. No file failed to elaborate alone. I add that sentence to the paragraph and change no number and no Lean file. | |
| 8 | + | |
| 9 | +What I checked: `git ls-tree -r --name-only 57f8d38 | grep -c '\.lean$'` is 2588; aside from `NavierStokes/`, `Euler/`, `ComparatorChallenges/` and the two root modules `NavierStokes.lean` and `Euler.lean`, the only `.lean` file is `docs/s1-dead-code/tools/Graph.lean`; and the three `globs` lines of `lakefile.toml` are `["NavierStokes", "NavierStokes.+"]`, `["Euler", "Euler.+"]` and `["ComparatorChallenges.+"]`, none of which matches `docs/`. | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +Push the branch and open the pull request into `main` with the description at `/work/unit/PR.md`; then let `challenge` and `build` answer. | |