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.
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.· Proceedings of the 41st IEEE...· 0 citations
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
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...
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
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· Proceedings of the Raptors C...· 0 citations
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