Research map / Large language models / Agents, code and math
SkillForge: Compositional Skill Synthesis with Verification-in-the-Loop for Generating Formally Verified Dafny Programs
Yanming Liu, Xinyue Peng, Jiannan Cao, Xinyi Wang, Jinbo Su
Zhejiang University · Southeast University · Massachusetts Institute of Technology · Weixin AI Lab · Renmin University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use SkillForge instead of the strongest baseline (Proof2Silicon) | GPT-5.5 · Dafny NL benchmark (178 examples) | verification rate (%): 85.4 -> 91.6 | Improved |
| use SkillForge on Hard tasks | GPT-5.5 · Hard subset | verification rate (%): 64.4 -> 77.8 vs best agentic baseline (MCTS-Repair) | Improved |
| add DiagnoseError structured diagnosis (ablation) | SkillForge · Dafny NL benchmark (178 examples) | verification rate (%): 79.8 -> 91.6 (-11.8 when removed) | Improved |
| add InferSpec specification scaffold (ablation) | SkillForge · Dafny NL benchmark (178 examples) | verification rate (%): 80.3 -> 91.6 (-11.3 when removed) | Improved |
| add GenInvariant skill (ablation) | SkillForge · Dafny NL benchmark (178 examples) | verification rate (%): 83.7 -> 91.6 (-7.9 when removed) | Improved |
| add StrengthenSpec skill (ablation) | SkillForge · Dafny NL benchmark (178 examples) | verification rate (%): 85.4 -> 91.6 (-6.2 when removed) | Improved |
| add RepairCode skill (ablation) | SkillForge · Dafny NL benchmark (178 examples) | verification rate (%): 87.1 -> 91.6 (-4.5 when removed) | Improved |
| add the iterative verification loop (ablation) | SkillForge · Dafny NL benchmark (178 examples) | verification rate (%): 71.3 -> 91.6 (-20.3 when removed) | Improved |
| use SkillForge instead of ReAct-Verify | GPT-5.5 · Dafny NL benchmark (178 examples) | average iterations: 2.5 -> 1.8 | Improved |
| use SkillForge instead of ReAct-Verify | GPT-5.5 · Dafny NL benchmark (178 examples) | tokens (K): 8.9 -> 4.6 | Improved |
| use SkillForge instead of MCTS-Repair | GPT-5.5 · Dafny NL benchmark (178 examples) | verifier calls: 8.6 -> 2.8 | Improved |
| use SkillForge on Simple tasks | GPT-5.5 · Simple subset | verification rate (%): 96.8 -> 98.4 vs MCTS-Repair / Proof2Silicon | No clear effect |
Open problems this paper states
- “Primary experiments use only GPT-5.5 and Claude Opus-4.7, leaving open-source models unexplored.” → Only a few models were tested, and larger ones were left out. (an open problem in execution-based code verification)
- “The benchmark has only 178 examples and the skill library is Dafny-specific, so transfer to Lean 4 or Coq needs new implementations.” → Benchmarks are small or simple and far from real software. (an open problem in execution-based code verification)
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinement (ICML 2025 · similarity 0.88)
- CLEVER: A Curated Benchmark for Formally Verified Code Generation (NeurIPS 2025 · similarity 0.87)
- Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generation (ICML 2025 · similarity 0.87)
- Verify0: Can AI Agents Build Formally Verified Software Repositories? (NeurIPS 2026 · similarity 0.87)
- Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languages (NeurIPS 2024 · similarity 0.86)
- RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Code (ICLR 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.