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

单态和受护二阶逻辑的Datalog可表达性

Datalog-Expressibility for Monadic and Guarded Second-Order Logic

TU Dresden(德累斯顿工业大学)

Manuel Bodirsky, Simon Knäuer, Sebastian Rudolph

AI总结:

该研究基于存在性卵石游戏刻画了有限结构上与Datalog等价的MSO语句,证明相关刻画适用于GSO,还揭示GSO与Datalog交集含嵌套受护查询可表达问题但后者无法完全刻画该交集。

摘要:

我们基于存在性卵石游戏,刻画了有限结构上与Datalog程序等价的单态二阶逻辑(MSO)语句。我们还证明,对于每个可由MSO表达且在同态下封闭的有限结构类C,以及所有整数l、k,存在Feder和Verdi意义下宽度为(l,k)的规范Datalog程序Π。这些刻画同样适用于恰当扩展MSO的受护二阶逻辑(GSO)。为证明结果,我们表明GSO中补集在同态下封闭的每个类C是可数范畴结构约束满足问题(CSPs)的有限并。已知MSO与Datalog的交集包含嵌套单态定义查询(Nemodeq)类;同样,我们证明GSO与Datalog的交集包含所有可由更具表达力的嵌套受护查询语言表达的问题。然而,利用我们的结果,我们可证明这两种查询语言均无法作为刻画,因为我们展示了MSO与Datalog交集中存在一个无法用嵌套受护查询表达的查询。

英文摘要:

We characterise the sentences in Monadic Second-order Logic (MSO) that are over finite structures equivalent to a Datalog program, in terms of an existential pebble game. We also show that for every class C of finite structures that can be expressed in MSO and is closed under homomorphisms, and for all integers l,k, there exists a canonical Datalog program Pi of width (l,k) in the sense of Feder and Verdi. The same characterisations also hold for Guarded Second-order Logic (GSO), which properly extends MSO. To prove our results, we show that every class C in GSO whose complement is closed under homomorphisms is a finite union of constraint satisfaction problems (CSPs) of countably categorical structures. The intersection of MSO and Datalog is known to contain the class of nested monadically defined queries (Nemodeq); likewise, we show that the intersection of GSO and Datalog contains all problems that can be expressed by the more expressive language of nested guarded queries. Yet, by exploiting our results, we can show that neither of the two query languages can serve as a characterization, as we exhibit a query in the intersection of MSO and Datalog that is not expressible in nested guarded queries.

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

↑