AI
New Benchmark Tests AI Models' Ability to Prove Rust Software Correctness
VeruSAGE-Bench, a comprehensive test suite with 849 formal verification tasks, reveals both impressive capabilities and significant limits in leading language models.
Researchers have created a challenging benchmark to evaluate how well large language models can formally verify the correctness of real-world Rust software. The new test suite, called VeruSAGE-Bench, reveals stark differences in model capabilities—and significant gaps that remain.
What Makes This Benchmark Different#
Existing verification benchmarks typically focus on isolated, algorithm-style problems with simple data structures. VeruSAGE-Bench takes a different approach by extracting 849 proof tasks from eight real open-source Rust systems built using the Verus verification tool. These systems span operating systems, storage engines, memory allocators, and more. Each task demands substantially more complex formal specifications—averaging more than 20 times the lines of code found in earlier benchmarks—and requires a wider range of verification techniques.
Model Performance and Costs#
The researchers evaluated six leading LLMs on the benchmark, including OpenAI's o4-mini and GPT-5, Anthropic's Sonnet 4 and Sonnet 4.5, Claude Opus 4.5, and Alibaba's Qwen3.5. The results vary dramatically depending on which model and reasoning approach is used.
The best-performing models demonstrate genuine capability in constructing correctness proofs. However, they come at a steep cost: an average of USD 13.65 per task and roughly 15.3 minutes of computation time per problem. For the hardest verification tasks, the system may require over an hour of reasoning to find a solution.
The Challenge of Complex Verification#
A harder variant of the benchmark removes helper lemmas that human experts had written to aid verification. Under these constraints, even the strongest models struggle considerably—the best model succeeds on only 41% of tasks from the most difficult project, with costs soaring to USD 96 per task. This underscores how much current systems rely on human-provided scaffolding and suggests room for improvement in automated formal reasoning.
Why It Matters#
The benchmark demonstrates that while modern LLMs show promise in reasoning about software correctness, they hit real limits when tackling production-grade verification challenges. The findings should guide development of both better-reasoning models and more effective verification agents, pushing the field toward genuinely trustworthy software development practices.

