论文多源确认

Aria借助代码智能体实现全自动形式化验证

Harnessing Code Agents for Automatic Software Verification

精选理由

Aria让代码智能体自由探索,不用手动设计策略,就能把Iris和reglang上所有定理都自动证出来,比之前的方法强太多了。

Aria系统将Claude Code等通用LLM代码智能体与验证框架结合,无需预设策略即自动生成Coq证明。在Iris分离逻辑的4257个引理和Rust标准库的217个引理上,Aria全部证明成功,零失败。

正文

在reglang基准上,此前LLM证明器仅能证明八分之一(约40个),Aria则证明了全部318个。在iris-lean的Lean 4移植中,Aria还自动证明了72个未移植引理,表明该方法不限于Coq。

所用模型为Claude Opus 4.7。

原文 · arXiv cs.AI

Harnessing Code Agents for Automatic Software Verification

Formal verification offers the strongest guarantee of software correctness, but it does not scale: the proofs demanded by interactive theorem provers such as Coq require enormous expert effort. Large language models (LLMs) promise to generate these proofs automatically, yet existing approaches wire a fixed, human-designed proof strategy into the system and constrain the model to follow it (retrieving premises and predicting tactics one step at a time, or splitting goals by divide-and-conquer), and still prove only a fraction of their target theorems. We show that imposing such a strategy is unnecessary and limiting. Handing the whole lemma to a general LLM code agent (for example, Claude Code), free to choose its own approach, and wrapping it in a verification harness is both simpler and more effective, achieving full coverage: every targeted lemma proved, with no failures and no Coq expert intervention. The agent writes the proofs under feedback and hard constraints from the harness that keep each one sound (accepted only when the prover's kernel closes it), complete (no obligation left unproved or silently dropped), and terminating (no divergent tactics). We evaluate this harness plus code agent along three dimensions. (1) Core logic: on Iris, the state-of-the-art separation logic for concurrent and memory-manipulating programs, Aria proves all 4,257 lemmas of the four core modules and the 217 lemmas verifying Rust's standard libraries built on it, fully automatically. (2) Comparison with prior LLM provers: on reglang, where prior provers manage barely one in eight, Aria proves all 318. (3) Generality: on iris-lean, the unfinished Lean 4 port of Iris, it proves 72 not-yet-ported lemmas, showing the approach is not specific to Coq. A state-of-the-art model (Claude Opus 4.7) can write proofs for verified software development fully and automatically.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Aria、Claude Code、形式化验证、代码智能体,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Shuangxiang Kan, Shuanglong Kan, Sebastian Ertel),经 AITOP 多维评分管线结构化提炼。截至目前,全网已有 5 家独立信源对该事件进行交叉印证与跟进报道(含 Simon Willison’s Weblog、shao__meng、IT之家 等),属于近期高关注度行业信号。

  • Simon Willison’s Weblog07-08 23:57原文
  • shao__meng07-08 00:33原文
  • IT之家07-08 22:51原文
  • Amjad Masad07-09 04:53原文
发现摘要或翻译有误? 告诉我们