Skip to main content
QUICK REVIEW

[Paper Review] A Fixed-Parameter Algorithm for #SAT with Parameter Incidence Treewidth

Marko Samer, Stefan Szeider|ArXiv.org|Oct 31, 2006
Advanced Graph Theory ResearchComputer Science17 references9 citations
TL;DR

This paper presents a fixed-parameter algorithm for #SAT parameterized by incidence treewidth, running in O(4^k * k * l * N) time, where k is the incidence treewidth, l is the size of the largest clause, and N is the number of nodes in the tree decomposition. The algorithm uses dynamic programming on a nice tree decomposition of the incidence graph, efficiently counting satisfying assignments by propagating partial solutions from leaves to root, establishing fixed-parameter tractability for #SAT under this parameter.

ABSTRACT

We present an efficient fixed-parameter algorithm for #SAT parameterized by the incidence treewidth, i.e., the treewidth of the bipartite graph whose vertices are the variables and clauses of the given CNF formula; a variable and a clause are joined by an edge if and only if the variable occurs in the clause. Our algorithm runs in time O(4^k k l N), where k denotes the incidence treewidth, l denotes the size of a largest clause, and N denotes the number of nodes of the tree-decomposition.

Motivation & Objective

  • To develop an efficient fixed-parameter algorithm for the #SAT problem parameterized by incidence treewidth.
  • To overcome the limitations of existing theoretical approaches that are impractical for real-world use.
  • To provide a practical and efficient solution for counting satisfying assignments in CNF formulas with low incidence treewidth.
  • To demonstrate fixed-parameter tractability of #SAT under incidence treewidth, extending prior results on related parameters like primal treewidth and branchwidth.

Proposed method

  • The algorithm constructs a nice tree decomposition of the incidence graph of a CNF formula, where vertices represent variables and clauses, and edges represent variable-clause incidence.
  • It employs dynamic programming on the tree decomposition, maintaining for each node a table that tracks the number of partial assignments satisfying specified clauses.
  • For each node type—leaf, introduce, forget, and join—the algorithm computes table entries based on recursive relations that aggregate solutions from child nodes.
  • The computation at each node involves iterating over all possible assignments to the variable set and subsets of clauses in the node’s bag, with time complexity bounded by O(4^k * k * l) per node.
  • The algorithm ensures correctness through recursive decomposition and uses bijections and set operations (e.g., intersections, unions) to propagate valid assignments across the tree.
  • The final count of satisfying assignments is extracted from the root node’s table by summing over all full assignments to the root’s variable set with an empty clause set.

Experimental results

Research questions

  • RQ1Can #SAT be solved efficiently when parameterized by incidence treewidth, a structural parameter capturing the interaction between variables and clauses?
  • RQ2Is there a practical fixed-parameter algorithm for #SAT that achieves a runtime significantly better than brute-force enumeration?
  • RQ3How does incidence treewidth compare to other structural parameters like primal treewidth and branchwidth in terms of algorithmic efficiency for #SAT?
  • RQ4Can dynamic programming on tree decompositions be effectively adapted to count satisfying assignments in CNF formulas with low incidence treewidth?

Key findings

  • The algorithm runs in time O(4^k * k * l * N), where k is the incidence treewidth, l is the size of the largest clause, and N is the number of nodes in the tree decomposition, with no large hidden constants.
  • The algorithm establishes that #SAT is fixed-parameter tractable when parameterized by incidence treewidth, extending known results for primal treewidth and branchwidth.
  • The method is practically feasible, unlike previous theoretical approaches based on monadic second-order logic, which are too slow for real applications.
  • The algorithm correctly computes the number of satisfying assignments by propagating partial solutions from leaves to the root of the tree decomposition using dynamic programming.
  • The time complexity per node is bounded by O(4^k * k * l), and the total runtime is linear in the number of nodes, making it efficient for formulas with small incidence treewidth.
  • The approach generalizes to other structural parameters: the result implies fixed-parameter tractability for primal treewidth, dual treewidth, and branchwidth due to known inequalities between these parameters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.