English

CNF Satisfiability in a Subspace and Related Problems

Data Structures and Algorithms 2021-08-16 v1

Abstract

We introduce the problem of finding a satisfying assignment to a CNF formula that must further belong to a prescribed input subspace. Equivalent formulations of the problem include finding a point outside a union of subspaces (the Union-of-Subspace Avoidance (USA) problem), and finding a common zero of a system of polynomials over \F2\F_2 each of which is a product of affine forms. We focus on the case of k-CNF formulas (the k-SUB-SAT problem). Clearly, it is no easier than k-SAT, and might be harder. Indeed, via simple reductions we show NP-hardness for k=2 and W[1]-hardness parameterized by the co-dimension of the subspace. We also prove that the optimization version Max-2-SUB-SAT is NP-hard to approximate better than the trivial 3/4 ratio even on satisfiable instances. On the algorithmic front, we investigate fast exponential algorithms which give non-trivial savings over brute-force algorithms. We give a simple branching algorithm with runtime 1.5^r for 2-SUB-SAT, where rr is the subspace dimension and an O^*(1.4312)^n time algorithm where nn is the number of variables. For k more than 2, while known algorithms for solving a system of degree kk polynomial equations already imply a solution with runtime 2^{r(1-1/2k)}, we explore a more combinatorial approach. For instance, based on the notion of critical variables, we give an algorithm with running time (nt)2nn/k{n\choose {\le t}} 2^{n-n/k}, where nn is the number of variables and tt is the co-dimension of the subspace. This improves upon the running time of the polynomial equations approach for small co-dimension. Our algorithm also achieves polynomial space in contrast to the algebraic approach that uses exponential space.

Keywords

Cite

@article{arxiv.2108.05914,
  title  = {CNF Satisfiability in a Subspace and Related Problems},
  author = {Vikraman Arvind and Venkatesan Guruswami},
  journal= {arXiv preprint arXiv:2108.05914},
  year   = {2021}
}
R2 v1 2026-06-24T05:04:37.369Z