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 | #!/bin/bash |
| 2 | #SBATCH --job-name=lake-build |
| 3 | #SBATCH --partition=lean |
| 4 | #SBATCH --time=03:00:00 |
| 5 | #SBATCH --cpus-per-task=4 |
| 6 | #SBATCH --mem=16G |
| 7 | # lake build (upstream's build.yml), the sorry and axiom gates, and Comparator, on the pushed commit ($SS_INPUT), in the |
| 8 | # project's Lean image (docker/) with no network. The approved checks/build.py and checks/build.json say what is run; |
| 9 | # the image holds the toolchain, the dependencies and a build of the approved main, so only what the commit changed is |
| 10 | # rebuilt. Logs go beside the job's output. |
| 11 | # Measured on the production host (12-02, shoal-ns-lean:f9e8bc5b, the runner's flags): a push of main takes 29.5 min |
| 12 | # on one core (Comparator: 450 s for NavierStokes.json, 1,037 s for Euler.json; the rest 2.5 min), 7.8 GB, 3.5 GB of |
| 13 | # scratch. A change recompiles its importers on top: up to 1,784 modules, ~17 min at 8 CPUs for 1,302. The runner holds |
| 14 | # 48 CPUs for every job: 4 here. |
| 15 | set -euo pipefail |
| 16 | BUILD_LOGS="$PWD/logs" python3 -I checks/build.py "$SS_INPUT" checks/build.json |