paper-with-me

홈 › Papers

AxDafny: Agentic Verified Code Generation in Dafny

2026-06-30 · Benjamin Breen, Austin Letson, Borja Requena Pozo, Leopoldo Sarra arxiv

We study agentic code generation in Dafny, where a model must generate both executable code and the proof artifacts for verification. We present AxDafny, a verifier-guided repair framework that iteratively generates implementations, invariants, assertions, and termination arguments. We also introduce LiveCodeBench-Pro-Dafny (LCB-Pro-Dafny), a benchmark of 250 competition-style programming problems translated into Dafny with formal specifications and a verifier-based evaluation harness. On LCB-Pro-Dafny, AxDafny substantially improves verification success over baseline GPT-5.5 performance. On DafnyBench, AxDafny achieves 92.7\% verification success, outperforming the strongest previously reported proof-hint baseline by 6.5 percentage points. Lastly, we show that verification success and runtime test performance measure different aspects of generated code.

📄 PDF Abstract BibTeX arXiv:2606.32007

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Proof2Silicon: Prompt Repair for Verified Code and Hardware Generation via Reinforcement Learning

2025-09-07 · Manvi Jha, Jiaxin Wan, Deming Chen arxiv

Large Language Models (LLMs) have demonstrated impressive capabilities in automated code generation but frequently produce code that fails formal verification, an essential requirement for hardware and safety-critical do…

Reinforcement LearningCode Generation

A benchmark for vericoding: formally verified program synthesis

2025-09-26 · Sergiu Bursuc, Theodore Ehrenborg, Shaowei Lin, Lacramioara Astefanoaei 외 arxiv

We present and test the largest benchmark for vericoding, LLM-generation of formally verified code from formal specifications - in contrast to vibe coding, which generates potentially buggy code from a natural language d…

Program Synthesis

AlgoVeri: An Aligned Benchmark for Verified Code Generation on Classical Algorithms

2026-02-10 · Haoyu Zhao, Ziran Yang, Jiawei Li, Deyuan He 외 arxiv

Vericoding refers to the generation of formally verified code from rigorous specifications. Recent AI models show promise in vericoding, but a unified methodology for cross-paradigm evaluation is lacking. Existing benchm…

Code Generation

VerMCTS: Synthesizing Multi-Step Programs using a Verifier, a Large Language Model, and Tree Search

2024-02-13 · David Brandfonbrener, Simon Henniger, Sibi Raja, Tarun Prasad 외

Large Language Models (LLMs) can generate useful code, but often the code they generate cannot be trusted to be sound. In this paper, we present VerMCTS, an approach to begin to resolve this issue by generating verified …

Language ModelingLanguage ModellingLarge Language Model

dafny-annotator: AI-Assisted Verification of Dafny Programs

2024-11-05 · Gabriel Poesia, Chloe Loughridge, Nada Amin

Formal verification has the potential to drastically reduce software bugs, but its high additional cost has hindered large-scale adoption. While Dafny presents a promise to significantly reduce the effort to write verifi…

Friction