An Alternative Representation for QBF

Size: px
Start display at page:

Download "An Alternative Representation for QBF"

Transcription

1 An Alternative Representation for QBF Anja Remshagen 1 and Klaus Truemper 2 1 Department of Computer Science, University of West Georgia, Carrollton, Georgia, USA 2 Department of Computer Science, University of Texas at Dallas, Richardson, Texas, USA Abstract Quantified Boolean formulas are a powerful representation that have been used to capture and solve a variety of problems in Artificial Intelligence. While most research has focused on quantified Boolean formulas in prenex normal form (QBF), we explore an alternative representation of quantified Boolean formulas, called Constrained Quantified Formulas (CQF). CQF allows for a more direct representation of many applications. We present complexity results for CQF and for several subclasses of CQF. We have developed a solver, called QRSsat3, for CQF instances at the second level of the polynomial hierarchy. Computational results of QRSsat3 are compared with the results of solvers for quantified Boolean formulas in prenex normal form. Keywords: Quantified Boolean formula, knowledge representation, constraint quantified formula, computational logic, automated reasoning 1. Introduction Quantified Boolean formulas can represent problems at any level of the polynomial hierarchy in a compact form. Thus, they are a powerful tool to represent complex applications arising in medical diagnosis or when configuring ad hoc networks, for example. Typically, those problems are represented by quantified Boolean formulas in prenex normal form, that is, formulas of the form X 1 X 2 X 3... X n S (1) where S is a propositional logic formula in conjunctive normal form (CNF) with the variable set X 1 X 2 X n. We call the problem that demands to evaluate these formulas QBF. QBF has stimulated significant research effort. The interest in QBF is reflected by the QBFLIB [7], a library of QBF solvers ad benchmark problems. While significant progress has been achieved, many applications still cannot be solved efficiently. In this paper, we suggest to explore an alternative representation. Truemper [20] introduces a hierarchy of quantified Boolean formulas that allows a natural representation of the problems considered here. We call the problem to evaluate these formulas Constrained Quantified Formulas (CQF). Details are given in Section 2. Suffice it to say at this point that CQF can represent problems at any level of the polynomial hierarchy, just like QBFs, but has, differently from QBF, a CNF formula associated with each quantifier. CQF has also been favored in the work by Benedetti, Lallouet, and Vautard [4] who extend CQF to the constraint satisfaction problem. Other work also has started to acknowledge that QBF may not be a suitable representation for some or maybe many practical problems. For instance, Ansotegui, Gomes, and Selman [1] point out that the QBF framework typically increases the search space of problems that are not naturally represented by QBF. Sabharwal, Ansotegui, Gomes, Hart, and Selman [17] propose formulations that involve both CNF formulas and DNF formulas, while keeping the prenex form of QBF. This is different from the CQF format, where a CNF formula is associated with each quantifier. Giunchiglia, Narrizano, and Tacchella [10] allow a nonprenex form, but use only conjunctions to connect CNF formulas. Their formulation cannot directly represent the practical applications we are interested in. In this paper, we present the CQF hierarchy and argue that this format can be used to directly represent a large variety of problems. We also propose that these problems should be tackled directly, in lieu of using QBF solvers after transformation into the standard QBF representation. We discuss complexity results of CQF and several subclasses to support that argument. The complexity results show that these subclasses are of greater practical interest than related subclasses in QBF. We cite computational results for a solver that tackles CQF instances at the second level of the polynomial hierarchy. A comparison with QBF solvers shows that a direct solution approach for that problem class of CQF is superior to QBF solvers on the transformed instances. The next section defines the problem CQF. Section 3 describes applications of CQF. Section 4 discusses complexity results of two subclasses of CQF, and Section 5 establishes the complexity of two additional subclasses of CQF at the second level of the polynomial hierarchy. Section 6 describes the computational results of a direct attack on CQF at the second level. Section 7 summarizes the advantages of solving CQF directly. 2. The CQF Hierarchy The CQF Hierarchy was introduced in Truemper [20], together with several heuristic solution methods. The hierarchy can be motivated as follows. Consider a game where we want to decide on the next move looking several moves ahead. Every additional move we look ahead adds one layer of complexity. Suppose the valid moves in the ith step are

