← Lab /Software

New benchmark tests LLMs on proving low-level cryptographic assembly code

S2n-bignum-bench can evaluate LLM-generated proof scripts for industrial assembly routines in HOL Light

Software arXiv 15 Mar 2026 Benchmark Prototype evidence

Published as “s2n-bignum-bench: A practical benchmark for evaluating low-level code reasoning of LLMs”

Why it matters

Provides a practical testbed for measuring how well LLMs can reason about verified low-level cryptographic implementations, informing future research on neurosymbolic theorem proving.

Summary

The paper introduces s2n-bignum-bench, a public benchmark that asks LLMs to synthesize HOL Light proof scripts for verified low-level cryptographic assembly routines from the industrial s2n-bignum library. It provides the formal specification and a fixed proof-check timeout, but the excerpt contains no evaluation results, so the strength of any evidence cannot be assessed.

What’s new here 4

  • First public benchmark targeting machine-checkable proof synthesis for industrial cryptographic assembly code in HOL Light.
  • Shifts focus from competition-style mathematics to real-world low-level code reasoning.
  • Provides a formal specification and an automated evaluation harness with a timeout.
  • Open-source benchmark code is released for community use.