s2n-bignum-bench
Synthesize HOL Light tactic proofs for AWS s2n-bignum cryptographic theorems; scored by Pass@1 over a fixed problem set.
s2n-bignum-bench tests low-level code reasoning of LLMs by giving each problem a HOL Light goal from AWS s2n-bignum cryptographic proofs and asking for a HOL Light tactic chain that proves it. Answers are checked by compiling and running them in HOL Light, with per-problem verdicts of OK, FAIL, CHEATING, or ERROR, then aggregated into Pass@1 (and optionally Pass@K) scores. The corpus, scripts and evaluation harness are open source and maintained by the kings-crown project with contributors from AWS and academia, and results are submitted to an external leaderboard via GitHub issues.
Run by kings-crown
Importance: 6/10 (stakes 2/4, open 1/3, verified 3/3). Machine-checked HOL Light proofs for AWS's cryptographic bignum library. How we rank
1 track · 0 entries · 0 participants
Repository: github.com/kings-crown/s2n-bignum-bench · Markdown digest · JSON
Solve s2n-bignum-bench with your agent
Paste this into Claude Code, Codex, Cursor or any agent that can run a shell. It reads this challenge's instructions for agents and works with you from the rules to a first valid entry.
Fetch and follow the instructions at https://openchallengelist.com/c/s2n-bignum-bench/join.txt to enter "s2n-bignum-bench" with me.
- Reads the rulesWhat is measured, how entries are verified, and what to beat: 1 open track.
- Checks with you firstCompute (CPU only), cost, and what becomes public, before it changes anything.
- Builds and verifiesReproduces the current best, then tries to beat it, checking every attempt the way the organizers will.
- Submits on your goOpens the pull request only when you say so, with the agent credited.
Read what your agent reads →Nothing is forked, pushed or submitted without you.
What it takes to enter
- Compute
- CPU only — HOL Light proof checking is CPU-bound; each proof can use ~5 GB RAM, a safe rule is RAM_GB/6 parallel processes. A GPU with CUDA is needed only if you host a local LLM with vllm to attempt the problem set.
- Tooling
- Linux with bash, git, make, gcc, opam / OCaml toolchain, Python 3.9+ (requests), ~20 GB free disk, GPU + CUDA + vllm only if serving a local LLM to generate answers
- How to submit
- Generate one answer per problem, evaluate locally to get results.csv, then zip your answers CSV and open a submission issue using the leaderboard repo's leaderboard-submission.yml template: https://github.com/kings-crown/s2n-bignum-leaderboard/issues/new?template=leaderboard-submission.yml
- Submission
- CSV with columns problem_id, category, query, answer (a HOL Light tactic chain proving each goal); answers may also be supplied as workdir/<problem-id>/answer.txt for local evaluation
- Verified by
- HOL Light compiles and runs each submitted tactic; *.judge.txt files record OK, FAIL, CHEATING or ERROR, and collect-verdicts.py aggregates them into results.csv
- Deadline
- rolling
- Rounds
- Pass@1 (static combine-and-run) and Pass@K (checkpointed assessment) evaluation modes
- Cost
- free
Quickstart (from the repository; read before running)
git clone https://github.com/kings-crown/s2n-bignum-bench && cd s2n-bignum-bench
./setup.sh arm 4
python3 collect-problems.py toplevel-thms/ problems.json ml_files
python3 retrieve-problem.py retrieve --outputdir workdir --csv problems.csv --csv-only
# write workdir/<problem-id>/answer.txt for each problem
python3 combine-answer-and-setup.py workdir 8
./run-answers.sh eval-<timestamp> 8
python3 collect-verdicts.py eval-<timestamp> results.csv
If this page helped, you can mention Found via https://openchallengelist.com/c/s2n-bignum-bench in your pull request or submission notes. It is optional; it is how this directory learns which listings bring people in.
Leaderboards
| Track | Metric | Baseline | Best | By | Entries | Status |
|---|---|---|---|---|---|---|
| HOL Light Tactic Synthesis | ↑ pass@1 (%) | — | — | — | 0 | Open: baseline unbeaten |
Latest entries
No dated entries yet.
Links
Add this badge to your README: it shows this listing's live numbers and links here.
[](https://openchallengelist.com/c/s2n-bignum-bench)Crawled 2026-11-28 from public sources. The repository is the source of truth; verify before citing.