On the Parameterized Complexity of Finding Small Unsatisfiable Subsets of CNF Formulas and CSP Instances

In many practical settings it is useful to find a small unsatisfiable subset of a given unsatisfiable set of constraints. We study this problem from a parameterized complexity perspective, taking the size of the unsatisfiable subset as the natural parameter where the set of constraints is either (i) given a set of clauses, i.e., a formula in conjunctive normal Form (CNF), or (ii) as an instance of the Constraint Satisfaction Problem (CSP). In general, the problem is fixed-parameter intractable. For an instance of the propositional satisfiability problem (SAT), it was known to be W[1]-complete. We establish A[2]-completeness for CSP instances, where A[2]-hardness prevails already for the Boolean case. With these fixed-parameter intractability results for the general case in mind, we consider various restricted classes of inputs and draw a detailed complexity landscape. It turns out that often Boolean CSP and CNF formulas behave similarly, but we also identify notable exceptions to this rule. The main part of this article is dedicated to classes of inputs that are induced by Boolean constraint languages that Schaefer [1978] identified as the maximal constraint languages with a tractable satisfiability problem. We show that for the CSP setting, the problem of finding small unsatisfiable subsets remains fixed-parameter intractable for all Schaefer languages for which the problem is non-trivial. We show that this is also the case for CNF formulas with the exception of the class of bijunctive (Krom) formulas, which allows for an identification of a small unsatisfiable subset in polynomial time. In addition, we consider various restricted classes of inputs with bounds on the maximum number of times that a variable occurs (the degree), bounds on the arity of constraints, and bounds on the domain size. For the case of CNF formulas, we show that restricting the degree is enough to obtain fixed-parameter tractability, whereas for the case of CSP instances, one needs to restrict the degree, the arity, and the domain size simultaneously to establish fixed-parameter tractability. Finally, we relate the problem of finding small unsatisfiable subsets of a set of constraints to the problem of identifying whether a given variable-value assignment is entailed or forbidden already by a small subset of constraints. Moreover, we use the connection between the two problems to establish similar parameterized complexity results also for the latter problem.

[1]  Daniele Pretolani,et al.  Efficiency and stability of hypergraph SAT algorithms , 1993, Cliques, Coloring, and Satisfiability.

[2]  Andrew J. Parkes,et al.  Clustering at the Phase Transition , 1997, AAAI/IAAI.

[3]  Jörg Flum,et al.  Parameterized Complexity Theory , 2006, Texts in Theoretical Computer Science. An EATCS Series.

[4]  Michael R. Fellows,et al.  Fixed-Parameter Tractability and Completeness II: On Completeness for W[1] , 1995, Theor. Comput. Sci..

[5]  Ofer Strichman,et al.  Tuning SAT Checkers for Bounded Model Checking , 2000, CAV.

[6]  Stefan Szeider,et al.  Local Backbones , 2013, SAT.

[7]  Albert R. Meyer,et al.  The Equivalence Problem for Regular Expressions with Squaring Requires Exponential Space , 1972, SWAT.

[8]  Inês Lynce,et al.  Towards efficient MUS extraction , 2012, AI Commun..

[9]  Toby Walsh,et al.  Backbones and Backdoors in Satisfiability , 2005, AAAI.

[10]  Oliver Kullmann,et al.  Generalising and Unifying SLUR and Unit-Refutation Completeness , 2013, SOFSEM.

[11]  Georg Gottlob,et al.  Fixed-Parameter Algorithms For Artificial Intelligence, Constraint Satisfaction and Database Problems , 2007, Comput. J..

[12]  Larry J. Stockmeyer,et al.  The Polynomial-Time Hierarchy , 1976, Theor. Comput. Sci..

[13]  Bart Selman,et al.  Pushing the Envelope: Planning, Propositional Logic and Stochastic Search , 1996, AAAI/IAAI, Vol. 2.

[14]  Marko Samer,et al.  Constraint satisfaction with bounded treewidth revisited , 2006, J. Comput. Syst. Sci..

[15]  Gilles Dequen,et al.  A backbone-search heuristic for efficient solving of hard 3-SAT formulae , 2001, IJCAI.

[16]  Paolo Liberatore,et al.  Redundancy in logic I: CNF propositional formulae , 2002, Artif. Intell..

[17]  Joao Marques-Silva,et al.  Smallest MUS Extraction with Minimal Hitting Set Dualization , 2015, CP.

[18]  Michal Pilipczuk,et al.  Parameterized Algorithms , 2015, Springer International Publishing.

[19]  Salil P. Vadhan,et al.  Computational Complexity , 2005, Encyclopedia of Cryptography and Security.

[20]  Toby Walsh,et al.  Backbones in Optimization and Approximation , 2001, IJCAI.

[21]  Jianer Chen,et al.  Parameterized Complexity and Subexponential-Time Computability , 2012, The Multivariate Algorithmic Revolution and Beyond.

[22]  Russell Impagliazzo,et al.  Which problems have strongly exponential complexity? , 1998, Proceedings 39th Annual Symposium on Foundations of Computer Science (Cat. No.98CB36280).

[23]  Faisal N. Abu-Khzam,et al.  Scalable Parallel Algorithms for FPT Problems , 2006, Algorithmica.

[24]  Michael R. Fellows,et al.  FIXED-PARAMETER TRACTABILITY AND COMPLETENESS , 2022 .

