cs.DSNov 7, 2026
SaveAn Improved Algorithm for Quantified Boolean Formulas
Abstract
Quantified Boolean formula (QBF), the quantified version of Boolean satisfiability (SAT), is a fundamental problem in constraint solving. Due to the -complete nature of QBF, designing theoretically efficient QBF algorithms is much harder and receives less attention in academia. In this work, we present a new algorithm based on memoized search, which solves QBF with variables and clauses in time and space. This is the first improvement over the bound by Williams in over 20 years. Our technique is based on the minimum vertex cover of the conflict graphs, which was proposed to study the parameterized complexity of SAT. We extend this idea to QBF and further show that QBF is slicewise polynomial-time solvable using this parameter.
Figures & tables
| Complexity bound | |||
|---|---|---|---|
| 0.9 | 0.1 | ||
| 0.8030 | 0.1994 | ||
| 0.7708 | 0.2738 | ||
| 0.7595 | 0.3278 | ||
| 0.7543 | 0.3531 |
Table 1: Examples of complexity bounds for small MVCs.
Determining the validity of a quantified Boolean formula (QBF) is a PSPACE-complete problem with rich expressive power. Despite interest in efficient solvers, there is, compared to problems in NP, a lack of positive theoretical results, and in the parameterized complexity setting one often has to restrict the quantifier prefix (e.g., bounding alternations) to obtain fixed parameter tractability (FPT). We propose a new parameter: the number of variables in clauses that has to be removed before reaching a tractable class (a clause covering (CC) backdoor). We are then interested in solving QBF in FPT time given a CC-backdoor of size . We consider the three classical, tractable cases of QBF as base classes: Horn, 2-CNF, and linear equations. We establish W[1]-hardness for Horn but prove FPT for the others, and prove that in a precise, algebraic sense, we are only missing one important case for a full dichotomy. Our algorithms are non-trivial and depend on propagation, and Gaussian elimination, respectively, and are comparably unexplored for QBF.
Accumulating Pruning Constraints: New Exact Polynomial-Space Algorithms for Max 2-SAT
We present deterministic polynomial-space algorithms that solve Max 2-SAT on variables exactly in time , for a fixed , on several classes of instances whose clause density may grow with . Our main tool extends the classic DPLL branching algorithm. When the search gives a variable its less promising value, comparing the two values of the variable yields a pruning constraint that is satisfied by some optimal assignment. Accumulating these constraints along each branch prunes all but an exponentially small fraction of the assignments. The classes are formulas with many biased variables, semirandom 2-CNF formulas, and Max-Cut on regular expander graphs and on graphs generated by a stochastic block model. In a semirandom formula, the pairs of variables that may share a clause are arbitrary, and the clauses on these pairs are random. For semirandom formulas and block-model graphs, the algorithms are still exact on every input, and the time bound holds with high probability over the input. To our knowledge, these are the first polynomial-space algorithms with such a running time for nontrivial classes of dense Max 2-SAT instances. Beyond these classes, the pruning constraints can be added to any branching algorithm for Max 2-SAT, and we expect them to be of practical relevance for general formulas, in particular for sparse ones, where each constraint involves only a few variables.
Maximum Satisfiability of Simple Temporal Problems
The Simple Temporal Problem (STP) is a core framework for quantitative temporal constraints. As STP data can be inconsistent, we study MAXSTP: compute a maximum-cardinality consistent subset of constraints. This extension is NP-hard, and we analyze its parameterized complexity under measures that capture practically relevant instance features: the number of variables (instance scale), the maximum coefficient magnitude (numeric range), and structural parameters of the constraint graph such as treewidth (decomposability) and vertex cover size (density). We show that MAXSTP is W[1]-hard parameterized by , implying that and parameters that depend on (including and ) are insufficient for fixed-parameter tractability. For combined parameters, we give an -time algorithm, yielding single-exponential solvability for fixed . While remains W[1]-hard, MAXSTP is in XP via an algorithm. Our results suggest that MAXSTP is often computationally harder than optimizing qualitative CSPs. We verify that many such problems (including RCC-8 and Allen's algebra) are FPT when parameterized by or . However, we also demonstrate that FPT algorithms for MAXSTP are indeed possible but with other parameters such as .