Transformational methodology for proving termination of logic programs

被引:0
|
作者
Rao, MRKK [1 ]
Kapur, D [1 ]
Shyamasundar, RK [1 ]
机构
[1] Tata Inst Fundamental Res, Comp Sci Grp, Bombay 400005, Maharashtra, India
来源
JOURNAL OF LOGIC PROGRAMMING | 1998年 / 34卷 / 01期
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A methodology for proving the termination of well-moded logic programs is developed by reducing the termination problem of logic programs to that of term rewriting systems. A transformation procedure is presented to derive a term rewriting system from a given well-moded logic program such that the termination of the derived rewrite system implies the termination of the logic program for all well-moded queries under a class of selection rules. This facilitates applicability of a vast source of termination orderings proposed in the literature on term rewriting, for proving termination of logic programs. The termination of various benchmark programs has been established with this approach. Unlike other mechanizable approaches, the proposed approach does not require any preprocessing and works well, even in the presence of mutual recursion. The transformation has also been implemented as a front end to Rewrite Rule Laboratory (RRL) and has been used in establishing termination of nontrivial Prolog programs such as a prototype compiler for ProCoS, PL0 language. (C) Elsevier Science Inc., 1998.
引用
收藏
页码:1 / 41
页数:41
相关论文
共 50 条
  • [41] Proving Termination of Imperative Programs Using Max-SMT
    Larraz, Daniel
    Oliveras, Albert
    Rodriguez-Carbonell, Enric
    Rubio, Albert
    [J]. 2013 FORMAL METHODS IN COMPUTER-AIDED DESIGN (FMCAD), 2013, : 218 - 225
  • [42] PROVING TOTAL CORRECTNESS OF NONDETERMINISTIC PROGRAMS IN INFINITARY LOGIC
    BACK, RJR
    [J]. ACTA INFORMATICA, 1981, 15 (03) : 233 - 249
  • [43] Proving pointer programs in higher-order logic
    Mehta, F
    Nipkow, T
    [J]. AUTOMATED DEDUCTION - CADE-19, PROCEEDINGS, 2003, 2741 : 121 - 135
  • [44] Proving pointer programs in higher-order logic
    Mehta, F
    Nipkow, T
    [J]. INFORMATION AND COMPUTATION, 2005, 199 (1-2) : 200 - 227
  • [45] On proving termination by innermost termination
    Gramlich, B
    [J]. REWRITING TECHNIQUES AND APPLICATIONS, 1996, 1103 : 93 - 107
  • [46] Termination analysis for abductive general logic programs
    Verbaeten, S
    [J]. LOGIC PROGRAMMING: PROCEEDINGS OF THE 1999 INTERNATIONAL CONFERENCE ON LOGIC PROGRAMMING, 1999, : 365 - 379
  • [47] An abstract interpretation approach to termination of logic programs
    Gori, R
    [J]. LOGIC FOR PROGRAMMING AND AUTOMATED REASONING, PROCEEDINGS, 2000, 1955 : 362 - 380
  • [48] Automated termination analysis for logic programs with cut
    Schneider-Kamp, Peter
    Giesl, Juergen
    Stroeder, Thomas
    Serebrenik, Alexander
    Thiemann, Rene
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2010, 10 : 365 - 381
  • [49] On modular termination proofs of general logic programs
    Bossi, A
    Cocco, N
    Rossi, S
    Etalle, S
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2002, 2 : 263 - 291
  • [50] TALP:: A tool for the termination analysis of logic programs
    Ohlebusch, E
    Claves, C
    Marché, C
    [J]. REWRITING TECHNIQUES AND APPLICATIONS, PROCEEDINGS, 2000, 1833 : 270 - 273