A careful, largely reproducible audit whose released data match every table cell and whose sampled flaw claims hold in Lean, but the claim that no generated specification ever matched the 13 MISMATCH references is contradicted by the authors' own artifact (entries 30 and 157), and the ground truth and the 96.2% headline rest mainly on Claude's judgment.
Soundness
3/4
Presentation
2/4
Contribution
3/4
Confidence
4/5
✓ 17 confirmed✕ 3 discrepancy
Summary
The paper audits CLEVER, a 161-entry Lean 4 benchmark for verified code generation adapted from HumanEval. It runs three agentic stacks (Claude Code + Opus 4.6, Codex CLI + GPT-5.4, OpenHands + Kimi K2.5) through the benchmark's four tasks (specification generation, specification isomorphism, implementation generation, proof generation) under several prompt regimes. Agents tag each attempt with a status flag (OK/FAIL/ISSUE/MISMATCH). The flags are merged into a per-entry annotation from Claude's runs, which the authors inspected by hand.
The main claims are these. (i) 80 of 161 reference specifications are arguably flawed, 4 entries are infeasible because of defects in fixed components, and 13 entries admit defensible readings the reference does not share (MISMATCH). The CLEVER authors are reported to have accepted every verdict. (ii) Under CLEVER's own criterion the stacks reach up to 59/161 end-to-end, against 1/161 originally. On the sound subsets they certify implementations for 67.9–92.3% of entries and reach 75.2–96.2% end-to-end success against their own 'valid' specifications. (iii) Single-reference isomorphism is a weak metric: it penalises defensible readings and accepts vacuous equivalences between unsatisfiable specifications. (iv) A taxonomy of reference errors, dominated by Lean-encoding pitfalls (48/80), serves as a checklist.
Strengths
Flaw claims are concrete and hold up under independent checking
Figure 2; §3.2; §4.2; App. J Table 17
Each flagged entry has a one-line diagnosis and usually a counterexample program (App. J). We transcribed 13 sampled claims from the public CLEVER repo and all 13 reproduce (check 05). Eight of them are kernel-checked in Lean v4.24.0 with standard axioms only (check 19). For example, fun _ => 0 satisfies the entry-24 reference, constant False satisfies 72, and the entry-150 reference is unsatisfiable on inputs with x=y. The flaws are still present in the latest public CLEVER release (v1.7.0). This makes the audit directly useful to benchmark maintainers.
Released per-entry data reproduce every reported table cell
From the artifact's per-entry status snapshots we recomputed Tables 2, 3, 7, 8 and 9, the §4.1 failure counts (27/59/170) and the E.2 split, with 0 differences in 34 comparisons (check 18). All 44 percentages in Table 2 and 60 in Table 3 recompute (checks 02, 03). The 1,415 successful proofs equal the sum of all OK counts (check 04). Eight sampled released proofs replay in Lean with permitted axioms (check 20).
Multi-stack, multi-regime design with a kernel-level cross-check
§2.2; §4.1; App. C.4; Table 9
Three independent stacks, simple/guided/multiple prompt regimes, and a Comparator replay of all successful proofs (with the native_decide exception and counterfactual counts disclosed in App. C.4) go well beyond a single-model leaderboard run. Cross-prover agreement on reference flaws is high: GPT-5.4 and Kimi jointly flag 77/81 ISSUE entries, κ = 0.85 (recomputed exactly, check 07).
Crisp methodological point on vacuous isomorphism
§4.4; App. E.3
The paper observes that holds for any two unsatisfiable specifications. We confirmed this exhaustively on finite models: 210/210 and 6,480/6,480 pairs of distinct unsatisfiable specifications are accepted (check 13). We also confirmed it on the real entry 67, where both the reference and Claude's accepted candidate are unsatisfiable (check 20). This is a real and previously underappreciated weakness of the CLEVER scoring protocol.
Weaknesses
MISMATCH claim contradicted by the paper's own data (entries 30 and 157)
major · §3.1 'Merged annotation' (p.7); Table 2 Union row; Figure 2; §1; §5
§3.1 defines the 13 MISMATCH entries as those 'whose sound reference no generated specification ever matched'. §1 and §5 present them as entries that admit valid readings the reference does not share. Table 2 already rules this out arithmetically: Union accepted on Cspec = 68 > 65 OK, while Union valid = 79. So at least 2 MISMATCH entries received an accepted isomorphism from another stack (check 01). The released per-entry data confirm it (check 18). Kimi (guided) proved isomorphism on entry 30, the Figure 2 running example of a mismatch. GPT-5.4 (guided) and Kimi (simple, guided) did so on entry 157. We replayed both proofs in Lean and they compile (check 20). The annotation rule ('otherwise MISMATCH') is applied to Claude's runs only, which the text does not say. Fix: state that MISMATCH is defined over Claude's runs, report the cross-stack picture, and reconsider using entry 30 as the illustrative mismatch.
Ground truth is largely Claude-derived; external validation is not inspectable
major · §2.2 'Independent validation'; §3.1; §4.1; App. E.3
The merged annotation is built from Claude's runs only. The guided prompt was distilled by Claude from Claude's own first run. ISSUE attributions and the taxonomy are produced with Claude's help, and the manual pass 'found Claude's classifications reliable in all cases' (§3.1). The two external anchors are partial. (a) GPT-5.4 and Kimi agreement (77/81) measures only sensitivity on entries Claude already flagged. (b) The CLEVER authors' acceptance is undocumented: the upstream issue link is deferred to the camera-ready, and CLEVER v1.7.0 still ships the flawed references. The 8 GPT-5.4 'false positives' are scored against this Claude-derived ground truth. For 3 of them (29, 30, 96), independent PBT work (Feng et al., 2026) sides with GPT-5.4 (check 15), and the paper does not discuss this. provide the upstream acceptance record. Report a blind second-annotator (human or non-Claude) pass on a random sample of OK/MISMATCH/ISSUE entries. Discuss the disagreement with Feng et al.
Questions for the authors
Is MISMATCH defined over Claude's runs only? How do you reconcile the accepted isomorphisms by Kimi on entry 30 and by GPT-5.4/Kimi on entry 157 with 'no generated specification ever matched'? Would these entries be reclassified as OK under a cross-stack rule?
Can you provide the upstream record (issue or correspondence) of the CLEVER authors accepting all 80 + 13 + 4 verdicts? Did they review MISMATCH entries 30 and 157 knowing that other stacks matched the reference?
Has any non-Claude annotator (human or another model, blind to Claude's verdict) re-labelled a random sample of OK and MISMATCH entries? What is the agreement there, given that the GPT-5.4/Kimi comparison only measures sensitivity on Claude-flagged entries?
Entries 29, 30 and 96 are flagged as underspecified by Feng et al. (2026) and by GPT-5.4, but you count GPT-5.4's flags as false positives. What is your argument that the references are sound there?
For entry 32, is there a reason a correctness proof against the approximate-root reference (∣p(r)∣≤10−) is impossible? The shipped bisection meets the tolerance numerically, and all stacks attribute the PROOF_GEN failure to the implementation.
Verification
We ran 20 checks with scripts. The anonymized artifact was reachable through its file API, so we could recompute every table cell from the released per-entry flags, with 0 differences in 34 comparisons. All printed percentages, κ values, Clopper–Pearson intervals and Fisher p-values recompute from the stated counts. A sample of 13 reference-flaw claims reproduces in Python, and 8 of them are kernel-checked in Lean v4.24.0. Eight released proofs replay in Lean, and the fork leaves every reference specification untouched. Two discrepancies concern claims. (1) Two of the 13 MISMATCH entries (30, 157) were in fact matched by GPT-5.4 or Kimi, contradicting §3.1. (2) Entry 32 is excluded from Cgt although its approximate-root reference is satisfiable. A third discrepancy is a misattributed reference. These checks verify the tables against the flags. They do not independently verify most of the 1,415 proofs or the majority of the 80 flaw verdicts.
17Confirmed
3Discrepancy
✕Discrepancy§3.1 'Merged annotation' (p.7); Table 2 Union row (p.6)
Wenhu Chen, Shuo Wei, Hao Wang, et al. Seed-prover: Deep and broad reasoning for automated theorem proving, 2025.
Wrong authors. The work exists (arXiv 2507.23726, ByteDance Seed), but its 36 authors begin Luoxin Chen, Jinming Gu, Liankai Huang, Wenhao Huang, and none of the three named authors (Wenhu Chen, Shuo Wei, Hao Wang) appears among them (work/verify/16_refs.py, related_pages/arxiv_authors.txt). It is cited only in passing in §1, so it is not load-bearing.
Yueyang Feng et al. Certified program synthesis with a multi-modal verifier, 2026 (arXiv 2604.16584).
Correctly cited for '18 entries (11.2%), 16 underspecified postconditions' (App. B). However, three of its 16 underspecified CLEVER entries (29, 30, 96) are ones this paper classifies as MISMATCH (29, 30) or OK (96), and it counts GPT-5.4's reference-flaw flags on exactly these entries as false positives (App. E.3). The paper does not discuss this disagreement with the prior independent analysis, which bears on its ground truth for the ISSUE/MISMATCH boundary (work/verify/15_related_numbers.py).
Amitayush Thakur et al. CLEVER: A Curated Benchmark for Formally Verified Code Generation, 2025 (arXiv 2505.13938).
Exists and supports the cited numbers: 1/161 end-to-end, best stages 3/161 and 14/161, pass@k-seconds with k = 600. No citation problem. Note for context: CLEVER's abstract states it avoids specifications that 'allow vacuous solutions', which the audit's findings (e.g. entries 24, 72, 88, 110, 126, reproduced in work/verify/05_ref_flaws.py) directly contradict. The paper could make this contrast explicit.
Shuvendu K. Lahiri. Intent Formalization: A Grand Challenge for Reliable Coding in the Age of AI Agents, March 2026.
Exists (arXiv 2603.17150, 2026-03-17), but the bibliography gives no identifier or URL. A Crossref search instead finds a differently titled keynote by the same author. Minor: add the arXiv ID.
Junqi Liu et al. Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematics, January 2026.
Exists (arXiv 2601.14027), but the bibliography gives no identifier. Minor.
Henrik Böving. Comparator, 2026; Joshua Clune. LeanHammer, 2026; Oliver Dressler. Lean-lsp-mcp, 2026; Project Numina. Numina-lean-agent, 2026.
Software references without URL, version or commit; only lean4-skills gives a commit (5d6bd03, for App. A). Comparator is load-bearing: it validates all 1,415 proofs, with a locally patched native_decide exception (App. C.4). Its exact upstream version and the 'four later upstream fixes backported' should be identified for reproducibility.
Suggestions
Qualify the MISMATCH definition as Claude-only, report the cross-stack accepted isomorphisms (30, 157), and consider choosing a different Figure 2 mismatch example.
Publish the upstream CLEVER issue (or an anonymized record) documenting the authors' acceptance, and list which verdicts they explicitly reviewed.
In the abstract and §1, pair every agent-judged figure (98.8% valid, 96.2% end-to-end) with its machine-checked counterpart (e.g. 60/157 = 38.2% with accepted specifications).
Add a blind second-annotator pass on a random sample of OK, MISMATCH and ISSUE entries to break the dependence on Claude-derived ground truth.
Discuss the disagreement with Feng et al. on entries 29, 30 and 96 and revisit the GPT-5.4 'false positive' labels accordingly.
Restore entry 32 to Cgt or justify its exclusion; correct the entry-150 description (unsatisfiable whenever x).
Scope of this review
Materials were the PDF, the public CLEVER repository (v1.4.0–v1.7.0) and the anonymized artifact, reached through its file API (rate-limited; the HTML page serves a bot challenge). We recomputed tables from the released per-entry flags but did not run the authors' analysis scripts or agent stacks (proprietary models, large compute). We replayed only 8 of the 1,415 proofs, and checked 13 of the 80 flaw verdicts (8 in Lean). Test-case edits in the fork were not audited. The claimed acceptance by the CLEVER authors could not be verified because no public upstream record exists yet.
Careful statistics and candid limitation statements
App. E; App. H; App. C.4; App. D.1
Exact Clopper–Pearson CIs, Cohen's κ and one-sided Fisher tests are reported. All of them recompute from the stated counts (checks 06, 07, 08, 10). The paper labels E.2 and the contamination pilot exploratory, and it discusses native_decide sensitivity and the agent-judged nature of 'valid'. The contamination argument rests on a verified premise: CLEVER ships only 4 correctness proofs and no isomorphism proofs (check 12).
Benchmark emendation is genuinely non-invasive
§2.1 'Benchmark emendation'
The fork's 161 problem files and helper library were compared with upstream CLEVER. None of the 161 entries differs in problem_spec, theorem statements or signatures. The only change outside the marked sections moves one helper verbatim (check 17). Results on the fork therefore speak to the original benchmark.
Fix:
Headline 96.2% end-to-end figure counts agent-judged, not machine-checked, specifications
major · Abstract; §1 contributions; Table 3 bottom; App. D.1
The abstract reports 'up to 96.2% end-to-end success over entries with sound premises' next to machine-checked numbers. But 96.2% (151/157, Claude) counts 'valid' generated specifications, which the agent judges. App. D.1 shows only 60 of the 151 are proved isomorphic to the reference, and 42 have no lower-bound lemma at all. With accepted specifications the same quantity is 60/157 = 38.2% (check 03). Likewise the 98.8% upper end uses Claude's extra Multiple run, which the other stacks did not get (S+G alone: 98.1%, check 02). Fix: label these figures as agent-judged in the abstract and introduction, and give the machine-checked counterpart alongside each.
Entry 32 exclusion from $C_{gt}$ is not justified
minor · §3.2; Table 19; App. I
Table 19 and §3.2 treat 32 as infeasible against the reference because of a missing rational-root precondition. But the reference only requires ∣p(r)∣≤10−6, which is attainable over Rat. CLEVER's own bisection implementation meets it for x3+2 (∣r3+2∣=6.8×10−7) and for 300/300 random odd-degree polynomials (check 14). App. I itself says the reference 'escapes' the trap by asking for an approximate root. In the artifact, all three stacks flag PROOF_GEN on 32 as ISSUE IMPL, not BASE. The precondition defect justifies excluding 32 from Cgen only for exact-root specifications. Impact is small: Cgt certification becomes 88.6/91.1/67.1% instead of 89.7/92.3/67.9%. Fix: keep 32 in Cgt, or argue why a correctness proof is impossible.
Single-run, unequal-budget comparisons across stacks
minor · §2.2; App. C, Table 6; §5; Abstract
Each configuration is a single pass@1 run with no repeats, so run-to-run variance is unknown. Kimi gets a 4 h budget and a compliance check against 1 h for the others (Table 6), and only Claude gets the Multiple regime. Even so, §5 concludes that the two frontier stacks are 'within two entries of each other'. That gap depends on the native_decide choice: under the counterfactual it becomes 3 on Cgt (check 03). The contrast with the original 1/161 (600 s budget, older models) is acknowledged in §3.2 but still used as a headline in the abstract and §1. Fix: add repeated runs on at least a subset, and soften stack-ranking statements.
Pointwise-equivalence recommendation over-rejects for recursive specs
minor · §4.4 'More principled evaluation'
§4.4 proposes a pointwise statement or a witness implementation to rule out vacuous successes. For specifications that mention f at other inputs, which is common in CLEVER (e.g. impl (s.drop 1)), pointwise equivalence rejects genuinely equivalent, satisfiable pairs. Example: recursive f(n)=f(n−1)+1 versus direct f(n)=n. On small finite models it rejects 3,264 such pairs (check 13). The witness-implementation option does not have this problem. Fix: recommend the witness option, or qualify the pointwise one.
Taxonomy and count inconsistencies
minor · §4.2; Tables 11, 17; §3.2 vs §4.1/Table 8
The 48 Lean-encoding and 'the remaining 34' semantic entries overlap on 130 and 139 (48 + 34 = 82 ≠ 80), so only 32 entries are purely semantic (check 09). Table 17 labels 139 only 'Nat arithmetic truncation', while Table 11 also lists it as a missing constraint, which changes the E.2 weakening set from 16 to 17 (check 08). §3.2 reports 42 PROOF_GEN reference flags and §4.1/Table 8 report 44; the artifact shows 42 SPEC + 2 BOTH, so both numbers are right but defined differently (check 04). The entry-150 reference is unsatisfiable whenever x=y, not only for prime n (kernel-checked, check 19).
Dense presentation; key per-entry figures not machine-readable
minor · §2.2–§3; App. D Figures 5–8; App. F Tables 11–13
The reader has to track three entry sets (Cspec, Cgt, Cgen), four flags with sub-attributions, and tables with superscript annotations (Tables 11–13). Figures 5–8 carry the per-entry verdicts but cannot be read as data from the PDF, and the 2×2 counts behind Table 9 had to be recovered from the artifact. The ISSUE/MISMATCH boundary is admittedly fuzzy (e.g. entry 71's 1e-4 tolerance is counted as a flawed reference). A compact per-entry CSV in the appendix and a one-paragraph decision rule for ISSUE vs MISMATCH would help.
Bibliography gaps
minor · References (p.11–13); App. C.4
The Seed-Prover reference lists authors (Wenhu Chen, Shuo Wei, Hao Wang) who do not appear among the 36 arXiv authors of 2507.23726 (check 16). Lahiri 2026 and Numina-Lean-Agent lack arXiv IDs. Comparator, a load-bearing tool that validates all 1,415 proofs and was patched locally with backported fixes, has no version or commit.
6
How much do the main counts move across repeated runs of the same configuration (e.g. 3 seeds on a 30-entry subset)?
GPT-5.1 pre-cutoff pilot on 16 entries (9 flawed, 5 OK, 2 MISMATCH): flags 7/9 flawed and 0/7 others, kappa = 0.75, one-sided Fisher p = 0.003; GPT-5.4 ahead on 10 entries and behind on none, sign test p = 0.002
Kappa 0.7538 (printed 0.75); Fisher p 0.00315 (printed 0.003); sign test 10-0 two-sided p 0.00195, one-sided 0.00098 (printed 0.002, so two-sided). The composition 9 + 5 + 2 = 16 holds, and 16/161 = 9.9%. Caveat: with 16 entries the control has low power. Only 7 non-flawed entries test specificity, and the Clopper-Pearson CI for 7/9 sensitivity would be wide. The paper itself labels the control exploratory.
Recomputed Cohen's kappa, the one-sided Fisher exact test and the exact binomial sign test from the reported counts with scipy
App. A: Numina-Lean-Agent 32/32, Claude Code 31, Aristotle 28 on CLEVER-P; 159/136/132 of 183 on VERINA-P; Kimina 7/32 and 34/183; fixed-statement proofs 15/17, 9/17, 9/17 and 5/6, 2/6, 3/6; Table 5 totals 17/6/23
Recomputed the row and column sums of Table 4 (base counts plus '(+k)' fixed solves) and Table 5, and compared them with the text
CLEVER ships Lean reference implementations for 43 entries, complete correctness proofs for only 4 (entries 0, 3, 17, 72), and no isomorphism proof; the CLEVER-P subset of App. A comprises these 43 entries
Every checked release has 43 implementations, 4 correctness proofs (exactly entries [0, 3, 17, 72]) and 0 isomorphism proofs, as claimed. This supports the premise of the contamination argument: little public formal proof material exists to memorize.
Parsed all 161 problem files at four public CLEVER commits (v1.4.0, v1.5.0, v1.6.0, HEAD v1.7.0) and counted non-empty, sorry-free implementation, correctness_proof and spec_isomorphism_proof sections
The isomorphism theorem form forall f. (forall x. P(f,x)) <-> (forall x. Q(f,x)) holds for any two specifications that no implementation can satisfy; a pointwise statement or a witness implementation would close this gap
The forall-f form accepts every ordered pair of distinct unsatisfiable specs: 210 of 210 in (A) and 6,480 of 6,480 in (B). Requiring a common witness rejects all of them, and so does pointwise equivalence, which in these models is equality of the predicates. Nuance for the recommendation: for local specs the forall-f form and pointwise equivalence coincide on satisfiable specs (0 differing pairs). For general specs, which CLEVER references often are (recursive calls such as impl (s.drop 1)), pointwise equivalence would reject 3,264 distinct pairs that are genuinely equivalent and satisfiable. Example: a recursive reference f(n) = f(n-1)+1 and a direct spec f(n) = n are forall-f-isomorphic with common witness (0,1,2,3), yet differ pointwise on 525 (f,n) pairs. The witness-implementation option avoids this, while the pointwise option over-rejects.
Exhaustive enumeration on finite models. (A) Local specs depending only on f(x): |X| = 2, |Y| = 3, 4,096 pairs. (B) General specs that may mention f at other inputs: |X| = 2, |Y| = 2, 65,536 pairs. Plus a concrete recursive-vs-direct strlen example
Problem 32: Newton-Raphson cycles on [2,-2,0,1]; x^3+2 has no rational root; the bound 1 + sum|a_i|/|a_n| contains all real roots; bisection finds -0.5 in 2 steps on [1,2]; the entry is infeasible against the reference because of a missing rational-root precondition (Table 19), hence excluded from Cgt (§3.2)
Factual claims (a)-(d) hold. Newton iterates are 0,1,0,1,...; x^3+2 has no root among ±1, ±2; the bound is never exceeded (0/2,000). [1,2] gives -1/2 at step 2 with findBound starting from 1; with the final Cauchy-bound initialisation it takes 21 steps to reach -0.4999995. However, the reference specification only requires an approximate root, and that target is attainable over Rat. The shipped bisection returns r = -10568985/8388608 with |r^3+2| = 6.8e-7 for x^3+2 and meets the tolerance on 300/300 random instances (at most 39 steps). App. I itself notes that the reference 'escapes' the no-rational-root trap 'precisely by asking for an approximate root'. The missing precondition therefore makes exact-root (generated) specifications infeasible, which justifies excluding 32 from Cgen, but it does not make certification against the reference infeasible, contrary to §3.2's exclusion of 32 from Cgt. Impact is small: with 32 restored, Cgt has 79 entries and certification becomes 70/79 = 88.6%, 72/79 = 91.1%, 53/79 = 67.1%, versus 89.7/92.3/67.9%. The check is numerical and does not prove that a Lean correctness proof exists, only that the reference statement is satisfiable by a computable implementation. Artifact evidence supports this. Against the reference, all three stacks' PROOF_GEN flags on entry 32 are 'ISSUE IMPL' (implementation at fault), not 'ISSUE BASE'. The released base-issue finding for 32 concerns the generated exact-reading specification only. The fork's tests for 32 are tolerance-based. Separately, GPT-5.4 certified entry 32 against its own simple specification (PROOF_GEN_GEN = OK), so even the Cgen exclusion holds only for exact-root specifications.
Exact rational arithmetic (fractions): Newton iterates, rational-root-theorem candidates, bisection steps. Root-bound test on 2,000 random polynomials with numpy. A Python port of the bisection implementation shipped in CLEVER v1.5.0+, run on x^3+2 and 300 random odd-degree rational polynomials against the reference target |poly.eval result| <= 1/1000000, which is unchanged in v1.4.0 through v1.7.0. Also read the released per-entry flags and findings/base_issues.csv for entry 32 (artifact, fetched 2026-11-27)
Related-work numbers: CLEVER original best end-to-end 1/161 (~0.62%) under pass@k-seconds with a 600 s budget, best stages 14/161 (8.7%) implementation and 3/161 (1.86%) specification certification; Goedel-Code-Prover 54.0% on correctness proofs with GPT-5.2 implementations manually verified, frontier models at most 23.6%, quickcheck counterexamples for 10 entries; Feng et al. flag 18 entries (11.2%), 16 for underspecified postconditions
CLEVER Table 1 maxima are spec 1.863% (3/161), impl 8.696% (14/161) and end-to-end 0.621% (1/161), with pass@k-seconds at k = 600. Goedel-Code-Prover reports 54.0% on Clever, GPT-5.3-Codex 23.6% on Clever, quickcheck disproves 10 Clever problems, and GPT-5.2 code was manually verified. Feng et al. report 18 CLEVER issues (11.2%), 16 of them underspecified postconditions. All match. Cross-comparison: 14 of Feng et al.'s 17 specification-level flags fall on this paper's flawed entries. The other 3 (29, 30, 96) are exactly entries this paper classifies as MISMATCH (29, 30) or OK (96), and it counts GPT-5.4's flags on them as false positives (App. E.3). The independent PBT study therefore sides with GPT-5.4 on these entries, which suggests that the 'false-positive' labels, and the ISSUE/MISMATCH boundary used as ground truth, are contestable. The claim that 'no later work has exceeded 1/161 under the same protocol' could not be checked exhaustively.
Downloaded the cited arXiv PDFs (2505.13938, 2603.19329, 2604.16584). Saved the relevant excerpts to work/verify/related_pages/ and parsed CLEVER's Table 1 maxima; recomputed the percentages; compared Feng et al.'s flagged entries with Tables 17-18 and App. E.3
Bibliography entries exist and match the cited titles and authors, notably the 2026 arXiv preprints and the load-bearing CLEVER, VERINA, Feng et al. and Goedel-Code-Prover references
28 of 38 references resolve to the cited title via arXiv ID, DOI or exact Crossref title match, including all 2026 preprints (2604.16584, 2603.29088, 2603.19329, 2605.08553, 2601.18944, 2602.09464). Lahiri 2026 (arXiv 2603.17150) and Numina-Lean-Agent (arXiv 2601.14027) exist but lack identifiers in the bibliography, and the VeriBench URL serves the cited PDF. The software references (Comparator, LeanHammer, lean-lsp-mcp, lean4-skills, Numina-lean-agent, Rocq, grind docs) are non-indexable and mostly have no URL or version. One attribution error: 'Seed-prover' is credited to 'Wenhu Chen, Shuo Wei, Hao Wang, et al.', but none of these names appears among the 36 arXiv authors of 2507.23726 (first authors Luoxin Chen, Jinming Gu, Liankai Huang, Wenhao Huang). The reference is not load-bearing.
Ran tools/check_refs.py (Crossref and arXiv) on 38 references. Fetched full arXiv author lists for all 21 arXiv IDs and compared the authors named in the paper (accent-insensitive surname + initial). Ran arXiv title searches for the unlinked Lahiri 2026 and Numina-Lean-Agent, and fetched the VeriBench URL
Benchmark emendation (§2.1): the fork fixes formatting, typos and wrong test cases only; 'reference specifications, helper functions, and theorem signatures were left untouched'
0 of 161 entries differ in problem_spec, the isomorphism or correctness theorem statements, or signatures from the closest upstream release (146 entries closest to v1.4.0, 14 to v1.5.0, 1 to v1.6.0). The only out-of-section change is entry 62, whose helper check_derivative was moved verbatim from the problem file into AllImports.lean. After accounting for that, the helper library is token-identical to upstream v1.4.0; the fork only adds a missing end_def marker after balanced_paren_non_computable. The claim holds. Test-case edits were not audited.
Downloaded all 161 problem files and Imports/AllImports.lean of the fork from the anonymized artifact repo (fetched 2026-11-27; the repo is reachable non-interactively via its file API, although the HTML page can serve a bot challenge). Compared each file with upstream CLEVER at v1.4.0/v1.5.0/v1.6.0/v1.7.0, with comments and whitespace normalised: problem_spec, spec_isomorphism, correctness_definition, implementation_signature, generated_spec, all text outside the marked sections, and the full helper library
The released per-entry data reproduce the paper's tables: merged annotation (65 OK / 81 ISSUE / 13 MISMATCH / 2 FAIL), Table 2, Table 3 (top and bottom), Table 7, Tables 8-9, the §4.1 failure counts 27/59/170, '8 of the 13 MISMATCH entries read as such by all three', and the E.2 weakening split
0 differences across 34 comparisons. The annotation matches Tables 17-19 exactly (ISSUE = Table 17 + {160}; the FAIL entries are 101 and 145). All Table 2 cells for S, G and Any (S+G) match for all stacks; Claude's Multiple run is not in the snapshot. All 6 Table 3-top and 54 Table 3-bottom cells match. Table 7 cells match. PG reference-flaw flags are 44/41/39, all on ISSUE entries, with PG OK on flawed entries 34/33/24. Table 9 gives (76, 8) for GPT-5.4 with FP entries [0, 25, 29, 30, 57, 87, 96, 118], (62, 1) for Kimi, (77, 8) for the union, and misses [20, 97, 103, 104], all as in App. E.3. Failures are 27/59/170; 8 MISMATCH entries are read as such by all three stacks; the E.2 split is 13/21, 13/20, 8/16. Limits: this verifies the tables against the flags, not the flags themselves; no Lean proof was replayed.
Downloaded the status snapshots data/{claude,codex,kimi}/-full.csv, the merged annotation data/claude/clever/SPEC_ISO_MANUAL.json and findings/.csv from the anonymized artifact repo (fetched 2026-11-27). Recomputed every table cell independently from the per-entry flags using the definitions of Table 1. The paper's own analysis scripts were not run
Machine-checked confirmation of sampled reference flaws (Fig. 2, §3.2, §4.2, Table 17): entry 24 accepts the constant-0 program; 72 constant false; 110 constant "YES"; 126 constant true; 88 the empty list; 23 a program returning 7 on every non-empty string; 69 constant -1; 150 unsatisfiable when x = y and n prime
All 9 theorems compile (exit code 0, no errors), and each depends only on standard axioms (propext, Classical.choice, Quot.sound); none uses sorryAx or native_decide. Proved: forall n, problem_spec (fun _ => 0) n for entry 24, and the analogous trivial-implementation acceptance for 72, 110, 126, 88, 23 and 69. For entry 150: not (exists impl, problem_spec impl 2 1 1) (n prime, x = y) and also not (exists impl, problem_spec impl 4 1 1) (n = 4, not prime, x = y). This kernel-confirms the extra finding of check 05: the entry-150 reference is unsatisfiable for x = y whatever n is, not only for prime n as §3.2 and Table 17 state.
Wrote Lean theorems (work/verify/lean/flaws_template.lean) over the upstream CLEVER v1.6.0 (commit 7d0e80f) problem_spec definitions, inserted verbatim. Compiled with Lean v4.24.0 and Mathlib v4.24.0 (the paper's pinned versions, App. C.1) after building CLEVER's Imports module, and printed the axioms of each theorem
Released solutions compile and establish the stated theorems with permitted axioms (§2.2, App. C.4); the MISMATCH entries 30 and 157 have generated specifications proved isomorphic by other stacks (bears on check 01); Claude's accepted isomorphism on flawed entry 67 is vacuous, with both specifications unsatisfiable on some input (App. E.3)
8/8 replayed solutions compile, with axioms within the permitted set and embedded problem_spec identical to upstream: Claude SPEC_ISO entry 2; PROOF_GEN entry 24 for all three stacks; Kimi SPEC_ISO_GUIDED entry 30; GPT-5.4 SPEC_ISO_GUIDED entry 157; Claude multiple-spec entry 67, candidates 0 and 2 (these use native_decide). Entry 30, the paper's Figure 2 MISMATCH example, has a Kimi guided specification that adopts the reference's order-free multiset reading and is machine-checked isomorphic to the reference. Likewise GPT-5.4 on entry 157. This confirms the discrepancy of check 01 at the proof level. Entry 67: ref_unsat (no implementation satisfies the reference on ('', 0)) and gen_unsat (none satisfies candidate 0 on ('1 apples and 1 oranges', 0)) both compile, so the accepted isomorphism is vacuous as App. E.3 says. Caveat: two concrete string-literal facts are discharged by native_decide (Lean.ofReduceBool), as in Claude's own proof. This is a sample of 8 of the 1,415 proofs.
Fetched 7 per-entry records (8 OK solutions) from the artifact (data/<stack>/clever/<TASK>/human_eval-<id>-0.json). Compiled each record's validated lean_code with Lean v4.24.0 + Mathlib v4.24.0 (CLEVER v1.6.0 project, Imports built), printed the axioms of spec_isomorphism/correctness, and checked that the embedded problem_spec equals upstream v1.6.0 verbatim. Proved in Lean that the entry-67 reference and Claude's accepted candidate are each unsatisfiable for every implementation on a concrete input
The 13 MISMATCH entries are those 'whose sound reference no generated specification ever matched' (§3.1); 13 entries admit valid readings the reference does not share (§1, §5)
Only two assignments are consistent with Table 2: (MISMATCH accepted by another stack, FAIL accepted, FAIL valid) = (2,1,1) or (3,0,1). At least 2 (and up to 3) of the 13 MISMATCH entries therefore received a specification from GPT-5.4 or Kimi that was proved isomorphic to the reference. The statement that no generated specification ever matched these references holds only for Claude's specifications. The /161 column is otherwise consistent: 73 - 68 = 5 flawed entries with an accepted isomorphism, matching App. E.3 {20, 67, 95, 97, 160}. Impact: the 13 MISMATCH verdicts still show that Claude found readings the reference does not share. But for at least 2 of them, the reference reading was reachable by another stack, so the framing in §3.1 and §5 needs a qualifier. Confirmed directly by the released per-entry data (check 18, work/verify/18_artifact_recompute.py). MISMATCH entry 30, the running example of Figure 2, received an accepted isomorphism from Kimi (guided run). MISMATCH entry 157 received accepted isomorphisms from GPT-5.4 (guided) and Kimi (simple and guided). FAIL entry 101 was accepted by GPT-5.4 (simple). This is exactly the (2,1,1) solution.
Set-arithmetic enumeration over Cspec = 65 OK + 13 MISMATCH + 2 FAIL using Table 2 cells: Claude Any accepted on Cspec = 65 (exactly the OK entries, per caption), Claude Any valid on Cspec = 78, Union accepted on Cspec = 68, Union valid on Cspec = 79; cross-checked against the released per-entry flags (check 18)
Table 2 counts and percentages; abstract/intro 'valid specifications for 87.0-98.8% of all entries'; Claude Simple flag partition (59 OK, 4 timeouts, 66 ref ISSUE, 22 MISMATCH, 9 own, 1 both; 147 valid); MISMATCH direction 15/1/6; Multiple run bookkeeping (105 entries, 24 on Cspec, 61->65)
All percentages match. All 36 inequality and partition constraints hold: 59+4+66+22+9+1 = 161; 59+66+22 = 147; 15+1+6 = 22; 161-56 = 105; 80-56 = 24; 67-62 = 5 and 65-61 = 4 accepted entries added by the Multiple run. The abstract range 87.0-98.8% equals Kimi Any (140/161) to Claude Any S+G+M (159/161). Note: the upper end uses Claude's extra Multiple run, which GPT-5.4 and Kimi did not get. Claude S+G alone gives 158/161 = 98.1%.
Recomputed all 44 printed percentages (tolerance 0.05 pp); checked max(S,G) <= Any <= S+G, Union >= each stack, accepted <= valid, and the flag partitions
Table 3 counts and percentages; abstract/intro ranges '67.9-92.3% of the sound references (Cgt)' and '75.2-96.2% end-to-end on Cgen'; 'up to 59 of 161'; §5 'two frontier stacks within two entries of each other on implementation certification'; App. C.4 native_decide counterfactual
All percentages match. Ranges recomputed as 67.9-92.3 (Kimi 53/78, GPT 72/78) and 75.2-96.2 (Kimi 118/157, Claude 151/157). Certified /161 equals Cgt plus PROOF_GEN OK on flawed entries from Table 8 for every stack (104 = 70+34, 105 = 72+33, 77 = 53+24). Frontier gaps are 1-2 entries. The native_decide drops (4/7, 3/4, 1/1) do not exceed the 32/17/6 proofs using it. Two caveats. (i) Under the native_decide counterfactual the Cgt gap grows to 3 (66 vs 69), so 'within two entries' depends on that choice. (ii) The 96.2% figure counts 'valid' specifications, i.e. agent judgment, not 'accepted' ones; with accepted specifications the same quantity is 60/157 = 38.2%.
Recomputed all 60 percentages (denominators 161, 78, 157; tolerance 0.05 pp). Checked certified >= e2e valid >= e2e accepted, the subset bounds, the Any and Union bounds, cross-table identities with Table 2 and Table 8, and the counterfactual drops against the native_decide counts
Table 17 has 80 distinct IDs, Table 18 has 13 and Table 19 has 4, all existing CLEVER entries; CLEVER lacks HumanEval 22, 137 and 162. The set sizes recompute exactly: Cspec 80, Cgt 78 (32 and 123 lie in Cspec), Cgen 157. OK runs sum to 311 SPEC_ISO (including the 15 Multiple candidates) + 286 PROOF_GEN vs reference + 818 vs generated = 1,415, as claimed. D.1 sums hold. Minor unreconciled count: §3.2 says 42 of Claude's 48 PROOF_GEN ISSUE flags blame the specification, while §4.1 and Table 8 count 44 reference-flaw flags. The released per-entry data (check 18) resolve this: Claude's 48 PROOF_GEN ISSUE flags are 42 SPEC, 2 BOTH, 2 IMPL and 2 BASE, so the 44 reference-flaw flags are 42 SPEC + 2 BOTH. The two numbers are consistent but use different definitions; a one-line clarification would help.
Transcribed the IDs of Tables 17-19 and checked them against the 161 problem files of the public CLEVER repo (commit 8348039). Rebuilt the entry sets and summed all OK SPEC_ISO / PROOF_GEN counts from Tables 2-3 and §3.1
Sampled reference-specification flaws are real and as described: entries 24 (impl returning 0 satisfies), 23 (any nonzero length for non-empty strings), 150 (unsatisfiable when x = y and n prime), 72, 88, 110, 126, 64, 66, 12, 69, 122 (Table 17 summaries); entry 30 MISMATCH separated by [1,2] -> [2,1]
All 13 of 13 sampled claims reproduce. 24: n->0 satisfies for all n < 300; for n = 15, 29 of 31 values in 0..30 are accepted. 23: ''->0, else 7 satisfies on all 31 test strings. 72: constant False satisfies on 1,404 inputs. 88: [] and the identity satisfy on all 341 lists. 110: constant YES satisfies. 126: the spec is true for both results on all 121 lists. 12: some "zzz" satisfies. 69: constant -1 satisfies on all 120 lists. 64 and 66: impl("") must equal 1 + impl(""), resp. 65 + impl(""). 122: the spec is unsatisfiable for arr = [100], k = 1. 150: unsatisfiable for x = y with n prime, as claimed. 30: the reference accepts [2,1] for [1,2] and the generated spec rejects it. Figure 2b matches the repo text. Additional finding: the entry-150 reference is unsatisfiable whenever x = y, for non-prime n too (231/231 grid points). The paper's description in §3.2 and Table 17 is correct but incomplete. These flaws are still present in the latest public CLEVER release (v1.7.0). Scope: this is a sample of 12 of the 80 flagged references, checked by Python transcription, not by Lean.
Extracted problem_spec of each entry from the public CLEVER repo (commit 8348039, v1.7.0). Transcribed each into Python under Lean v4.24.0 semantics: precedences and the Char default 'A' taken from Lean core source (saved in work/verify/lean_core_excerpts/precedence.txt), plus Nat truncation and getElem! defaults. Evaluated the paper's counterexample implementation and a correct one on bounded exhaustive input domains
Table 7: S-vs-G agreement 0.87/0.91/0.83 and Cohen's kappa 0.73/0.81/0.55 (also §4.1); either-run counts consistent with Tables 8-9
Agreement 0.8696/0.9068/0.8261 and kappa 0.7333/0.8120/0.5498 match the printed 0.87/0.91/0.83 and 0.73/0.81/0.55. The cells sum to 161 for each stack. S or G counts are 79, 80 (= 72 + 8) and 56 (= 55 + 1), matching Table 8. Table 9 sensitivities 76 and 62 equal the S/G flawed counts plus the PG-only flags (Table 8: 41 - 37 = 4 and 39 - 32 = 7, matching E.2).
Recomputed observed agreement and unweighted Cohen's kappa from the 2x2 counts (tolerance 0.005) and cross-checked the marginal counts across Tables 7, 8 and 9
CIs [86.2, 98.0], [65.8, 85.2] and [87.8, 98.6] match exactly. Kappa 0.8385/0.7519/0.8509 matches the printed 0.84/0.75/0.85. Fisher p values 4.74e-30, 2.99e-26 and 3.39e-31 match the printed ones. 77/81 = 95.1%. Caveat: this is the statistic computed from the reported counts. The per-entry flags behind TP and FP (Figure 7) are not machine-readable, so the counts themselves could not be checked.
Rebuilt the 2x2 tables (TP, FN = 81 - TP; FP, TN = 80 - FP) and recomputed exact Clopper-Pearson CIs (beta quantiles), unweighted kappa and the one-sided Fisher exact test with scipy 1.17.1
App. E.2: Claude certifies 13 of 17 'weakening' flawed entries vs 21 of the other 64 (one-sided Fisher p = 0.0015); GPT-5.4 13 vs 20 (p < 0.001); Kimi 8 vs 16 (p = 0.07)
Table 11 yields 17 weakening entries. The p values are 0.00148 (printed 0.0015), 0.00099 (printed < 0.001) and 0.073 (printed 0.07). The totals 34, 33 and 24 match Table 8. Minor: from the Table 17 labels alone the set has only 16 entries, because Table 17 gives entry 139 a single type (Nat arithmetic truncation) while Table 11 and App. F also list it as a missing constraint. The paper calls this analysis exploratory, and the flaw direction is inferred from the type.
Recounted the weakening entries (missing constraint, missing edge-case clause, vacuous disjunct, trivial existential) from the Table 11 ID lists and the Table 17 labels; recomputed one-sided Fisher exact tests; checked the totals against Table 8
Taxonomy counts: conjunct-as-guard 15, precedence 12, universal over invalid domain 7; Lean-encoding pitfalls in 48 of 80 flawed references, 'the remaining 34' semantic (10 over/under-restrictive, 4 missing edge-case, 21 wrong interpretation); 5 entries with two types; mismatch assignments 73 + 37 + 22 + 10 = 142
All per-type counts match (15, 12, 7, 21, 4, 10). Table 11 covers the same 80 entries as Table 17. The two-type entries are exactly [81, 99, 109, 130, 139]. The Lean-encoding class has 48 entries and the semantic class 34, as claimed. Two minor presentation issues. (i) The classes overlap on entries 130 and 139: 48 + 34 = 82, so 'the remaining 34' is not a complement, and only 32 references have purely semantic errors. (ii) Table 17 labels entry 139 only 'Nat arithmetic truncation', while Table 11 also lists it as 'Missing constraint'.
Transcribed the Table 11 ID lists and the Table 17 labels; computed per-type and per-class unique-entry counts and checked the two tables against each other
=
y
Recommend the witness-implementation check over pointwise equivalence for specifications with recursive calls.
Ship a per-entry CSV (verdict, flaw type, per-stack flags) in the appendix; fix the 48/34 overlap, the entry-139 label, and the 42 vs 44 PROOF_GEN count definitions.
Add repeated runs on a subset and equalise budgets (or report Kimi at 1 h) before ranking stacks.
Fix the Seed-Prover authors and add identifiers and versions for Lahiri 2026, Numina-Lean-Agent and Comparator.