arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1702.06259cs.LO
收藏

在SMT中处理有限集合与基数约束的推理

Reasoning with Finite Sets and Cardinality Constraints in SMT

Kshitij Bansal, Clark Barrett, Andrew Reynolds, Cesare Tinelli

AI总结:

本研究提出一种模块化演算,结合成员与基数约束推理,通过增量考虑重叠区域并利用图跟踪交互,在SMT求解器中高效处理有限集合的可满足性问题,实验显示其扩展性更优。

摘要:

我们考虑了在带有基数约束的有限集合理论中判定无量词公式可满足性的问题。集合是编程中常用的高级数据结构;因此,这样的理论对于直接建模程序构造非常有用。更重要的是,集合是数学的基本构造,因此在形式化计算系统的属性时自然会被使用。我们开发了一个演算,描述了一种模块化组合方法,该方法将用于推理成员约束的过程与用于推理基数约束的过程相结合。基数推理涉及跟踪不同集合如何重叠。为了提高效率,我们避免像先前工作那样直接考虑维恩区域。相反,我们开发了一种新技术,其中潜在重叠的区域根据需要增量地被考虑,使用图来跟踪不同区域之间的交互。该演算旨在便于在基于DPLL($T$)架构的SMT求解器中实现。我们的实验结果表明,新技术与先前技术相比具有竞争力,并且在某些类别的问题上可以更好地扩展。

英文摘要:

We consider the problem of deciding the satisfiability of quantifier-free formulas in the theory of finite sets with cardinality constraints. Sets are a common high-level data structure used in programming; thus, such a theory is useful for modeling program constructs directly. More importantly, sets are a basic construct of mathematics and thus natural to use when formalizing the properties of computational systems. We develop a calculus describing a modular combination of a procedure for reasoning about membership constraints with a procedure for reasoning about cardinality constraints. Cardinality reasoning involves tracking how different sets overlap. For efficiency, we avoid considering Venn regions directly, as done in previous work. Instead, we develop a novel technique wherein potentially overlapping regions are considered incrementally as needed, using a graph to track the interaction among the different regions. The calculus has been designed to facilitate its implementation within SMT solvers based on the DPLL($T$) architecture. Our experimental results demonstrate that the new techniques are competitive with previous techniques and can scale much better on certain classes of problems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