Metraipolis › archive › dc_661b4143b866
SkillForge: Compositional Skill Synthesis with Verification-in-the-Loop for Generating Formally Verified Dafny Programs — arXiv:2608.29841
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.29841
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T08:07:11.143Z
- SHA-256 of the archived text
3fd5aa2c6b6bd20e515398aa1ea37da2967207641fa7885738dabda8ae22cf2f- Stable URL of this page
https://metraipolis.com/documento/dc_661b4143b866
How to cite
SkillForge: Compositional Skill Synthesis with Verification-in-the-Loop for Generating Formally Verified Dafny Programs — arXiv:2608.29841 — arXiv (en), https://arxiv.org/abs/2608.29841 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_661b4143b866 (Metraipolis archive dc_661b4143b866, sha256 3fd5aa2c6b6bd20e515398aa1ea37da2967207641fa7885738dabda8ae22cf2f)
BibTeX
@misc{dc661b4143b866,
title = {SkillForge: Compositional Skill Synthesis with Verification-in-the-Loop for Generating Formally Verified Dafny Programs — arXiv:2608.29841},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.29841},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_661b4143b866; sha256 3fd5aa2c6b6bd20e515398aa1ea37da2967207641fa7885738dabda8ae22cf2f},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.29841. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Generating formally verified programs from natural language remains challenging: existing approaches either produce code in a single pass without recourse when verification fails, or rely on open-ended agentic reasoning that is non-deterministic and opaque. We introduce SKILLFORGE, a framework that decomposes formal code synthesis into a library of atomic, reusable skills, each targeting a specific subtask such as specification inference, body synthesis, invariant generation, error diagnosis, or targeted repair, and defined by a prompt template, tool binding, and decidable success criterion. A verification-driven harness orchestrates these skills: it submits candidates to the Dafny verifier, diagnoses failures into structured categories, deterministically routes to the appropriate repair skill, and iterates until formal correctness is proved or a budget is exhausted. On a curated benchmark of natural language to Dafny specification pairs, SKILLFORGE substantially outperforms both state-of-the-art agentic approaches (including ReAct-style agents, MCTS-based repair, and RL-guided verification) and traditional iterative baselines, while requiring fewer tokens and lower latency. Ablation studies confirm that every skill contributes measurably, and the harness converges rapidly with the majority of programs verified on the first attempt. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-01 in cs.CL). Categorie arXiv: Computation and Language (cs.CL) ; Programming Languages (cs.PL). Pagina del lavoro: https://arxiv.org/abs/2608.29841 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T07:47:52.740Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).