← News

ResearchSources: arXiv · 30 Nov 2026

AutoSpec toolchain has coding agents prove Lean specifications of Rust programs

A new arXiv paper introduces AutoSpec, a Rust-to-Lean toolchain and benchmark for verifiable software development, plus a first analysis of where coding agents struggle with proof work.

In plain words

Formal verification uses mathematical proofs, rather than tests, to show that software behaves as intended. AutoSpec lets AI coding agents translate Rust programs into the Lean proof system and prove that implementations match mathematical specifications. The paper also reports which proof skills agents still lack.

What was announced

The toolchain extends translation-based verification to numerical algorithms by linking program computation with Lean's mathematical abstractions, according to the paper's abstract. The accompanying benchmark contains 159 test cases across nine algorithmic domains, and the authors state it is, to their knowledge, the first to separate implementation from specification proving and to evaluate strong interactive coding agents on this task.

Beyond the benchmark itself, the authors report the first systematic analysis of proof structure and agent behaviour in this setting. They identify structural reasoning and acquiring verification-specific knowledge as the key challenges, and they offer directions for future vericoding systems, meaning systems that produce machine-checked proofs alongside code. The claims come from the paper's abstract only, so no independent evaluation of the toolchain or its results is available in this material.

What it does not show

  • The evidence is limited to the paper's abstract; benchmark results, agent scores and methodology details are not included in the supplied passages.
  • The abstract does not name the coding agents evaluated or report any performance figures, so the strength of the findings cannot be assessed from this material.

Sources

Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 5 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.