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 条
  • [41] Constraint-based termination analysis of logic programs
    Decorte, S
    De Schreye, D
    Vandecasteele, H
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1999, 21 (06): : 1137 - 1195
  • [42] Reuse of results in termination analysis of typed logic programs
    Bruynooghe, M
    Codish, M
    Genaim, S
    Vanhoof, W
    [J]. STATIC ANALYSIS, PROCEEDINGS, 2002, 2477 : 477 - 492
  • [43] A general framework for automatic termination analysis of logic programs
    Dershowitz, N
    Lindenstrauss, N
    Sagiv, Y
    Serebrenik, A
    [J]. APPLICABLE ALGEBRA IN ENGINEERING COMMUNICATION AND COMPUTING, 2001, 12 (1-2) : 117 - 156
  • [44] TERMINATION OF LOGIC PROGRAMS - THE NEVER-ENDING STORY
    De Schreye, D
    Decorte, S
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1994, 20 : 199 - 260
  • [45] Proving termination of input-consuming logic programs
    Smaus, JG
    [J]. LOGIC PROGRAMMING: PROCEEDINGS OF THE 1999 INTERNATIONAL CONFERENCE ON LOGIC PROGRAMMING, 1999, : 335 - 349
  • [46] On termination of general logic programs WRT constructive negation
    Marchiori, E
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1996, 26 (01): : 69 - 89
  • [47] Termination of logic programs for various dynamic selection rules
    Smaus, JG
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2003, 2916 : 511 - 512
  • [48] Practical methods for proving termination of general logic programs
    Marchiori, E
    [J]. JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 1996, 4 : 179 - 208
  • [49] Non-termination inference for constraint logic programs
    Payet, E
    Mesnard, F
    [J]. STATIC ANALYSIS, PROCEEDINGS, 2004, 3148 : 377 - +
  • [50] Preventing instantiation errors and loops for logic programs with multiple modes using block declarations
    Smaus, JG
    Hill, P
    King, A
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 1999, 1559 : 289 - 307