Abstract
Knowledge Compilation (KC) is a central paradigm in artificial intelligence designed to circumvent the computational intractability of logical reasoning. By translating knowledge bases into specific target languages, hard problems such as satisfiability and model counting can be solved in polynomial time. This paper investigates the fundamental reasons behind this tractability, proposing logical separability as the unifying principle. We introduce three new normal forms—CO-LSNNF, CE-LSNNF, and CT-LSNNF—which provide the necessary and sufficient conditions for solving satisfiability, clausal entailment, and model counting in polynomial time. Our findings expand the Knowledge Compilation Map and offer a new theoretical framework for understanding the trade-offs between succinctness and tractability.
Introduction
In the field of automated reasoning, many essential tasks are computationally daunting. Checking if a set of constraints is satisfiable (SAT) is NP-complete, while counting the number of valid solutions (model counting) is #P-complete. Knowledge Compilation addresses these challenges by performing a one-time, potentially expensive translation of a formula into a "target language" that supports efficient queries.
While various languages like Decomposable Negation Normal Form (DNNF) have been identified as tractable for specific tasks, a rigorous theoretical explanation for why these structures enable efficiency has been largely missing. This research bridges that gap by identifying logical separability—the ability to decompose a complex formula into independent, non-interfering sub-problems—as the core mechanism enabling polynomial-time reasoning.
Logical Separability and New Normal Forms
The authors focus on three primary reasoning tasks, each representing a different level of complexity:
- CO (Consistency/Satisfiability Check): Determining if any assignment makes the formula true.
- CE (Clausal Entailment Check): Determining if a formula logically implies a specific clause.
- CT (Model Counting): Determining the exact number of satisfying assignments.
To address these, the paper introduces three subsets of Negation Normal Form (NNF) based on the principle of logical separability (LS):
- CO-LSNNF: Designed for satisfiability checking. The authors demonstrate that this form is surprisingly succinct; it is as compact as general NNF, meaning any formula can theoretically be represented in a SAT-tractable way without an exponential increase in size (under standard complexity assumptions).
- CE-LSNNF: Tailored for clausal entailment. This form is shown to be strictly more succinct than classic representations like Prime Implicates (PI) or Levesque’s Normal Form (LNF).
- CT-LSNNF: Optimized for model counting. A significant finding of this work is that CT-LSNNF is polynomially equivalent to d-DNNF (deterministic DNNF), a cornerstone language in probabilistic reasoning.
Theoretical Contributions
The paper provides a systematic analysis of these new languages, placing them within the established "Knowledge Compilation Map." This map ranks logical languages based on two criteria: tractability (which operations can be done in polynomial time) and succinctness (how small the representation is).
Necessary and Sufficient Conditions
The authors prove that these LSNNF forms are the "maximal" languages for their respective tasks. Specifically, a language supports a reasoning task in polynomial time if and only if it can be translated into the corresponding LSNNF form. This establishes logical separability as the definitive boundary for tractability.
Complexity of Membership
While these forms allow for fast queries, the paper notes that identifying whether a given formula belongs to one of these forms is itself a difficult task:
- CO-LSNNF membership is NP-complete.
- CE-LSNNF membership resides in $\Pi^P_2$.
- CT-LSNNF membership resides in $\Delta^P_2$.
Discussion and Future Work
By unifying various tractable structures under the umbrella of logical separability, this research provides a clearer roadmap for the development of future reasoning systems. However, several questions remain. Some succinctness relationships on the Knowledge Compilation Map are still unknown, such as the comparison between CE-LSNNF and Renamable Horn formulas.
Furthermore, this work is primarily theoretical. The next logical step is the development of practical compilers—software tools capable of transforming standard Boolean formulas into these LSNNF forms. Such compilers would have immediate applications in fields like automated planning, hardware verification, and medical diagnosis, where efficient logical reasoning is critical. The authors also intend to explore how logical separability applies to more complex operations, such as variable forgetting and the conjunction of multiple compiled bases.
Summary updated