Skip to content

Fewer Assumptions by Design: A Reusable Skill for LLM-Assisted Verus Verification

Sep 2026 · Electronic Proceedings in Theoretical Computer Science · Vol abs/2609.34886, pp. 104-121 · 0 citations · 17 references
Computer Science

TL;DR

It is shown that an LLM agent equipped with a carefully designed verification skill can generate strong, low-trust specifications for DLLs in Verus.

Abstract

LLM-assisted Verus verification is a less tedious method to verify Rust implementations, but paired with self-referential structures, e.g., Doubly Linked Lists (DLLs)—notoriously difficult to formalise for verification—it becomes a substantially more demanding verification task. Moreover, a specification weakness can arise when verification relies on unproven or invalidated assumptions, such as axiomatic lemmas and assume statements. We investigate whether LLM agents can synthesize strong DLL specifications while minimizing these trusted base. The analysis follows three different approaches: manual verification, property-specific verification, and a defined skill for the specific case of DLLs and certain properties of this type of data structure. The skill encodes domain knowledge and a task-decomposition strategy. We show that an LLM agent equipped with a carefully designed verification skill can generate strong, low-trust specifications for DLLs in Verus.

Read PDF

Similar papers

Book Open access Oct 2026

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

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.

Yu-Cheng Zhang, Cheng Wen, Jia-Lun Cao 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
#machine learning Preprint Oct 2026

TLA-Verus: Generating and Solving Temporal Proof Obligations with LLM Agents

The TLA+ (temporal logic of actions) formal specification toolkit has seen widespread adoption in modeling modern distributed software systems including databases, storage systems, ledgers and coordination protocols. This popularity is despite its two significant limitations for software verification: Firstly, TLA+ off...

Kseniia Strelbytska, Balázs Szilágyi, Anna Mészáros et al. · 1 citation
Conference Sep 2026

Don’t Just Test It, Prove It: Verifying AI-Written Rust

AI coding agents can write code faster than humans can meaningfully review it. Tests exercise selected cases; formal verification can establish whether specified properties hold within stated assumptions and bounds. This talk explores a workflow in which humans define the contracts, agents implement against them, and p...

Alexander Kalankhodzhaev · 0 citations
Review Oct 2026

Validating Autoformalized Specifications via Contrapuntal Languages

Formal specifications can make AI-generated code mechanically checkable. Because user intent is typically expressed in natural language rather than formal logic, specifications must first be derived from it, e.g., via LLM-based autoformalization. Yet autoformalized specifications are themselves untrusted, so a key chal...

Yi-Han Dai, Xuan-Lin Liu, Hao-Xiang Jia et al. · 0 citations

Related blog posts

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