paper-with-me

Papers

WybeCoder: Verified Imperative Code Generation

2026-03-31 · Fabian Gloeckle, Mantas Baksys, Darius Feher, Kunhao Zheng, Amaury Hayat, Sean B. Holden, Gabriel Synnaeve, Peter O'Hearn arxiv

Recent progress in large language models (LLMs) has substantially advanced automatic code generation and formal theorem proving, yet software verification has not seen comparable gains. To address this gap, we propose WybeCoder, an agentic code verification framework that enables prove-as-you-generate development, in which code, invariants, and proofs co-evolve. WybeCoder builds on a recent framework that combines automatic verification condition generation and SMT solving with interactive proofs in Lean. To enable systematic evaluation, we translate two benchmarks for functional verification in Lean, Verina and Clever, into equivalent imperative code specifications. On complex algorithms such as Heapsort, we observe consistent performance improvements as we scale our approach, synthesizing dozens of valid invariants and dispatching dozens of subgoals, ultimately producing hundreds of lines of verified code and overcoming plateaus reported in previous work. Our best system solves 74% of Verina tasks and 62% of Clever tasks at moderate compute budgets, substantially surpassing previous evaluations and paving the way for the automated construction of large-scale datasets of verified imperative code.

📄 PDF Abstract BibTeX arXiv:2603.29088

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Lyra: A Benchmark for Turducken-Style Code Generation

2021-08-27 · Qingyuan Liang, Zeyu Sun, Qihao Zhu, Wenjie Zhang 외

Recently, neural techniques have been used to generate source code automatically. While promising for declarative languages, these approaches achieve much poorer performance on datasets for imperative languages. Since a …

Code Generation

Perish or Flourish? A Holistic Evaluation of Large Language Models for Code Generation in Functional Programming

2026-01-05 · Nguyet-Anh H. Lang, Eric Lang, Thanh Le-Cong, Bach Le 외 arxiv

Functional programming provides strong foundations for developing reliable and secure software systems, yet its adoption remains not widespread due to the steep learning curve. Recent advances in Large Language Models (L…

Code Generation

AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinement

2024-12-09 · Pranjal Aggarwal, Bryan Parno, Sean Welleck

Automated code generation with large language models has gained significant traction, but there remains no guarantee on the correctness of generated code. We aim to use formal verification to provide mathematical guarant…

Code GenerationHumanEvalmbpp

Can LLMs Recognize Toxicity? A Structured Investigation Framework and Toxicity Metric

2024-02-10 · Hyukhun Koh, Dohyung Kim, Minwoo Lee, Kyomin Jung

In the pursuit of developing Large Language Models (LLMs) that adhere to societal standards, it is imperative to detect the toxicity in the generated text. The majority of existing toxicity metrics rely on encoder models…

Speculative Automated Refactoring of Imperative Deep Learning Programs to Graph Execution

2025-04-07 · Raffi Khatchadourian, Tatiana Castro Vélez, Mehdi Bagherzadeh, Nan Jia 외

Efficiency is essential to support ever-growing datasets, especially for Deep Learning (DL) systems. DL frameworks have traditionally embraced deferred execution-style DL code -- supporting symbolic, graph-based Deep Neu…