arXiv · 2611.37395
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Guchan Li, Hongning Wang. 2026-11-27. AutoSpec: Towards Verifiable Software Development via Automated Theorem Proving. https://arxiv.science/abs/2611.37395
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.