AutoSpec: Towards Verifiable Software Development via Automated Theorem Proving
Abstract
Formal verification offers guarantees beyond software testing, but brings significant technical challenges as trade off. We present AutoSpec, a Rust-to-Lean toolchain and benchmark that enables coding agents to prove mathematical specifications of existing program implementations. Our toolchain extends translation-based verification to numerical algorithms, by connecting program computation with Lean's mathematical abstraction. Our benchmark comprises 159 testcases across nine algorithmic domains and, to our knowledge, is the first to decouple implementation from specification proving and evaluate strong interactive coding agents. We further provide the first systematic analysis of proof structure and agent behaviour in this setting, identifying structural reasoning and verification-specific knowledge acquisition as key challenges. Based on these findings, we provide valuable insights suggesting concrete directions for future vericoding systems.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI, cs.CL
Related papers
An Agent-Based Approach for Automating Behavior-Driven Development
Shared title terminologycs.SELuciano Belo de Alcântara Júnior, Diego Elias Costa, João Eduardo Montandon
Why Johnny Can't Vibe: The Competence Paradox of AI-Assisted Software Development
Shared title terminologycs.SESabbir Bin Abdul Latif, Md Raihan, Md. Mahfuzul Ahsan et al.
When Developers Build Security Tools for Themselves: Requirement Misalignment in Automation Ecosystems
Shared title terminologycs.SEOluwafolajinmi Adewole, Elmira Onagh, Maleknaz Nayebi
Interactive Prompting Assistant: Just-in-Time Requirement Clarification for Agentic Software Development
Shared title terminologycs.SECuong Chi Le, Minh Le-Anh, Long Vu et al.
SatMend: LLM Agents for Automated Software Repair in Satellite Constellations with Intermittent Ground Contact
Shared title terminologycs.SEPengcheng Luo, Zenghui Zhang, Genke Yang et al.
Perceived Differences in Activity and Experience Between Developing Software With and Without AI
Shared title terminologycs.SERubash Mali, Juho Leinonen, John Edwards