Research Article | Open Access
K. Subramani, "On the Complexities of Selected Satisfiability and Equivalence Queries over Boolean Formulas and Inclusion Queries over Hulls", Advances in Decision Sciences, vol. 2009, Article ID 845804, 18 pages, 2009. https://doi.org/10.1155/2009/845804
On the Complexities of Selected Satisfiability and Equivalence Queries over Boolean Formulas and Inclusion Queries over Hulls
This paper is concerned with the computational complexities of three types of queries, namely, satisfiability, equivalence, and hull inclusion. The first two queries are analyzed over the domain of CNF formulas, while hull inclusion queries are analyzed over continuous and discrete sets defined by rational polyhedra. Although CNF formulas can be represented by polyhedra over discrete sets, we analyze them separately on account of their distinct structure. In particular, we consider the NAESAT and XSAT versions of satisfiability over HornCNF, 2CNF, and Horn2CNF formulas. These restricted families find applications in a number of practical domains. From the hull inclusion perspective, we are primarily concerned with the question of checking whether two succinct descriptions of a set of points are equivalent. In particular, we analyze the complexities of integer hull inclusion over 2SAT and Horn polyhedra. Hull inclusion problems are important from the perspective of deriving minimal descriptions of point sets. One of the surprising consequences of our work is the stark difference in complexities between equivalence problems in the clausal and polyhedral domains for the same polyhedral structure.
The problem of testing the satisfiability of CNF formulas (or SAT) is ubiquitous in computer science and operations research. Applications of this problem abound from areas as diverse as econometrics and planning to graph theory and combinatorial optimization . From the perspective of computational complexity, SAT was immortalized in  as the first natural NP-complete problem. Advances in SAT research have been along both theoretical and practical lines. On the theoretical side, there exist a number of algorithms running in time , for instance, see [3–5]. On the practical front, greedy approaches based on random walks have been enormously successful [6, 7].
One of the approaches taken by SAT theoreticians is to identify structures of SAT families that are amenable to solution through polynomial time procedures. This approach has the benefit of defining yardsticks that categorize classes of SAT problems as polynomial time solvable or NP-complete . Tractable families are distinguished by a specific clausal structure; these structures either limit the number of literals per clause [9, 10] or the number of times that a variable appears across all the clauses . A completely orthogonal approach to SAT research is to study the complexities of SAT variants, that is, satisfiability problems with additional requirements on the type of solutions. For instance, in the NAESAT problem, we are required to find an assignment that satisfies all the clauses but falsifies at least one literal per clause. This paper is interested in such syntactic variants of the SAT problem, inasmuch as these variants arise naturally in the domains of graph theory and scheduling.
This paper also focuses on hull inclusion problems over continuous and discrete sets of points. Hull inclusion is checkable in polynomial time when the domain is continuous and NP-complete when the domain is discrete. However, there exist nontrivial cases of hull inclusion in discrete domains which are polynomial time solvable on account of the structure of the constraint matrix. These hull inclusion problems find applications in program verification [12, 13]. Although SAT problems can be cast as discrete domain polyhedral problems, we choose to treat them separately in order to exploit their structure. In this context, we will show that a particular problem is polynomial time solvable over Boolean CNF formulas, but provably hard over arbitrary polyhedra.
The principal contributions of this paper are as follows.(a)Establishing the complexities of NAESAT and XSAT queries over restricted CNF families (see Section 2 for definitions of CNF restrictions).(b)Introducing the problems of NAE-equivalence and X-equivalence and establishing their complexities over restricted CNF families.(c)Developing a polynomial time algorithm for Linear hull inclusion. (d)Establishing the complexities of Integer hull inclusion over various polyhedral families.
The rest of this paper is organized as follows. Section 2 formally describes each of the problems considered in this paper. In Section 3, we discuss the motivation for our work as well as related approaches in the literature. The complexities of satisfiability queries over various clausal families are detailed in Section 4. Boolean equivalence queries and their variants are discussed in Section 5. An algorithm for Linear hull inclusion is discussed in Section 6. Section 7 is concerned with Integer hull inclusion over various polyhedral families. We conclude in Section 8 by summarizing our work in this paper and identifying avenues for future research.
2. Statement of Problems
We begin with definitions of satisfiability-related problems on clausal Boolean formulas.
Let denote a Boolean formula in conjunctive normal form (CNF), where the s are disjunctions on the literals . For the rest of the paper, we assume that our formulas are in CNF over the variables , unless otherwise stated.
Definition 2.1. The Boolean satisfiability (SAT) problem is: Given , is there a assignment to the variables of , such that at least one literal in each clause is set to true.
If such an assignment exists for a given CNF formula , then is said to be satisfiable and is said to be a satisfying assignment. There are other variants of satisfiability of interest in the CNF case, where the number of true literals or the mix of true and false literals per clause is specified.
Definition 2.2. The Not-All-Equal satisfiability (NAESAT) problem is defined as follows: Given a Boolean formula , does have a satisfying assignment, such that at least one literal in each clause is set to false. If such an assignment exists, then it is called a NAE-satisfying assignment and is said to be NAE-satisfiable.
Definition 2.3. The Exact satisfiability (XSAT) problem is defined as follows. Given a Boolean formula , does have a satisfying assignment, such that exactly one literal in each clause is set to true. If such an assignment exists, then it is called an X-satisfying assignment and is said to be X-satisfiable.
If a Boolean formula is unsatisfiable, then it is neither NAE-satisfiable nor X-satisfiable; however, satisfiability does not imply NAE-satisfiability or X-satisfiability.
This paper will focus on Boolean formulas with restrictions on the structure of the formula. These restrictions are exploited in the design of polynomial time algorithms.
Definition 2.4. A Boolean formula is in -CNF form, if every clause contains exactly literals.
Definition 2.5. A Boolean formula is Horn, if every clause contains at most one positive literal.
Definition 2.6. A Boolean formula is said to be Horn2CNF, if each clause contains at most two literals or at most one positive literal.
Given an assignment to the variables of a boolean formula , let denote the set of variables that have been assigned true under .
Definition 2.7. A Boolean formula is said to be positively monotone, if for every pair of assignments to the variables of , .
Definition 2.8. A Boolean formula is said to be negatively monotone, if for every pair of assignments to the variables of , .
A Boolean formula is monotone if it is either positively monotone or negatively monotone. It is not hard to see that if is a CNF formula, then is monotone if all variables occur positively or all variables occur negatively.
It is well known that 3SAT, NAE3SAT, and X3SAT are NP-complete , whereas HornSAT and 2SAT are solvable in polynomial time . Horn2CNF formulas have also been called Mixed Horn Formulas in the literature  and satisfiability checking in these formulas is also NP-complete . Monotone SAT is trivial, since all variables can be set to true (or false). Other monotone problems, however, prove more interesting.
From the perspective of computational complexity, the following questions are open:(i)What are the complexities of NAESAT over Horn and Mixed Horn formulas? These problems are called NAEHornSAT and NAEMixedHornSAT, respectively.(ii)What are complexities of XSAT over Horn and Mixed Horn formulas? These problems are called XHornSAT and XMixedHornSAT, respectively.
A problem closely related to satisfiability is the boolean equivalence problem.
Definition 2.9. Two Boolean formulas and are said to be equivalent (denoted ) if every assignment that satisfies also satisfies and vice versa.
The problem of checking whether two Boolean formulas are equivalent is denoted by BEQ.
Observe that the equivalence problem can be broken into two subproblems, namely, and .
Consider the subproblem . As before, we assume that and that . Now,
System (2.1) exploits the well-known propositional tautology, for arbitrary propositional formulas , , and : Pick a particular clause . Applying the tautology for arbitrary propositional formulas and , it follows that if and only if is unsatisfiable.
Observe that is a disjunction of literals, so that is a conjunction of unit literal clauses; hence is in CNF form. Thus, in order to check whether , we merely need to confirm that all the CNF formulas in the set are unsatisfiable. In other words, the implication problem for CNF problems has been Turing reduced to the CNF unsatisfiability problem. Then, we have the following lemma.
Lemma 2.10. BEQ is Turing reducible to the problem of checking whether a CNF formula is unsatisfiable.
Proof. Given and , first check whether and then whether .
Observe that there exist polynomial time algorithms to decide (un)satisfiability in 2CNF and HornCNF formulas , and hence it follows that BEQ can be decided in polynomial time for 2CNF and HornCNF formulas.
Two problems that are closely related to the boolean equivalence problem are the NAE-equivalence problem and the X-equivalence problem.
Definition 2.11. Two Boolean formulas and are said to be NAE-equivalent (denoted ) if every assignment that NAE-satisfies also NAE-satisfies and vice versa.
The problem of checking whether two boolean formulas are NAE-equivalent is denoted by NAEEQ.
Definition 2.12. Two Boolean formulas and are said to be X-equivalent (denoted by ) if every assignment that X-satisfies also X-satisfies and vice versa.
The problem of checking whether two boolean formulas are X-equivalent is denoted by XEQ.
Problem 1. Are there classes of Boolean formulas for which NAE-equivalence and X-equivalence can be determined in polynomial time?
We now proceed to describe the linear and integer hull inclusion problems for particular types of polytopes. A polytope is a bounded polyhedron. A polyhedron is defined by a linear system where is an integer matrix, is an integral -vector, and is the variable vector. Polytopes and polyhedra are interesting because they capture a number of problems that arise in combinatorial optimization.
For the following definitions, assume that we are given two polytopes and .
Definition 2.13. The linear hull of a polytope , denoted by , is defined as the convex hull of all the points contained in it.
Definition 2.14 (see ). The integer hull of a polytope , denoted by , is defined as the convex hull of the lattice points contained in .
Note that for a given polytope , both the linear hull and the integer hull have exponentially many extreme points. However, just as we are interested in equivalence between formulas with respect to various satisfiability measures, we are interested in comparing polytopes via their convex hulls.
Definition 2.15. The linear hull inclusion (LHI) problem is defined as follows. Given polyhedra and , is it the case that ?
Definition 2.16. The integer hull inclusion (IHI) problem is defined as follows. Given polyhedra and, is it the case that ?
We first observe that the IHI problem is hard in the general case.
Lemma 2.17. IHI is coNP-complete.
Proof. Let denote an arbitrary 3CNF formula. It is well known that this formula can be represented as an integer program over , for instance, see . Set to be the polyhedral system representing the 3CNF formula and to the empty polyhedron . The integer hull of is contained in the integer hull of if and only if the 3CNF formula is unsatisfiable. Then the lemma follows.
The natural question then is the following.
Problem 2. Are there classes of polytopes for which IHI can be decided in polynomial time?
We now define some special classes of polytopes. The structure of these polytopes will be exploited to design polynomial time algorithms for one or both types of hull inclusion.
Definition 2.18. A polyhedral system is said to be a 2SAT polytope if all entries of belong to the set and further, there are at most nonzero entries per row of .
Individual constraints of a 2SAT polytope have also been referred to as UTVPI constraints in the literature .
Definition 2.19. A polyhedral system of the form is said to be a Horn polytope if all entries in belong to , and there exists at most one positive entry in each row.
Observe that 2SAT polytopes and Horn polytopes generalize 2CNF clauses and HornCNF clauses, respectively.
Definition 2.20. A matrix is said to be totally unimodular (TUM) if every square submatrix of has determinant , , or .
TUM matrices arise in network flow problems , scheduling problems , and a whole host of situations in which only strict difference constraints are permitted between program variables . One of the more celebrated results about TUM matrices in the operations research literature is the following. Let denote a polyhedral system, with TUM and integral. Then, the integer hull and linear hull of are identical (see ).
Definition 2.21. A polyhedral system of the form , where all entries in belong to and each row has exactly one and one , is called a Difference polytope.
Note that the class of difference polytopes is a proper subset of the class of 2SAT polytopes and also a proper subset of the class of Horn polytopes. (See Figure 1.)
Difference polytopes are a special subset of the class of TUM polytopes. Conjunctions of difference constraints are used to capture requirements in a number of application domains such as symbolic model checking , verification of timed systems [21, 22], and timed automata [23, 24]. Difference constraint feasibility has also been studied as the Single Source Shortest Paths problem within the operations research and algorithms communities . Additionally, separation relationships in a number of scheduling problems are captured through difference constraints [18, 26, 27]. In real-time software, temporal requirements are modeled through variants of difference constraints [28, 29].
3. Motivation and Related Work
The two variants of SAT that we are interested in are NAESAT and XSAT. Both these problems have a long and interesting history, inasmuch as they are closely linked to graph coloring problems . Mixed Horn Formulas (MHFs) have been used in the formulation of level-planarity tests in planar graphs and crossing-minimization problems . In , it has been argued that graph colorability can also be formulated as an MHF satisfiability problem.
Convex body inclusion has been well studied in the operations research literature [32, 33]. Convex body inclusion is related to the problem of estimating the volumes of convex bodies [34, 35]. In Section 6, we present an algorithm for polytope inclusion that depends on the fact that maximizing a linear function over a polytope can be accomplished in polynomial time. Integer hull inclusion is different from convex body inclusion since in general, the set of lattice points satisfying a system of linear inequalities do not form a convex set. 2SAT polytopes were introduced in , where it was shown that the existence of a lattice point could be determined in time, where is the dimension of the polytope. It is known that the problem of obtaining the integer maximum of a linear function over a 2SAT polytope is, in general, NP-hard. (This problem generalizes the vertex cover problem.) Horn polytopes generalize Horn clausal systems  and find wide application in linear complementarity and econometrics research .
A secondary motivation for the study of clausal equivalence problems is provided by classical computational complexity. One of the goals in complexity is to find the exact threshold at which problems become hard . This paper shows that the NAE-equivalence and X-equivalence problems are solvable in polynomial time for 2CNF formulas but are provably hard for the other boolean families. Likewise, we show that the integer hull inclusion problem can be solved in polynomial time for 2SAT polytopes. A surprising consequence of our work is the apparent disparity between the clausal and integer programming versions of Horn equivalence. Clausal Horn equivalence can be determined in polynomial time, whereas integer hull inclusion over Horn polytopes is coNP-complete.
4. Boolean Satisfiability Queries
This section focuses on the computational complexity of the satisfiability queries detailed in Section 2. It has been shown that the NAE2SAT problem can be solved in polynomial time . Indeed, the results in  establish that NAE2SAT is in the complexity class L (Deterministic Logarithmic Space). Likewise, NAE3SAT has been proven NP-complete in . The arguments in  also establish that Monotone XSAT is NP-complete.
We are now ready to prove the following theorem.
Theorem 4.1. XHornSAT is NP-complete.
The proof is a reduction from Monotone XSAT to XHornSAT. Before we construct the reduction, we will prove a minor but useful lemma.
Lemma 4.2. Any X-satisfying assignment for the formula sets to false.
Proof. We note that any X-satisfying assignment for sets one of and to true and the other to false. Therefore, a consistent X-satisfying assignment to must set to false.
Note that the formula in Lemma 4.2 is Horn.
Proof of Theorem 4.1. Let be a monotone CNF formula. Let , , and be variables that do not occur in , and assume without loss of generality that all variables in appear negated.
Observe that if , then has the form: . As discussed in Lemma 4.2, any X-satisfying assignment to must set to false. However, any X-satisfying assignment for a Horn clause having the form must set exactly one literal of to true. It follows that is X-satisfiable if and only if is. Since can be computed in time linear in , this reduction is polynomial-time computable.
It follows that XHornSAT is NP-complete.
There is a similar reduction from monotone NAESAT to NAEHornSAT. The reduction itself is completely straightforward since a monotone clause is equivalent to . (Again, without loss of generality we assume that all variables in are negated.)
Corollary 4.3. Monotone NAESAT NAEHornSAT, where the stands for many-to-one polynomial time.
In order to show the complexity of these two satisfiability problems, we introduce a coloring problem.
Definition 4.4. The Set Splitting problem is: given a universe and (subsets of ), is there a coloring of by two colors, say red and blue, so that no set in is monochrome?
Sipser gives the NP completeness of Set Splitting as an exercise . There is a straightforward mapping between the sets in and clauses in a monotone formula and between the colors and the values true and false.
Lemma 4.5. The Splitting Set problem is NP-complete, and Monotone NAESAT is equivalent to it.
Corollary 4.6. NAEHornSAT is NP-complete.
Note that any NAESAT assignment to a Horn clause must set at least one body variable to false. Otherwise, the NAE constraint would force the body to true and the head to false, and the assignment would not satisfy the clause.
Observe that NAEHornSAT and XHornSAT are both NP-complete as shown in Theorem 4.1 and Corollary 4.6, respectively. Furthermore, HornSAT is a subclass of MixedHornSAT. Finally, note that the reductions that established the NP-completeness of NAEHornSAT and XHornSAT have the properties that they map inputs either to NAE-satisfiable (resp, X-satisfiable) Horn formulas, or to NAE-unsatisfiable (resp, X-unsatisfiable) Horn formulas. Therefore, these very reductions establish the NP-completeness of NAEMixedHornSAT and XMixedHornSAT, respectively.
Corollary 4.7. NAEMixedHornSAT and XMixedHornSAT are NP-complete.
Table 1 summarizes our discussion on clausal satisfiability queries.
5. Boolean Equivalence Queries
The reasoning in Section 2 can be used to establish that BEQ is coNP-complete over 3CNF and Mixed Horn Formulas.
Theorem 5.1. BEQ is coNP-complete for 3CNF and Mixed Horn Formulas.
Proof. Let denote an arbitrary 3CNF formula or Mixed Horn formula. We know that the problem of checking whether is satisfiable is NP-complete; thus, if we set to false, we can determine the satisfiability of by checking whether .
In similar fashion, it can be shown that the NAEEQ and XEQ problems are coNP-complete for 3CNF and Mixed Horn Formulas.
We now prove a general theorem relating the NAEEQ and BEQ problems. Let denote a formula in -CNF form, and let denote the CNF formula obtained by negating every literal in every clause of .
Lemma 5.2. is NAE-satisfiable if and only if is satisfiable.
Proof. Only if: Let be NAE-satisfiable and let denote a NAE-satisfying assignment. Let denote a clause of . Since is a NAE-satisfying assignment, it sets at least one literal to true and at least one literal to false in . Let denote the clause in which each literal in is complemented. Note that the literal that was set to false in is set to true in and vice versa; since was chosen arbitrarily, the same argument applies to all clauses of . In other words, NAE-satisfies , and therefore, NAE-satisfies . Hence is satisfiable.
If: Let be satisfiable in the ordinary sense, and let denote a satisfying assignment. Let us study the clauses and under the assignment which is obtained by complementing every assignment in . As per the definition of , every literal that is set to true in is set to false in and vice versa. It therefore follows that also satisfies both and . Inasmuch as and were chosen arbitrarily, the same argument holds for all clause pairs, that is, satisfies . Now, has a complementary pair of assignments and therefore is NAE-satisfiable. But this immediately implies the NAE-satisfiability of .
Lemma 5.2 leads us directly to the following lemma.
Lemma 5.3. if and only if .
Proof. Suppose that but . Without loss of generality, assume that there exists an assignment which satisfies but falsifies . Since does not satisfy , it cannot NAE-satisfy , as per Lemma 5.2. As per the hypothesis, it cannot NAE-satisfy either. But since satisfies , it must NAE-satisfy , as per Lemma 5.2, and thus we have a contradiction. It follows that implies that . The converse can be proved similarly.
Note that in case of 2CNF formulas, the NAEEQ and XEQ problems are identical.
The next theorem follows from the previous proofs.
Theorem 5.4. The NAEEQ and XEQ problems can be solved in polynomial time for 2CNF formulas.
Table 2 summarizes our discussion on clausal equivalence queries.
6. Linear Hull Inclusion
In this section, we focus on the problem of checking whether the linear hulls of two polyhedra defined by systems of linear inequalities are equivalent.
Consider two polyhedra represented by where(1) is an rational matrix,(2) is a rational vector,(3),
and where(1), is an rational matrix,(2) is a rational -vector,(3)
Let denote the polynomial running time of a linear programming algorithm on constraints and variables . Since a total of calls are made, the running time of Algorithm 1 is , which is polynomial, since is a polynomial function of and .
Lemma 6.1. If Algorithm 1 returns true, then for all .
Proof. Let us assume the contrary, that is, Algorithm 1 returns true, yet there exists a point such that , but . We note that the notation is used to indicate the fact that at least one of the constraints defining the polyhedron is violated. Let denote a violated constraint, that is, . (See Figure 2.) Then is greater than , contradicting the hypothesis that true was returned by the algorithm.
Lemma 6.2. If Algorithm 1 returns false, there exists a point such that and .
Proof. See Figure 2. Let exceed at point . Then is the required offending point, that is, , but .
Corollary 6.3. Algorithm 1 decides if the polyhedron defined by is contained in the polyhedron represented by
Note that the linear hull inclusion problem is decidable in polynomial time, irrespective of the polyhedral system involved, that is, the polyhedral system could be completely arbitrary (and not necessarily one of 2SAT, Horn or TUM).
7. Integer Hull Inclusion
Let us restate the Integer hull inclusion problem (IHI).
Given polyhedra and , is it the case that the integer hull of is contained within the integer hull of , that is, is ?
We point out some relevant information.(1)Algorithm 1 shows that the hull inclusion problem (Linear or Integer) is Turing reducible to the problem of finding the maximum (linear or integer) of a linear function over a polyhedron.(2)It therefore follows that the IHI problem can be solved in polynomial time when are TUM. Note that when the vectors are integral, Algorithm 1 works as is, since the linear hull is identical to the integer hull. If the vectors are not integral, we make the observation that the integer hull of is identical to the linear hull of when the are TUM, and use Algorithm 1 on the modified polyhedra. For the rest of this paper, we will assume that the vectors are integral.(3)Optimizing a linear function over an arbitrary 2SAT polytope is NP-hard since it subsumes the vertex cover problem [15, 43], and hence we cannot directly use the technique discussed in Section 6. Likewise, maximizing an arbitrary linear function over a Horn polytope is NP-hard, and thus the technique of Section 6 is inapplicable (see Section 7.2).
7.1. 2SAT Polytopes
Assume that has dimension and that has dimensions . Note that is constructed by taking the intersection of the half-spaces . Likewise, is constructed by taking the intersection of the half-spaces, .
Observe that if and only if for all lattice points ,. Now, for a lattice point ,
Let us focus on proving , for a specific constraint of , that is, the half-space defining . As in the case of CNF equivalence, we observe that for lattice points , , if and only if the set is empty with respect to lattice points. Note that the constraint can be written as: . But we are only interested in lattice point solutions. Consequently, a lattice point solution will satisfy the constraint if and only if it satisfies the constraint , which is a closed half-space. Thus, we can check that for all lattice points , by checking whether the polyhedron is empty with respect to lattice points. The operation of negating a constraint is referred to as constraint complementation.
The discussion above implies the following theorem.
Theorem 7.1. Given polyhedra and , the IHI problem turing reduces to the problem of checking whether a polyhedron does not have any lattice point.
Corollary 7.2. The IHI problem can be solved in polynomial time for 2SAT polytopes.
Proof. 2SAT polytopes are defined by constraints that are closed under constraint complementation, insofar as lattice points are concerned. For instance, the complement of the constraint is , which is equivalent to if only integral values of and are permitted. In other words, the complement of a constraint in a 2SAT polytope is also a 2SAT constraint. The presence or absence of lattice points in a 2SAT algorithm can be checked using the algorithm in , which runs in time. The corollary follows.
7.2. Horn Polytopes
Observe that Horn constraints are not closed under constraint complementation. For instance, the negation of the Horn constraint is , which is equivalent to (since the s are integral) and hence equivalent to . Note that the last constraint is not a Horn constraint but an anti-Horn constraint!
We will show that the IHI problem for Horn polytopes is coNP-complete. In order to establish this result, we study a related problem, namely, PK(Horn, ).
Given a Horn system and a single non-Horn constraint , does the polyhedral system , enclose a lattice point?
We will use a reduction from the following problem.
Definition 7.3. The Hitting Set (HS) problem is: Given a set called the ground set, a collection of subsets , , and a number , does there exist a set , such that and ?
Theorem 7.4. HS is NP-complete.
The Hitting Set problem and a proof of its NP-completeness are provided in .
Corollary 7.5. PK(Horn, ) is NP-complete.
Proof. PK(Horn, ) NP from the NP-completeness of Integer Programming . We reduce the Hitting Set problem to PK(Horn, ).
Given an instance of HS, with ground set , sets and the target , we construct an instance of the following variation of CNF satisfiability called MCNF. Corresponding to the ground set , we create the literal set . Corresponding to each subset , we create the clause , where each indexes the set . The query in MCNF is as follows. Does there exist an assignment that satisfies the clause set such that the number of variables set to true is at most ? Note that all literals are positive in the MCNF instance.
Assume that the instance of HS is a “yes” instance, that is, there exists a set such that , such that . Set the literals corresponding to the variables in to true and all other literals to false. By construction, each clause is satisfied. Since the number of literals set to true is , the instance of MCNF is also a “yes” instance.
Now assume that the instance of MCNF is a “yes” instance, that is, there exists a assignment to the literals of , such that all clauses are satisfied and the number of literals set to true is at most . Construct the set with those elements , such that . By construction, intersects each in at least one element (since each clause is satisfied), and the cardinality of is at most . It follows that the instance of is also a “yes” instance.
We now transform the MCNF instance into an instance of PK(Horn, ) as follows. Create variables , where each . Corresponding to the clause (say), create the Horn constraint: . Finally, add the non-Horn constraint: . Thus, the MCNF instance is transformed into the following PK(Horn, ) instance: , where has the Horn structure and is an integral vector.
Assume that the MCNF instance is a “yes” instance. For each literal set to true, set to and for each literal set to false, set to . Since each clause is satisfied, it must be the case that each Horn constraint is satisfied, as per construction of the Horn constraint. Further, since the number of variables set to true in the MCNF instance is at most , the number of s set to is at most and hence the number of set to is at least , that is, we must have . Thus, the PK(Horn, ) instance is a “yes”-instance.
Now assume that the PK(Horn, ) instance is a “yes” instance. Set to true, if and to false, if . As per the construction, each clause must be satisfied, since each Horn constraint is satisfied. Further, the number of s set to is at least , and hence the number of s set to true is at most . It follows that the MCNF instance is a “yes” instance.
We get a small bonus from this result which is useful for our next theorem.
Definition 7.6. Let HMax denote the following problem. Given a Horn polytope and a number , do there exist such that and , where ?
Corollary 7.7. HMax is NP-complete.
Proof. This follows from Corollary 7.2.
We now use the NP-completeness of HMax to prove the following.
Theorem 7.8. The IHI problem for Horn polytopes, that is, IH-Horn, is coNP-complete.
Proof. From the proof that integer programming is in NP, we know that the IHI problem is in coNP .
Let , and describe an instance of HMax. We create the following instance of the IHI-Horn problem:, and .
We now argue that the instance of HMax is true if and only if the instance of IHI-Horn is false, that is,
Note that is a Horn system, as per the hypothesis and is a Horn system by definition.
Assume that the IHI-Horn instance is true, that is, .
We then have fol all . It follows that for all . Hence, the instance of HMax is false.
Now assume that the HMax instance is true, that is, . This implies that there exists , with , that is, . Thus, , and hence . It follows that is not contained in , and hence the instance of IHI-Horn is false.
The theorem follows.
Table 3 summarizes the discussion on Integer hull inclusion problems.
In this paper, we discussed clausal equivalence and hull inclusion (both linear and integer) from the perspectives of a number of specialized constraint clauses. We also detailed the complexities of some satisfiability variants. Finally, we showed that the Integer hull inclusion problem for Horn polytopes is coNP-complete. To the best of our knowledge, our results are the first of their kind.
The work in this paper is important from the orthogonal perspectives of providing efficient strategies for special cases of hard problems and exposing interesting avenues for future research. The following interesting open problems have arisen from this work.(i)While the satisfiability of a Horn clause system can be checked by resolution in time, to date, the only known strategy for checking the feasibility of a general Horn polytope is linear programming . Finding a simpler strategy for Horn polytope feasibility is of paramount importance since Horn polytopes find wide application in engineering domains.(ii)Although the IHI-Horn problem is coNP-complete, the complexity of the problem, when the number of nonzero variables defining each constraint is a fixed constant, is unknown. A polynomial time algorithm for this problem is of enormous practical significance.
The author is extremely grateful to Judy Goldsmith for numerous discussions and to Matthew Williamson for proofreading the paper. This research has been supported in part by the Air Force Office of Scientific Research under Grant FA9550-06-0050 and in part by the National Science Foundation through Award CCF-0827397.
- Editors, Proceedings of SAT 2001, SAT 2002 and SAT 2003.
- S. A. Cook, “The complexity of theorem-proving procedures,” in Proceedings of the ACM Symposium on Theory of Computing (STOC '71), 1971.
- U. Schöning, “New algorithms for k-SAT based on the local search principle,” in Proceedings of the Symposium on Mathematical Foundations of Computer Science (MFCS '01), 2001.
- U. Schöning, “A probabilistic algorithm for k-SAT based on limited local search and restart,” Algorithmica, vol. 32, 2002.
- O. Kullmann, “New methods for 3-SAT decision and worst-case analysis,” Theoretical Computer Science, vol. 223, no. 1-2, pp. 1–72, 1999.
- B. Selman, H. J. Levesque, and D. G. Mitchell, “A new method for solving hard satisfiability problems,” in Proceedings of the 10th National Conference on Artificial Intelligence (AAAI '92), pp. 440–446, San Jose, Calif, USA, July 1992.
- W. Wei and B. Selman, “Accelerating random walks,” in Proceedings of the 8th International Conference on Constraint Programming (CP '02), Lecture Notes in Computer Science, pp. 216–232, 2002.
- T. J. Schaefer, “The complexity of satisfiability problems,” in Proceedings of the 10th Annual ACM Symposium on Theory of Computing, A. Aho, Ed., pp. 216–226, ACM Press, San Diego, Calif, USA, 1978.
- B. Aspvall, M. F. Plass, and R. E. Tarjan, “A linear-time algorithm for testing the truth of certain quantified Boolean formulas,” Information Processing Letters, vol. 8, no. 3, pp. 121–123, 1979.
- C. H. Papadimitriou, Computational Complexity, Addison-Wesley, Reading, Mass, USA, 1994.
- M. R. Garey and D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, W. H. Freeman, San Francisco, Calif, USA, 1979.
- S. A. Seshia, K. Subramani, and R. E. Bryant, “On solving boolean combinations of UTVPI constraints,” Journal on Satisfiability, Boolean Modeling and Computation, vol. 3, no. 1-2, pp. 67–90, 2007.
- S. K. Lahiri and M. Musuvathi, “An efficient decision procedure for UTVPI constraints,” in Proceedings of the 5th International Workshop on Frontiers of Combining Systems (FroCoS '05), pp. 168–183, Vienna, Austria, September 2005.
- S. Porschen and E. Speckenmeyer, “Satisfiability of mixed Horn formulas,” Tech. Rep., University of Cologne, Cologne, Germany, 2005.
- G. L. Nemhauser and L. A. Wolsey, Integer and Combinatorial Optimization, Wiley-Interscience Series in Discrete Mathematics and Optimization, John Wiley & Sons, New York, NY, USA, 1988.
- T. H. Cormen, C. E. Leiserson, and R. L. Rivest, Introduction to Algorithms, MIT Press, Cambridge, Mass, USA, 2nd edition, 1992.
- R. K. Ahuja, T. L. Magnanti, and J. B. Orlin, Network Flows: Theory, Algorithms, and Application, Prentice-Hall, Englewood Cliffs, NJ, USA, 1993.
- M. L. Pinedo, Scheduling: Theory, Algorithms, and Systems, Prentice-Hall, Englewood Cliffs, NJ, USA, 1995.
- A. Schrijver, Theory of Linear and Integer Programming, John Wiley & Sons, New York, NY, USA, 1987.
- E. Clarke, A. Biere, R. Raimi, and Y. Zhu, “Bounded model checking using satisfiability solving,” Formal Methods in System Design, vol. 19, no. 1, pp. 7–34, 2001.
- A. Wall, K. Sandström, J. Mäki-Turja, C. Norström, and W. Yi, “Verifying temporal constraints on data in multi-rate transactions using timed automata,” in RTCSA, pp. 263–270, 2000.
- J. Møller, J. Lichtenberg, H. R. Andersen, and H. Hulgaard, “Difference decision diagrams,” in Computer Science Logic (Madrid, 1999), vol. 1683, pp. 111–125, Springer, Berlin, Germany, 1999.
- R. Alur and D. L. Dill, “A theory of timed automata,” Theoretical Computer Science, vol. 126, no. 2, pp. 183–235, 1994.
- J. I. Rasmussen, K. G. Larsen, and K. Subramani, “Resource-optimal scheduling using priced timed automata,” in Proceedings of the 10th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS '04), K. Jensen and A. Podelski, Eds., vol. 2988 of Lecture Notes in Computer Science, pp. 220–235, Springer, April 2004.
- A. V. Goldberg, “Scaling algorithms for the shortest paths problem,” SIAM Journal on Computing, vol. 24, no. 3, pp. 494–504, 1995.
- P. Brucker, Scheduling Algorithms, Springer, Berlin, Germany, 2nd edition, 1998.
- C.-C. Han and K.-J. Lin, “Scheduling real-time computations with separation constraints,” Information Processing Letters, vol. 42, no. 2, pp. 61–66, 1992.
- N. Muscettola, B. Smith, S. Chien et al., “In-board planning for autonomous spacecraft,” in Proceedings of the 4th International Symposium on Artificial Intelligence, Robotics, and Automation for Space (i-SAIRAS '97), July 1997.
- N. Muscettola, P. Morris, B. Pell, and B. Smith, “Issues in temporal reasoning for autonomous control systems,” in Proceedings of the 2nd International Conference on Autonomous Agents, Minneapolis, Minn, USA, 1998.
- B. A. Madsen, “An algorithm for exact satisfiability analysed with the number of clauses as parameter,” Information Processing Letters, vol. 97, no. 1, pp. 28–30, 2006.
- H. van Maaren and L. van Norden, “Hidden threshold phenomena for fixed-density sat formulae,” in Proceedings of the 6th International Conference on Theory and Applications of Satisfiability Testing, 2004.
- R. T. Rockafellar, Convex Analysis, vol. 28 of Princeton Mathematics Series, Princeton University Press, Princeton, NJ, USA, 1970.
- J. B. Hiriart-Urruty and C. Lemarechal, Convex Analysis and Minimization Algorithms, Springer, Berlin, Germany, 1993.
- M. Dyer, A. Frieze, and R. Kannan, “A random polynomial-time algorithm for approximating the volume of convex bodies,” Journal of the Association for Computing Machinery, vol. 38, no. 1, pp. 1–17, 1991.
- M. E. Dyer and A. M. Frieze, “On the complexity of computing the volume of a polyhedron,” SIAM Journal on Computing, vol. 17, no. 5, pp. 967–974, 1988.
- K. Subramani, “On identifying simple and quantified lattice points in the 2SAT polytope,” in Proceedings of the 5th International Conference on Artificial Intelligence and Symbolic Computation (AISC '02), J. Calmet et al., Ed., vol. 2385 of Lecture Notes in Artificial Intelligence, pp. 217–230, Springer, July 2002.
- V. Chandru and J. Hooker, Optimization Methods for Logical Inference, Wiley-Interscience Series in Discrete Mathematics and Optimization, John Wiley & Sons, New York, NY, USA, 1999.
- K. Truemper, personal communication, 2003.
- J. H. Reif, “Symmetric complementation,” Journal of the Association for Computing Machinery, vol. 31, no. 2, pp. 401–421, 1984.
- O. Reingold, “Undirected ST-connectivity in log-space,” in Proceedings of the 37th Annual ACM Symposium on Theory of Computing (STOC '05), pp. 376–385, Baltimore, Md, USA, May 2005.
- M. Sipser, Introduction to the Theory of Computation. Thompson Course Technology, 2nd edition, 2006.
- P. M. VaidyaA. Aho, “An algorithm for linear programming which requires arithmetic operations,” in Proceedings of the 19th Annual ACM Symposium on Theory of Computing, pp. 29–38, ACM Press, New York, NY, USA, May 1987.
- K. Subramani, “On deciding the non-emptiness of 2SAT polytopes with respect to first order queries,” Mathematical Logic Quarterly, vol. 50, no. 3, pp. 281–292, 2004.
Copyright © 2009 K. Subramani. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.