一般逻辑程序的具体实现
Verifying Termination of General Logic Programs with Concrete Queries
摘要:
我们介绍了一种方法来验证终止逻辑程序相对于具体的查询(而不是抽象的查询模式)。建立了一个充分必要条件,并提出了一种自动验证算法。与现有的基于查询模式的方法相比,我们的方法具有以下特点:(1)它适用于所有一般的逻辑程序与非挣扎查询。(2)它非常容易自动化,因为它不需要搜索级别映射或模型,也不需要基于额外的模式或类型信息计算参数间关系。(3)它桥接了终止分析与循环检查,这两个问题在过去已经被单独研究,尽管它们彼此之间有着密切的技术关系。
英文摘要:
We introduce a method of verifying termination of logic programs with respect to concrete queries (instead of abstract query patterns). A necessary and sufficient condition is established and an algorithm for automatic verification is developed. In contrast to existing query pattern-based approaches, our method has the following features: (1) It applies to all general logic programs with non-floundering queries. (2) It is very easy to automate because it does not need to search for a level mapping or a model, nor does it need to compute an interargument relation based on additional mode or type information. (3) It bridges termination analysis with loop checking, the two problems that have been studied separately in the past despite their close technical relation with each other.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。