2 modeled by a CNF formula R i and the relations between moves and winning states are represented by a CNF formula S. Define an assignment to a CNF formula T to be T - consistent if it can be extended to a satisfying solution of T. Otherwise, the assignment is called T -inconsistent. The possible moves of the game are given by the R i -consistent assignments to some of the variables of R i, say Q i. In addition, R i contains variable set X i, and S contains variable set Y. Then the resulting hierarchy of quantified formulas is defined as follows: F 1 = Y S (2) { Q i ( X i R i F i 1 ) if i > 1, i even F i = (3) Q i ( X i R i F i 1 ) if i > 1, i odd where all R i and S are CNF formulas, and where in general all CNF formulas occurring in F i 1 contain the variable set Q i. The problem that requires to evaluate any instance of formula F i is called Constrained Quantified Formula (CQF). The problem to evaluate formula F i is called CQF(i). Note that CQF(1) is the satisfiability problem. It is easy to see that the problem CQF(i) is Σ P i-complete if i is odd and Π P i-complete if i is even. We will refer to the instances of CQF(i) as problems at the ith level. Benedetti, Lallouet, and Vautard [4] introduces CQF by the following equivalent definition: Ω i 1 X i R i Ω i X i 1 R i 1... X 2 R 2 X 1 R 1 S (4) where Ω i is the universal quantifier if i is even and the existential quantifier if i is odd. The expression ΩX R restricts the assignments to the variable set X to the R- consistent assignments. The formulation resembles QBF. But the variable set under each quantifier actually is constrained by the solutions of a Boolean formula. 3. Applications We introduce some applications of the CQF hierarchy. We start with a medical treatment problem. New treatment plans arising from results in molecular biology are difficult to develop since each plan must take a number of factors of the patient into account. A treatment plan is particularly difficult to develop if it involves several stages of decision making and implementation. For example, in the case of cancer, treatment stages typically are surgery and adjuvant treatment that generally consists of a combination of radiation, hormone treatment, and chemotherapy. If cancer recurs, additional stages involve possibly secondary surgery and palliative treatment. The complexity of the treatment selection results from the fact that the ultimate outcome becomes known only after several treatment stages. The complexity is indirectly evident from the fact that quite a few times there isn t unanimous agreement of experts of choices for a specific patient. An intelligent system for cancer treatment is composed of two propositional logic formulas R and S. The variables of the formulas represent (1) patient data such as age, tumor size, tumor location, (2) lab data including data about relevant proteins, (3) intermediate results or outcomes such as degree of removal of tumor tissue by surgery, effect of radiation, (4) ultimate results such as remission or specified time-to-progression, (5) decisions such as type of surgery, extent of radiation, selection of chemotherapy. Formula R represents constraints on input variables, decision variables, and output variables that are not representing final outcomes. Formula S also has these constraints, but in addition contains clauses establishing final outcomes such as remission. The formulas R and S share a common set Q of variables that represent decisions about medical tests and treatments. We want to determine a truth assignment to the Q variables so that R is satisfiable, but S is unsatisfiable. Or we must conclude that such an assignment does not exist. Satisfiability of R models here feasible decisions, and unsatisfiability of S represents a high likelihood of remission. In the notation of quantified Boolean formulas, we must determine whether Q ( X R Y S) (5) evaluates to True. Thus the problem can be directly modeled by CQF(2). The same problem occurs in question-andanswer processes, for instance, in diagnostic systems, where a user is queried for information until a desired conclusion can be established; see Straach and Truemper [18]. Other applications arise from planning and games. For example, conditional planning as described by Rintanen [16] can be naturally represented by formula (5). In this case one wants to determine whether for all possible scenarios there exists a feasible plan. Applications also arise outside Artificial Intelligence, for example, in dynamically changing communication networks called ad hoc networks. Various components of such a system broadcast, relay, and receive data. At the same time, the environment changes continuously, and the network configuration must be adapted accordingly. Such systems must work regardless how the environment is changing. Thus, the problem demands that we find a possible network configuration such that, no matter how the environment changes, the network is able to adapt accordingly. Here, a Boolean formula R 2 models the currently feasible network configurations. A second formula R 1 models the possible changes in the environment, and formula S models suitable responses to changes. The resulting presentation is Q 2 ( X 2 R 2 Q 1 ( X 1 R 1 Y S) (6) where all formulas share the variable set Q 2 representing the network configurations, and where R 1 and S share the variable set Q 1 that represents the changes in the environment. Obviously, formula (6) represents CQF(3).

3 4. Subclasses of CQF There are two well-known special structures of CNF formulas: Horn formulas and 2CNF formulas. A CNF formula is Horn if each clause contains at most one nonnegated literal. A CNF formula is 2CNF if every clause contains at most two literals. We call an instance of CQF where all CNF formulas are instances of Horn formulas Horn CQF. We used the term 2CNF CQF if all CNF formulas of a CQF instance are 2CNF. The classes Horn QBF and 2CNF QBF are analogously defined. Remshagen [13] has shown the following complexity results for Horn CQF and 2CNF CQF. For k 1, Horn CQF(k) is Σ P k 1 -complete if k is odd, and it is ΠP k 1 - complete if k is even. For k 2, 2CNF CQF(k) is Σ P k 2 - complete if k is odd, and it is Π P k 2-complete if k is even. The classes Σ P 0 and Π P 0 represent the class P. In summary, Horn CQF(k) is reduced by one level in the polynomial hierarchy, and 2CNF CQF(k) is reduced by two levels compared to the general case of CQF(k). It is well known that QBF is in P if the underlying CNF formula is a Horn or 2CNF formula. See, Kleine Büning, Karpinski, and Flögel[11] for the Horn case of QBF, and see Aspvall, Plass, and Tarjan [2] for the 2CNF case of QBF. Thus these subclasses of QBF cannot represent complex problems. If an instance of Horn CQF or 2CNF CQF is transformed to an instance of QBF, the structure is lost or at least hidden. If CQF is tackled directly, we can take advantage of the special structure of each CNF formula. Indeed, only some of the CNF formulas in a CQF instance may have a particular structure that allows for a more effective solution. 5. Subclasses of CQF(2) We have proposed CQF as a hierarchy of problems. On the other hand, the applications mentioned in Section 3, like the medical treatment system and conditional planning, are at the second level of the polynomial hierarchy only. Nevertheless they are still very hard. While it is desirable to have subclasses that apply to every level in the problem hierarchy, the above practical applications may produce a particular structure that applies only to one level in the CQF hierarchy and that allows comparatively rapid solution. We describe two subclasses of CQF(2). Throughout this section, we use the letters R and S to refer to the two CNF formulas of a CQF(2) instance. The letters Q and X denote the variable sets of R, and Q and Y are the variable sets of S. Thus, we use the formula Q ( X R Y S) (7) to describe a CQF(2) instance. The first subclass arises from certain problems in conditional planning. In those planning problem, one must find a valid and successful plan or one must determine that such a plan does not exist. In the corresponding instance of CQF(2), the Q variables represent the different actions that can be taken, while some of the Y variables of S represent possible failures. A plan is valid if it corresponds to an R-consistent assignment to the Q variables. Formula S has a clause that enforces at least one failure to occur. A plan is successful if it corresponds to an S-inconsistent assignment to Q. Hence, a valid and successful plan corresponds to an R-consistent and S-inconsistent assignment to Q. Certain planning problems have a structure that can be exploited by solution algorithms using satisfiability-driven learning. For example, in Remshagen and Truemper [14], a general solution algorithm for CQF(2) is described that learns unit clauses when solving instances of a robot navigation problem. Using the algorithm, one can show that the problem is at the first level of the polynomial hierarchy. We describe the robot navigation problem and define a resulting subclass of CQF(2). The robot navigation problem demands that either a possible route of a robot is determined that leads to the destination no matter how obstacles might be placed according to some given rules, or it is concluded that such a route does not exist. Each Q variable represents a possible move of the robot. A valid plan is an R-consistent assignment to the Q variables. A plan is unsuccessful if one of the selected moves of the robot leads to a collision with an obstacle. The collisions with possible obstacles are represented by some Y variables. Each collision is due to a particular move. Thus, formula S contains clauses equivalent to implications of the form y q with y Y and q Q. In addition, formula S contains conditions for the possible positions of the obstacles and a clause that enforces at least one collision to be True. Hence, all satisfiable solutions of S represent unsuccessful plans. We discuss an example. The variable sets of S are Q = {q 1, q 2 } and Y = {y 1, y 2, z 1, z 2 } with the following interpretation. The variables q 1 and q 2 represent two actions. Each of the two variables y 1 and y 2 represents a collision or a possible failure of a plan, which can only occur if the action q 1 or q 2, respectively, is taken. The implication y i q i, for i = 1, 2, enforces that condition. Each of the variables z i, i = 1, 2, is an additional conclusion implied by the failure y i. Thus, S contains CNF clauses equivalent to y i z i, for i = 1, 2. Finally, S contains the clause y 1 y 2, which enforces that all satisfying solutions for S represent unsuccessful plans. We summarize the CNF formula S: S = (q 1 y 1 ) (8) (q 2 y 2 ) ( y 1 z 1 ) ( y 2 z 2 ) (y 1 y 2 ) In the general case, the planning problem has the follow-

4 Table 1: Results for the robot and game instances QRSsat3 yquaffle QuBE Semprop skizzo Quantor (400MHz) (400MHz) (400MHz) (400MHz) (3GHz) (2x400MHz) problem time t/o time t/o time t/o time t/o time t/o time t/o set (sec) (sec) (sec) (sec) (sec) (sec) robot_ robot_ game_ game_ game_ ing structure. 1) The variable set Y can be partitioned into two sets Y 1 and Y 2 so that the following holds. a) All variables in Y 1 occur only negated in S, except for one special clause whose literals are the nonnegated variables of Y 1. In the example (8) of S, Y is partitioned into Y 1 = {y 1, y 2 } and Y 2 = {z 1, z 2 }, and the special clause is y 1 y 2. b) All clauses that contain at least one Q variable have at least one Y 1 variable as well. c) For each variable y in Y 1, the following property holds. Consider all clauses that contain the literal y and at least one Q variable. Let Q(y) be the set of Q variables occurring in these clauses. In each of these clauses, at most one of the variables in Q(y) does not occur. In the example (8) of S, we have Y 1 = {y 1, y 2 }, and for each y i Y 1, the clause q i y i contains y i and Q variables. Thus Q(y i ) = {q i }, for i = 1, 2, and the condition is trivially satisfied. 2) All variables in Q occur only nonnegated in S. We call the class of CQF(2) instances with this structure 2CUT CQF(2). Note that the above conditions only constrain certain clauses of the CNF formula S and do not impose any restrictions on R. Hence, 2CUT CQF(2) is N P-hard as well as con P-hard. Since 2CUT CQF(2) can be evaluated by solving a polynomial number of SAT instances, the problem is in P 2. For details see Remshagen and Truemper [14]. The second subclass of CQF(2) is called antimonotone CQF(2). Typically, this subclass does not represent practical applications. However, it is still useful for applications where decomposition into several subproblems is possible. We define the subclass antimonotone CQF(2). For each instance of CQF(2), the CNF formula R is a Horn formula, and formula S contains no literal q with q Q. It can be shown that antimonotone CQF(2) is N P-complete via the monotone decomposition of Truemper [19]. 6. Computational Results for CQF(2) We have designed and implemented a search-based CQF(2) solver, called QRSsat3. The solver uses a form of satisfiability-driven learning where a heuristic tries to determine a truth assignment to a minimal subset of Q so that the resulting clauses of S can be satisfied by an assignment to the Y variables. In such a case, the search space can be reduced by adding a clause to R that cuts off all assignments that contain the minimal Q assignment In addition, QRSsat3 uses a heuristic that detects satisfiability of S. The solver has been tested on two sets of benchmark problems that represent structured problems. The two sets model a robot navigation problem and a game problem, respectively. To allow for a comparison with QBF solvers, we have transformed the CQF(2) instances to QBF instances in prenex CNF. Egly, Seidl, Tompits, Woltran, and Zolda [6] have observed that different transformations may result in significantly different run times. In particular, they investigate four prenexing strategy for quantified Boolean formulas. Due to the structure of CQF(2), each of the prenexing strategies results in the same formula. In order to convert the quantified Boolean formula into CNF, we decided to introduce new variables. Alternatively, we could apply the distributive law. Although new variables would be avoided through the application of the distributive law, the size of the formula would increase exponentially. For further details on the QRSsat3 and on the test instances, see Remshagen and Truemper [15]. We have compared the performance of QRSsat3 with the performance of five QBF solvers: yquaffle by Yu and Malik [21], QuBERel1.3 by Giunchiglia, Narrizano, and Tacchella [8], [9], and Semprop by Letz [12] skizzo by Benedetti [3], and Quantor by Biere [5]. The computational results for the solvers yquaffle, QuBERel1.3, Semprop, and QRSsat3 were obtained on a Sun ULTRA 5 (400 MHz) workstation. Due to hardware and software constraints of the Sun ULTRA 5, the tests for skizzo were performed on a 3GHz Intel(R) Pentium(R) D CPU with 4GB RAM,

