Automated Proof Generation for Rust Code via Self-Evolution
21 Oct · Tianyu Chen, Shuai Lu, Shan Lu +9 · arXiv:2410.15756
Ensuring correctness is crucial for code generation. Formal verification offers a definitive assurance of correctness, but demands substantial human effort in proof construction and hence raises a pressing need for automation. The primary obstacle lies in the severe lack of data-there is much fewer proofs than code snippets for Large Language Models (LLMs) to train upon. In this paper, we introduce SAFE, a framework…