A Term Rewriting Approach to the Automated Termination Analysis of Imperative Programs

被引:0
|
作者
Falke, Stephan [1 ]
Kapur, Deepak [1 ]
机构
[1] Univ New Mexico, CS Dept, Albuquerque, NM 87131 USA
来源
关键词
PROVING TERMINATION; LINEAR RANKING; TOOL;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
An approach based on term rewriting techniques for the automated termination analysis of imperative programs operating on integers is presented. An imperative program is transformed into rewrite rules with constraints from quantifier-free Presburger arithmetic. Any computation in the imperative program corresponds to a rewrite sequence, and termination of the rewrite system thus implies termination of the imperative program. Termination of the rewrite system is analyzed using a decision procedure for Presburger arithmetic that identifies possible chains of rewrite rules, and automatically generated polynomial interpretations are used to show finiteness of such chains. An implementation of the approach has been evaluated on a large collection of imperative programs, thus. demonstrating its effectiveness and practicality.
引用
收藏
页码:277 / 293
页数:17
相关论文
共 50 条
  • [11] The termination hierarchy for term rewriting
    Zantema, H
    APPLICABLE ALGEBRA IN ENGINEERING COMMUNICATION AND COMPUTING, 2001, 12 (1-2) : 3 - 19
  • [12] Modular Termination Proofs of Recursive Java']Java Bytecode Programs by Term Rewriting
    Brockschmidt, Marc
    Otto, Carsten
    Giesl, Juergen
    22ND INTERNATIONAL CONFERENCE ON REWRITING TECHNIQUES AND APPLICATIONS (RTA'11), 2011, 10 : 155 - 170
  • [13] Automated termination analysis for incompletely defined programs
    Walther, C
    Schweitzer, S
    LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, PROCEEDINGS, 2005, 3452 : 332 - 346
  • [14] 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
  • [15] Automated Termination Analysis of Polynomial Probabilistic Programs
    Moosbrugger, Marcel
    Bartocci, Ezio
    Katoen, Joost-Pieter
    Kovacs, Laura
    PROGRAMMING LANGUAGES AND SYSTEMS, ESOP 2021, 2021, 12648 : 491 - 518
  • [16] THE TERM REWRITING APPROACH TO AUTOMATED THEOREM-PROVING
    HSIANG, J
    KIRCHNER, H
    LESCANNE, P
    RUSINOWITCH, M
    JOURNAL OF LOGIC PROGRAMMING, 1992, 14 (1-2): : 71 - 99
  • [17] Non-termination checking for imperative programs
    Velroyen, Helga
    Rummer, Philipp
    TESTS AND PROOFS, 2008, 4966 : 154 - +
  • [18] Termination of Rewriting with and Automated Synthesis of Forbidden Patterns
    Gramlich, Bernhard
    Schernhammer, Felix
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2010, (44): : 35 - 50
  • [19] Termination and confluence in infinitary term rewriting
    Rodenburg, PH
    JOURNAL OF SYMBOLIC LOGIC, 1998, 63 (04) : 1286 - 1296
  • [20] Tuple Interpretations for Termination of Term Rewriting
    Akihisa Yamada
    Journal of Automated Reasoning, 2022, 66 : 667 - 688