[25]  Joao Marques-Silva,et al.  MUSer2: An Efficient MUS Extractor , 2012, J. Satisf. Boolean Model. Comput..

[26]  Michael R. Fellows,et al.  Parameterized Complexity , 1998 .

[27]  Oliver Kullmann,et al.  Investigating a general hierarchy of polynomially decidable classes of CNF's based on short tree-like resolution proofs , 1999, Electron. Colloquium Comput. Complex..

[28]  Alberto Griggio,et al.  Computing Small Unsatisfiable Cores in Satisfiability Modulo Theories , 2014, J. Artif. Intell. Res..

[29]  Mihalis Yannakakis,et al.  On the Complexity of Database Queries , 1999, J. Comput. Syst. Sci..

[30]  J. M. Singer,et al.  Searching for backbones — an efficient parallel algorithm for the traveling salesman problem , 1996 .

[31]  Thomas J. Schaefer,et al.  The complexity of satisfiability problems , 1978, STOC.

[32]  Michael R. Fellows,et al.  Fundamentals of Parameterized Complexity , 2013 .

[33]  Michael R. Fellows,et al.  On the parameterized complexity of multiple-interval graph problems , 2009, Theor. Comput. Sci..

[34]  Celia Wrathall,et al.  Complete Sets and the Polynomial-Time Hierarchy , 1976, Theor. Comput. Sci..

[35]  Ge Xia,et al.  Strong computational lower bounds via parameterized complexity , 2006, J. Comput. Syst. Sci..

[36]  Ulrike Stege,et al.  Resolving conflicts in problems from computational biology , 1999 .

[37]  Joao Marques-Silva,et al.  Computing Minimally Unsatisfiable Subformulas: State of the Art and Future Directions , 2012, J. Multiple Valued Log. Soft Comput..

[38]  Thomas Stützle,et al.  SATLIB: An Online Resource for Research on SAT , 2000 .

[39]  Ge Xia,et al.  Tight lower bounds for certain parameterized NP-hard problems , 2004, Proceedings. 19th IEEE Annual Conference on Computational Complexity, 2004..

[40]  Russell L. Malmberg,et al.  Efficient Parameterized Algorithm for Biopolymer Structure-Sequence Alignment , 2005, IEEE/ACM Transactions on Computational Biology and Bioinformatics.

[41]  Chantal Roth-Korostensky,et al.  Algorithms for building multiple sequence alignments and evolutionary trees , 2000 .

[42]  Timon Hertli,et al.  Improving PPSZ for 3-SAT using Critical Variables , 2010, STACS.

[43]  Giorgio Gallo,et al.  Directed Hypergraphs and Applications , 1993, Discret. Appl. Math..

[44]  Ulrike Stege,et al.  Solving large FPT problems on coarse-grained parallel machines , 2003, J. Comput. Syst. Sci..

[45]  David G. Mitchell,et al.  Minimum Witnesses for Unsatisfiable 2CNFs , 2006, SAT.

[46]  Graham Wrightson,et al.  On Finding Short Resolution Refutations and Small Unsatisfiable Subsets , 2004, IWPEC.

[47]  Rolf Niedermeier,et al.  Invitation to Fixed-Parameter Algorithms , 2006 .

[48]  Fahiem Bacchus,et al.  Using Minimal Correction Sets to More Efficiently Compute Minimal Unsatisfiable Sets , 2015, CAV.

[49]  Stefan Szeider,et al.  The Parameterized Complexity of Local Consistency , 2011, CP.

[50]  Oliver Kullmann,et al.  An application of matroid theory to the SAT problem , 2000, Proceedings 15th Annual IEEE Conference on Computational Complexity.

[51]  Michael A. Langston,et al.  Innovative Computational Methods for Transcriptomic Data Analysis: A Case Study in the Use of FPT for Practical Algorithm Design and Implementation , 2008, Comput. J..

[52]  Nathan Linial,et al.  Minimal non-two-colorable hypergraphs and minimal unsatisfiable formulas , 1986, J. Comb. Theory, Ser. A.

[53]  Thomas Zichner,et al.  Algorithm Engineering for Color-Coding with Applications to Signaling Pathway Detection , 2008, Algorithmica.

[54]  Lakhdar Sais,et al.  Extracting MUCs from Constraint Networks , 2006, ECAI.

[55]  Pierre Marquis,et al.  A Knowledge Compilation Map , 2002, J. Artif. Intell. Res..

[56]  Sanjeev Arora,et al.  Computational Complexity: A Modern Approach , 2009 .

[57]  Jean H. Gallier,et al.  Linear-Time Algorithms for Testing the Satisfiability of Propositional Horn Formulae , 1984, J. Log. Program..

[58]  Gregory Gutin,et al.  Valued Workflow Satisfiability Problem , 2015, SACMAT.

[59]  Stefan Szeider,et al.  Small Unsatisfiable Subsets in Constraint Satisfaction , 2014, 2014 IEEE 26th International Conference on Tools with Artificial Intelligence.

[60]  Marko Samer,et al.  Constraint satisfaction with bounded treewidth revisited , 2010, J. Comput. Syst. Sci..

[61]  Inês Lynce,et al.  On Computing Minimum Unsatisfiable Cores , 2004, SAT.

[62]  Ofer Shtrichman Tuning SAT Checkers for Bounded Model Checking , 2000, CAV 2000.