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 条
  • [21] Incremental analysis of constraint logic programs
    Hermenegildo, M
    Puebla, G
    Marriott, K
    Stuckey, PJ
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2000, 22 (02): : 187 - 223
  • [22] A backward analysis for constraint logic programs
    King, A
    Lu, LJ
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2002, 2 (4-5) : 517 - 547
  • [23] Set-based failure analysis for logic programs and concurrent constraint programs
    Podelski, A
    Charatonik, W
    Müller, M
    PROGRAMMING LANGUAGES AND SYSTEMS, 1999, 1576 : 177 - 192
  • [24] Analysis of imperative programs through analysis of constraint logic programs
    Peralta, JC
    Gallagher, JP
    Saglam, H
    STATIC ANALYSIS, 1998, 1503 : 246 - 261
  • [25] Termination analysis for abductive general logic programs
    Verbaeten, S
    LOGIC PROGRAMMING: PROCEEDINGS OF THE 1999 INTERNATIONAL CONFERENCE ON LOGIC PROGRAMMING, 1999, : 365 - 379
  • [26] Automated termination analysis for logic programs with cut
    Schneider-Kamp, Peter
    Giesl, Juergen
    Stroeder, Thomas
    Serebrenik, Alexander
    Thiemann, Rene
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2010, 10 : 365 - 381
  • [27] TALP:: A tool for the termination analysis of logic programs
    Ohlebusch, E
    Claves, C
    Marché, C
    REWRITING TECHNIQUES AND APPLICATIONS, PROCEEDINGS, 2000, 1833 : 270 - 273
  • [28] A semantic basis for the termination analysis of logic programs
    Codish, M
    Taboch, C
    JOURNAL OF LOGIC PROGRAMMING, 1999, 41 (01): : 103 - 123
  • [29] Constraint-based array dependence analysis
    Univ of Maryland, College Park, United States
    ACM Trans Program Lang Syst, 3 (635-678):
  • [30] A constraint-based analysis of Galician geada
    Martínez-Gil, F
    Contemporary Approaches to Romance Linguistics, 2004, 258 : 299 - 320