Satisfiability Modulo Theories

Track a Boolean combination of arithmetic constraints and see how a theory solver rejects assignments that are propositionally consistent.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Atoms have meaning beyond their truth values
  2. An explanation can be reused during search

Atoms have meaning beyond their truth values

The conjunction \(x\le3\land x\ge4\) assigns true to two distinct Boolean atoms. That pattern is propositionally permitted. Linear integer arithmetic rules it out because adding the equivalent inequalities yields an impossible bound. An SMT solver can search over Boolean structure and ask a theory solver whether chosen atoms can hold together.

An explanation can be reused during search

If a theory reports inconsistent atoms \(A,B\), the Boolean search can learn \(\neg A\lor\neg B\) and avoid the impossible combination later. The logic determines which deductions and decision procedures apply. For example, fixed-width arithmetic wraps around while unbounded integer arithmetic does not. Congruence closure handles equality with uninterpreted functions. Verification conditions rely on matching the program’s actual arithmetic and memory semantics to the encoding.[1][2]

References

  1. SMT-LIB Initiative, Standard Logics ↩
  2. Anders Møller and Michael I. Schwartzbach, Static Program Analysis ↩