Abstract: We show that tools from circuit complexity can be used to study decompositions of global constraints. In particular, we study decompositions of global constraints into conjunctive normal form with the property that unit propagation on the decomposition enforces the same level of consistency as a specialized propagation algorithm. We prove that a constraint propagator has a a polynomial size decomposition if and only if it can be computed by a polynomial size monotone Boolean circuit. Lower bounds on the size of monotone Boolean circuits thus translate to lower bounds on the size of decompositions of global constraints. For instance, we prove that there is no polynomial sized decomposition of the domain consistency propagator for the ALLDIFFERENT constraint.
Introduction
In Constraint Satisfaction Problems (CSPs), "global constraints" are high-level rules—such as the requirement that all variables in a set take distinct values—that are typically handled by specialized, efficient algorithms known as propagators. These algorithms prune the search space by identifying and removing values that cannot participate in any valid solution.
A significant trend in constraint programming is the decomposition of these complex global constraints into sets of simpler primitive constraints, often expressed in Conjunctive Normal Form (CNF). This approach leverages the efficiency of modern SAT solvers. However, a fundamental theoretical question has persisted: which global constraints can be decomposed into a polynomial number of clauses such that standard unit propagation on those clauses maintains the same reasoning strength as the original specialized propagator?
Theoretical Framework: The Circuit Link
This research establishes a formal bridge between CNF decompositions and monotone Boolean circuits. The authors demonstrate that the ability to efficiently decompose a propagator is intrinsically linked to the complexity of the underlying logic.
The core of the methodology involves several key steps:
- Equivalence of Propagation and Checking: The authors show that a CNF decomposition of a propagator (which prunes domains) is polynomially equivalent to a decomposition of a consistency checker (which validates partial assignments).
- Monotone Circuit Correspondence: They prove that a consistency checker possesses a polynomial-sized CNF decomposition if and only if it can be computed by a polynomial-sized monotone Boolean circuit—one consisting solely of AND and OR gates, without NOT gates.
- Constructive Mapping: The paper provides a mechanism to transform monotone circuits into CNF via a variation of the Tseitin encoding and, conversely, to map any valid CNF decomposition onto a layered monotone circuit.
Key Insights: Unit Propagation as Monotone Logic
The pivotal realization of this work is that the flow of information during unit propagation in a SAT solver mirrors the signal propagation in a monotone Boolean circuit. Because unit propagation is inherently monotone—once a value is pruned from a domain, it is never restored during that branch of the search—monotone circuits serve as the ideal mathematical model for SAT-based decompositions.
By establishing this equivalence, the authors "unlock" decades of established results in circuit complexity. Any known lower bound for monotone circuits—proofs that certain functions require exponentially large circuits—now directly implies a lower bound for the size of corresponding CNF decompositions.
Results: The Limits of Decomposition
The most striking application of this theory concerns the ALLDIFFERENT constraint. By referencing Razborov’s (1985) landmark result—which proved that finding a perfect matching in a bipartite graph has no polynomial-sized monotone circuit—the authors prove that there is no polynomial-sized CNF decomposition for the ALLDIFFERENT constraint that maintains domain consistency.
This result provides a theoretical explanation for why researchers have successfully decomposed constraints like REGULAR and SEQUENCE (which correspond to polynomial monotone circuits) while finding ALLDIFFERENT significantly more challenging to handle efficiently without losing propagation strength.
Conclusion and Future Directions
While this work focuses on CNF decompositions, the authors suggest the framework could extend to other primitive constraints of bounded arity. A promising avenue for future research is the application of monotone arithmetic circuits (using addition and multiplication) to analyze decompositions into more expressive primitives capable of handling large domains more efficiently than Boolean clauses.
Furthermore, while the ALLDIFFERENT result applies to the strongest form of consistency (domain consistency), the authors note that weaker forms, such as bounds consistency, may still permit efficient decompositions. This suggests a rich area for exploring the trade-offs between the strength of propagation and the size of the resulting decomposition.
Summary updated