Max\#SAT is an important problem with multiple applications in security and program synthesis that is proven hard to solve. It is defined as: given a parameterized quantifier-free propositional formula compute parameters such that the number of models of the formula is maximal. As an extension, the formula can include an existential prefix. We propose a CEGAR-based algorithm and refinements thereof, based on either exact or approximate model counting, and prove its correctness in both cases. Our experiments show that this algorithm has much better effective complexity than the state of the art.
翻译:MaxSAT是安全和程序合成中多种应用的一个重要问题, 很难解决。 它被定义为: 给一个参数化的量化标准- 无参数化的假设公式计算参数, 这样公式的模型数量是最大化的。 作为扩展, 公式可以包含存在前缀 。 我们根据精确或近似模型的计算结果, 提出一个基于 CEGAR 的算法及其改进, 并证明它在两种情况下的正确性。 我们的实验显示, 这个算法比艺术状态复杂得多 。