自动重编码与图论
Automated Reencoding Meets Graph Theory
AI总结:
本文通过图论方法分析了BVA算法可构造的2-CNF编码,并证明了BVA在预处理中的行为与限制,展示了其在重编码中的效果及与其他预处理技术的交互。
摘要:
Bounded Variable Addition (BVA) 是现代最先进的 SAT 求解器中的核心预处理方法。本文提供了 BVA 算法可以构造的 2-CNF 编码的图论特征。基于这一见解,我们证明了 BVA 的行为和限制以及其与其他预处理技术的交互。我们证明,理想化的 BVA 加上一些额外的预处理(例如等价字句替换)可以将任何具有 n 个变量的 2-CNF 公式重新编码为一个等价的 2-CNF 公式,其子句数为 (lg(3)/4 + o(1)) * n² / lg n。此外,我们证明在没有额外预处理的情况下,常数因子会从 lg(3)/4 ≈ 0.396 降为 1,并且没有任何重编码方法可以达到常数低于 0.25。另一方面,对于最多一个约束在 n 个变量上,我们证明理想化的 BVA 无法用少于 3n-6 个子句重新编码此约束,这个界限我们证明是实际实现所达到的。特别是,这表明了最多一个约束的产品编码,使用 2n + o(n) 个子句,无法通过 BVA 构造,无论使用何种启发式方法。最后,BVA 的图论特征使我们能够利用算法图论的最新成果,开发出一个显著更高效的 BVA 实现,在随机单调 2-CNF 公式上实现可比的子句减少。
英文摘要:
Bounded Variable Addition (BVA) is a central preprocessing method in modern state-of-the-art SAT solvers. We provide a graph-theoretic characterization of which 2-CNF encodings can be constructed by an idealized BVA algorithm. Based on this insight, we prove new results about the behavior and limitations of BVA and its interaction with other preprocessing techniques. We show that idealized BVA, plus some minor additional preprocessing (e.g., equivalent literal substitution), can reencode any 2-CNF formula with $n$ variables into an equivalent 2-CNF formula with $(\tfrac{\lg(3)}{4}+o(1))\,\tfrac{n^2}{\lg n}$ clauses. Furthermore, we show that without the additional preprocessing the constant factor worsens from $\tfrac{\lg(3)}{4} \approx 0.396$ to $1$, and that no reencoding method can achieve a constant below $0.25$. On the other hand, for the at-most-one constraint on $n$ variables, we prove that idealized BVA cannot reencode this constraint using fewer than $3n-6$ clauses, a bound that we prove is achieved by actual implementations. In particular, this shows that the product encoding for at-most-one, which uses $2n+o(n)$ clauses, cannot be constructed by BVA regardless of the heuristics used. Finally, our graph-theoretic characterization of BVA allows us to leverage recent work in algorithmic graph theory to develop a drastically more efficient implementation of BVA that achieves a comparable clause reduction on random monotone 2-CNF formulas.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。