Towards Repository-Level Program Verification with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Recent advancements in large language models (LLMs) suggest great promises in code and proof generations. However, scaling automated formal verification to real-world projects requires resolving cross-module dependencies and global contexts, which are crucial challenges overlooked by existing LLM-based methods with a special focus on targeting isolated, function-level verification tasks. To systematically explore and address the significant challenges of verifying entire software repositories, we introduce RVBench, the first verification benchmark explicitly designed for repository-level evaluation, constructed from four diverse and complex open-source Verus projects. We further introduce RagVerus, an extensible framework that synergizes retrieval-augmented generation with context-aware prompting to automate proof synthesis for multi-module repositories. RagVerus triples proof pass rates on existing benchmarks under constrained model inference budgets, and achieves a 27% relative improvement on the more challenging RVBench benchmark, demonstrating a scalable and sample-efficient verification solution.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 15 of its 38 references that are in the map. First posted on arXiv 31 Aug 2025.
Builds on
15 of 38 references.
References · 15
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
- 2022Repository-Level Prompt Generation for Large Language Models of Codecited by 106
- 2024Towards AI-Assisted Synthesis of Verified Dafny Methodscited by 58
- 2024Enchanting Program Specification Synthesis by Large Language Models using Static Analysis and Program Verificationcited by 58
- 2024A Survey on Deep Learning for Theorem Provingcited by 57
- 2024DafnyBench: A Benchmark for Formal Software Verificationcited by 57
- 2023Verus: Verifying Rust Programs using Linear Ghost Types (extended version)cited by 53
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 49
- 2024AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinementcited by 35
3 more
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systemscited by 12
- 2026Vero: Can AI Agents Build Formally Verified Software Repositories?cited by 2
- 2026Can LLMs Reason Like Automated Theorem Provers for Rust Verification? VCoT-Bench: Evaluating via Verification Chain of Thoughtcited by 0
- 2026An AI Approach to Verified Production Cryptographic Librariescited by 0
- 2026Vero: Can AI Agents Build Formally Verified Software Repositories?13 Aug 2026
- 2026An AI Approach to Verified Production Cryptographic Libraries2 Aug 2026
- 2026Can LLMs Reason Like Automated Theorem Provers for Rust Verification? VCoT-Bench: Evaluating via Verification Chain of Thought18 Mar 2026
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systems20 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025RAG-Verus: Repository-Level Program Verification with LLMs using Retrieval Augmented Generation
- 2026KVerus: Scalable and Resilient Formal Verification Proof Generation for Rust Code
- 2026RepoZero: Can LLMs Generate a Code Repository from Scratch?
- 2026RepoReasoner: Evaluating Repository-Level Code Reasoning Ability of Long-Context Language Models
- 2026An Execution-Verified Multi-Language Benchmark for Code Semantic Reasoning
- 2025VeriEquivBench: An Equivalence Score for Ground-Truth-Free Evaluation of Formally Verifiable Code
- 2026P3: Joint Program-and-Proof Planning for Verified Code Generation
- 2026SWE-Proof: Can Language Models Resolve Real-World Issues with Machine-Checked Proofs?