arXiv Computation and Language By Yanming Liu, Xinyue Peng, Jiannan Cao, Xinyi Wang, Jinbo Su

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

Read the original on arXiv Computation and Language →

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.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Computation and Language.

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.