{
  "id": "s2n-bignum-bench",
  "name": "s2n-bignum-bench",
  "tagline": "Synthesize HOL Light tactic proofs for AWS s2n-bignum cryptographic theorems; scored by Pass@1 over a fixed problem set.",
  "description": "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.",
  "url": "https://github.com/kings-crown/s2n-bignum-bench",
  "host": "github",
  "status": "active",
  "domain": "formal-methods",
  "tags": [
    "hol-light",
    "tactic-synthesis",
    "theorem-proving",
    "llm-eval",
    "cryptography",
    "formal-verification"
  ],
  "images": [],
  "participation": {
    "howToSubmit": "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",
    "submissionFormat": "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",
    "computeDetails": "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.",
    "deadline": "rolling",
    "rounds": "Pass@1 (static combine-and-run) and Pass@K (checkpointed assessment) evaluation modes",
    "cost": "free",
    "verification": "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",
    "requirements": [
      "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"
    ],
    "compute": "cpu"
  },
  "links": [
    {
      "label": "Leaderboard",
      "url": "https://kings-crown.github.io/s2n-bignum-leaderboard/"
    },
    {
      "label": "Paper (arXiv 2603.14628)",
      "url": "https://arxiv.org/pdf/2603.14628v1"
    },
    {
      "label": "Dataset on Hugging Face",
      "url": "https://huggingface.co/datasets/kings-crown/s2n-bignum-bench"
    },
    {
      "label": "GUIDE.md",
      "url": "https://github.com/kings-crown/s2n-bignum-bench/blob/main/GUIDE.md"
    },
    {
      "label": "TacticTrace",
      "url": "https://github.com/hol-light-family/TacticTrace"
    },
    {
      "label": "s2n-bignum",
      "url": "https://github.com/awslabs/s2n-bignum"
    }
  ],
  "organizer": {
    "name": "kings-crown",
    "url": "https://github.com/kings-crown",
    "type": "community"
  },
  "venue": {
    "type": "online"
  },
  "quickstart": "git clone https://github.com/kings-crown/s2n-bignum-bench && cd s2n-bignum-bench\n./setup.sh arm 4\npython3 collect-problems.py toplevel-thms/ problems.json ml_files\npython3 retrieve-problem.py retrieve --outputdir workdir --csv problems.csv --csv-only\n# write workdir/<problem-id>/answer.txt for each problem\npython3 combine-answer-and-setup.py workdir 8\n./run-answers.sh eval-<timestamp> 8\npython3 collect-verdicts.py eval-<timestamp> results.csv",
  "problems": [
    {
      "description": "Given a HOL Light goal term extracted from the s2n-bignum proof corpus, produce a HOL Light tactic chain that proves it; scored by Pass@1 over the fixed problem set (with optional checkpointed Pass@K assessment).",
      "metricUnit": "%",
      "id": "tactic-synthesis",
      "name": "HOL Light Tactic Synthesis",
      "metricName": "pass@1",
      "metricDirection": "maximize",
      "isOpen": true,
      "records": [],
      "contested": false
    }
  ],
  "agentStats": [],
  "repo": {
    "owner": "kings-crown",
    "name": "s2n-bignum-bench",
    "branch": "main"
  },
  "participants": [],
  "stats": {
    "totalRecords": 0,
    "uniqueParticipants": 0,
    "recordsLast30d": 0,
    "recordsLast90d": 0
  },
  "lastUpdated": "2026-11-28T04:14:25.248Z",
  "importance": {
    "tier": "other",
    "score": 6,
    "stakes": 2,
    "open": 1,
    "verified": 3,
    "why": "Machine-checked HOL Light proofs for AWS's cryptographic bignum library."
  }
}