比$2^m$更快地求解受限版本的#SAT:算法与下界
Solving Restricted Versions of #SAT Faster than $2^m$: Algorithms and Lower Bounds
AI总结:
针对受限#SAT问题,该研究提出两种算法分别突破了$2^m$时间壁垒,还证明了相关问题的下界,且算法可推广到加权计数场景。
摘要:
在强指数时间假设(SETH)下,对于任意常数$\varepsilon > 0$,#SAT问题(即计算CNF公式的满足赋值数量)无法在$\mathcal{O}^*((2-\varepsilon)^n)$或$\mathcal{O}^*((2-\varepsilon)^m)$时间内求解,其中$n$是变量数,$m$是子句数。另一方面,简单的穷举搜索和标准的容斥原理分别给出了$\mathcal{O}^*(2^n)$时间和$\mathcal{O}^*(2^m)$时间的算法。一个自然的研究方向是针对受限版本突破这些基于SETH的壁垒,例如#$k$-SAT(每个子句最多包含$k$个文字)或#$d$-occ-SAT(每个变量最多出现在$d$个子句中)。已知当$k$或$d$为任意常数时,$2^n$壁垒可以被突破;然而,在这些情况下$2^m$壁垒是否也能被突破仍未知。我们提出两种简单算法,可克服$2^m$壁垒。首先,对于#$k$-SAT,我们给出一个$\mathcal{O}^*(2^{m(1-1/O(k))})$时间的算法,从而对任意常数$k$突破了$2^m$壁垒。其次,对于#$2$-occ-SAT(该问题还包含图的边覆盖计数作为特例),我们提供了一个运行时间为$\mathcal{O}^*(2^{m\omega/3})$的算法,其中$\omega < 2.3714$是矩阵乘法指数。此外,我们证明两种算法均可推广到加权计数场景,同时保持相同的运行时间界限。在难度方面,我们给出从#Max-$d$-SAT到#$d$-occ-SAT的归约,表明对于任意$d\ge 3$,在#Max-3-SAT(变量数为$n$)不存在$\mathcal{O}^*((2-\varepsilon)^n)$时间算法(对任意此类$\varepsilon$)的假设下,即使是正公式,#$d$-occ-SAT也不存在$\mathcal{O}^*((2-\varepsilon)^m)$时间算法(对任意常数$\varepsilon>0$)。
英文摘要:
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$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。