VerusWeave: A Benchmark for Proof Repair in Concurrent Verus Programs
Pedro Ribeiro, Martim Afonso, Andr\'e Vasconcelos, Jo\~ao F. Ferreira
Key points
From the paper's conclusion- To address this gap, we introduce VerusWeave, the first benchmark dedicated to concurrent proof repair, derived from four open-source projects.
Abstract
Concurrent software underpins critical infrastructure, including operating systems and databases, yet thread interactions can have bugs that bypass conventional testing. Verus extends Rust with formal verification capabilities, enabling developers to specify, implement and prove the correctness of concurrent code in the same language. Although coding agents have been explored for automated proof construction, existing Verus benchmarks offer limited coverage of concurrency-specific examples that connect atomic operations to abstract protocols. To address this gap, we introduce VerusWeave, the first benchmark dedicated to concurrent proof repair, derived from four open-source projects. It comprises 75 focused tasks and 17 full-module variants that exercise features used to verify low-level concurrent code. Tasks remove selected proof annotations and require agents to fill gaps, while preserving executable code and specifications. The evaluation harness validates repairs using Verus and a change checker, recording solutions, execution traces, and resource usage. An initial evaluation of four general-purpose coding-agent harnesses achieved 75-85% success on focused tasks and 29-47% on full-module variants, highlighting the challenge of autonomous module-wide repairs. VerusWeave provides a reusable foundation for evaluating automated proof construction for concurrent software.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AutoVerus: Automated Proof Generation for Rust CodeProceedings of the ACM on Programming Languages · 2025
- SeVerus: Context-Aware, Gamified Benchmarking for Rust VerificationarXiv · 2026
- ProofCoder: Continuous Reasoning for Automated Software VerificationarXiv · 2026
- CONCUR: Benchmarking LLMs for Concurrent Code GenerationProceedings of the ACM on Software Engineering · 2026
- From Dead Code and Static Requirements to Working Engines: Software Revival with Coding AgentsarXiv · 2026
- Towards Agentic Proof Harness EngineeringarXiv · 2026