Fine-Grained Complexity Analysis of Dependency Quantified Boolean Formulas
Abstract
Dependency Quantified Boolean Formulas (DQBF) extend Quantified Boolean Formulas by allowing each existential variable to depend on an explicitly specified subset of the universal variables. The satisfiability problem for DQBF is NEXP-complete in general, with only a few tractable fragments known to date. We investigate the complexity of DQBF with existential variables (-DQBF) under structural restrictions on the matrix – specifically, when it is in Conjunctive Normal Form (CNF) or Disjunctive Normal Form (DNF) – as well as under constraints on the dependency sets. For DNF matrices, we obtain a clear classification: -DQBF is PSPACE-complete, while -DQBF is NEXP-hard, even with disjoint dependencies. For CNF matrices, the picture is more nuanced: we show that the complexity of -DQBF ranges from NL-complete for -DQBF with disjoint dependencies to NEXP-complete for -DQBF with arbitrary dependencies.
Keywords and phrases:
Dependency quantified Boolean formulas, complexity, completeness, conjunctive normal form, disjunctive normal formCopyright and License:
2012 ACM Subject Classification:
Theory of computation Problems, reductions and completenessFunding:
We would like to acknowledge the generous support of Royal Society International Exchange Grant no. EC\R3\233183, the National Science and Technology Council of Taiwan under grant NSTC 111-2923-E-002-013-MY3, and the NTU Center of Data Intelligence: Technologies, Applications, and Systems under grant NTU-113L900903.Event:
28th International Conference on Theory and Applications of Satisfiability Testing (SAT 2025)Editors:
Jeremias Berg and Jakob NordströmSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Propositional satisfiability (SAT) solving has made significant progress over the past 30 years [4, 10]. Thanks to clever algorithms and highly optimised solvers, SAT has become a powerful tool for solving hard combinatorial problems in many areas, including verification, planning, and artificial intelligence [5]. Modern solvers can handle very large formulas efficiently, making SAT a practical choice in many settings.
However, for problems beyond NP, such as variants of reactive synthesis, direct encodings in propositional logic often grow exponentially with the input and quickly become too large to fit in memory. This has led to growing interest in more expressive logics, such as Quantified Boolean Formulas (QBF) and Dependency Quantified Boolean Formulas (DQBF) [17]. DQBF extends QBF by allowing explicit control over the dependency sets: each existential variable can be assigned its own set of universal variables it depends on. A model of a DQBF assigns to each existential variable a Skolem function that maps assignments of its dependency set to truth values. From a game-theoretic point of view, a DQBF model is a collection of sets of local strategies – one set for each existential variable – that may observe only part of the universal assignment. This makes DQBF more succinct than QBF and particularly well-suited for applications such as synthesis and verification, where components often make decisions based on partial information. Unfortunately, this added expressiveness comes at a cost: DQBF satisfiability is NEXP-complete, and only a few tractable fragments are known [7, 8, 6, 18, 15]. One notable tractable case involves CNF matrices with dependency sets that are either pairwise disjoint or identical; such formulas can be rewritten into satisfiability-equivalent -QBFs [18].
Building on these ideas, we apply similar restrictions on the dependency sets to refine a recent classification of the complexity of DQBF with existential variables (-DQBF) [14]. For DNF matrices, this restriction has no effect, since the proofs in [14] for the PSPACE-hardness of -DQBF and NEXP-hardness of -DQBF can be carried over to formulas with pairwise disjoint dependency sets.
For CNF matrices, the situation is more subtle. For and even non-constant with disjoint dependencies, we extend the strategy of [18] to split clauses containing variables with incomparable dependency sets, but instead of reducing it to a QBF, we directly construct an NP algorithm to establish the NP membership. This technique can be extended to the case where any two dependency sets are either disjoint or comparable, and the size blow-up remains polynomial for constant . The resulting DQBF only has existential variables with empty dependency sets, and its satisfiability can be checked in NP.
When arbitrary dependencies are allowed in CNF matrices, we prove that -DQBF is -hard. Further, a variant of Tseitin transformation lets us convert a -DQBF with an arbitrary matrix into a -DQBF with CNF matrix, yielding PSPACE-hardness of -DQBF and NEXP-hardness of -DQBF with CNF matrices.
As for the satisfiability problem of -DQBF, [13] shows that it reduces to detecting contradicting cycles in a succinctly represented implication graph, making it PSPACE-complete. For CNF matrices and disjoint dependencies, we show that the fully expanded graph has a simple structure, allowing satisfiability tests in NL. Consequently, the satisfiability of -DQBF with CNF matrices and unrestricted dependencies is in coNP – one can guess an assignment to the shared universal variables and solve the resulting instance with disjoint dependencies in NL. We also prove the NL- and coNP-hardness of the two problems via a reduction from -SAT and -DNF tautology, respectively.
Our results, summarised in Table 1, help map out the complexity of natural fragments of DQBF and show how both the formula structure and dependency restrictions play a key role in determining tractability.
|
|||||||||||||||
| – | – | – |
|
|
|||||||||||
|
|
|
|
|
|||||||||||
|
|
|
|
|
|||||||||||
|
|||||||||||||||
|
|||||||||||||||
| Non-const. | -c [18] | NEXP-c [18] |
-
Note: “-c” denotes “-complete”, “-h” denotes “-hard”, and “non-const.” denotes “non-constant.”
2 Preliminaries
In this section, we define the notation used throughout this paper and recall the necessary technical background. All logarithms have base 2. For a positive integer , denotes the set of integers .
Boolean values True and False are denoted by and , respectively. Boolean connectives , , , , , and are interpreted as usual. A literal is a Boolean variable or its negation . We write for the variable of a literal and and to denote its sign. We also write and to denote the literals and , respectively.
A clause is a disjunction of literals, and a cube is a conjunction of literals. A Boolean formula is in conjunctive normal form (CNF) if it is a conjunction of clauses and in disjunctive normal form (DNF) if it is a disjunction of cubes. We view a clause or a cube as a set of literals and a formula in CNF (respectively, DNF) as a set of clauses (respectively, cubes) whenever appropriate. We sometimes write a clause in the form of , where is a cube and is a clause, and similarly a DNF formula in the form of , where is in CNF and is in DNF.
We say that two sets of clauses and are variable-disjoint if for any clause and , and do not share a common variable. For variable-disjoint sets and , we write to denote the set of clauses . We generalise this notion to for pairwise variable-disjoint sets .
We write to denote a vector of Boolean variables with denoting its length.111To avoid clutter, we always assume a vector of variables do not contain duplicate entries, which can be viewed as a set . We will thus use set-theoretic operations on such vectors as on sets. An assignment on is a function from to . We often identify an assignment on with a vector , denoted , which maps each to . When , we write to denote the vector of Boolean values . When is clear from the context, we will simply write instead of .
Two assignments and are consistent, denoted by , if for every . When and are consistent, we write to denote the union . Given a Boolean formula over the variables and an assignment , we denote by the induced formula over the variables obtained by assigning the variables in with Boolean values according to the assignment .
For a positive integer and a vector of variables of length , by abuse of notation, we write to denote the cube , where is the -bit binary representation of .
2.1 DQBF and Its Subclasses
We consider Dependency Quantified Boolean Formulas (DQBF) of the form
| (1) |
where , is the dependency set of the existential variable for every , and is a quantifier-free Boolean formula over the variables called the matrix of . We write if and if . We extend this notation to literals and clauses by letting for a literal and for a clause .
We say that is satisfiable if for every there is a Boolean formula using only variables in such that by replacing each with , the formula becomes a tautology. In this case, we call the sequence a model of and refer to each individual as a Skolem function for .
We define the subclasses of DQBF, where indicates the number of existential variables, indicates the condition on the dependency sets, and indicates the form of the matrix.
For the dependency set annotation , we define:
-
For every , ,
-
For every , or ,
-
For every with , , , or , and
-
For every with , or .
The letters d, e, c, and s denote disjoint, equal, complete, and subset, respectively. Note that the dependency sets of a formula form a laminar set family. The classification of different dependency structures is inspired by [18], but we specify the condition that the formula is in CNF explicitly in our notation. That is, DQBFde and DQBFdec in [18] correspond to and in our notation, respectively.
Note that . The first two inclusions are trivial, and the last one comes from the observation that both and are special cases of .
When , , or is missing, it means that the corresponding restriction is dropped. For instance, denotes the class of DQBF with existential variables, arbitrary dependency structure, and matrix in DNF, while denotes the class of DQBF with the dependency structure specified by d and an arbitrary Boolean formula as the matrix. We denote by the satisfiability problem for the class .
Remark 1.
For every and , checking whether a DQBF formula is in the class can be done deterministically in space logarithmic in the length of . To do so, we iterate through all the variables to check whether it satisfies the conditions set by . In each iteration, it suffices to store number of indices of the variables, which requires only logarithmic space.
2.2 Manipulation of
We recall two operations for manipulating formulas, namely universal reduction [3, 12] and resolution-based variable elimination [20].
Lemma 2 (Universal reduction [3, 12]).
Let be a formula, be a clause, be a universal literal, and let . If , then is equisatisfiable to
Using universal reduction, we assume that for every formula, since any universal variable not in can be universally-reduced from every clause.
For variable elimination by resolution, we only need a weaker version, which is sufficient for our purpose.
Lemma 3 (Variable elimination by resolution [20]).
Let be a formula. We partition into three sets:
-
,
-
, and
-
.
If for every we have , or for every we have , then is equisatisfiable to
where denotes the resolution of and w.r.t. the pivot , i.e., .
The intuition is that can “see” every assignment that may force it to be assigned to (respectively, ), and thus if all resolvents are satisfied, then there must be a Skolem function for that satisfies the clauses in . Note that the number of clauses after removing is at most .
2.3 Universal Expansion of
Consider a formula . Let . Given an assignment on and on , for every , let be the restriction of to and be the restriction of to . We can expand into an equisatisfiable -CNF formula by instantiating each into exponentially many instantiated variables of the form [2, 6, 12]. Formally,
where . Intuitively, in the expansion , the Boolean variable represents the value of a candidate Skolem function for . The universal expansion shows that the satisfiability of can be reduced to a Boolean satisfiability problem (with exponential blow-up). Moreover, if the assignment falsifies the matrix , then a satisfying assignment of must assign to for some .
3 Complexity of
Having defined the various subclasses of DQBF, we can refine previous results by stating them more precisely. In this section, we consider the case where the matrix is in DNF.
By combining the DNF version of Tseitin transformation [9, Proposition 1] and the results in [14], we can show that restricting to DNF matrix and pairwise-disjoint dependency sets does not affect the complexity of .
Theorem 4.
is coNP-, PSPACE-, and NEXP-complete when , , and , respectively.
See the appendix for the detailed proof. Since , we have the following corollary:
Corollary 5.
and is coNP-, PSPACE-, and NEXP-complete when , , and , respectively, for every .
4 Complexity of
In this section, we consider the complexity of and , with a focus on the case where . We first prove an important property of the expansion of formulas in Section 4.1 Then, in Sections 4.2 and 4.3 we show that is of the same complexity as -SAT for ,222There is no dependency structure for . and that is of the same complexity as SAT. This shows that, in stark contrast to the DNF case in the previous section, with pairwise disjoint dependency sets and with CNF matrix, the exponential gap between SAT and DQBF disappears. Finally, we discuss other dependency structures in Section 4.4.
4.1 Universal Expansion of
In this section, we show a useful property of the expansion of formulas. We fix a formula:
| (2) |
Let . Given an assignment on and on , for every , let be the restriction of to and be the restriction of to .
Recall that for a DQBF formula , each instantiated clause in corresponds to a falsifying assignment of the matrix of . For a formula in CNF, the set of falsifying assignments can be represented by the union of the set of falsifying assignments of each individual clause. This allows us to represent the instantiated clauses in as the union of polynomially many sets when is a formula. Moreover, the disjoint dependency structure allows us to further represent each of these sets as the Cartesian product of variable-disjoint sets of instantiated literals. To formally state the property, we first define some notation.
For a clause in , we write to denote the subset of within ’s dependency set, the set of instantiated literals where the assignment falsifies , and the set of instantiated clauses where falsifies . We now formally define these sets.
Definition 6.
Let be a formula as in (2). For every and , we define the sets , and :
-
.
-
.
-
.
When is clear from the context, we simply write , and .
We remark that if and only if falsifies , and similarly if and only if falsifies . Note also that and that the sets are pairwise variable-disjoint.
We now state the property formally.
Lemma 7.
Let be as in Equation 2. For every , .
Proof.
We fix an arbitrary . We first prove the “” direction. Let be a clause in . That is, is an assignment that falsifies . Let be the restriction of on and be the restriction of on , for every . By definition, . Since falsifies , it is consistent with the cube . Hence, for every , each is consistent with the cube . By definition, the literal belongs to , for every .
Next, we prove the “” direction. Let . By definition, for every , there is assignment such that is the literal and is consistent with the cube . Due to the disjointness of the dependency sets, all the assignments ’s are pairwise consistent. Let be their union .333Note that, as stated in Section 2.2, we assume that . Since each is consistent with , is consistent with all of . Therefore, is a falsifying assignment of . By definition, the clause is in .
4.2
In this section we will show that is NL-complete, as stated formally in Theorem 8.
Theorem 8.
is NL-complete.
Before we proceed to the formal proof, we first review some notation and terminology. Recall that the expansion of a -DQBF formula (even when the matrix is in an arbitrary form) is a -CNF formula, which can be viewed as a directed graph, called the implication graph (of the -CNF formula) [1]. The vertices in the implication graph are the literals, and for every clause in the formula, there are two edges, and .
The following notion of a disimplex will be useful.
Definition 9 (Disimplex [11]).
Given two sets of vertices , the disimplex from to is the directed graph .
In other words, a disimplex is a complete directed bipartite graph where all the edges are oriented from to .
The rest of this subsection is devoted to the proof of Theorem 8. For the rest of this subsection, we fix a formula . We will simply write , and to denote the sets , and defined in Definition 6. For a set of literals, we denote by the set of negated literals in , i.e., .
We first show that the implication graph of is a finite union of disimplices, and that the length of any shortest path between two vertices is bounded above by .
Lemma 10.
Let be the implication graph of . The set of edges can be represented as
which is the union of the edge sets of pairs of disimplices. Moreover, for every two vertices , if is reachable from , then there exists a path from to of length at most .
Proof.
By definition,
Since any assignment that falsifies must falsify some clause in , we have
By Lemma 7, we have for every . Therefore,
For the second part of the proof, assume, for the sake of contradiction, that is a shortest path from to with . Then, by the pigeonhole principle, there must be some such that and belongs to the same disimplex , and thus . We can then construct a shorter path from to , which contradicts with the assumption that is a shortest path.
Proof of Theorem 8.
For the NL membership, we devise an algorithm by checking the unsatisfiability of directly on these disimplices. We present an NL algorithm that checks the unsatisfiability of by looking for cycles containing both an instantiated literal and its negation in the implication graph of .444Recall that a -SAT formula is unsatisfiable if and only if there is a cycle containing both a literal and its negation in the implication graph of .
A naïve idea is to first non-deterministically guess a literal and the paths from to and from to . However, since is exponential in , representing a literal takes linear space. We instead make use of Lemma 10 and guess the disimplex each edge of belongs in, denoted by the sequences and with , where each is of the form or . We then check if
-
for every step , whether there exists some ,
-
for every step , whether there exists some , and
-
whether there exists some .
We reject if one of the checks fails, and accept if all checks succeed. In the latter case, there are paths and .
In particular, is non-empty if and only if and and are consistent. The consistency check can be done by keeping two pointers to the position in the clause using bits per pointer. This can easily be generalised to check the intersection of any constant number of ’s. For , simply replace with the clause with the sign of flipped if a literal of is present, i.e.,
For the hardness proof, we provide a reduction from -SAT to . Let be a -CNF formula over the variables . The idea is to encode the assignment of with a function where represents the assignment of .
In the following, for a literal , let denote the index where . We construct the formula
where and have length for representing the variables in and is a CNF formula that states the following.
-
for every .
-
for every .
The first item states that the Skolem functions for and must be the same. The second item implies that is a satisfying assignment of if and only if the function is a Skolem function for by encoding the assignment as a function , where .
4.3 : and Non-Constant
For and even arbitrary , we show that it is NP-complete. Let be as in Equation 2. To show the NP membership, we first show that for every , some is responsible for satisfying all the clauses in .
Lemma 11.
Let be as in Equation 2 and let be the vector of variables in . For every and every assignment on , satisfies the CNF formula if and only if satisfies the cube for some .
Proof.
We first prove the “if” direction. Let be an assignment on . If satisfies the cube , then, for every clause , by Lemma 7, there exists some that is satisfied by . Thus, is satisfied by .
For the “only if” direction, assume that does not satisfy the cube for every . That is, for every , there exists some such that . It follows that the clause is falsified by , and thus does not satisfy .
Remark 12.
Recall that . Thus, Lemma 11 can be reformulated as follows. For every assignment , satisfies if and only if there is a function such that for every , satisfies the cube . Intuitively, the function is the mapping that maps index to index in the statement in Lemma 11. This formulation will be useful later on.
The next lemma shows the NP membership of .
Lemma 13.
is in NP.
Proof.
Consider a formula:
with existential variables and clauses.
By the reformulation of Lemma 11 in Remark 12, an assignment on satisfies if and only if there exists a mapping such that satisfies , or equivalently, if there exists a partition of such that for each , the following QBF is satisfiable:
Note that since contains only one existential variable and it depends on all universal variables, checking the satisfiability of is in P using Lemma 3.555In fact, it is in L, as shown later in Theorem 19. An NP algorithm guesses the partition and verifies that is satisfiable for every .
Theorem 14.
for every and are NP-complete.
Proof.
By Lemma 13, is in NP. Since , is also in NP for every constant .
For the NP-hardness, a reduction from -SAT to can be done analogous to that of Theorem 8. A complete proof can be found in Section B.2. Since adding more existential variables only increases the complexity, for every and are also NP-hard.
4.4 : Different Dependency Structure
It has been shown in [18] that is -complete and is NEXP-complete. Since and is also NEXP-complete, we know is NEXP-complete. In this section, we show a surprising result that, when is a constant, has the same complexity as -SAT and for every . Since , it suffices to show the results for .
We start with .
Theorem 15.
is NL-complete.
Proof.
Since , the hardness follows from Theorem 8. For NL membership, consider a formula . First, we check whether and are disjoint using only logarithmic space. (See Remark 1.) If and are disjoint, we use the algorithm from Theorem 8 to determine its satisfiability. Otherwise, without loss of generality, we may assume that . We will show that this case can be decided in deterministic logarithmic space. Indeed, in this case is a standard QBF and we can perform a level-ordered Q-resolution proof [16]. Since there are only two existential variables, any proof uses at most four clauses, and we can simply iterate through all -tuples of clause indices and check whether Q-resolution can be performed.
In the following, we give an alternative proof that works directly on the semantics of QBF. To ease notation, we write , , and . Note that is equivalent to a QBF
which is false if and only if there are assignments , , and such that
is false. Since each of the four disjuncts is still in CNF, the formula is false if and only if each disjunct has a falsified clause. This is equivalent to finding four clauses such that
-
the clauses are consistent on the variables in ,
-
the clauses are consistent on the variables in ,
-
the clauses are consistent on the variables in , and
-
, , , and are consistent with , , , and , respectively.
To find such clauses, we can iterate through all -tuples of clause indices and check whether the properties hold.
Next, we show that for every , is NP-complete, just like -SAT.
Theorem 16.
For every constant , is NP-complete.
Before we present the proof of Theorem 16, we note that since , we obtain the following results as a corollary of Theorems 8, 14, 15, and 16.
Corollary 17.
and are NL-complete when and NP-complete when .
The rest of this section is devoted to the proof of Theorem 16.
Proof of Theorem 16.
We will consider the membership proof. The hardness follows from Theorem 14. We fix a formula:
| (3) |
Without loss of generality, we may assume that no existential variable has an empty dependency set, since our NP algorithm can guess an assignment to such variables at the outset. By Lemma 2, we may also assume that every universal variable appears in some dependency set. We say that a dependency set is maximal if there is no where . An existential variable is maximal if its dependency set is maximal.
To decide the satisfiability of , our algorithm works by recursion on the number of existential variables. The base case is when there is only one existential variable. This case can be decided in polynomial time and, in fact, in deterministic logspace. See, e.g., Theorem 19.
For the induction step, we pick a maximal variable . There are two cases.
Case 1: .
We apply Lemma 3 and eliminate , resulting in a formula with one less existential variable and clauses. We then proceed recursively.
Case 2: .
We deal with this case by generalising the technique in Lemma 13.
Let and . For each , we partition into two clauses:
Intuitively, is the subclause of that includes all the literals with dependency sets inside . On the other hand, is the subclause that contains the rest of the literals. Due to the laminar structure of the dependency sets and that is a maximal variable, .
For a function , we define two formulas:
We have the following lemma.
Lemma 18.
is satisfiable if and only if there is a function such that and are both satisfiable.
Note that guessing requires bits. The algorithm guesses the function and verifies recursively that both and are satisfiable. Since the algorithm terminates after steps, and is a constant, and the number of clauses constructed in each recursive step is at most quadratically many, each step can be done in polynomial time.
5 Complexity of
In this section, we remove the constraint on the dependency structure and consider . The case can be solved very efficiently.
Theorem 19.
is in L.
Proof.
Let . Similar to the proof of Theorem 15, to show unsatisfiability, it suffices to find such that
-
are consistent on the variables in , and
-
and are consistent with and , respectively.
The correctness follows from the same reasoning.
Next, we consider the case where .
Theorem 20.
is coNP-complete.
Proof.
For membership, we give an NP algorithm for checking unsatisfiability. Let be be a formula. Let . Note that for every assignment on , the induced formula is a formula, the satisfiability of which can be decided in polynomial time by Theorem 8. Therefore, to decide whether is unsatisfiable, we can guess an assignment on and accept if and only if is not satisfiable.
For hardness, we provide a reduction from the -DNF tautology problem to . Let be a 3-DNF formula over the variables , where each is a -literal cube. We construct the following formula:
where have length for representing the numbers in and are as follows.
We claim that is a tautology if and only if is satisfiable. To see this, we fix an arbitrary assignment on and consider the induced formula . Note that is a formula with universal variables . Since , the expansion is a 2-CNF formula with variables . Here we abuse the notation and write instead of where is the binary representation of .
It can be easily verified that the implication graph of the expansion is as shown in Figure 1, where a dashed edge is present if and only if falsifies the cube . Indeed, states that the edge is present. states that the edges and are present for every . states that the edges and are present. Finally, states that the dashed edges and are present if falsifies , for every . This implies that falsifies all cubes in if and only if there exists a cycle in . Since a cycle in (if exists) contains contradicting literals, falsifies all cubes in if and only if is not satisfiable. Since the assignment is arbitrary, is a tautology if and only if is satisfiable.
Next, we consider . Note that subsumes both and . Thus, is is both NP-hard and coNP-hard. We improve these results by showing that it is -hard.
Theorem 21.
is -hard.
Proof.
We show this by reduction from -QBF in -CNF. The reduction is similar to the one in Theorem 14, except that the existential variables are allowed to depend on common variables, thereby enabling the encoding of a two-level QBF.
Let be a -QBF in -CNF. Let and for a literal , let denote the index where .
We construct the following formula:
where have length for representing the variables in and each is the following CNF formula:
where for every , and are defined as
The intuition is that a vector of Skolem functions for in can be encoded as a single function , which then corresponds to a Skolem function for each in . The formulas and state that for every Skolem functions for , all functions must be the same. Then, states that the Skolem functions for (if exists) must satisfies all the clauses . Therefore, is a true QBF if and only if is satisfiable.
We next show a Tseitin-like transformation that requires only three additional existential variables. This is in contrast with the standard Tseitin transformation that requires as many existential variables as the length of the input formula. Our new Tseitin-like transformation leads to new hardness results for and .
Lemma 22 (Reformulated Tseitin Transformation).
Given a formula, we can construct in polynomial time an equisatisfiable formula.
Proof.
Let be a formula where is a circuit with gates . We assume, without loss of generality, that
where are the indices of the two fan-ins of the gate implementing the Boolean function , and that corresponds to the primary output of the circuit.
We construct the formula
where have length for representing the numbers in and is a CNF formula with clauses encoding
-
for every ,
-
for every ,
-
for every ,
-
for every ,
-
for every ,
-
.
The intuitive meaning is as follows. The first two items state that the Skolem functions for must be the same. The next three state that the Skolem function for encodes the values of the gates, where is the value of gate when is the binary representation of . The last item encodes that the output of the circuit must be true. The correctness proof is routine and hence omitted.
In particular, by combining Lemma 22 with the fact that and are PSPACE-complete and NEXP-complete [14], we establish the hardness of and .
Theorem 23.
is PSPACE-hard and is NEXP-complete.
6 Conclusions and Future Work
While is as hard as , we observe a range of differing complexity results in the CNF case. For the case of , we show that it is in fact as easy as -SAT – exponentially easier than . Generalising the results in [18], we also show that is NP-complete and that has the same complexity as -SAT for . For the case of , we show that it is only coNP-complete when (whereas is PSPACE-complete) and of the same NEXP-complete complexity as when . These results show that, when parametrising DQBF with the number of existential variables, it is more natural to consider DNF as the normal form for the matrix, analogous to how CNF is considered the standard form for SAT.
The exact complexity of is yet to be discovered for , , and . In particular, the best-known membership result is still that they are in NEXP. We leave this for future work.
References
- [1] Bengt Aspvall, Michael F. Plass, and Robert Endre Tarjan. A linear-time algorithm for testing the truth of certain quantified Boolean formulas. Inf. Process. Lett., 8(3):121–123, 1979. doi:10.1016/0020-0190(79)90002-4.
- [2] V. Balabanov and J.-H. R. Jiang. Reducing satisfiability and reachability to DQBF. In QBF Workshop, 2015.
- [3] Valeriy Balabanov, Hui-Ju Katherine Chiang, and Jie-Hong R. Jiang. Henkin quantifiers and Boolean formulae: A certification perspective of DQBF. Theoretical Computer Science, 523:86–100, 2014. doi:10.1016/j.tcs.2013.12.020.
- [4] Armin Biere, Mathias Fleury, Nils Froleyks, and Marijn J. H. Heule. The SAT museum. In Matti Järvisalo and Daniel Le Berre, editors, Proceedings of the 14th International Workshop on Pragmatics of SAT, volume 3545, pages 72–87. CEUR-WS.org, 2023. URL: https://ceur-ws.org/Vol-3545/paper6.pdf.
- [5] Armin Biere, Marijn Heule, Hans van Maaren, and Toby Walsh, editors. Handbook of Satisfiability, volume 185. IOS Press, 2009.
- [6] Uwe Bubeck. Model-Based Transformations for Quantified Boolean Formulas. PhD thesis, University of Paderborn, 2010.
- [7] Uwe Bubeck and Hans Kleine Büning. Dependency quantified Horn formulas: Models and complexity. In Armin Biere and Carla P. Gomes, editors, Proceedings of the International Conference on Theory and Applications of Satisfiability Testing - SAT 2006, 9th International Conference, Seattle, WA, USA, August 12-15, 2006, Proceedings, volume 4121, pages 198–211. Springer, 2006. doi:10.1007/11814948_21.
- [8] Uwe Bubeck and Hans Kleine Büning. Rewriting (dependency-)quantified 2-CNF with arbitrary free literals into existential 2-HORN. In Ofer Strichman and Stefan Szeider, editors, Proceedings of the International Conference on Theory and Applications of Satisfiability Testing - SAT 2010, 13th International Conference, volume 6175, pages 58–70. Springer, 2010. doi:10.1007/978-3-642-14186-7_7.
- [9] Fa-Hsun Chen, Shen-Chang Huang, Yu-Cheng Lu, and Tony Tan. Reducing NEXP-complete problems to DQBF. In Alberto Griggio and Neha Rungta, editors, Proceedings of the 22nd Conference on Formal Methods in Computer-Aided Design, pages 199–204, 2022. doi:10.34727/2022/isbn.978-3-85448-053-2_26.
- [10] Johannes Klaus Fichte, Daniel Le Berre, Markus Hecher, and Stefan Szeider. The silent (r)evolution of SAT. Commun. ACM, 66(6):64–72, 2023. doi:10.1145/3560469.
- [11] Ana Paulina Figueroa and Bernardo Llano. An infinite family of self-diclique digraphs. Appl. Math. Lett., 23(5):630–632, 2010. doi:10.1016/j.aml.2010.01.026.
- [12] Andreas Fröhlich, Gergely Kovásznai, Armin Biere, and Helmut Veith. iDQ: Instantiation-based DQBF solving. In Proceedings of the Fifth Pragmatics of SAT workshop, volume 27, pages 103–116, 2014. doi:10.29007/1s5k.
- [13] Long-Hin Fung, Che Cheng, Yu-Wei Fan, Tony Tan, and Jie-Hong Roland Jiang. 2-DQBF solving and certification via property-directed reachability analysis. In Proceedings of the Conference on Formal Methods in Computer-Aided Design, pages 197–207. IEEE, 2024. doi:10.34727/2024/isbn.978-3-85448-065-5_25.
- [14] Long-Hin Fung and Tony Tan. On the complexity of -DQBF. In Proceedings of the International Conference on Theory and Applications of Satisfiability Testing, volume 271, pages 10:1–10:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPIcs.SAT.2023.10.
- [15] Robert Ganian, Tomás Peitl, Friedrich Slivovsky, and Stefan Szeider. Fixed-parameter tractability of dependency QBF with structural parameters. In Diego Calvanese, Esra Erdem, and Michael Thielscher, editors, Proceedings of the 17th International Conference on Principles of Knowledge Representation and Reasoning, KR 2020, Rhodes, Greece, September 12-18, 2020, pages 392–402, 2020. doi:10.24963/kr.2020/40.
- [16] Mikolás Janota and João Marques-Silva. Expansion-based QBF solving versus Q-resolution. Theor. Comput. Sci., 577(C):25–42, 2015. doi:10.1016/j.tcs.2015.01.048.
- [17] G. Peterson, J. Reif, and S. Azhar. Lower bounds for multiplayer noncooperative games of incomplete information. Computers & Mathematics with Applications, 41(7):957–992, 2001. doi:10.1016/S0898-1221(00)00333-3.
- [18] Christoph Scholl, Jie-Hong Roland Jiang, Ralf Wimmer, and Aile Ge-Ernst. A PSPACE subclass of dependency quantifed Boolean formulas and its effective solving. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 1584–1591. AAAI Press, 2019. doi:10.1609/aaai.v33i01.33011584.
- [19] G. Tseitin. On the complexity of derivation in propositional calculus. In Studies in Constructive Mathematics and Mathematical Logic, Part II, 1968.
- [20] Ralf Wimmer, Karina Gitina, Jennifer Nist, Christoph Scholl, and Bernd Becker. Preprocessing for DQBF. In Marijn Heule and Sean A. Weaver, editors, Proceedings of the International Conference on Theory and Applications of Satisfiability Testing, volume 9340, pages 173–190, Cham, 2015. Springer International Publishing. doi:10.1007/978-3-319-24318-4_13.
- [21] Lintao Zhang. Solving QBF with combined conjunctive and disjunctive normal form. In Proceedings of the 21st National Conference on Artificial Intelligence, pages 143–150. AAAI Press, 2006. URL: http://www.aaai.org/Library/AAAI/2006/aaai06-023.php.
Appendix A Additional Background
We provide additional background knowledge in this section.
A.1 Tseitin Transformation
Tseitin transformation is a standard technique to turn an arbitrary Boolean satisfiability problem into an equisatisfiable one in -CNF form [19]. It can be directly lifted to QBF and DQBF by allowing the Tseitin variables to depend on every universal variable.
Given a DQBF
where is a circuit with gates , we assume, without loss of generality, that
where are the indices of the two fanins of the gate implementing the Boolean function .
The core idea of Tseitin transformation is that we can introduce a fresh variable for every gate and encode locally the relation between the inputs and the output of the gate. The formula encoding these constraints is a CNF formula encoding
-
for every ,
-
for every , and
-
for every .
We then have is equisatisfiable to
To transform it to DNF form, as noted in [9], is equisatisfiable to
Note that the matrix of the formula is in DNF form. In the context of QBF, it can be thought of as applying the Tseitin transformation on and then negating the resulting existential formula [21]. We refer to this as the DNF version of Tseitin transformation.
Appendix B Omitted Proofs
We fill in the omitted proofs in the main text in this section.
B.1 Complexity of
Proof of Theorem 4.
Since we are considering subclasses of , it suffices to show the hardness part.
First, observe that the DNF version of the Tseitin transformation (see Section A.1) preserves both the number of existential variables and the dependency structure. Therefore, we have that is as hard as for every combination of and . In addition, observe that the formula constructed to show the PSPACE- and NEXP-hardness of and in [14, Theorems 4 and 5] are in fact and , respectively. Thus, we have is coNP-, PSPACE-, and NEXP-complete for , , and , respectively.
B.2 Hardness of
Hardness Proof of Theorem 14.
Let be a -CNF formula over the variables . We again write if .
We construct the following formula
where , , and are of length for representing the variables in and is a CNF formula that states the following.
-
for every ,
-
for every , and
-
for every .
The first two items state that the Skolem functions for , , and must be the same. The third item implies that is a satisfying assignment of if and only if the function is a Skolem function for by encoding as a function , where .
B.3 Proof of Lemma 18
Recall that we fix a formula:
| (4) |
Let . We recall some of the notation used in the main text.
-
is a maximal variable where .
-
and .
-
For each :
-
For a function , we define two formulas:
Finally, we recall Lemma 18.
See 18
To prove Lemma 18, we will need additional notation and terminology. Let . Note that . To ease notation, we write and . That is, is the complement of w.r.t. and is the complement of w.r.t. . In the following, we will drop the subscript in and simply write .
For an assignment , we define the clause :
Similarly, for an assignment , we define the clause :
We now generalise Definition 6 to the laminar case.
Definition 24.
Let be as in Equation 4. For every , we define the sets:
The following lemma is a generalisation of Lemma 7 to the laminar case.
Lemma 25.
Let be as in Equation 4. Then, for every , .
Proof.
The proof is a straightforward generalisation of Lemma 7. For the sake of completeness, we present it here.
We fix an arbitrary . We first prove the “” direction. Let be a clause in . That is, is an assignment that falsifies . By definition, . Since falsifies , it is consistent with the cube .
Let and . Let and . Both are consistent with the cubes and , respectively. By definition, the clause is in and the clause is in . The inclusion follows since
Next, we prove the “” direction. Let . Let , where and . By definition,
-
there is assignment such that is the clause ,
-
there is assignment such that is the clause .
Since the dependency sets of the variables in are disjoint with the dependency sets of the variables in , the assignments and are consistent. Let be their union, which is consistent with . Therefore, is a falsifying assignment of . By definition, the clause and it is in .
Lemma 26.
Let be as in Equation 4 and let be the vector of variables in . For every assignment , satisfies if and only if it satisfies and for some function .
Proof.
The proof is similar to Lemma 26. For completeness, we reprove it here. We observe that:
The second equality comes from Lemma 25. Thus, is satisfiable iff there is a function such that
is satisfiable. The first part of the conjunction is precisely and the second part is precisely .
