Back to AI News
arxiv

AutoSpec: A Rust-to-Lean Toolchain for Verifiable Software Development via Automated Theorem Proving

AutoSpec is a Rust-to-Lean toolchain and benchmark that enables coding agents to prove mathematical specifications of existing program implementations. It extends translation-based verification to numerical algorithms by connecting program computation with Lean's mathematical abstraction. The benchmark includes 159 testcases across nine algorithmic domains, decoupling implementation from specification proving to evaluate interactive coding agents. The paper provides a systematic analysis of proof structure and agent behavior, identifying structural reasoning and verification-specific knowledge acquisition as key challenges.

AI Brief

This paper presents a novel toolchain and benchmark that advances verifiable software development by integrating automated theorem proving with coding agents, offering concrete insights for future vericoding systems.

arXiv:2611.37395v1 Announce Type: cross 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.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!