本文研究单子二阶逻辑到 SAT 的树宽保持编码,给出 Courcelle 定理的新证明,并扩展至 MaxSAT、#SAT 与 ILP,同时建立基于 ETH 的下界。
摘要:
算法元定理表明,在固定逻辑中可定义的问题能够在具有某些性质的结构上高效求解。一个例子是 Courcelle 定理,它指出所有可在单子二阶逻辑中表达的问题都能在小树宽结构上高效求解。这类定理通常通过该逻辑的模型检测问题算法来证明,而这些算法往往很复杂,且很少能产生高效的解决方案。另一种途径是,我们可以通过将给定逻辑归约(grounding)到命题逻辑来求解模型检测问题,因为命题逻辑已有专用求解器。然而,这种编码通常不会保留输入的树宽。本文研究是否所有可在单子二阶逻辑中定义的问题都能被高效编码到 SAT 中,使得输入的树宽能够约束所得公式的树宽。我们对此给出肯定回答,从而提供了 Courcelle 定理的另一种证明。我们的技术可以自然扩展:存在树宽感知的归约,将 Courcelle 定理的优化版本归约到 MaxSAT,并将该定理的计数版本归约到 #SAT。通过使用到 SAT 的编码,忽略多项式因子后,我们在模型检测问题上获得了与专用算法相同的运行时间。另一个直接结果是从单子二阶逻辑的模型检测问题到整数线性规划(ILP)的树宽保持归约。我们还以基于 ETH 的新下界对这些上界进行补充;并表明输入公式的块大小与输入结构的树宽紧密相关。
英文摘要:
Algorithmic meta-theorems state that problems definable in a fixed logic can be solved efficiently on structures with certain properties. An example is Courcelle's Theorem, which states that all problems expressible in monadic second-order logic can be solved efficiently on structures of small treewidth. Such theorems are usually proven by algorithms for the model-checking problem of the logic, which is often complex and rarely leads to highly efficient solutions. Alternatively, we can solve the model-checking problem by grounding the given logic to propositional logic, for which dedicated solvers are available. Such encodings will, however, usually not preserve the input's treewidth.
This paper investigates whether all problems definable in monadic second-order logic can efficiently be encoded into \Lang{sat} such that the input's treewidth bounds the treewidth of the resulting formula. We answer this in the affirmative and, hence, provide an alternative proof of Courcelle's Theorem. Our technique can naturally be extended: There are treewidth-aware reductions from the optimization version of Courcelle's Theorem to MaxSAT and from the counting version of the theorem to \#SAT. By using encodings to SAT, we obtain, ignoring polynomial factors, the same running time for the model-checking problem as we would with dedicated algorithms. Another immediate consequence is a treewidth-preserving reduction from the model-checking problem of monadic second-order logic to integer linear programming (ILP). We complement our upper bounds with new lower bounds based on ETH; and we show that the block size of the input's formula and the treewidth of the input's structure are tightly linked.
Learning Guided Automated Reasoning: A Brief Survey
Czech Technical University in Prague(捷克技术大学布拉格);Radboud University Nijmegen(拉德堡德大学奈杰姆);Czech Academy of Sciences Institute for Computer Science(捷克科学院计算机科学研究所);University of Innsbruck(因斯布鲁克大学)