Verified but Vacuous: Three Failure Surfaces of LLM-Driven Verified Code Generation
Not on the map. Why?
Abstract (arXiv)
What should ``verified'' mean when evaluating LLM-generated code? Many existing pipelines report a single verification number. We argue this collapses three distinct properties measured in a conditional audit sequence: verifier acceptance (Surface A), emphsyntactic specification binding (Surface B: does the proof obligation bind to the spec?), and semantic specification fidelity (Surface C: does the spec capture the informal requirement?). Two empirical demonstrations show the surfaces separate. textbfFirst (A neq B), via Li@Opus (a same-model reproduction of citetli2025dafny's Dafny-as-intermediate-representation (IR) pipeline under Claude Opus 4.7) on three Python benchmarks: it reaches 99.1% verifier acceptance on HumanEval while only 1.9% carry a certificate binding to a spec-defined predicate or function. Second (B neq C), via VCG on two Rust benchmarks: we use VCG (which is our own in-house Dafny-as-intermediate pipeline) on Rust because the Rust target lets us enforce fully-verifiable output (every component ships as a Dafny certificate, ensures-binding gate passing by construction). Even inside that construction, 11.48% (MBPP-Rust) and 14.82% (VeriContest LC slice) of structurally-verified samples still fail hidden tests. On the LC slice of VeriContest, VCG's reported End2End rate is 7.79% (535/6870). The cited external rates are 5.51% (GPT-5.5) and 1.88% (single-shot Opus 4.7). These give descriptive differences of 2.3 percentage points and 4.14×, respectively; task-budget, repair and harness differences prevent a matched-performance claim.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 20 of its 26 references that are in the map. Submitted 3 Nov 2026.
Builds on
20 of 26 references.
References · 20
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 6,016
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2021Program Synthesis with Large Language Modelscited by 3,972
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,530
- 2022Competition-Level Code Generation with AlphaCodecited by 1,510
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 457
- 2023Clover: Closed-Loop Verifiable Code Generationcited by 79
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 78
- 2024Towards AI-Assisted Synthesis of Verified Dafny Methodscited by 63
- 2024Enchanting Program Specification Synthesis by Large Language Models using Static Analysis and Program Verificationcited by 62
8 more
- 2023Verus: Verifying Rust Programs using Linear Ghost Types (extended version)cited by 59
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 58
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systemscited by 21
- 2025VeriStruct: AI-assisted Automated Verification of Data-Structure Modules in Veruscited by 13
- 2025Dafny as Verification-Aware Intermediate Language for Code Generationcited by 11
- 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generationcited by 9
- 2025RAG-Verus: Repository-Level Program Verification with LLMs using Retrieval Augmented Generationcited by 7
- 2026AxDafny: Agentic Verified Code Generation in Dafnycited by 5
Built on by
Not cited yet.