A Family of Encodings for Translating Pseudo-Boolean Constraints into SAT
Amir Aavani

TL;DR
This paper presents a new two-step method for converting Pseudo-Boolean constraints into CNF formulas, resulting in smaller encodings that enable more effective SAT solving.
Contribution
The authors introduce a novel two-step encoding process that improves the translation of PB constraints into CNF, enhancing solver performance.
Findings
The new encoding produces smaller CNF formulas.
Unit propagation derives more facts with the new encoding.
Many constraints lead to good SAT solver performance.
Abstract
A Pseudo-Boolean (PB) constraint is a linear arithmetic constraint over Boolean variables. PB constraints are convenient and widely used in expressing NP-complete problems. We introduce a new, two step, method for transforming PB constraints to propositional CNF formulas. The first step involves re-writing each PB constraint as a conjunction of PB-Mod constraints. The advantage is that PB-Mod constraints are easier to transform to CNF. In the second step, we translate each PB-Mod constraints, obtained in the previous step, into CNF. The resulting CNF formulas are small, and unit propagation can derive facts that it cannot derive using in the CNF formulas obtained by other commonly-used transformations. We also characterize the constraints for which one can expect the SAT solvers to perform well on the produced CNF. We show that there are many constraints for which the proposed…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · Constraint Satisfaction and Optimization · Logic, programming, and type systems
