LLM-augmented workflow can generate concrete violation witnesses for smart contracts
Combining LLMs with type checking and concrete execution can produce certified violation witnesses for smart-contract properties
Software arXiv 29 May 2026 Method Prototype evidence
Published as “Neuroforger: certified violation witnesses for smart contracts verification via LLMs”
Why it matters
Practitioners can obtain automatically certified violation witnesses for smart contracts, increasing confidence in verification results without relying on unverified LLM explanations.
Summary
Neuroforger can automatically generate certified counterexamples for smart-contract verification with 96% accuracy, 100% precision and 93% recall, never mis-certifying a true property. It does this by using GPT-5 to propose concretizations of GATE specifications and then certifying them via type checking and concrete execution.
What they found 2
- The tool never returned a false counterexample for properties that are actually true.
“Crucially, we see that the tool never returned False for verification tasks that have a positive ground truth.”
- For properties that are false, Neuroforger produced a certified counterexample in 48 out of 53 cases.
“Among the verification tasks with negative ground truth, the tool returned a counterexample for 48 instances”
Caveats 6
- The tool failed to produce a certified counterexample for 5 negative-ground-truth tasks, yielding a recall below 100% (93%).
- Type checking currently requires manual user validation, limiting full automation.
- One theoretically valid counterexample required 2256-1 function calls, making it infeasible in practice.
- For the type checking, we rely on manual validation, interactively asking the user to confirm whether the check passed or to provide an explanation for why it failed.
- Properties of this kind are not expressible in GATE, in general.
- The remaining 2 properties for which we do not provide a GATE specification represent so-called liquidity/enabledness, having the form “in every state, it is always possible to perform some actions to reach a state in which P holds”, and are not expressible in GATE.
What’s new here 4
- Introduces GATE, a Solidity-based specification language with abstract types for contracts, transactions, and variables.
- Defines a verification procedure that leverages LLMs to synthesize candidate concretizations and then certifies them through type checking and Forge-based concrete execution.
- Implements the Neuroforger prototype that achieves certified counterexamples with higher precision than prior LLM-only approaches.
- Publishes the tool and the evaluation dataset publicly.