Automated termination analysis for logic programs with cut

被引:17
|
作者
Schneider-Kamp, Peter [1 ]
Giesl, Juergen [2 ]
Stroeder, Thomas [2 ]
Serebrenik, Alexander [3 ]
Thiemann, Rene [4 ]
机构
[1] Univ So Denmark, Dept Math & Comp Sci, Odense, Denmark
[2] Rhein Westfal TH Aachen, LuFG Informat 2, Aachen, Germany
[3] TU Eindhoven, Dept Math & Comp Sci, Eindhoven, Netherlands
[4] Univ Innsbruck, Inst Comp Sci, A-6020 Innsbruck, Austria
关键词
automated termination analysis; cut; definite logic programs; DENOTATIONAL SEMANTICS; PROLOG;
D O I
10.1017/S1471068410000165
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Termination is an important and well-studied property for logic programs. However, almost all approaches for automated termination analysis focus on definite logic programs, whereas real-world Prolog programs typically use the cut operator. We introduce a novel pre-processing method which automatically transforms Prolog programs into logic programs without cuts, where termination of the cut-free program implies termination of the original program. Hence after this pre-processing, any technique for proving termination of definite logic programs can be applied. We implemented this pre-processing in our termination prover AProVE and evaluated it successfully with extensive experiments.
引用
收藏
页码:365 / 381
页数:17
相关论文
共 50 条
  • [1] Automated termination analysis for logic programs by term rewriting
    Schneider-Kamp, Peter
    Giesl, Juergen
    Serebrenik, Alexander
    Thiemann, Rene
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2007, 4407 : 177 - +
  • [2] Dependency Triples for Improving Termination Analysis of Logic Programs with Cut
    Stroeder, Thomas
    Schneider-Kamp, Peter
    Giesl, Juergen
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2011, 6564 : 184 - +
  • [3] Termination analysis of logic programs
    Serebrenik, A
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2003, 2916 : 507 - 508
  • [4] Automated Termination Proofs for Logic Programs by Term Rewriting
    Schneider-Kamp, Peter
    Giesl, Juergen
    Serebrenik, Alexander
    Thiemann, Rene
    [J]. ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2009, 11 (01)
  • [5] Automatic termination analysis of logic programs
    Lindenstrauss, N
    Sagiv, Y
    [J]. LOGIC PROGRAMMING: PROCEEDINGS OF THE FOURTEENTH INTERNATIONAL CONFERENCE ON LOGIC PROGRAMMING, 1997, : 63 - 77
  • [6] Termination analysis for abductive general logic programs
    Verbaeten, S
    [J]. LOGIC PROGRAMMING: PROCEEDINGS OF THE 1999 INTERNATIONAL CONFERENCE ON LOGIC PROGRAMMING, 1999, : 365 - 379
  • [7] 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
  • [8] A semantic basis for the termination analysis of logic programs
    Codish, M
    Taboch, C
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1999, 41 (01): : 103 - 123
  • [9] Automated termination analysis for incompletely defined programs
    Walther, C
    Schweitzer, S
    [J]. LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, PROCEEDINGS, 2005, 3452 : 332 - 346
  • [10] Automated Termination Analysis of Polynomial Probabilistic Programs
    Moosbrugger, Marcel
    Bartocci, Ezio
    Katoen, Joost-Pieter
    Kovacs, Laura
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, ESOP 2021, 2021, 12648 : 491 - 518