Department of Mathematics and Statistics, University of Helsinki, Finland miika.hannula@helsinki.fihttps://orcid.org/0000-0002-9637-6664 Department of Mathematics and Statistics, University of Helsinki, Finlandjuha.kontinen@helsinki.fihttps://orcid.org/0000-0003-0115-5154 Institut für Theoretische Informatik, Leibniz Universität Hannover, Germanylueck@thi.uni-hannover.de Faculty of Humanities and Human Sciences, Hokkaido University, Japanjonni.virtema@let.hokudai.ac.jphttps://orcid.org/0000-0002-1582-3718 \CopyrightMiika Hannula, Juha Kontinen, Martin Lück, and Jonni Virtema {CCSXML} <ccs2012> <concept> <concept_id>10003752.10003777.10003787</concept_id> <concept_desc>Theory of computation Complexity theory and logic</concept_desc> <concept_significance>500</concept_significance> </concept> </ccs2012> \ccsdesc[500]Theory of computation Complexity theory and logic \supplement\hideLIPIcs\EventEditorsJohn Q. Open and Joan R. Access \EventNoEds2 \EventLongTitle42nd Conference on Very Important Topics (CVIT 2016) \EventShortTitleCVIT 2016 \EventAcronymCVIT \EventYear2016 \EventDateDecember 24–27, 2016 \EventLocationLittle Whinging, United Kingdom \EventLogo \SeriesVolume42 \ArticleNo23
On the Complexity of Horn and Krom Fragments of Second-Order Boolean Logic
Abstract
Second-order Boolean logic is a generalization of QBF, whose constant alternation fragments are known to be complete for the levels of the exponential time hierarchy. We consider two types of restriction of this logic: 1) restrictions to term constructions, 2) restrictions to the form of the Boolean matrix. Of the first sort, we consider two kinds of restrictions: firstly, disallowing nested use of proper function variables, and secondly stipulating that each function variable must appear with a fixed sequence of arguments. Of the second sort, we consider Horn, Krom, and core fragments of the Boolean matrix. We classify the complexity of logics obtained by combining these two types of restrictions. We show that, in most cases, logics with alternating blocks of function quantifiers are complete for the th or th level of the exponential time hierarchy. Furthermore, we establish -completeness for the Krom and core fragments, when and both restrictions of the first sort are in effect.
keywords:
quantified Boolean formulae, computational complexity, second-order logic, Horn and Krom fragmentcategory:
\relatedversion1 Introduction
The canonical complete problem for is the quantified Boolean formula problem (QBF) [Stockmeyer73]. This generalization of the Boolean satisfiability problem (SAT) asks whether a Boolean sentence of the form , where , is true. Today QBF attracts widespread interest in diverse research communities. In particular, QBF solving techniques are important in application domains such as planning, program synthesis and verification, adversary games, and non-monotonic reasoning, to name a few [8995437]. A further generalization of QBF is the dependency quantified Boolean formula problem (DQBF) [PETERSON2001957, peterson79]. This problem, complete for nondeterministic exponential time (), asks whether a Boolean sentence of the form
with constraints is true; here, the selection of truth values for may only depend on that of those variables that are in . In other words, DQBF enriches QBF by allowing nonlinear dependency patterns between variables. DQBF-specifications can be exponentially more succinct compared to that of QBF and have found applications in areas such as non-cooperative games, SMT, and bit-vector logics. Furthermore, the development of DQBF-solvers is also well under way [W18].
Put in different terms, DQBF instances can be seen as Boolean sentences of the form
where each is a Boolean function variable whose occurrences in are of the form , for some fixed sequence of proposition variables . In previous studies, extensions of DQBF with alternating function quantification have also been considered. The so-called alternating dependency quantified Boolean formula problem (ADQBF) was shown to be complete for alternating exponential time with polynomially many alternations () in [HannulaKLV16]. This work was preceded by the works of Lück [Luck16] and Lohrey [Lohrey12] studying second-order Boolean logic with explicit quantification of Boolean functions (denoted in this work). Their results showed, e.g., that restricting the alternations of function quantification to yields complete problems for the th levels of the exponential hierarchy.
In this article we embark on a systematic study of the complexity of fragments of , defined by combining restrictions on the structure of function terms and the Boolean matrix. A remarkable fact is that, when restricting attention to Horn formulae, all the complexity distinctions between SAT, QBF, and DQBF disappear. Bubeck and Büning [BubeckB06] showed that those DQBF instances whose quantifier-free part is a conjunction of Horn clauses are solvable in polynomial time. Consequently, all the aforementioned problems over Horn formulae are -complete. This implies that the high complexity of (D)QBF is not a straightforward consequence of its quantification structure; rather, structural complexity from the quantifier-free part is also needed. An immediate question is: How complex quantification is required to neutralize structural limitations, such as the Horn form, on the quantifier-free part? It is exactly this interplay between quantification and quantifier-free formula structure that will be the focus of this paper.
A formula of is in or in if it is in prenex normal form with alternations for function quantification, with the first quantifier block being respectively existential or universal. If the quantifier-free part of a formula is in conjunctive normal form, then it is called (a) Horn if each clause has at most one positive literal, (b) Krom if each clause contains at most two literals, and (c) core if it is both Horn and Krom. A formula is called (i) simple if it contains no nested function terms, and (ii) unique if in it each function variable is associated with a unique argument tuple. These last two criteria, in particular, are meaningful for formulae involving second-order quantification. Uniqueness and simpleness are also the characteristics of function terms introduced in the process of Skolemization, and more importantly, tacitly assumed in the DQBF problem. One of the goals of this paper is to determine the impact of such restrictions. This way we generalize the aforementioned results on DQBF, which can be understood in our terms as unique simple .
Our contributions are the following. We show, one the one hand, that the complexity of DQBF over Krom or core formulae collapses to , and that this result extends to simple and unique and . On the other hand, we show that almost all other cases are complete for the corresponding, or their neighboring, levels of the exponential hierarchy. Some cases are left open; most intriguing such case is the inverse of the DQBF-Horn problem (i.e.\xspace, simple and unique Horn), which is only known to be between and . A summary of our results can be found in LABEL:tab:results-fragments.