5 and the tests for Quantor on a Sun Enterprise 250 with two UltraSparc II 400MHz processors and 2GB RAM. Table 1 lists the computational results. The results cover 2 robot sets containing 6 instances each, and 3 game sets containing 48 instances each. The average run time per instance, in seconds, is listed below each solver under the column labeled time. The columns labeled t/o display how many instances could not be solved within 60 min. In the calculation of the average run times, we assume a run time of 60 min for all instances that are not solved within the time limit of 60 min on the corresponding platform. yquaffle terminated with an error in 3 robot instances. QuBE terminated with an error in 10 game instances. The cases resulting in an error were disregarded in the average run times. A comparison between QRSsat3 and the other five QBF solvers is complicated by the fact that we do not know how long the cases that were stopped after 60 min, would take. But if one assigns a solution time of 60 min for each such case, and if one ignores the higher speed of the Pentium processor used for skizzo, then QRSsat3 on average is faster than each of the five QBF solvers by a factor of at least 200. In addition, the performance of QRSsat3 is uniformly low. The highest run time on the robot instances is 8 sec and on the game instances 81 sec. The estimated standard deviation of the run times also reflects the uniformity of run times of QRSsat3. The standard deviation on all robot instances is 0.8, and on all game instances it is 7.7. The results show that a specialized solver can take advantage of the specific application structure and is more effective than several general QBF solvers on the transformed instances. 7. Discussion A variety of applications are currently being modeled as QBF instances and solved by QBF solvers. In spite of significant progress of QBF solvers, many applications cannot yet be solved in acceptable time.see Ansotegui, Gomes and Selman [1]. In this paper, we suggest that applications like the ones introduced in Section 3 should be modeled by CQF and should be solved directly, without transformation to QBF. The approach has several advantages over representation via QBF, as follows. Compared with a natural representation as CQF, the reformulation as QBF results in a larger formula with respect to the number of variables and/or clauses. Egly, Seidl, Tompits, Woltran, and Zolda [6] even show that the representation as QBF is ambiguous and different representations can result into different evaluation times. Using CQF avoids the problem of choosing the most suitable representation. As pointed out by Ansotegui, Gomes and Selman [1], QBF solvers are often forced to explore much larger combinatorial spaces than the natural search space of the original problem. In contrast, the formulas R i in a CQF instance directly restrict the search space. For example, a searchbased solver for CQF can backtrack as soon as a formula R i becomes unsatisfiable. A search-based QBF solver may detect that situation at a later stage in the search. Indeed, the QBF solver may even learn knowledge that originally is explicitly given but has been hidden by the transformation to QBF. Regardless whether QBF or CQF is the chosen representation, the modeled problems may be at any level of the polynomial hierarchy, and thus are considered to be very hard. However, the structure of the original problem may allow for a more efficient solution algorithm, as in the case of Horn and 2CNF CQF. Indeed, if the 2CNF or Horn case of CQF is transformed to QBF, that structure in general is lost and cannot be exploited by a QBF solver. The fact that the evaluation of QBF is in P if the underlying CNF formula is a Horn or 2CNF formula, indirectly shows that these special subclasses cannot model complex problems. In addition to shifting the focus from QBF to CQF, it may also be wise to develop specialized solution algorithms for problem classes at a particular level, since many practical applications reside at the first few levels of polynomial hierarchy and thus would be well served by specialized solvers. The short execution times of the solver QRSsat3 support this suggestion. Last but not least, optimization versions of problems formulated by CQFs are also of interest, for example, for learning effective questioning. Ongoing work focuses on effective solution algorithms that exploit the structure of the various CNF formulas making up a CQF optimization instance. References [1] C. Ansotegui, C. Gomes, and B. Selman, The Achilles Heel of QBF, in Proceedings of AAAI-05, [2] B. Aspvall, M. Plass, and E. Tarjan, A linear-time algorithm for testing the truth of certain quantified Boolean formulas, Information Processing Letters, vol. 8, no. 3, pp , [3] M. Benedetti, Evaluating QBFs via Symbolic Skolemization, in Proceedings of the Eleventh International Conference on Logic for Programming Artificial Intelligence and Reasoning, [4] M. Benedetti, A. Lallouet, and J. Vautard, QCSP made Practical by Virtue of Restricted Quantification, in Proceedings of the 20th International Joint Conference on Artificial Intelligence, [5] A. Biere, Resolve and Expand, in Proceedings of the Seventh International Conference on Theory and Applications of Satisfiability Testing, [6] U. Egly, M. Seidl, H. Tompits, S. Woltran, and M. Zolda, Comparing Different Prenexing Strategies for Quantified Boolean Formulas, in Proceedings of the Sixth International Symposium on the Theory and Applications of Satisfiability Testing, [7] E. Giunchiglia, M. Narizzano, and A. Tacchella, Quantified Boolean Formulas Satisfiability Library (QBFLIB), 2001, [8] E. Giunchiglia, M. Narrizano, and A. Tacchella, Learning for Quantified Boolean Logic Satisfiability, in Proceedings of the 18th National Conference on Artificial Intelligence, [9] E. Giunchiglia, M. Narrizano, and A. Tacchella, Backjumping for Quantified Boolean Logic Satisfiability, Artificial Intelligence, vol. 145, no. 1, pp , 2003.

