arXiv Science⌕ Search

arXiv · 2610.15426

Solving Restricted Versions of #SAT Faster than $2^m$: Algorithms and Lower Bounds

Abstract

Under the Strong Exponential Time Hypothesis (SETH), for any constant $\varepsilon > 0$, the #SAT problem (counting the number of satisfying assignments of a CNF formula) cannot be solved in $\mathcal{O}^*((2-\varepsilon)^n)$ or $\mathcal{O}^*((2-\varepsilon)^m)$ time, where $n$ is the number of variables and $m$ is the number of clauses. On the other hand, simple exhaustive search and the standard inclusion-exclusion give $\mathcal{O}^*(2^n)$-time and $\mathcal{O}^*(2^m)$-time algorithms, respectively. A natural line of research is to beat these SETH-based barriers for restricted versions, such as #$k$-SAT (where each clause contains at most $k$ literals) or #$d$-occ-SAT (where each variable appears in at most $d$ clauses). It is known that the $2^n$-barrier can be broken when $k$ or $d$ is any constant; yet, whether the $2^m$-barrier can also be broken in these cases remains unknown. We present two simple algorithms that overcome the $2^m$-barrier. First, for #$k$-SAT, we give an $\mathcal{O}^*(2^{m(1-1/O(k))})$-time algorithm, thereby breaking the $2^m$-barrier for any constant $k$. Second, for #$2$-occ-SAT (which also includes the problem of counting the number of edge covers in a graph as a special case), we provide an algorithm with runtime $\mathcal{O}^*(2^{mω/3})$, where $ω< 2.3714$ is the matrix multiplication exponent. Furthermore, we demonstrate that both algorithms generalize to the weighted counting setting while preserving the same runtime bounds. On the hardness side, we present a reduction from #Max-$d$-SAT to #$d$-occ-SAT, showing that for any $d\ge 3$, #$d$-occ-SAT admits no $\mathcal{O}^*((2-\varepsilon)^m)$-time algorithm for any constant $\varepsilon>0$, even on positive formulas, under the hypothesis that #Max-3-SAT on $n$ variables admits no $\mathcal{O}^*((2-\varepsilon)^n)$-time algorithm for any such $\varepsilon$.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Sanjay Jain, Junqiang Peng, Frank Stephan, Mingyu Xiao. 2026-10-11. Solving Restricted Versions of #SAT Faster than $2^m$: Algorithms and Lower Bounds. https://arxiv.org/abs/2610.15426

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Adding an Edge in a $P_4$-sparse Graph

For a graph family~${\cal F}$, the minimum ${\cal F}$-completion problem asks for the minimum number of non-edges to be added to a given graph~$G$ so that the resulting graph belongs to the family~${\cal F}$. This problem is NP-complete for many subclasses of perfect graphs, while polynomial solutions are available for minimal completion sets or restricted input. We study the minimum $P_4$-sparse completion problem that arises after adding a prescribed non-edge to a \(P_4\)-sparse graph \(G\), with the resulting graph required to remain \(P_4\)-sparse. For the case in which $G$ consists of two connected components, each containing one endpoint of the added non-edge, we characterize the possible forms of an optimal solution. Combining this characterization with the solution of the other cases identified by the structural decomposition of \(P_4\)-sparse graphs, we obtain an algorithm for the general problem that runs in $O(n^2)$ time and $O(n)$ space.

cs.DS↗

Optimal Extrapolation Bounds for Sparse Fourier Sums

We prove a sharp extrapolation bound for $k$-sparse Fourier sums with arbitrary real frequencies and no separation assumption. For every $g(t)=\sum_{j=1}^k v_je^{iλ_jt}$ with $λ_j\in\mathbb{R}$ and every $x\geq 1$, \begin{align*} |g(x)|\le k\exp(O(k\operatorname{arcosh} x))\|g\|_{L^2[-1,1]}. \end{align*} Near the endpoint at $x=1+δ$, this gives an exponential factor of $\exp(O(k\sqrtδ))$, improving on the $\exp(O(k^2\log k\cdotδ))$ estimate of Chen and Price (ICALP 2019), and the exponent is optimal up to a constant factor. Our theorem has algorithmic applications to recovering gapless Fourier-sparse signals: it improves the resolution of cluster-location algorithms and the sample complexity of Fourier interpolation algorithms. In addition, it gives sharp bounds on the error transfer of sparse Fourier models just outside the training interval.

cs.DS↗

Stochastic Network Speed Scaling with Competitive Ratios Independent of the Network

In network speed scaling, jobs arrive over time at a network of servers whose speeds can be tuned, every job must be processed by the servers along one of its allowed routes, and the goal is to minimize the total flow time plus the total energy. For stochastic arrivals, the competitive ratio of Vaze and Nair depends on the network, through the lengths of the routes it uses. We show that this dependence can be removed: we give an algorithm, which routes the jobs by solving a convex program and runs every server at a fixed speed, whose competitive ratio depends only on the power functions; for $P(s)=s^2$, it is at most the golden ratio $φ\approx1.618$. The key idea is a lower bound on the optimal cost which, like the cost of our algorithm, is a sum over the servers of a function of each server's load, so the analysis reduces to a single server. We also show that the routing rule of Vaze and Nair can be a factor $Ω(L)$ away from optimal, where $L$ is the length of the longest route.

cs.DS↗