arrow
Return

AUTOVERUS: Automated Proof Generation for Rust Code

delete2025-10-01
delete0
PRE
AI
C
Chenyuan Yang *
X
X. Li
M
Md Rakib Hossain Misu
J
Jianan Yao
W
Weidong Cui
Y
Yeyun Gong
C
Chris Hawblitzel
S
Shuvendu K. Lahiri
J
Jacob R. Lorch
S
Shuai Lu
F
Fan Yang
Z
Ziqiao Zhou
S
Shan Lu
DOI:10.1145/3763174delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Generative AI has shown its value for many software engineering tasks. Still in its infancy, large language model (LLM)-based proof generation lags behind LLM-based code generation. In this paper, we present AUTOVERUS. AUTOVERUS uses LLMs to automatically generate correctness proof for Rust code. AUTOVERUS is designed to match the unique features of Verus, a verification tool that can prove the correctness of Rust code using proofs and specifications also written in Rust. AUTOVERUS consists of a network of agents that are crafted and orchestrated to mimic human experts' three phases of proof construction: preliminary proof generation, proof refinement guided by generic tips, and proof debugging guided by verification errors. To thoroughly evaluate AUTOVERUS and help foster future research in this direction, we have built a benchmark suite of 150 non-trivial proof tasks, based on existing code-generation benchmarks and verification benchmarks. Our evaluation shows that AUTOVERUS can automatically generate correct proof for more than 90% of them, with more than half of them tackled in less than 30 seconds or 3 LLM calls.
Keywords:
Program Verification
Program Synthesis
Verus
Large Language Models

Journal

P
Proceedings of the ACM on Programming Languages-PACMPL
IF:
2.8
Papers:
308
Citations:
4.7K

Organization

C
Columbia University
Scholars:
7.1W
Papers: 6.4W
Citations: 263
U
University of Illinois Urbana-Champaign
Scholars:
2.4W
Papers: 2.0W
Citations: 35
University of California System cover
University of California System
Scholars:
37.5W
Papers: 33.7W
Citations: 6.6K
University of Illinois System cover
University of Illinois System
Scholars:
6.8W
Papers: 6.2W
Citations: 644
U
University of Toronto
Scholars:
3.9K
Papers: 1.6K
Citations: 14.2W
U
university of california irvine
Scholars:
2.3W
Papers: 1.7W
Citations: 55
researcher View more organizations