Skip to content
Book Open access

VerusSeek: Retrieval-Augmented LLM-Based Proof Synthesis for Rust Programs

Oct 2026 · Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering · 0 citations · 15 references

TL;DR

VerusSeek is presented, a retrieval-augmented tool for LLM-assisted Verus proof synthesis for Rust programs that indexes previously verified Verus code as semantic proof constructs, including contracts, assertions, loop invariants, lemmas, and proof blocks.

Abstract

Formal verification of Rust programs with Verus provides strong correctness guarantees, but developing the auxiliary specifications and proofs still requires considerable manual effort. Existing LLM-based proof-synthesis agents can automate part of this process, yet their effectiveness on non-trivial tasks is often limited by the lack of reusable proof patterns that are directly relevant to verification. This paper presents VerusSeek, a retrieval-augmented tool for LLM-assisted Verus proof synthesis for Rust programs. Instead of retrieving entire files or functions, VerusSeek indexes previously verified Verus code as semantic proof constructs, including contracts, assertions, loop invariants, lemmas, and proof blocks. For each verification task, the tool performs type-aware retrieval to select constructs that match the current proof obligation, expands them with bounded hierarchical context, and synthesizes lightweight structural loop-invariant hints for index bounds, frame conditions, and termination arguments. Verus checks each candidate proof, and the resulting diagnostics guide the next repair attempt. On 150 tasks from VerusBench, VerusSeek verifies 122 tasks, compared with 69 for AutoVerus and 85 for RagVerus. A demonstration video of VerusSeek is available at https://youtu.be/p2mb61gj95A.

Read PDF

Similar papers

Preprint Oct 2026

VerusWeave: A Benchmark for Proof Repair in Concurrent Verus Programs

VerusWeave is introduced, the first benchmark dedicated to concurrent proof repair, derived from four open-source projects and provides a reusable foundation for evaluating automated proof construction for concurrent software.

P. Ribeiro, Martim Afonso, André Vasconcelos et al. · 0 citations
Preprint Nov 2026

ProofCoder: Continuous Reasoning for Automated Software Verification

Formal verification using proof assistants provides strong correctness guarantees for software, but constructing proofs remains labor-intensive and requires significant expertise. Recent approaches based on large language models (LLMs) have shown promise in automating proof synthesis. However, these approaches typicall...

Martim Afonso, I. Lynce, Maurizio Morisio et al. · 0 citations
#artificial intelligence Preprint Nov 2026

SeVerus: Context-Aware, Gamified Benchmarking for Rust Verification

SEVERUS, a context-aware technique to generate Verus benchmarks that organizes verification tasks into quests, each divided into levels in a gamified manner, provides a foundation for constructing verification benchmarks that can continue to challenge increasingly capable coding agents.

Álvaro F. Silva, Martim Afonso, Nuno Saavedra et al. · 0 citations
Sep 2026

SLED-IFV: Solver-Validated LLM-Guided Decomposition for Scalable Hardware Information-Flow Verification

This work identifies two recurring proof barriers in self-composed IFV: implementation complexity, where proof-hard datapath logic dominates even though the property needs only a compact boundary relation, and relational inductive complexity, where the proof depends on cross-copy public-control facts that the backend p...

Liang-Tao Dai, Yi-Min Gao, Melika Morsali et al. · 0 citations
Preprint Oct 2026

RAIN: Agentic Proof Generation for Rocq-based Software Verification

Interactive theorem provers can provide strong correctness guarantees for software, but constructing the proofs remains a challenging and labor-intensive task. Inspired by the recent progress of modern coding agents, we present RAIN, a lightweight proof-specialized agent for Rocq proof generation. RAIN augments an LLM...

Jin-Yi Zhou, Ze-Nan Li, Yuan Yao et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.