Constraint-based termination analysis of logic programs

被引:28
|
作者
Decorte, S [1 ]
De Schreye, D [1 ]
Vandecasteele, H [1 ]
机构
[1] Katholieke Univ Leuven, Dept Comp Sci, B-3001 Heverlee, Belgium
关键词
languages verification; constraint solving; logic programming; termination analysis;
D O I
10.1145/330643.330645
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Current norm-based automatic termination analysis techniques for logic programs can be split up into different components: inference of mode or type information, derivation of models, generation of well-founded orders, and verification of the termination conditions themselves. Although providing high-precision results, these techniques suffer from an efficiency point of view, as several of these analyses are often performed through abstract interpretation. We present a new termination analysis which integrates the various components and produces a set of constraints that, when solvable, identifies successful termination proofs. The proposed method is both efficient and precise. The use of constraint sets enables the propagation of information over all different phases while the need for multiple analyses is considerably reduced.
引用
收藏
页码:1137 / 1195
页数:59
相关论文
共 50 条
  • [41] A General Framework for Automatic Termination Analysis of Logic Programs
    Nachum Dershowitz
    Naomi Lindenstrauss
    Yehoshua Sagiv
    Alexander Serebrenik
    Applicable Algebra in Engineering, Communication and Computing, 2001, 12 : 117 - 156
  • [42] TRANSFORMING NORMAL LOGIC PROGRAMS TO CONSTRAINT LOGIC PROGRAMS
    KANCHANASUT, K
    STUCKEY, PJ
    THEORETICAL COMPUTER SCIENCE, 1992, 105 (01) : 27 - 56
  • [43] Polynomial interpretations as a basis for termination analysis of logic programs
    Nguyen, MT
    De Schreye, D
    LOGIC PROGRAMMING, PROCEEDINGS, 2005, 3668 : 311 - 325
  • [44] Reuse of results in termination analysis of typed logic programs
    Bruynooghe, M
    Codish, M
    Genaim, S
    Vanhoof, W
    STATIC ANALYSIS, PROCEEDINGS, 2002, 2477 : 477 - 492
  • [45] A general framework for automatic termination analysis of logic programs
    Dershowitz, N
    Lindenstrauss, N
    Sagiv, Y
    Serebrenik, A
    APPLICABLE ALGEBRA IN ENGINEERING COMMUNICATION AND COMPUTING, 2001, 12 (1-2) : 117 - 156
  • [46] ∃-Universal termination of logic programs
    Ruggieri, S
    THEORETICAL COMPUTER SCIENCE, 2001, 254 (1-2) : 273 - 296
  • [47] TUTORIAL ON TERMINATION OF LOGIC PROGRAMS
    DESCHREYE, D
    VERSCHAETSE, K
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 649 : 70 - 88
  • [48] Model-based diagnosis of spreadsheet programs: a constraint-based debugging approach
    Dietmar Jannach
    Thomas Schmitz
    Automated Software Engineering, 2016, 23 : 105 - 144
  • [49] STRONG TERMINATION OF LOGIC PROGRAMS
    BEZEM, M
    JOURNAL OF LOGIC PROGRAMMING, 1993, 15 (1-2): : 79 - 97
  • [50] Introduction to set constraint-based program analysis
    Aiken, Alexander
    Science of Computer Programming, 1999, 35 (02): : 79 - 111