Theorem proving vs model checking: two roads to a proof
This article is part of our formal verification guide, which covers the foundations, model checking, solvers, theorem proving, equivalence checking and industry use cases.
Model checking and theorem proving are the two classic approaches to formal verification. Model checking is automatic but limited to models it can explore; theorem proving can handle almost anything but needs a human to guide the proof. Most real projects choose based on that trade-off.
The core difference
| Model checking | Theorem proving | |
|---|---|---|
| Automation | Push-button: model + property in, answer out | Interactive: a human writes the proof, the tool checks it |
| Scope | Finite (or finitely abstracted) state systems | Unbounded data, infinite state, parameterised systems, mathematics |
| Failure output | A concrete counterexample trace | An unfinished proof goal (no counterexample by default) |
| Main limit | State explosion | Human effort and expertise |
| Typical users | Hardware verification engineers, protocol designers | Researchers, high-assurance software and arithmetic teams |
Model checking in one paragraph
A model checker explores all states of a model — explicitly, symbolically with BDDs, or via SAT-based engines — to decide whether a temporal property holds. Its two killer features are automation and counterexamples: when a property fails, you get a trace you can replay in a waveform viewer. This is why it dominates hardware verification. The engines are explained in BMC vs k-induction.
Theorem proving in one paragraph
A proof assistant (Isabelle/HOL, Coq — now renamed Rocq — Lean, HOL4, ACL2 and others) provides a precise logic, a library of mathematics and a small trusted kernel that checks every proof step. You state a theorem — "this compiler preserves the meaning of every program" — and build the proof interactively, using tactics and automation for routine steps. Because only the kernel must be trusted, the confidence is extremely high.
Famous results from each side
| System | Approach | What was proven |
|---|---|---|
| seL4 microkernel | Theorem proving (Isabelle/HOL) | The C implementation correctly implements its specification, plus isolation properties |
| CompCert C compiler | Theorem proving (Coq) | Generated assembly preserves the meaning of the source program |
| Floating-point units | Theorem proving (ACL2, HOL) and equivalence | IEEE-754 correct rounding of division, square root and more at several processor vendors |
| Processor control logic, caches, bus protocols | Model checking (FPV) | Safety and liveness properties of RTL blocks — daily practice in chip design |
| Communication and cache-coherence protocols | Model checking | Deadlock freedom and coherence invariants |
They are converging
- Proof assistants increasingly call SAT/SMT solvers to discharge routine goals automatically ("hammers").
- Model checkers increasingly find inductive invariants (IC3/PDR) — essentially automatic proofs.
- Hardware teams mix them: model checking for control, theorem proving or word-level equivalence for arithmetic.
Which should you learn?
For a career in chip design or verification, start with model checking / FPV: it is used on real projects every day and the FVO course teaches it hands-on. If you are drawn to programming languages, operating systems or mathematics, learning a proof assistant such as Lean or Isabelle is rewarding — and the specification skills carry over. Both are part of the bigger picture in our guide to formal verification foundations.