6 [10] E. Giunchiglia, M. Narrizano, and A. Tacchella, Quantifier Structure in Search-Based Procedures for QBFs, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 26, no. 3, pp , [11] H. Kleine Büning, M. Karpinski, and A. Flögel, Resolution for quantified boolean formulas, Information and Computation, vol. 117, no. 1, pp , [12] R. Letz, Lemma and Model Caching in Decision Procedures for Quantified Boolean Formulas, in Procedeeings of the International Conference on Automated Reasoning with Analytic Tableaux and Related Methods, ser. LNCS, U. Egly and C. G. Fermüller, Eds., vol. 2381/2002, 2002, pp [13] A. Remshagen. (2007) On the Complexity of the CQF Hierachy. Working Paper. [Online]. Available: [14] A. Remshagen and K. Truemper, An Effective Algorithm for the Futile Questioning Problem, Journal of Automated Reasoning, vol. 34, no. 1, pp , [15] A. Remshagen and K. Truemper, A Solver for Quantified Formula Problem Q-ALL SAT, JSAT, submitted, [16] J. Rintanen, Constructing Conditional Plans by a Theorem-Prover, Journal of Artificial Intelligence, vol. 10, pp , [17] A. Sabharwal, C. Ansotegui, C. Gomes, J. Hart, and B. Selman, QBF Modeling: Exploiting Player Symmetry for Simplicity and Efficiency, in Proceedings of the Nineth International Conference on Theory and Applications of Satisfiability Testing, [18] J. Straach and K. Truemper, Learning to Ask Relevant Questions, Artificial Intelligence, vol. 111, pp , [19] K. Truemper, Efficient Logic Computation. Wiley, [20] K. Truemper, Design of Logic-based Intelligent Systems. Wiley, [21] Y. Yu and S. Malik, Solver Description for yquaffle, in Proceedings of the Seventh International Conference on Theory and Applications of Satisfiability Testing, 2004.

A Solver for Quantified Formula Problem Q-ALL SAT

A Solver for Quantified Formula Problem Q-ALL SAT Dec 8, 2008 A Solver for Quantified Formula Problem Q-ALL SAT Anja Remshagen Department of Computer Science, University of West Georgia Klaus Truemper Department of Computer Science, University of Texas

More information

Solving QBF with Combined Conjunctive and Disjunctive Normal Form

Solving QBF with Combined Conjunctive and Disjunctive Normal Form Solving QBF with Combined Conjunctive and Disjunctive Normal Form Lintao Zhang Microsoft Research Silicon Valley Lab 65 La Avenida, Mountain View, CA 94043, USA lintaoz@microsoft.com Abstract Similar to

More information

Exploiting QBF Duality on a Circuit Representation

Exploiting QBF Duality on a Circuit Representation Proceedings of the Twenty-Fourth AAAI Conference on Artificial Intelligence (AAAI-10) Exploiting QBF Duality on a Circuit Representation Alexandra Goultiaeva and Fahiem Bacchus Department of Computer Science

More information

The Achilles Heel of QBF

The Achilles Heel of QBF The Achilles Heel of QBF Carlos Ansotegui, Carla P. Gomes, and Bart Selman Dept. Computer Science Cornell University Ithaca, NY 14853 Abstract In recent years we have seen significant progress in the area

More information

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Journal of Artificial Intelligence Research 1 (1993) 1-15 Submitted 6/91; published 9/91 Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Enrico Giunchiglia Massimo

More information

Quantified Boolean Formulas: Complexity and Expressiveness

Quantified Boolean Formulas: Complexity and Expressiveness Dagstuhl SAT Interactions 2012 Quantified Boolean Formulas: Complexity and Expressiveness Uwe Bubeck University of Paderborn 20.11.2012 Outline Introduction Free Variables and Equivalence Complexity Expressiveness

More information

Boolean Propagation Based on Literals for Quantified Boolean Formulae

Boolean Propagation Based on Literals for Quantified Boolean Formulae Boolean Propagation Based on Literals for Quantified Boolean Formulae Igor Stéphan 1 Abstract. This paper proposes a new set of propagation rules for quantified Boolean formulae based on literals and generated

More information

A Non-Prenex, Non-Clausal QBF Solver with Game-State Learning

A Non-Prenex, Non-Clausal QBF Solver with Game-State Learning A Non-Prenex, Non-Clausal QBF Solver with Game-State Learning William Klieber, Samir Sapra, Sicun Gao, and Edmund Clarke Computer Science Department Carnegie Mellon University Pittsburgh, Pennsylvania

More information

Representing Policies for Quantified Boolean Formulas

Representing Policies for Quantified Boolean Formulas Representing Policies for Quantified Boolean Formulas Sylvie Coste-Marquis CRIL Univ. d Artois, Lens, France Hélène Fargier and Jérôme Lang IRIT Univ. Paul Sabatier, Toulouse, France Daniel Le Berre and

More information

Preprocessing QBF: Failed Literals and Quantified Blocked Clause Elimination

Preprocessing QBF: Failed Literals and Quantified Blocked Clause Elimination Preprocessing QBF: Failed Literals and Quantified Blocked Clause Elimination Florian Lonsing (joint work with Armin Biere and Martina Seidl) Institute for Formal Models and Verification (FMV) Johannes

