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

作为二阶逻辑的空间合取

On Spatial Conjunction as Second-Order Logic

Viktor Kuncak, Martin Rinard

摘要:

空间合取是一个强大的构造推理的动态分配的数据结构,以及并发,分布式和移动计算。虽然研究人员已经确定了空间连接的许多用途,但与传统逻辑结构相比,它的精确表达能力以前并不清楚。在本文中,我们建立了空间连接的表达能力。我们构造了一个从一阶空间合取逻辑到二阶逻辑的嵌入,更令人惊讶的是,构造了一个从全二阶逻辑到一阶空间合取逻辑的嵌入。这些嵌入表明,具有空间合取的一阶逻辑中公式的可满足性等价于二阶逻辑中公式的可满足性。这些结果解释了空间合取的强大表达能力,并可以用来说明,将无限制空间合取加入到可判定逻辑中会导致不可判定逻辑。作为一个例子,我们表明,增加无限制的空间合取两个变量的逻辑导致不可判定性。在可判定性方面,嵌入到二阶逻辑中直接意味着一阶逻辑的可判定性具有树上的空间合取形式。嵌入到空间合取也有有用的后果:因为一个限制形式的空间合取在两个变量的逻辑保持可判定性,我们得到了相应的限制形式的二阶量化在两个变量的逻辑是可判定的。由此产生的语言推广了集合上布尔代数的一阶理论,并在面向对象语言中对数据结构的内容进行推理时非常有用。

英文摘要:

Spatial conjunction is a powerful construct for reasoning about dynamically allocated data structures, as well as concurrent, distributed and mobile computation. While researchers have identified many uses of spatial conjunction, its precise expressive power compared to traditional logical constructs was not previously known. In this paper we establish the expressive power of spatial conjunction. We construct an embedding from first-order logic with spatial conjunction into second-order logic, and more surprisingly, an embedding from full second order logic into first-order logic with spatial conjunction. These embeddings show that the satisfiability of formulas in first-order logic with spatial conjunction is equivalent to the satisfiability of formulas in second-order logic. These results explain the great expressive power of spatial conjunction and can be used to show that adding unrestricted spatial conjunction to a decidable logic leads to an undecidable logic. As one example, we show that adding unrestricted spatial conjunction to two-variable logic leads to undecidability. On the side of decidability, the embedding into second-order logic immediately implies the decidability of first-order logic with a form of spatial conjunction over trees. The embedding into spatial conjunction also has useful consequences: because a restricted form of spatial conjunction in two-variable logic preserves decidability, we obtain that a correspondingly restricted form of second-order quantification in two-variable logic is decidable. The resulting language generalizes the first-order theory of boolean algebra over sets and is useful in reasoning about the contents of data structures in object-oriented languages.

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

↑