arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0407045cs.LOcs.PL
收藏

具有基数约束的集合的一阶理论是可判定的

The First-Order Theory of Sets with Cardinality Constraints is Decidable

Viktor Kuncak, Martin Rinard

摘要:

我们表明,一阶理论的语言,结合布尔代数集的未解释的元素与Presburger算术运算的可判定性。因此,我们反驳了最近的猜想,这个理论是不可判定的。我们的语言允许将集合的基数与整数变量的值相关联,并且可以区分有限集合和无限集合。我们使用量词消去来表示可判定性,并得到了一个简单的复杂度上界。精确的程序分析可以使用我们的可判定性结果来验证使用整数字段表示存储元素数量的数据结构的表示不变量。

英文摘要:

We show that the decidability of the first-order theory of the language that combines Boolean algebras of sets of uninterpreted elements with Presburger arithmetic operations. We thereby disprove a recent conjecture that this theory is undecidable. Our language allows relating the cardinalities of sets to the values of integer variables, and can distinguish finite and infinite sets. We use quantifier elimination to show the decidability and obtain an elementary upper bound on the complexity. Precise program analyses can use our decidability result to verify representation invariants of data structures that use an integer field to represent the number of stored elements.

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

↑