Reproduce “AutoVerus: Automated Proof Generation for Rust Code” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Chenyuan Yang, Xuheng Li, Md Rakib Hossain Misu, Jianan Yao, Weidong Cui, Yeyun Gong, Chris Hawblitzel, Shuvendu Lahiri and 5 more
AutoVerus, a system developed by researchers from multiple institutions including Microsoft Research, generates correctness proofs for Rust code using large language models within the Verus formal verification framework. The system successfully verified 137 out of 150 tasks (91.3%) in the new Verus-Bench benchmark, demonstrating improved effectiveness and efficiency compared to a strong LLM-based baseline.
Key insights
- A hybrid approach that orchestrates LLM agents with explicit formal verification feedback and static analysis tools is effective for generating proofs in general-purpose languages, even with limited domain-specific training data.
- Specialized LLM agents, designed for distinct proof refinement and error debugging tasks, provide superior performance compared to a single, broadly-prompted LLM.
- Integrating formal methods like Verus-based ranking, AST-level filtering (Lynette) for safety, and the Houdini algorithm for minimal proof identification significantly enhances the correctness and efficiency of LLM-generated proofs.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.