[2510.25015] VeriStruct: AI-assisted Automated Verification of Data-Structure Modules in Verus

[2510.25015] VeriStruct: AI-assisted Automated Verification of Data-Structure Modules in Verus

arXiv - AI 3 min read Article

Summary

VeriStruct is a novel framework for AI-assisted automated verification of complex data structure modules in Verus, achieving a high success rate in verification tasks.

Why It Matters

This research addresses the challenges of verifying complex data structures, which is crucial for ensuring software reliability. By improving AI-assisted verification methods, it contributes to advancements in software engineering and formal verification, potentially impacting various applications in AI and software development.

Key Takeaways

  • VeriStruct extends AI-assisted verification to complex data structures.
  • The framework achieved a 99.2% success rate in verifying functions.
  • It incorporates syntax guidance and a repair stage for annotation errors.
  • This work represents a significant step toward automatic formal verification.
  • The results can enhance reliability in software engineering practices.

Computer Science > Software Engineering arXiv:2510.25015 (cs) [Submitted on 28 Oct 2025 (v1), last revised 18 Feb 2026 (this version, v3)] Title:VeriStruct: AI-assisted Automated Verification of Data-Structure Modules in Verus Authors:Chuyue Sun, Yican Sun, Daneshvar Amrollahi, Ethan Zhang, Shuvendu Lahiri, Shan Lu, David Dill, Clark Barrett View a PDF of the paper titled VeriStruct: AI-assisted Automated Verification of Data-Structure Modules in Verus, by Chuyue Sun and 7 other authors View PDF HTML (experimental) Abstract:We introduce VeriStruct, a novel framework that extends AI-assisted automated verification from single functions to more complex data structure modules in Verus. VeriStruct employs a planner module to orchestrate the systematic generation of abstractions, type invariants, specifications, and proof code. To address the challenge that LLMs often misunderstand Verus' annotation syntax and verification-specific semantics, VeriStruct embeds syntax guidance within prompts and includes a repair stage to automatically correct annotation errors. In an evaluation on eleven Rust data structure modules, VeriStruct succeeds on ten of the eleven, successfully verifying 128 out of 129 functions (99.2%) in total. These results represent an important step toward the goal of automatic AI-assisted formal verification. Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI) Cite as: arXiv:2510.25015 [cs.SE]   (or arXiv:2510.25015v3 [cs.SE] for this version)...

Related Articles

Llms

[R] Reference model free behavioral discovery of AudiBench model organisms via Probe-Mediated Adaptive Auditing

Anthropic's AuditBench - 56 Llama 3.3 70B models with planted hidden behaviors - their best agent detects the behaviros 10-13% of the tim...

Reddit - Machine Learning · 1 min ·
Llms

[P] Dante-2B: I'm training a 2.1B bilingual fully open Italian/English LLM from scratch on 2×H200. Phase 1 done — here's what I've built.

The problem If you work with Italian text and local models, you know the pain. Every open-source LLM out there treats Italian as an after...

Reddit - Machine Learning · 1 min ·
Llms

I have been coding for 11 years and I caught myself completely unable to debug a problem without AI assistance last month. That scared me more than anything I have seen in this industry.

I want to be honest about something that happened to me because I think it is more common than people admit. Last month I hit a bug in a ...

Reddit - Artificial Intelligence · 1 min ·
Llms

OpenClaw security checklist: practical safeguards for AI agents

Here is one of the better quality guides on the ensuring safety when deploying OpenClaw: https://chatgptguide.ai/openclaw-security-checkl...

Reddit - Artificial Intelligence · 1 min ·
More in Llms: This Week Guide Trending

No comments

No comments yet. Be the first to comment!

Stay updated with AI News

Get the latest news, tools, and insights delivered to your inbox.

Daily or weekly digest • Unsubscribe anytime