BMC vs k-induction (and IC3/PDR): how formal engines prove properties
This article is part of our formal verification guide, which covers the foundations, model checking, solvers, theorem proving, equivalence checking and industry use cases.
Almost every modern hardware model checker is built on three SAT-based engines: bounded model checking (BMC), k-induction and IC3/PDR. Knowing what each one can and cannot conclude explains most of the results — "proven", "failed", "bounded", "inconclusive" — that formal tools print.
Bounded model checking (BMC)
BMC, introduced in 1999 by Biere, Cimatti, Clarke and Zhu, unrolls the design k times: one copy of the logic per clock cycle, connected register to register, starting from the reset state. It then asks a SAT solver one question: "Is there an assignment of the inputs in cycles 0..k that makes the property false in some cycle?"
- Satisfiable → the solution is a counterexample trace of at most k cycles — and, because the search grows k one step at a time, typically the shortest one. This is why formal counterexamples are so easy to debug.
- Unsatisfiable → no violation exists within k cycles of reset. That is a bounded proof, not a full one.
BMC is the best bug-hunting engine there is. Its weakness is depth: a bug that needs 5,000 cycles to appear needs a 5,000-cycle unrolling.
k-induction
k-induction (Sheeran, Singh and Stålmarck, 2000) adds a second check, exactly like mathematical induction:
- Base case: the property holds in the first k cycles from reset (a BMC run).
- Induction step: from any state, if the property holds for k consecutive cycles, it also holds in the next one.
If both succeed, the property holds forever — a full proof, independent of how deep the reachable states are.
Why the induction step fails on correct designs
The induction step starts from any state, including states that can never be reached from reset. Consider a FIFO
whose count register must match its pointers. A state with count = 3 but equal pointers is
unreachable, yet the induction step may start there and "prove" that the FIFO can overflow. The counterexample is
spurious.
The cure is a helper invariant (also called a lemma) that rules such states out, for example
count == wptr - rptr. Once the helper is proven too, the original property becomes inductive. The lab in
Chapter 16 proves a 50,000-cycle watchdog in seconds this way, and fails without the helper.
// without a helper, induction may start from count=3, wptr==rptr (unreachable)
a_no_overflow: assert property (count <= DEPTH);
// helper: ties count to the pointers, ruling out the unreachable states
a_helper: assert property (count == ((wptr - rptr) & (DEPTH - 1)) + (full ? DEPTH : 0));IC3 / PDR
IC3 (Aaron Bradley, around 2011; refined as property-directed reachability, PDR) automates the search for helper invariants. It maintains a sequence of over-approximations of the states reachable in 0, 1, 2… steps and learns small clauses that block states leading to a violation. When two consecutive approximations become equal, they form an inductive invariant and the property is proven. It needs no unrolling depth and often proves properties that k-induction cannot — especially on control logic.
Which engine when?
| Goal | Best engine | Why |
|---|---|---|
| Find bugs quickly, short traces | BMC | Shortest counterexamples, fast for shallow bugs |
| Full proof of simple local properties | k-induction | Fast when the property is (nearly) inductive |
| Full proof of control properties | IC3/PDR | Finds its own strengthening invariants |
| Deep counters or long pipelines | k-induction or PDR plus your helper invariants | Depth stops mattering once the property is inductive |
| Covers (reachability goals) | BMC | A cover is just "find a trace", which is what BMC does |
Commercial tools run several engines in parallel and report the first conclusive answer. In the open-source SymbiYosys flow
you choose explicitly, for example smtbmc for BMC and k-induction, or abc pdr for PDR. Try both on
the labs in the labs page.
Reading tool results correctly
| Result | Meaning | Next step |
|---|---|---|
| Proven | Full proof (induction or PDR succeeded) | Check covers and vacuity before trusting it |
| Failed / CEX | A real trace from reset violates the property | Debug: RTL bug, wrong property or missing assumption? |
| Bounded (k) | No failure within k cycles | Justify k with cover depths, or add helpers to reach a full proof |
| Inconclusive | Ran out of time | Reduce, abstract or add helpers (Taming complexity) |
These engines are one part of the bigger picture described in our formal verification guide; the solvers underneath them are covered in SAT vs SMT solvers.