arXiv Computation and Language

SkillForge: Compositional Skill Synthesis with Verification-in-the-Loop for Generating Formally Verified Dafny Programs

SkillForge is a framework that breaks down formal code synthesis into reusable atomic skills, each handling a specific subtask such as specification inference, body synthesis, invariant generation, error diagnosis, or repair. A verification-driven harness coordinates these skills by submitting candidates to the Dafny verifier, diagnosing failures, and routing them deterministically to the appropriate repair skill until correctness is achieved or a budget is reached. On a curated benchmark, SkillForge outperforms state‑of‑the‑art agentic and iterative baselines, requiring fewer tokens and lower latency, with ablation studies showing each skill’s measurable contribution and rapid convergence.

arXiv AI
Nov 14

LLM-Assisted Verification in Dafny

The paper introduces a ten‑step workflow for using large language models (LLMs) to assist in the formal verification of complex algorithms within the Dafny system. It combines algorithm formalization, contract development, empirical invariant validation, proof construction, bottleneck profiling, and resource‑driven optimization, with human oversight for critical decisions. The authors applied the workflow to 37 graph‑theory and labelled transition system algorithms, successfully verifying the Hopcroft‑Tarjan triconnectivity test and demonstrating that many verifications can be completed within hours to a few days.

By Wieger Wesselink, Kees Huizing, Huub van de Wetering
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
Hugging Face Trending Papers
Nov 10

ProofCoder: Continuous Reasoning for Automated Software Verification

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

arXiv AI
Oct 9

A Survey on LLM-Integrated Hardware Design Verification

The paper surveys how large language models (LLMs) are being used in hardware verification, covering tasks such as assertion generation, testbench creation, bug localization, and formal reasoning. It categorizes the literature by methodology, verification goal, tool interaction, benchmarks, and evaluation metrics, and distinguishes between inference-time techniques (prompting, retrieval, structured reasoning, agentic workflows) and training-time adaptation. The authors highlight that LLMs excel as semantic reasoning, search, and orchestration components within verification workflows, yet emphasize the need for semantic alignment, scalable integration, generalization, and rigorous evaluation to ensure true verification correctness.

By Hao Zheng, Jaime Rafael Imperial, Bardia Nadimi, Xiangfei Kong
arXiv AI
Sep 10

HoarePrompt: Structural Reasoning About Program Correctness in Natural Language

HoarePrompt is a new method that applies program verification concepts to natural language requirements, using large language models to generate step‑by‑step natural language descriptions of program states. It incorporates a few‑shot k‑induction technique to handle loops and then evaluates whether the annotated program satisfies the requirements. On the CoCoClaNeL dataset, HoarePrompt raises the Matthews correlation coefficient by 61% over zero‑shot chain‑of‑thought prompts and by 106% over test‑generation classifiers, with the inductive reasoning component adding a 26% MCC improvement.

By Dimitrios Stamatios Bouras, Yihan Dai, Tairan Wang, Yingfei Xiong, Sergey Mechtaev
arXiv AI
Oct 19

Repairing LLM-Generated Specifications with Deterministic Diagnosis

The paper introduces DRAGO, a framework that repairs formal specifications generated by large language models (LLMs) using deterministic, formalism‑specific diagnosis instead of ungrounded LLM critiques. DRAGO selectively rewrites specifications only when the diagnosed error weight decreases, reducing regressions from 11.8% to 1.3% and improving answer accuracy by 12.9 percentage points over zero‑shot formalization and 8.7 percentage points over LLM‑diagnostic repair across five benchmarks. Additionally, the authors identified and corrected rendering defects in Planetarium that caused half of its floor‑tile split instances to be inconsistent with reference formalizations.

By Giovanni Vaccarino, Emanuele La Malfa, Dehai Min, Hanrong Zhang, Pier Luca Lanzi, Lu Cheng, Michael J. Wooldridge, Philip S. Yu, Sara Bernardini
arXiv AI
Aug 12

CoEvoSkills: Self-Evolving Agent Skills via Co-Evolutionary Verification

arXiv:2604. 01687v3 Announce Type: replace Abstract: Anthropic proposes the concept of skills for LLM agents to tackle multi-step professional tasks that simple tool invocations cannot address.

By Hanrong Zhang (Steve), Shicheng Fan (Steve), Henry Peng Zou (Steve), Yankai Chen (Steve), Zhenting Wang (Steve), Jiayu Zhou (Steve), Chengze Li (Steve), Wei-Chieh Huang (Steve), Yifei Yao (Steve), Kening Zheng (Steve), Xue (Steve), Liu, Xiaoxiao Li, Philip S. Yu