Researchers turn expert diagnosis of failed program proofs into reusable guidance for coding agents
An arXiv paper reports a human-guided campaign that paired executable language definitions with repair procedures, reaching full success on HumanEval while audits exposed defects that passing proofs missed.
In plain words
The authors studied whether the way human experts diagnose failed program verifications can be captured as reusable procedures for AI coding agents. Using formal methods tools, they built specifications, repaired proofs, and audited whether specifications truly matched the requested behavior. On a 164-task Python benchmark, every task passed after two targeted repairs.
What was announced
The paper, an arXiv abstract, describes combining executable language definitions in the K framework with a kit of procedures for constructing specifications, repairing proofs, and auditing their adequacy. In a human-guided campaign on HumanEval, a benchmark of 164 Python programming tasks, the authors report a 164/164 success rate, measured by final AI audit Pass verdicts after two targeted repairs. The authors note that agents must establish both that a program satisfies a specification and that the specification captures the requested behavior.
To test whether auditing catches problems that successful proofs leave unresolved, the authors built 12 author-reviewed pairs of clean and defective packages; every package passed its K proofs, yet completed audits identified all defects and accepted all clean packages. A further test with KleverBench, covering 31 programs with changed operator meanings, produced mixed results against complete acceptance rules and equally long generic advice across two model and budget settings, which the authors say motivates further work on selecting useful guidance within resource limits. The abstract also reports human-reviewed Optimism proofs establishing expected pause reverts for six operations within declared input bounds under London semantics with unbounded gas.
What it does not show
- The evidence is the paper's abstract only, so the full article's methods and details are not covered here.
- The HumanEval success rate is self-reported by the authors and measured by AI audit verdicts, not independently confirmed.
- The KleverBench comparisons yielded mixed results, so the benefit of the guidance over generic advice is not established across the tested settings.
For security and IT teams
- Scope
- The reported results cover HumanEval specification and proof tasks, 12 author-reviewed package pairs, KleverBench tests on 31 programs, and Optimism proofs for six operations; the abstract does not describe broader deployment.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.