SAT Unit Propagation and Conflict

Follow a sequence of forced Boolean assignments and identify what propagation can prove before a search chooses a branch.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. All but one literal can become false
  2. A fixed point can leave real choices unresolved

All but one literal can become false

A unit clause requires its remaining literal to be true. Assign it, discard satisfied clauses and remove false literals from the others. With clauses \(p\), \(\neg p\lor q\) and \(\neg q\lor r\), propagation sets \(p,q,r\) true in order. Adding \(\neg r\) yields a conflict. Each step preserves the set of possible models consistent with earlier assignments.

A fixed point can leave real choices unresolved

Without a unit clause, clauses such as \(p\lor q\) can admit several models. A solver then chooses a branch or uses other deductions. Efficient implementations can watch a small number of literals per clause and revisit a clause when those literals cease to supply alternatives. Resolution explains how clauses justify contradictions. Boolean encodings create short gate constraints that often propagate known wire values.[1][2]

References

  1. Benjamin C. Pierce et al., Software Foundations ↩
  2. Anders Møller and Michael I. Schwartzbach, Static Program Analysis ↩