More information

QBF Modeling: Exploiting Player Symmetry for Simplicity and Efficiency

QBF Modeling: Exploiting Player Symmetry for Simplicity and Efficiency QBF Modeling: Exploiting Player Symmetry for Simplicity and Efficiency Ashish Sabharwal 1, Carlos Ansotegui 2, Carla P. Gomes 1, Justin W. Hart 1, and Bart Selman 1 1 Dept. of Computer Science, Cornell

More information

Detecting Backdoor Sets with Respect to Horn and Binary Clauses

Detecting Backdoor Sets with Respect to Horn and Binary Clauses Detecting Backdoor Sets with Respect to Horn and Binary Clauses Naomi Nishimura 1,, Prabhakar Ragde 1,, and Stefan Szeider 2, 1 School of Computer Science, University of Waterloo, Waterloo, Ontario, N2L

More information

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Sylvie Coste-Marquis and Daniel Le Berre and Florian Letombe and Pierre Marquis CRIL/CNRS, Université d Artois, F-62307

More information

Learning for Quantified Boolean Logic Satisfiability

Learning for Quantified Boolean Logic Satisfiability From: AAAI-02 Proceedings. Copyright 2002, AAAI (www.aaai.org). All rights reserved. Learning for Quantified Boolean Logic Satisfiability Enrico Giunchiglia and Massimo Narizzano and Armando Tacchella

More information

Proof Complexity of Quantified Boolean Formulas

Proof Complexity of Quantified Boolean Formulas Proof Complexity of Quantified Boolean Formulas Olaf Beyersdorff School of Computing, University of Leeds Olaf Beyersdorff Proof Complexity of Quantified Boolean Formulas 1 / 39 Proof complexity (in one

More information

Incremental QBF Solving by DepQBF

Incremental QBF Solving by DepQBF Incremental QBF Solving by DepQBF Florian Lonsing and Uwe Egly Vienna University of Technology Institute of Information Systems Knowledge-Based Systems Group http://www.kr.tuwien.ac.at/ Abstract. The logic

More information

Symmetry Breaking in Quantified Boolean Formulae

Symmetry Breaking in Quantified Boolean Formulae Symmetry Breaking in Quantified Boolean Formulae Gilles Audemard and Saïd Jabbour and Lakhdar Saïs CRIL - CNRS, FRE 2499 Université d Artois - Lens, France {audemard,jabbour,sais}@cril.univ-artois.fr Abstract

More information

Enrico Giunchiglia, Massimo Narizzano, and Armando Tacchella

Enrico Giunchiglia, Massimo Narizzano, and Armando Tacchella QUBE++: an Efficient QBF Solver Enrico Giunchiglia, Massimo Narizzano, and Armando Tacchella DIST, Università di Genova, Viale Causa, 13 16145 Genova, Italy {enrico,mox,tac}@dist.unige.it Abstract. In

More information

Design of Logic-based Intelligent Systems Lecture 1: Introduction Part 1. K. Truemper University of Texas at Dallas

Design of Logic-based Intelligent Systems Lecture 1: Introduction Part 1. K. Truemper University of Texas at Dallas Design of Logic-based Intelligent Systems Lecture 1: Introduction Part 1 K. Truemper University of Texas at Dallas Acknowledgements 2 Acknowledgements (Names in Alphabetical Order) Organizations: Alexander

More information

A Collection of Problems in Propositional Logic

A Collection of Problems in Propositional Logic A Collection of Problems in Propositional Logic Hans Kleine Büning SS 2016 Problem 1: SAT (respectively SAT) Instance: A propositional formula α (for SAT in CNF). Question: Is α satisfiable? The problems

More information

Quantified Boolean Formulas Part 1

Quantified Boolean Formulas Part 1 Quantified Boolean Formulas Part 1 Uwe Egly Knowledge-Based Systems Group Institute of Information Systems Vienna University of Technology Results of the SAT 2009 application benchmarks for leading solvers

More information

cc : A Tool for Checking Advanced Correspondence Problems in Answer-Set Programming

cc : A Tool for Checking Advanced Correspondence Problems in Answer-Set Programming cc : A Tool for Checking Advanced Correspondence Problems in Answer-Set Programming Johannes Oetsch 1, Martina Seidl 2, Hans Tompits 1, and Stefan Woltran 1 1 Institut für Informationssysteme 184/3, Technische

More information

Worst-Case Upper Bound for (1, 2)-QSAT

Worst-Case Upper Bound for (1, 2)-QSAT Worst-Case Upper Bound for (1, 2)-QSAT Minghao Yin Department of Computer, Northeast Normal University, Changchun, China, 130117 ymh@nenu.edu.cn Abstract. The rigorous theoretical analysis of the algorithm

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

Solving QBF with Free Variables

Solving QBF with Free Variables Solving QBF with Free Variables William Klieber 1, Mikoláš Janota 2, Joao Marques-Silva 2,3, and Edmund Clarke 1 1 Carnegie Mellon University, Pittsburgh, PA, USA 2 IST/INESC-ID, Lisbon, Portugal 3 University

More information

Fast DQBF Refutation

Fast DQBF Refutation Fast DQBF Refutation Bernd Finkbeiner and Leander Tentrup Saarland University Abstract. Dependency Quantified Boolean Formulas (DQBF) extend QBF with Henkin quantifiers, which allow for non-linear dependencies

More information

Bounded-width QBF is PSPACE-complete

Bounded-width QBF is PSPACE-complete Bounded-width QBF is PSPACE-complete Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain atserias@lsi.upc.edu Sergi Oliva Universitat Politècnica de Catalunya Barcelona, Spain oliva@lsi.upc.edu

More information

Report of the Third QBF solvers evaluation

Report of the Third QBF solvers evaluation Report of the Third QBF solvers evaluation Massimo Narizzano mox@dist.unige.it Luca Pulina luca@star.dist.unige.it Armando Tacchella tac@dist.unige.it Laboratory of Systems and Technologies for Automated

More information

Validating QBF Invalidity in HOL4

Validating QBF Invalidity in HOL4 Interactive Theorem Proving (ITP) 14 July, 2010 Quantified Boolean Formulae Quantified Boolean Formulae Motivation System Overview Related Work QBF = propositional logic + quantifiers over Boolean variables

More information

Quantified Synthesis of Reversible Logic

Quantified Synthesis of Reversible Logic Quantified Synthesis of Reversible Logic Robert Wille 1 Hoang M. Le 1 Gerhard W. Dueck 2 Daniel Große 1 1 Group for Computer Architecture (Prof. Dr. Rolf Drechsler) University of Bremen, 28359 Bremen,

More information

Horn upper bounds of random 3-CNF: a computational study

Horn upper bounds of random 3-CNF: a computational study Horn upper bounds of random 3-CNF: a computational study Marina Langlois Robert H. Sloan György Turán 1 Email: mirodo1 sloan gyt@uic.edu University of Illinois at Chicago 1 Also University of Szeged, Hunagary

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 31. Propositional Logic: DPLL Algorithm Malte Helmert and Gabriele Röger University of Basel April 24, 2017 Propositional Logic: Overview Chapter overview: propositional

More information

Part 1: Propositional Logic

Part 1: Propositional Logic Part 1: Propositional Logic Literature (also for first-order logic) Schöning: Logik für Informatiker, Spektrum Fitting: First-Order Logic and Automated Theorem Proving, Springer 1 Last time 1.1 Syntax

More information

Finding small unsatisfiable cores to prove unsatisfiability of QBFs

Finding small unsatisfiable cores to prove unsatisfiability of QBFs Finding small unsatisfiable cores to prove unsatisfiability of QBFs Yannet Interian 1 Gabriel Corvera 2 Bart Selman 3 Ryan Williams 4 1 Center for Applied Mathematics. Cornell University, Ithaca, NY 14853

More information

Representing Policies for Quantified Boolean Formulae

Representing Policies for Quantified Boolean Formulae Representing Policies for Quantified Boolean Formulae Sylvie Coste-Marquis CRIL Univ. d Artois, Lens, France Hélène Fargier and Jérôme Lang IRIT Univ. Paul Sabatier, Toulouse, France Daniel Le Berre and

More information

Using Graph-Based Representation to Derive Hard SAT instances

Using Graph-Based Representation to Derive Hard SAT instances Using Graph-Based Representation to Derive Hard SAT instances Gilles Audemard, Saïd Jabbour, and Lakhdar Saïs CRIL - Université d Artois - Lens, France {audemard,jabbour,sais}@cril.fr Abstract. In this

More information

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5)

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) B.Y. Choueiry 1 Instructor s notes #12 Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) Introduction to Artificial Intelligence CSCE 476-876, Fall 2018 URL: www.cse.unl.edu/ choueiry/f18-476-876

