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

关于CTL与数据库的关系

On relating CTL to Datalog

Foto Afrati, Theodore Andronikos, Vassia Pavlaki, Eugenie Foustoucos, Irene Guessarian

摘要:

CTL是实践中占主导地位的时态规约语言,主要是因为它允许线性时间的模型检验。逻辑编程和数据库查询语言数据库经常被用作逻辑语言的实现平台。在本文中,我们提出了确切的CTL和数据库之间的关系,而且我们建立在这种关系和已知的有效算法CTL获得有效的算法分层数据库的片段。本文的主要贡献是:a)将CTL嵌入到STD中,STD是分层数据库的一个适当的片段。此外,我们表明,STD表示完全CTL -我们证明,通过嵌入STD到CTL。两个嵌入都是线性的。b)CTL也可以被嵌入到数据流的片段中而不进行否定。我们定义了一个片段的数据与后继内置谓词,我们称之为TDS和我们嵌入CTL到TDS在线性时间。我们建立在上述关系,以回答分层数据库的开放问题。我们证明了查询评价是线性的,包含性和可满足性问题都是可判定的。本文中提出的结果是第一个分层的Datatrics的片段,比那些只包含一元EDBs更一般。

英文摘要:

CTL is the dominant temporal specification language in practice mainly due to the fact that it admits model checking in linear time. Logic programming and the database query language Datalog are often used as an implementation platform for logic languages. In this paper we present the exact relation between CTL and Datalog and moreover we build on this relation and known efficient algorithms for CTL to obtain efficient algorithms for fragments of stratified Datalog. The contributions of this paper are: a) We embed CTL into STD which is a proper fragment of stratified Datalog. Moreover we show that STD expresses exactly CTL -- we prove that by embedding STD into CTL. Both embeddings are linear. b) CTL can also be embedded to fragments of Datalog without negation. We define a fragment of Datalog with the successor build-in predicate that we call TDS and we embed CTL into TDS in linear time. We build on the above relations to answer open problems of stratified Datalog. We prove that query evaluation is linear and that containment and satisfiability problems are both decidable. The results presented in this paper are the first for fragments of stratified Datalog that are more general than those containing only unary EDBs.

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

↑