Fewer Assumptions by Design: A Reusable Skill for LLM-Assisted Verus Verification
Andrada-Livia Antoneac, Dorel Lucanu, Dragoş Teodor Gavriluţ
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.
Create a lesson
Metadata
- Categories
- cs.AI, cs.PL, cs.SE
- Journal
- EPTCS 452, 2026, pp. 104-121
- Comments
- In Proceedings FROM 2026, arXiv:2609.30324
Related papers
From Learner Behavior to Reusable Skills for Effective and Efficient Learner Simulation
Shared title terminologycs.AIZijian Chen, Zheng Zhang, Miao Jia et al.
BEHAVE: Functional Behavior Modeling Enables Self-Improving Agents for Hardware Design and Verification
Shared title terminologycs.AIYuheng Wu, Berk Gokmen, Sujeeth Jinesh et al.
AGL-SKILL: Coding Harnesses as Agentic Optimizers
Shared title terminologycs.AIRyan Tsui, Yuge Zhang, Yuqing Yang
Monitorable-by-design architectures for a post-Astra world: a compartmentalization-based approach
Shared title terminologycs.AIJake Watts, Joel Sokol
Evaluating Frontier-Model Agent Skills with Open-Weight Models in a Science Gateway
Shared title terminologycs.AIKomal Thareja, Mats Rynge, Anirban Mandal et al.
SpatialCraft: Evolving Procedural Intelligence from Experience and Skills for Spatial Reasoning Agents
Shared title terminologycs.AIXiwei Liu, Yulong Li, Xuhui Li et al.