s2n-bignum-bench: A practical benchmark for evaluating low-level code reasoning of LLMs
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Neurosymbolic approaches leveraging Large Language Models (LLMs) with formal methods have recently achieved strong results on mathematics-oriented theorem-proving benchmarks. However, success on competition-style mathematics does not by itself demonstrate the ability to construct proofs about real-world implementations. We address this gap with a benchmark derived from an industrial cryptographic library whose assembly routines are already verified in HOL Light. s2n-bignum is a library used at AWS for providing fast assembly routines for cryptography, and its correctness is established by formal verification. The task of formally verifying this library has been a significant achievement for the Automated Reasoning Group. It involved two tasks: (1) precisely specifying the correct behavior of a program as a mathematical proposition, and (2) proving that the proposition is correct. In the case of s2n-bignum, both tasks were carried out by human experts. In textits2n-bignum-bench, we provide the formal specification and ask the LLM to generate a proof script that is accepted by HOL Light within a fixed proof-check timeout. To our knowledge, textits2n-bignum-bench is the first public benchmark focused on machine-checkable proof synthesis for industrial low-level cryptographic assembly routines in HOL Light. This benchmark provides a challenging and practically relevant testbed for evaluating LLM-based theorem proving beyond competition mathematics. The code to set up and use the benchmark is available here: hrefhttps://github.com/kings-crown/s2n-bignum-benchs2n-bignum-bench.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 13 of its 23 references that are in the map. First posted on arXiv 15 Mar 2026.
Builds on
13 of 23 references.
Closest ancestors · 1
Same direction, newest first
Other references · 12
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 391
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 165
- 2024miniCTX: Neural Theorem Proving with (Long-)Contextscited by 37
- 2025VERINA: Benchmarking Verifiable Code Generationcited by 34
- 2025CLEVER: A Curated Benchmark for Formally Verified Code Generationcited by 29
- 2024miniCodeProps: a Minimal Benchmark for Proving Code Propertiescited by 18
- 2026VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Leancited by 8
- 2026SorryDB: Can AI Provers Complete Real-World Lean Theorems?cited by 8
- 2026Neural Theorem Proving for Verification Conditions: A Real-World Benchmarkcited by 4
- 2025Relational Hoare Logic for Realistically Modelled Machine Codecited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025FormalMATH: Benchmarking Formal Mathematical Reasoning of Large Language Models
- 2025ProofCompass: Enhancing Specialized Provers with LLM Guidance
- 2026Mask-Proof: An LLM-based Automated Data Curation Pipeline on Mathematical Proofs
- 2026A Learning Method for Symbolic Systems Using Large Language Models ↗
- 2025HERMES: Towards Efficient and Verifiable Mathematical Reasoning in LLMs
- 2026Evaluating the Architectural Reasoning Capabilities of LLM Provers via the Obfuscated Natural Number Game
- 2025From Informal to Formal -- Incorporating and Evaluating LLMs on Natural Language Requirements to Verifiable Formal Proofs
- 2025Hard2Verify: A Step-Level Verification Benchmark for Open-Ended Frontier Math