AutoSpec:基于自动定理证明的可验证软件开发工具链与基准
AutoSpec: Towards Verifiable Software Development via Automated Theorem Proving
AI 导读
AutoSpec 是一套 Rust-to-Lean 工具链与基准,让编码智能体证明现有程序实现的数学规范,把基于翻译的验证扩展到数值算法。基准含 9 个算法领域的 159 个测试用例,据称首个将实现与规范证明解耦并评测强交互式编码智能体的基准。研究者还首次系统分析了证明结构与智能体行为,指出结构化推理与验证相关知识获取是核心挑战。
正文 · 原文
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.
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2611.37395 [cs.SE] |
| (or arXiv:2611.37395v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2611.37395 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Guchan Li [view email]
[v1]
Fri, 27 Nov 2026 13:00:28 UTC (1,068 KB)
来源:arXiv cs.AI · arxiv.org