← Latest papers
💻 computer science

Large Lemma Miners: Can LLMs do Induction Proofs for Hardware?

This paper demonstrates that a neurosymbolic approach combining large language models with formal symbolic tools can successfully generate provably correct induction proofs for hardware verification, achieving an 84% success rate on mid-size open-source RTL designs.

Original authors: Romy Peled, Daniel Kroening, Michael Tautschnig, Yakir Vizel

Published 2026-05-04
📖 4 min read☕ Coffee break read

Original authors: Romy Peled, Daniel Kroening, Michael Tautschnig, Yakir Vizel

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to prove that a complex machine (like a digital circuit in a computer chip) will never do something dangerous, like crashing or leaking data. In the world of hardware engineering, this is called Formal Verification.

Usually, proving this requires a human expert to write a mathematical "shield" (called an inductive invariant) that covers every possible state the machine could ever be in. It's like trying to write a rulebook that covers every single move a chess player could make, forever. This is incredibly hard, time-consuming, and often requires the human to invent clever "helper rules" (lemmas) to make the proof work.

This paper asks a simple question: Can an AI (specifically a Large Language Model or LLM) act as a "mining machine" to find these helper rules for us?

Here is the breakdown of their approach, using everyday analogies:

1. The Problem: The "Bit-Level" Wall

Current computer tools are like very diligent but short-sighted accountants. They check every single bit of data (0s and 1s) one by one. If the machine is huge, the accountant gets overwhelmed and gives up.
Human experts, however, think in "high-level concepts." They don't count every grain of sand; they see the shape of the beach. The authors wanted to see if an AI could learn to think like the human expert and generate those high-level helper rules.

2. The Solution: A "Neurosymbolic" Team

The authors didn't just ask the AI to "guess" the answer. They built a team with two distinct roles, like a Creative Writer and a Strict Editor.

  • The Creative Writer (The LLM): This is the AI. Its job is to brainstorm. It looks at the hardware design and the safety rule, then spits out a list of potential helper rules (lemmas).
    • The Catch: The AI is creative but unreliable. Sometimes it writes brilliant rules; other times it writes nonsense, rules that don't make sense, or rules that are mathematically wrong. It "hallucinates."
  • The Strict Editor (The Formal Tool): This is a traditional, rigid computer program. It doesn't care about creativity; it only cares about truth. It takes the AI's list of rules and rigorously checks them. If a rule is even slightly wrong, the Editor rejects it. If a rule works, the Editor keeps it.

3. The Two Strategies

The team tried two different ways to organize this Writer-Editor relationship:

  • Strategy A: The "Batch" Approach (Non-Agentic)
    Imagine asking the AI, "Give me 50 ideas for a helper rule," all at once. The AI writes 50 drafts. The Editor then goes through the pile, throwing away the bad ones and keeping the good ones to see if they solve the problem.
  • Strategy B: The "Conversation" Approach (Agentic)
    This is more like a real dialogue. The AI suggests a rule. The Editor checks it and says, "No, that one is wrong because of X." The AI reads the feedback, learns from the mistake, and tries again. They keep looping back and forth until they find a rule that works. The paper found this "conversation" style was often more efficient.

4. The Results: Mining for Gold

The team tested this system on 110 different hardware designs (ranging from simple counters to complex memory systems).

  • The Success Rate: For 84% of the problems, their system successfully found a set of helper rules that proved the hardware was safe.
  • The "Hallucination" Issue: The AI generated thousands of rules. Many were garbage (syntax errors, logical fallacies). But because the "Strict Editor" was there to filter them out, the garbage didn't matter. The system only kept the gold.
  • Beating the Experts: They tested their system on the hardest problems that even the world's best commercial verification tools (the "super-accounts") failed to solve. Their AI-assisted approach managed to solve some of these "impossible" cases.

5. What This Means (and Doesn't Mean)

  • What it does: It automates the "mining" of the helper rules. It takes the heavy lifting of brainstorming mathematical lemmas away from human engineers.
  • What it doesn't do: It doesn't replace the human engineer entirely. The human still needs to set up the system and interpret the results. Also, the system currently needs the hardware code in a specific format (SystemVerilog); it can't work on the raw "blueprints" (netlists) that some older tools use.

In a nutshell: The authors built a system where an AI acts as a chaotic brainstorming partner, and a strict computer program acts as the quality control filter. Together, they can automatically generate the mathematical proofs needed to ensure hardware is safe, solving problems that were previously too difficult for standard tools to handle alone.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →