From GRH to Goldbach: the spectral bridge
Verify the 2026 conditional proof GRH + S ⇒ Goldbach, settle its finite parts, and attack the hypothesis that is left

Checks
The project's checks are declared in scienceslack.json:
"checks": {
"count": {
"path": "checks/verify.sbatch",
"metrics": "count-metrics.json",
"gate": false,
"reads": ["CERTIFICATE.json"]
}
}
What it verifies
verify.py checks a route's CERTIFICATE.json for E-6 (the example) and C-1 (Appendix B exactly).
For E-6:
targetisE-6,Nis 30030;- every pair
[p, q]hasp <= q,p + q = 30030, and both entries prime; - no unordered pair repeats;
- the set of pairs equals the set recomputed by the checker;
- the count is 905.
It prints E-6: 905 on success.
For C-1 it recomputes, in exact rationals with only the standard library, the paper's Appendix B for N = 30030:
the 905 pairs, B-01's 75 edge pairs and E, the 26 proper-prime-power pairs and C_pp/2, N·J, and the identity
N·J/2 − C_pp/2 + E = 905, and compares the certificate's values as fractions (in about 0.1 s). It prints
C-1: Appendix B exact on success.
It writes the metrics file only when --metrics is given and the certificate passes. A route with no
CERTIFICATE.json passes with "Nothing to check yet" and reports no value.
A certificate for another target in docs/submission.md (C-2 … C-5) exits 0 with "no automatic verifier for
<target> yet": the project has not fixed that schema, and a route must not go red for it. A maintainer reads it. An
unknown target is an error.
Run it locally
python3 checks/verify.py examples/count-30030
python3 checks/verify.py routes/<name>
python3 scripts/make-certs.sh
Run it on the platform
The check runs checks/verify.sbatch in the approved version (the commit tagged checks), with:
- the job's working directory — the approved version of the project, so
checks/verify.sbatchandchecks/verify.pyrun from there and a route that edits a checker changes nothing; $SS_INPUT— the root of the pushed commit;$SS_ROUTE_DIR— the route's folder; the certificate is read from$SS_INPUT/$SS_ROUTE_DIR.
verify.sbatch calls the approved verify.py on that folder and writes count-metrics.json to the working
directory, where the runner looks for the file named by "metrics". Writing it into $SS_INPUT loses the score.
The Lean check
The second check, lean, verifies a fixed-statement Lean submission:
"lean": {
"path": "checks/lean.sbatch",
"image": "goldbach-lean:4.35",
"metrics": "lean-metrics.json",
"gate": false,
"paths": ["**/*.lean", "**/target.json"],
"reads": ["Solution.lean", "target.json"]
}
A route supplies target.json ({"target": "h-log"}) and Solution.lean, read from $SS_INPUT/$SS_ROUTE_DIR. The
approved lean_verify.py and targets/ come from the job's working directory, the pinned Li–Liu project from the image
at /opt/goldbach/formalization, and the score lean-metrics.json is written to the working directory. lean_verify.py
copies the approved Challenge to ConditionalGoldbach/UserChallenge.lean, the route's solution to ConditionalGoldbach/UserSolution.lean, builds both, runs lake comparator, and parses #print axioms. The route never supplies the challenge, comparator, lakefile, or toolchain.
Not declared yet. scienceslack.json declares the lean check only once a runner has the toolchain (no public
image is published: build it from docker/lean-check.Dockerfile). Until then a maintainer reruns a route's solution
with scripts/lean-local.sh or scripts/lean-docker.sh check not-r routes/<name>.
The image is built from docker/lean-check.Dockerfile. See docs/lean-verification.md.
gate is false in the initial repository so a missing image cannot block merges. After building the image and passing the end-to-end target as a smoke test, set it to true.
Add a new check
- Add a script under
checks/that exits 0 on success and 1 on the first error. - Print a clear last line, or write the metrics file named in
scienceslack.jsonwith{"score": ..., "subtasks": {...}}. - Add an entry under
checksinscienceslack.json. - Open a pull request; the maintainers approve the rules by moving the
checkstag.
Do not add a check that only repeats the expected number. It must recompute the claim or verify a certificate/proof.