Large Lemma Miners

An LLM proposes SystemVerilog lemmas for a hardware property, a model checker tests which subset makes the property inductive, and per-lemma verdicts go back to the LLM for the next round.

Read the paper

In one paragraph

Large Lemma Miners (2025, code verification) uses verifier-guided repair, pairing generator GPT-5 and Claude 4, 4.5 Sonnet, 4.5 Haiku, 4.5 Opus and 4.7 Opus (via Amazon Bedrock) with authority EBMC model checker (bounded model checking and k-induction). Across all configurations the agentic setup solves 98 of 109 designs and the non-agentic setup 90. Limit: It needs RTL source in SystemVerilog.

Verified against primary sources on · It matched its sources.

How does Large Lemma Miners work?

  1. Proposes

    Candidate auxiliary lemmas (SVA invariants) for an RTL design and a target property

  2. Judged by

    EBMC 5.9: bounded checks filter lemmas with short counterexamples, then k-induction searches the pooled lemmas for an inductive strengthening

  3. Steers

    In the agentic setup (up to seven rounds) the LLM is told which of its lemmas hold and that no strengthening was found; all lemmas from the conversation stay in the pool

What did Large Lemma Miners report?

Across all configurations the agentic setup solves 98 of 109 designs (90%) and the non-agentic setup 90 (83%); on 31 hard designs where JasperGold, VC-Formal or rIC3 needs over 10 minutes, the pipeline solves 27.

What does Large Lemma Miners not prove?

It needs RTL source in SystemVerilog, so netlist benchmarks such as HWMCC cannot be used; designs are mid-size open-source examples, and excluding examples tied to the few-shot pool, 84% are solved.

What a pass means here

The judge is a formal check, so a pass is exact for the statement it checks, not for what the user meant. The loop runs each time an answer is needed.

See how this kind of check sits among the others: how to validate LLM output with code.

How it generalizes the harness

A symbolic model checker decides; an accepted strengthening is a proof that stands without the model.

Classification

Classification of Large Lemma Miners
Classification dimensionVerified value
What it proposesProof
Generative modelGPT-5 and Claude 4, 4.5 Sonnet, 4.5 Haiku, 4.5 Opus and 4.7 Opus (via Amazon Bedrock)
Algorithmic authorityEBMC model checker (bounded model checking and k-induction)
FeedbackVerifier errors
What gets updatedPrompt context
When it runsAt inference time
ValidityFormal (machine-checked)
EvidenceExperiments reported
LineageOriginal system