arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1602.08778cs.LOcs.PL
收藏

用割证明逻辑程序的完备性

Proving completeness of logic programs with the cut

Włodzimierz Drabent

摘要:

逻辑程序的完整性意味着程序产生了其规范所要求的所有答案。割是程序设计语言Prolog的一个重要结构。它修剪部分搜索空间,这可能导致完整性的损失。本文提出了一种用割证明程序完备性的方法。通过描述SLD树的剪枝过程,形式化了割的语义。给出了完备性的一个充分条件,证明了它的合理性,并举例说明。

英文摘要:

Completeness of a logic program means that the program produces all the answers required by its specification. The cut is an important construct of programming language Prolog. It prunes part of the search space, this may result in a loss of completeness. This paper proposes a way of proving completeness of programs with the cut. The semantics of the cut is formalized by describing how SLD-trees are pruned. A sufficient condition for completeness is presented, proved sound, and illustrated by examples.

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

↑