More information

Formal Verification Methods 1: Propositional Logic

Formal Verification Methods 1: Propositional Logic Formal Verification Methods 1: Propositional Logic John Harrison Intel Corporation Course overview Propositional logic A resurgence of interest Logic and circuits Normal forms The Davis-Putnam procedure

More information

Dependency Schemes in QBF Calculi: Semantics and Soundness

Dependency Schemes in QBF Calculi: Semantics and Soundness Dependency Schemes in QBF Calculi: Semantics and Soundness Olaf Beyersdorff and Joshua Blinkhorn School of Computing, University of Leeds, UK {O.Beyersdorff,scjlb}@leeds.ac.uk Abstract. We study the parametrisation

More information

On evaluating decision procedures for modal logic

On evaluating decision procedures for modal logic On evaluating decision procedures for modal logic Ullrich Hustadt and Renate A. Schmidt Max-Planck-Institut fur Informatik, 66123 Saarbriicken, Germany {hustadt, schmidt} topi-sb.mpg.de Abstract This paper

More information

CSP Properties for Quantified Constraints: Definitions and Complexity

CSP Properties for Quantified Constraints: Definitions and Complexity CSP Properties for Quantified Constraints: Definitions and Complexity Lucas Bordeaux Microsoft Research J J Thomson Avenue Cambridge CB3 0FB, UK lucasb@microsoft.com Marco Cadoli and Toni Mancini DIS,

More information

Propositions. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 5.1, Page 1

Propositions. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 5.1, Page 1 Propositions An interpretation is an assignment of values to all variables. A model is an interpretation that satisfies the constraints. Often we don t want to just find a model, but want to know what

More information

LOGIC PROPOSITIONAL REASONING

LOGIC PROPOSITIONAL REASONING LOGIC PROPOSITIONAL REASONING WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität Linz Version 2018.1

More information

Propositional Logic: Evaluating the Formulas

Propositional Logic: Evaluating the Formulas Institute for Formal Models and Verification Johannes Kepler University Linz VL Logik (LVA-Nr. 342208) Winter Semester 2015/2016 Propositional Logic: Evaluating the Formulas Version 2015.2 Armin Biere

More information

Lecture 2: Symbolic Model Checking With SAT

Lecture 2: Symbolic Model Checking With SAT Lecture 2: Symbolic Model Checking With SAT Edmund M. Clarke, Jr. School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 (Joint work over several years with: A. Biere, A. Cimatti, Y.

More information

Cardinality Networks: a Theoretical and Empirical Study

Cardinality Networks: a Theoretical and Empirical Study Constraints manuscript No. (will be inserted by the editor) Cardinality Networks: a Theoretical and Empirical Study Roberto Asín, Robert Nieuwenhuis, Albert Oliveras, Enric Rodríguez-Carbonell Received:

More information

Reasoning with Quantified Boolean Formulas

Reasoning with Quantified Boolean Formulas Reasoning with Quantified Boolean Formulas Martina Seidl Institute for Formal Models and Verification Johannes Kepler University Linz 1 What are QBF? Quantified Boolean formulas (QBF) are formulas of propositional

More information

Critical Reading of Optimization Methods for Logical Inference [1]

Critical Reading of Optimization Methods for Logical Inference [1] Critical Reading of Optimization Methods for Logical Inference [1] Undergraduate Research Internship Department of Management Sciences Fall 2007 Supervisor: Dr. Miguel Anjos UNIVERSITY OF WATERLOO Rajesh

More information

Quantifier structure in search based procedures for QBFs

Quantifier structure in search based procedures for QBFs 1 Quantifier structure in search based procedures for QBFs Enrico Giunchiglia, Massimo Narizzano, Armando Tacchella Abstract The best currently available solvers for Quantified Boolean Formulas (QBFs)

More information

Solving SAT Modulo Theories

Solving SAT Modulo Theories Solving SAT Modulo Theories R. Nieuwenhuis, A. Oliveras, and C.Tinelli. Solving SAT and SAT Modulo Theories: from an Abstract Davis-Putnam-Logemann-Loveland Procedure to DPLL(T) Mooly Sagiv Motivation

More information

On the Gap between the Complexity of SAT and Minimization for Certain Classes of Boolean Formulas

On the Gap between the Complexity of SAT and Minimization for Certain Classes of Boolean Formulas On the Gap between the Complexity of SAT and Minimization for Certain Classes of Boolean Formulas Ondřej Čepek and Štefan Gurský Abstract It is a wellknown fact that the satisfiability problem (SAT) for

More information

Resolution on Quantified Generalized Clause-sets

Resolution on Quantified Generalized Clause-sets Journal on Satisfiability, Boolean Modeling and Computation 7 (2010) 17-34 Resolution on Quantified Generalized Clause-sets Jiwei Jin Xishun Zhao Institute of Logic and Cognition, Sun Yat-sen University,

More information

On Conflicts and Strategies in QBF

On Conflicts and Strategies in QBF Nikolaj Bjørner 1, Mikoláš Janota 2 and William Klieber 3 1 Microsoft Research, Redmond, USA 2 Microsoft Research, Cambridge, UK 3 CERT/SEI, Carnegie Mellon University Abstract QBF solving techniques can

More information

Non-CNF QBF Solving with QCIR

Non-CNF QBF Solving with QCIR Non-CNF QBF Solving with QCIR Charles Jordan Graduate School of Information Science and Technology Hokkaido University Will Klieber Software Engineering Institute Carnegie Mellon University Martina Seidl

More information

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30) Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural

