[Paper Review] AllSAT for Combinational Circuits
This paper introduces Backdoor Decomposable Monotone Circuits (BDMCs), a new knowledge compilation language that generalizes DNNFs and backdoor trees by using CNF encodings from a base class C as leaves. The key contribution is proving that PC-BDMCs—where C is the class of propagation-complete (PC) encodings—are polynomially equivalent to PC encodings, enabling efficient query answering and manipulation while offering greater succinctness than DNNFs and generalized PC-backdoor trees.
Motivated by the need to improve the scalability of Intel’s in-house Static Timing Analysis (STA) tool, we consider the problem of enumerating all the solutions of a single-output combinational Boolean circuit, called AllSAT-CT. While AllSAT-CT is immediately reducible to enumerating the solutions of a Boolean formula in Conjunctive Normal Form (AllSAT-CNF), our experiments had shown that such a reduction, followed by applying state-of-the-art AllSAT-CNF tools, does not scale well on neither our industrial AllSAT-CT instances nor generic circuits, both when the user requires the solutions to be disjoint or when they can be non-disjoint. We focused on understanding the reasons for this phenomenon for the well-known iterative blocking family of AllSAT-CNF algorithms. We realized that existing blocking AllSAT-CNF algorithms fail to generalize efficiently for AllSAT-CT, since they are restricted to Boolean logic. Consequently, we introduce three dedicated AllSAT-CT algorithms that are ternary-logic-aware: a ternary simulation-based algorithm TALE, a dual-rail&MaxSAT-based algorithm MARS, and their combination. Specifically, we introduce in MARS two novel blocking clause generation approaches for the disjoint and non-disjoint cases. We implemented our algorithms in our new tool HALL. We show that HALL scales substantially better than any reduction to existing AllSAT-CNF tools on our industrial STA instances as well as on publicly available families of combinational circuits for both the disjoint and the non-disjoint cases.
Motivation & Objective
- To generalize existing knowledge compilation languages such as DNNFs and backdoor trees by introducing a unified framework using CNF encodings as leaves.
- To define and formalize Backdoor Decomposable Monotone Circuits (BDMCs) parameterized by a base class C of CNF encodings.
- To demonstrate that PC-BDMCs are polynomially equivalent to PC encodings, ensuring equivalent efficiency in query answering and transformations.
- To show that the language of disjunctions of PC encodings is polynomially equivalent to the language of PC encodings, extending prior results on URC and CC encodings.
- To establish that PC-BDMCs are strictly more succinct than DNNFs and generalized PC-backdoor trees, enhancing representational efficiency.
Proposed method
- Define C-BDMCs as monotone circuits with decomposability and smoothness, where leaves are CNF encodings from a base class C.
- Introduce the concept of propagation completeness (PC) for CNF encodings, ensuring unit propagation maintains full consistency and derives all implied literals.
- Construct a transformation from a PC-BDMC sentence into a single PC encoding using auxiliary variables and carefully designed clauses.
- Use a hierarchical construction with variables z and v to encode dependencies between subcircuits and ensure propagation completeness.
- Prove that any partial assignment closed under unit propagation in the resulting formula can be extended to satisfy any literal not yet derived, establishing propagation completeness.
- Leverage results from Bova et al. (2014, 2016) to show that PC-BDMCs are strictly more succinct than DNNFs.
Experimental results
Research questions
- RQ1Can a general compilation language be defined that unifies DNNFs, backdoor trees, and CNF encodings with strong propagation properties?
- RQ2Is the language of disjunctions of PC encodings polynomially equivalent to the language of PC encodings, as shown for URC and CC encodings?
- RQ3Can PC-BDMCs be constructed such that they are polynomially equivalent to PC encodings while preserving all efficient operations from the knowledge compilation map?
- RQ4How does the succinctness of PC-BDMCs compare to DNNFs and generalized PC-backdoor trees?
- RQ5Can the compilation process from CNF to PC-BDMC be more efficient than to a PC encoding by stopping at base encodings like prime 2-CNFs or renamable Horn formulas?
Key findings
- PC-BDMCs are polynomially equivalent to PC encodings, meaning that all efficient query and transformation operations available in PC encodings are also available in PC-BDMCs.
- The language of disjunctions of PC encodings is polynomially equivalent to the language of PC encodings, generalizing prior results on URC and CC encodings.
- PC-BDMCs are strictly more succinct than DNNFs, as established by results from Bova et al. (2014, 2016), due to their ability to compactly represent complex constraints.
- PC-BDMCs are strictly more succinct than generalized PC-backdoor trees, which are a special case of PC-BDMCs with an out-arborescence structure.
- The construction of a PC encoding from a PC-BDMC preserves propagation completeness, ensuring that unit propagation correctly detects consistency and derives all implied literals.
- The transformation from a PC-BDMC to a PC encoding is effective and maintains all semantic and syntactic properties required for knowledge compilation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.