This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

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

Miika Hannula    Juha Kontinen    Martin Lück    Jonni Virtema
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 kk alternating blocks of function quantifiers are complete for the kkth or (k1)(k-1)th level of the exponential time hierarchy. Furthermore, we establish 𝐍𝐋\xspace{\mathbf{NL}}\xspace-completeness for the Krom and core fragments, when k=1k=1 and both restrictions of the first sort are in effect.

keywords:
quantified Boolean formulae, computational complexity, second-order logic, Horn and Krom fragment
category:
\relatedversion

1 Introduction

The canonical complete problem for 𝐏𝐒𝐏𝐀𝐂𝐄\xspace{\mathbf{PSPACE}}\xspace is the quantified Boolean formula problem (QBF) [Stockmeyer73]. This generalization of the Boolean satisfiability problem (SAT) asks whether a Boolean sentence of the form Q1p1QnpnψQ_{1}p_{1}\ldots Q_{n}p_{n}\psi, where Qi{,}Q_{i}\in\{\exists,\forall\}, 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 (𝐍𝐄𝐗𝐏\xspace{\mathbf{NEXP}}\xspace), asks whether a Boolean sentence of the form

p1pnq1qmψ\forall p_{1}\ldots\forall p_{n}\exists q_{1}\ldots\exists q_{m}\psi

with constraints Ci{p1,,pn}C_{i}\subseteq\{p_{1},\ldots,p_{n}\} is true; here, the selection of truth values for qiq_{i} may only depend on that of those variables that are in CiC_{i}. 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

f1fmp1pnψ,\exists f_{1}\ldots\exists f_{m}\forall p_{1}\ldots\forall p_{n}\psi,

where each fif_{i} is a Boolean function variable whose occurrences in ψ\psi are of the form fi(pi1,,pik)f_{i}(p_{i_{1}},\ldots,p_{i_{k}}), for some fixed sequence of proposition variables pi1,,pikp_{i_{1}},\ldots,p_{i_{k}}. 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 (𝐀𝐄𝐗𝐏(poly)\xspace{\mathbf{AEXP}(\mathrm{poly})}\xspace) 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 𝖲𝖮2\mathsf{SO}_{2} in this work). Their results showed, e.g., that restricting the alternations of function quantification to k1k-1 yields complete problems for the kkth levels of the exponential hierarchy.

In this article we embark on a systematic study of the complexity of fragments of 𝖲𝖮2\mathsf{SO}_{2}, 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 𝐏\xspace{\mathbf{P}}\xspace-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 𝖲𝖮2\mathsf{SO}_{2} is in Σk\Sigma_{k} or in Πk\Pi_{k} if it is in prenex normal form with k1k-1 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 Σ1\Sigma_{1}.

Our contributions are the following. We show, one the one hand, that the complexity of DQBF over Krom or core formulae collapses to 𝐍𝐋\xspace{\mathbf{NL}}\xspace, and that this result extends to simple and unique Π1\Pi_{1} and Π2\Pi_{2}. 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 Π1\Pi_{1} Horn), which is only known to be between 𝐍𝐋\xspace{\mathbf{NL}}\xspace and Π1E{{\Uppi}^{\mathrm{E}}_{1}}. A summary of our results can be found in LABEL:tab:results-fragments.