Termination of logic programs with delay declarations

被引:9
|
作者
Marchiori, E [1 ]
Teusink, F [1 ]
机构
[1] Leiden Univ, Dept Comp Sci, NL-2300 RA Leiden, Netherlands
来源
JOURNAL OF LOGIC PROGRAMMING | 1999年 / 39卷 / 1-3期
关键词
logic programs; dynamic selection rule; termination; delay declaration;
D O I
10.1016/S0743-1066(98)10034-1
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper proposes a method for proving termination of logic programs with delay declarations. The method is based on the notion of recurrent logic program, which is used to prove programs terminating with respect to an arbitrary selection rule. Most importantly, we use the notion of bounded query (as proposed by M. Bezem) in the definition of cover, a new notion which forms the kernel of our approach. We introduce the class of delay recurrent programs and prove that programs in this class terminate for all focal delay selection rules, provided that the delay conditions imply boundedness. The corresponding method Can be also used to transform a logic program into a terminating logic program with delay declarations. (C) 1999 Elsevier Science Inc. All rights reserved.
引用
收藏
页码:95 / 124
页数:30
相关论文
共 50 条