paper-with-me

홈 › Papers

Harnessing Code Agents for Automatic Software Verification

2026-07-07 · Shuangxiang Kan, Shuanglong Kan, Sebastian Ertel arxiv

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.

📄 PDF Abstract BibTeX arXiv:2607.06341

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Agentic AI for Software: thoughts from Software Engineering community

2025-08-24 · Abhik Roychoudhury arxiv

AI agents have recently shown significant promise in software engineering. Much public attention has been transfixed on the topic of code generation from Large Language Models (LLMs) via a prompt. However, software engin…

Code GenerationProgram Repair

FVSpec: Real-World Property-Based Tests as Lean Challenges

2026-05-31 · Quinn Dougherty, Max von Hippel, Hazel Shackleton, Mike Dodds arxiv

We present a benchmark for evaluating AI models and agents on real-world formal software verification tasks. We first scrape 11,039 property-based tests (PBTs) from real-world Python repositories, then automatically tran…

Enabling Automatic Certification of Online Auctions

2014-04-03 · Wei Bai, Emmanuel M. Tadjouddine, Yu Guo

We consider the problem of building up trust in a network of online auctions by software agents. This requires agents to have a deeper understanding of auction mechanisms and be able to verify desirable properties of a g…

Translation

AutoVerus: Automated Proof Generation for Rust Code

2024-09-19 · Chenyuan Yang, Xuheng Li, Md Rakib Hossain Misu, Jianan Yao 외

Generative AI has shown its values for many software engineering tasks. Still in its infancy, large language model (LLM)-based proof generation lags behind LLM-based code generation. In this paper, we present AutoVerus. …

Code GenerationLanguage ModelingLanguage ModellingLarge Language Model

Beyond Postconditions: Can Large Language Models infer Formal Contracts for Automatic Software Verification?

2025-10-14 · Cedric Richter, Heike Wehrheim arxiv

Automatic software verifiers have become increasingly effective at the task of checking software against (formal) specifications. Yet, their adoption in practice has been hampered by the lack of such specifications in re…