arXiv AI

Hybrid Mechanical and Agentic Specification Inference

The paper introduces a hybrid approach that combines mechanical and agentic specification inference for the Move smart contract language, integrating a large language model (LLM) agent with the Move Prover to automatically derive contracts via weakest‑precondition analysis. Experiments on 26 Move functions—24 from the Aptos framework—show that the agent alone completes over 90% of inference runs, and incorporating weakest‑precondition analysis reduces overall cost by 11‑21% and by 40‑64% for loop‑free targets.

Hugging Face Trending Papers
Jul 7

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.

arXiv AI
Jul 31

GoGoTB: Agentic RTL Verification with Specification-Grounded Coverage Closure

arXiv:2607. 26181v1 Announce Type: new Abstract: Functional verification dominates integrated circuit (IC) front-end engineering effort, and a single missed bug that escapes to silicon can trigger a costly respin.

By Xin Xin, Jincheng Lou, Junhui Li, Jinglin Yan, Panda Xiao, Di Wu, Haixiao Li, Weicong Lu, Weijian Fan, Xinyu Qu, Yuxiang Zhao, Min Yu, Zhixiong Di, Yibo Lin
arXiv Machine Learning
Oct 16

TLA-Verus: Generating and Solving Temporal Proof Obligations with LLM Agents

The paper introduces TLA-Verus, a system that translates TLA+ specifications into the Verus verifier using both deterministic and agentic (LLM-based) translators. It demonstrates that the LLM pipeline can generate proof obligations at scale and produce fully machine‑checkable proofs for safety and liveness properties. The work also provides a new evaluation dataset for assessing LLM capabilities in Verus theorem proving.

By Kseniia Strelbytska, Bal\'azs Szil\'agyi, Anna M\'esz\'aros, Ferenc Husz\'ar
arXiv AI
Sep 11

Spec-Harness: Measuring and Improving Behavioral Adequacy of LLM-Synthesized Formal Specifications

Spec‑Harness evaluates how well large language models (LLMs) synthesize Java Modeling Language (JML) specifications by measuring behavioral adequacy across precondition and postcondition correctness and completeness. The study shows that while prompt optimization can raise verifier pass rates, many accepted specifications remain behaviorally weak, either over‑ or under‑constraining inputs and outputs. Spec‑Harness also serves as a feedback mechanism that improves the quality of specifications generated by general‑purpose coding agents and a specialized JML agent.

By Md Rakib Hossain Misu, Iris Ma, Cristina V. Lopes
Hugging Face Trending Papers
Jul 28

GoGoTB: Agentic RTL Verification with Specification-Grounded Coverage Closure

Functional verification dominates integrated circuit (IC) front-end engineering effort, and a single missed bug that escapes to silicon can trigger a costly respin. Recent large language models (LLMs) offer new opportunities to automate this process, yet existing LLM-based approaches generate each component through independent single-turn calls with no shared context, leaving interface mismatches undetected and reported coverage disconnected from specification requirements.

arXiv AI
Nov 14

Spec-Driven PBT: Deriving Semantic Invariants from Code Specifications for Agentic Property-based Testing

Spec-Driven PBT is a testing approach that derives invariant properties from a natural‑language specification before inspecting the implementation to generate concrete tests. In a study of 25 ViBench applications, it uncovered a unique set of bugs that Code‑driven PBT missed, using 2.4× fewer property tests and finding roughly the same total number of bugs with little overlap between the two methods. The approach highlights how specifications can reveal bugs related to documented product workflows, complementing implementation‑focused testing.

By Aditya Shukla, Kartik Gupta, Ali Alavi, Pashootan Vaezipoor
arXiv AI
Nov 11

ProofCoder: Continuous Reasoning for Automated Software Verification

ProofCoder is an agentic proof‑synthesis system for Rocq that continuously reasons during proof search, using proof‑assistant feedback to decide when to gather information, inspect states, revise fragments, or backtrack. Unlike rigid tactic‑generation loops, it iteratively constructs, repairs, and refines proofs at both tactic‑level and whole‑proof granularity. On 280 AutoRocq Benchmark tasks, ProofCoder raises success from 47% to 60%, a 27.7% relative improvement at roughly half the cost, demonstrating that continuous reasoning and feedback‑guided revision are key to robust automated software verification.

By Martim Afonso, In\^es Lynce, Maurizio Morisio, Jo\~ao F. Ferreira