We give a simple combinatorial algorithm to deterministically approximately count the number of satisfying assignments of general constraint satisfaction problems (CSPs). Suppose that the CSP has domain size $q=O(1)$, each constraint contains at most $k=O(1)$ variables, shares variables with at most $\Delta=O(1)$ constraints, and is violated with probability at most $p$ by a uniform random assignment. The algorithm returns in polynomial time in an improved local lemma regime: \[ q^2\cdot k\cdot p\cdot\Delta^5\le C_0\quad\text{for a suitably small absolute constant }C_0. \] Here the key term $\Delta^5$ improves the previously best known $\Delta^7$ for general CSPs [JPV21b] and $\Delta^{5.714}$ for the special case of $k$-CNF [JPV21a, HSW21] . Our deterministic counting algorithm is a derandomization of the very recent fast sampling algorithm in [HWY22]. It departs substantially from all previous deterministic counting Lov\'{a}sz local lemma algorithms which relied on linear programming, and gives a deterministic approximate counting algorithm that straightforwardly derandomizes a fast sampling algorithm, hence unifying the fast sampling and deterministic approximate counting in the same algorithmic framework. To obtain the improved regime, in our analysis we develop a refinement of the $\{2,3\}$-trees that were used in the previous analyses of counting/sampling LLL. Similar techniques can be applied to the previous LP-based algorithms to obtain the same improved regime and may be of independent interests.
翻译:我们用简单的组合算法来确定一般抑制满意度问题(CSPs)的满意度任务数量。 假设 CSP 的域内大小为 $q= O(1)$, 每种限制最多包含 $k= O(1)$ 变量, 以最多 $\ Delta= O(1)$ 限制分享变量, 并被一个统一的随机任务以最有可能的方式违反。 在改进的本地 Lemma 制度下, 多元时间的算法返回 :\ [q=2\ cdot k\ cdot k\ cdot kdot p\ cdot\ Delta5\ le C_ 0\ dqad\ text{ 用于一个相当小的绝对常态常态常态常态常态常态常态常态常态常态值 。 之前的 CSPs( JPV21b) 和 Delta* 514} 用于 $k$k$@ comlicalation fallicalation Forlical_Hnal decal decal decal dal dalations dromagal dromagistration 。 在前的精确算算算算算算中, 以前的前常态分析中, 和前的直地平时, 和前的精确算算算算算算法的精确的精确的精正变变的精变的精确变的精确变的精变变变变变变变变。