arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1007.4476cs.LO
收藏

CHR片段的可判定性

Decidability properties for fragments of CHR

Maurizio Gabbrielli abd Jacopo Mauro, Maria Chiara Meo, Jon Sneyers

摘要:

我们研究的可判定性终止的两个方言,类似的Datastrophic语言,定义使用的签名,不允许功能符号(arity >0)。这两种语言都允许在规则体中使用=内置,因此都是建立在支持统一的宿主语言上。然而,每一个都施加了一个进一步的限制。第一种语法只允许范围受限的规则,也就是说,如果变量没有出现在规则的头部,它不允许在规则的主体或保护中使用变量。我们表明,存在一个无限的计算是决定这种方言。相反,第二种方言将规则头部的原子数量限制为1。我们证明了在这种情况下,终止计算的存在是可判定的。这些结果表明,这两种方言的表达能力严格低于图灵机。值得注意的是,没有这些限制的语言(没有函数符号)与图灵机一样具有表达力。

英文摘要:

We study the decidability of termination for two CHR dialects which, similarly to the Datalog like languages, are defined by using a signature which does not allow function symbols (of arity >0). Both languages allow the use of the = built-in in the body of rules, thus are built on a host language that supports unification. However each imposes one further restriction. The first CHR dialect allows only range-restricted rules, that is, it does not allow the use of variables in the body or in the guard of a rule if they do not appear in the head. We show that the existence of an infinite computation is decidable for this dialect. The second dialect instead limits the number of atoms in the head of rules to one. We prove that in this case, the existence of a terminating computation is decidable. These results show that both dialects are strictly less expressive than Turing Machines. It is worth noting that the language (without function symbols) without these restrictions is as expressive as Turing Machines.

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

↑