# Verified but Vacuous: Three Failure Surfaces of LLM-Driven Verified Code Generation

DevFeed: [Verified but Vacuous: Three Failure Surfaces of LLM-Driven Verified Code Generation](<https://devfeed.tech/articles/verified-but-vacuous-three-failure-surfaces-of-llm-driven-verified-code-generation-118350.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05590>)

Author: Aditya Vempaty, Himaneesh Sompalle, Manan Tayal, Mowafak Allaham, Prasenjit Dey, Ashish Jagmohan, Ravi Kokku

Published: 2026-11-05T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Lean](<https://devfeed.tech/topics/lean.md>), [Spec Driven Development](<https://devfeed.tech/topics/spec-driven-development.md>), [Hallucination detection](<https://devfeed.tech/topics/hallucination-detection.md>)

Tags: [acceptance](<https://devfeed.tech/tags/acceptance.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-opus](<https://devfeed.tech/tags/claude-opus.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [failure](<https://devfeed.tech/tags/failure.md>), [gpt-5-5](<https://devfeed.tech/tags/gpt-5-5.md>), [hidden](<https://devfeed.tech/tags/hidden.md>), [humaneval](<https://devfeed.tech/tags/humaneval.md>), [llm](<https://devfeed.tech/tags/llm.md>), [mbpp](<https://devfeed.tech/tags/mbpp.md>), [model](<https://devfeed.tech/tags/model.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [points](<https://devfeed.tech/tags/points.md>), [python](<https://devfeed.tech/tags/python.md>), [repair](<https://devfeed.tech/tags/repair.md>), [rust](<https://devfeed.tech/tags/rust.md>), [semantic](<https://devfeed.tech/tags/semantic.md>)

## AI overview

The paper argues that a single verification score conflates verifier acceptance, syntactic binding of proof obligations to specifications, and whether specifications capture informal requirements. In a Claude Opus 4.7 reproduction on Python benchmarks, HumanEval verifier acceptance was 99.1%, but only 1.9% of outputs had certificates bound to a spec-defined predicate or function. In a separate in-house Dafny-based pipeline on Rust benchmarks, outputs passed the specification-binding gate by construction, yet 11.48% of structurally verified MBPP-Rust samples and 14.82% of VeriContest LC samples failed hidden tests. VCG's reported VeriContest LC end-to-end rate was 7.79%; cited GPT-5.5 and single-shot Opus 4.7 rates were 5.51% and 1.88%. The authors describe these as non-matched comparisons because task budgets, repair, and harnesses differ.

## Source excerpt

arXiv:2611.05590v1 Announce Type: new Abstract: 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), \emph{syntactic specification binding (Surface B: does the proof obligation bind to the spec?), and \emph{semantic specification fidelity} (Surface C: does the spec capture the informal requirement?). Two empirical demonstrations show the surfaces separate. \textbf{First ($A \neq B$), via Li@Opus (a same-model reproduction of \citet{li2025dafny}'s Dafny-as-intermediate-representation (IR) pipeline under Claude Opus 4.7) on three Python benchmarks}: it reaches \textbf{99.1\% verifier acceptance} on HumanEval while only \textbf{1.9\%} carry a certificate binding to a spec-defined predicate or function. \textbf{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, \textbf{11.48\% (MBPP-Rust) and 14.82\% (VeriContest LC slice) of structurally-verified samples still fail hidden tests}. On the LC slice of VeriContest, \textbf{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$\times$, respectively; task-budget, repair and harness differences prevent a matched-performance claim.