More information

Backdoor Sets for DLL Subsolvers

Backdoor Sets for DLL Subsolvers Backdoor Sets for DLL Subsolvers Stefan Szeider Department of Computer Science Durham University DH1 3LE Durham, England, UK Abstract We study the parameterized complexity of detecting small backdoor sets

More information

Decision Procedures for Satisfiability and Validity in Propositional Logic

Decision Procedures for Satisfiability and Validity in Propositional Logic Decision Procedures for Satisfiability and Validity in Propositional Logic Meghdad Ghari Institute for Research in Fundamental Sciences (IPM) School of Mathematics-Isfahan Branch Logic Group http://math.ipm.ac.ir/isfahan/logic-group.htm

More information

Proving QBF-Hardness in Bounded Model Checking for Incomplete Designs

Proving QBF-Hardness in Bounded Model Checking for Incomplete Designs Proving QBF-Hardness in Bounded Model Checking for Incomplete Designs Christian Miller and Christoph Scholl and Bernd Becker Institute of Computer Science University of Freiburg, Germany millerc scholl

More information

Propositional Reasoning

Propositional Reasoning Propositional Reasoning CS 440 / ECE 448 Introduction to Artificial Intelligence Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri Spring 2010 Intro to AI (CS

More information

Solving QBF Instances With Nested SAT Solvers

Solving QBF Instances With Nested SAT Solvers Solving QBF Instances With Nested SAT Solvers Bart Bogaerts and Tomi Janhunen and Shahab Tasharrofi Helsinki Institute for Information Technology HIIT Department of Computer Science Aalto University, FI-00076

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 8. Satisfiability and Model Construction Davis-Putnam-Logemann-Loveland Procedure, Phase Transitions, GSAT Joschka Boedecker and Wolfram Burgard and Bernhard Nebel

More information

The second QBF solvers comparative evaluation

The second QBF solvers comparative evaluation The second QBF solvers comparative evaluation Daniel Le Berre 1, Massimo Narizzano 3, Laurent Simon 2, and Armando Tacchella 3 1 CRIL, Université d Artois, Rue Jean Souvraz SP 18 F 62307 Lens Cedex, France

More information

Basing Decisions on Sentences in Decision Diagrams

Basing Decisions on Sentences in Decision Diagrams Proceedings of the Twenty-Sixth AAAI Conference on Artificial Intelligence Basing Decisions on Sentences in Decision Diagrams Yexiang Xue Department of Computer Science Cornell University yexiang@cs.cornell.edu

More information

An Empirical Perspective on Ten Years of QBF Solving

An Empirical Perspective on Ten Years of QBF Solving An Empirical Perspective on Ten Years of QBF Solving Paolo Marin 2, Massimo Narizzano 1, Luca Pulina 3, Armando Tacchella 1, and Enrico Giunchiglia 1 1 DIBRIS, Università di Genova, Via Opera Pia, 13 16145

More information

Bounded Universal Expansion for Preprocessing QBF

Bounded Universal Expansion for Preprocessing QBF SAT 2007 Bounded Universal Expansion for Preprocessing QBF Uwe Bubeck and Hans Kleine Büning International Graduate School Dynamic Intelligent Systems, University of Paderborn 30.5.2007 Outline Introduction

More information

Finding Minimal Unsatisfiable Subsets in Linear Temporal Logic using BDDs

Finding Minimal Unsatisfiable Subsets in Linear Temporal Logic using BDDs Finding Minimal Unsatisfiable Subsets in Linear Temporal Logic using BDDs Timothy Sergeant Supervisors: Rajeev Goré and Jimmy Thomson Australian National University Abstract. When writing specifications

More information

Combining Symmetry Breaking with Other Constraints: lexicographic ordering with sums

Combining Symmetry Breaking with Other Constraints: lexicographic ordering with sums Combining Symmetry Breaking with Other Constraints: lexicographic ordering with sums Brahim Hnich 1, Zeynep Kiziltan 2, and Toby Walsh 1 1 Cork Constraint Computation Center, University College Cork, Ireland.

More information

Propositional Logic. Methods & Tools for Software Engineering (MTSE) Fall Prof. Arie Gurfinkel

Propositional Logic. Methods & Tools for Software Engineering (MTSE) Fall Prof. Arie Gurfinkel Propositional Logic Methods & Tools for Software Engineering (MTSE) Fall 2017 Prof. Arie Gurfinkel References Chpater 1 of Logic for Computer Scientists http://www.springerlink.com/content/978-0-8176-4762-9/

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

A Model for Generating Random Quantified Boolean Formulas

A Model for Generating Random Quantified Boolean Formulas A Model for Generating Random Quantified Boolean Formulas Hubie Chen Departament de Tecnologia Universitat Pompeu Fabra Barcelona, Spain hubie.chen@upf.edu Yannet Interian Center for Applied Mathematics

More information

On the Structure and the Number of Prime Implicants of 2-CNFs

On the Structure and the Number of Prime Implicants of 2-CNFs On the Structure and the Number of Prime Implicants of 2-CNFs Navid Talebanfard Department of Mathematical and Computing Sciences, Tokyo Institute of Technology, Meguro-ku Ookayama 2-12-1, Japan 152-8552

More information

A New 3-CNF Transformation by Parallel-Serial Graphs 1

A New 3-CNF Transformation by Parallel-Serial Graphs 1 A New 3-CNF Transformation by Parallel-Serial Graphs 1 Uwe Bubeck, Hans Kleine Büning University of Paderborn, Computer Science Institute, 33098 Paderborn, Germany Abstract For propositional formulas we

More information

Outline. Complexity Theory. Introduction. What is abduction? Motivation. Reference VU , SS Logic-Based Abduction

Outline. Complexity Theory. Introduction. What is abduction? Motivation. Reference VU , SS Logic-Based Abduction Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 7. Logic-Based Abduction Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

Breaking Local Symmetries in Quasigroup Completion Problems

Breaking Local Symmetries in Quasigroup Completion Problems Breaking Local Symmetries in Quasigroup Completion Problems Ruben Martins and Inês Lynce IST/INESC-ID, Technical University of Lisbon, Portugal {ruben,ines}@sat.inesc-id.pt Abstract. Symmetry breaking

More information

Evaluating QBFs via Symbolic Skolemization

Evaluating QBFs via Symbolic Skolemization Evaluating QBFs via Symbolic Skolemization Marco Benedetti Istituto per la Ricerca Scientifica e Tecnologica (IRST) Via Sommarive 18, 38055 Povo, Trento, Italy benedetti@itc.it Abstract. We describe a

More information

Lecture 9: The Splitting Method for SAT

Lecture 9: The Splitting Method for SAT Lecture 9: The Splitting Method for SAT 1 Importance of SAT Cook-Levin Theorem: SAT is NP-complete. The reason why SAT is an important problem can be summarized as below: 1. A natural NP-Complete problem.

More information

InKreSAT: Modal Reasoning via Incremental Reduction to SAT

InKreSAT: Modal Reasoning via Incremental Reduction to SAT : Modal Reasoning via Incremental Reduction to SAT Mark Kaminski 1 and Tobias Tebbi 2 1 Department of Computer Science, University of Oxford, UK 2 Saarland University, Saarbrücken, Germany Abstract. is

More information

Compiling Knowledge into Decomposable Negation Normal Form

Compiling Knowledge into Decomposable Negation Normal Form Compiling Knowledge into Decomposable Negation Normal Form Adnan Darwiche Cognitive Systems Laboratory Department of Computer Science University of California Los Angeles, CA 90024 darwiche@cs. ucla. edu

More information

1 PSPACE-Completeness

1 PSPACE-Completeness CS 6743 Lecture 14 1 Fall 2007 1 PSPACE-Completeness Recall the NP-complete problem SAT: Is a given Boolean formula φ(x 1,..., x n ) satisfiable? The same question can be stated equivalently as: Is the

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard, Maren Bennewitz, and Marco Ragni Albert-Ludwigs-Universität Freiburg Contents 1 Agents

More information

NP-completeness. Chapter 34. Sergey Bereg

NP-completeness. Chapter 34. Sergey Bereg NP-completeness Chapter 34 Sergey Bereg Oct 2017 Examples Some problems admit polynomial time algorithms, i.e. O(n k ) running time where n is the input size. We will study a class of NP-complete problems

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Joschka Boedecker and Wolfram Burgard and Bernhard Nebel Albert-Ludwigs-Universität Freiburg May 17, 2016

More information

Satisfiability and SAT Solvers. CS 270 Math Foundations of CS Jeremy Johnson

Satisfiability and SAT Solvers. CS 270 Math Foundations of CS Jeremy Johnson Satisfiability and SAT Solvers CS 270 Math Foundations of CS Jeremy Johnson Conjunctive Normal Form Conjunctive normal form (products of sums) Conjunction of clauses (disjunction of literals) For each

More information

Lecture 9: Search 8. Victor R. Lesser. CMPSCI 683 Fall 2010

Lecture 9: Search 8. Victor R. Lesser. CMPSCI 683 Fall 2010 Lecture 9: Search 8 Victor R. Lesser CMPSCI 683 Fall 2010 ANNOUNCEMENTS REMEMBER LECTURE ON TUESDAY! EXAM ON OCTOBER 18 OPEN BOOK ALL MATERIAL COVERED IN LECTURES REQUIRED READINGS WILL MOST PROBABLY NOT

More information

Phase transitions in Boolean satisfiability and graph coloring

Phase transitions in Boolean satisfiability and graph coloring Phase transitions in Boolean satisfiability and graph coloring Alexander Tsiatas May 8, 2008 Abstract I analyzed the behavior of the known phase transitions in two NPcomplete problems, 3-colorability and

More information

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel Foundations of AI 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard and Bernhard Nebel Contents Agents that think rationally The wumpus world Propositional logic: syntax and semantics

More information

Tecniche di Verifica. Introduction to Propositional Logic

Tecniche di Verifica. Introduction to Propositional Logic Tecniche di Verifica Introduction to Propositional Logic 1 Logic A formal logic is defined by its syntax and semantics. Syntax An alphabet is a set of symbols. A finite sequence of these symbols is called

More information

The Potential and Challenges of CAD with Equational Constraints for SC-Square

The Potential and Challenges of CAD with Equational Constraints for SC-Square The Potential and Challenges of with Equational Constraints for SC-Square Matthew England (Coventry University) Joint work with: James H. Davenport (University of Bath) 7th International Conference on

More information

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask Set 6: Knowledge Representation: The Propositional Calculus Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask Outline Representing knowledge using logic Agent that reason logically A knowledge based agent Representing

More information

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning COMP219: Artificial Intelligence Lecture 20: Propositional Reasoning 1 Overview Last time Logic for KR in general; Propositional Logic; Natural Deduction Today Entailment, satisfiability and validity Normal

More information

Propositional Logic Basics Propositional Equivalences Normal forms Boolean functions and digital circuits. Propositional Logic.

Propositional Logic Basics Propositional Equivalences Normal forms Boolean functions and digital circuits. Propositional Logic. Propositional Logic Winter 2012 Propositional Logic: Section 1.1 Proposition A proposition is a declarative sentence that is either true or false. Which ones of the following sentences are propositions?

More information

Classical Propositional Logic

Classical Propositional Logic Classical Propositional Logic Peter Baumgartner http://users.cecs.anu.edu.au/~baumgart/ Ph: 02 6218 3717 Data61/CSIRO and ANU July 2017 1 / 71 Classical Logic and Reasoning Problems A 1 : Socrates is a

More information

Incremental Deterministic Planning

Incremental Deterministic Planning Incremental Deterministic Planning Ştefan ANDREI National University of Singapore, School of Computing, E-mail: andrei@comp.nus.edu.sg Martin RINARD MIT, Department of Electrical Engineering and Computer

More information

Topics in Model-Based Reasoning

Topics in Model-Based Reasoning Towards Integration of Proving and Solving Dipartimento di Informatica Università degli Studi di Verona Verona, Italy March, 2014 Automated reasoning Artificial Intelligence Automated Reasoning Computational

More information

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning COMP9414, Monday 26 March, 2012 Propositional Logic 2 COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning Overview Proof systems (including soundness and completeness) Normal Forms

More information

A Lower Bound of 2 n Conditional Jumps for Boolean Satisfiability on A Random Access Machine

A Lower Bound of 2 n Conditional Jumps for Boolean Satisfiability on A Random Access Machine A Lower Bound of 2 n Conditional Jumps for Boolean Satisfiability on A Random Access Machine Samuel C. Hsieh Computer Science Department, Ball State University July 3, 2014 Abstract We establish a lower

More information

Abstraction-Based Algorithm for 2QBF

Abstraction-Based Algorithm for 2QBF Abstraction-Based Algorithm for 2QBF Mikoláš Janota 2 and Joao Marques-Silva 1,2 1 University College Dublin, Ireland 2 INESC-ID, Lisbon, Portugal Abstract. Quantified Boolean Formulas (QBFs) enable standard

More information

Interleaved Alldifferent Constraints: CSP vs. SAT Approaches

Interleaved Alldifferent Constraints: CSP vs. SAT Approaches Interleaved Alldifferent Constraints: CSP vs. SAT Approaches Frédéric Lardeux 3, Eric Monfroy 1,2, and Frédéric Saubion 3 1 Universidad Técnica Federico Santa María, Valparaíso, Chile 2 LINA, Université

More information