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 条
  • [21] Modularity of termination in term graph rewriting
    Rao, MRKK
    REWRITING TECHNIQUES AND APPLICATIONS, 1996, 1103 : 230 - 244
  • [22] Total termination of term rewriting is undecidable
    Zantema, H
    JOURNAL OF SYMBOLIC COMPUTATION, 1995, 20 (01) : 43 - 60
  • [23] Tuple Interpretations for Termination of Term Rewriting
    Yamada, Akihisa
    JOURNAL OF AUTOMATED REASONING, 2022, 66 (04) : 667 - 688
  • [24] Termination of Term Rewriting by Semantic Labelling
    Zantema, H.
    Fundamenta Informaticae, 1995, 24 (1-2): : 89 - 105
  • [25] Termination of Graph and Term Graph Rewriting
    Koenig, Barbara
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2016, (225): : 2 - 2
  • [26] Proving Termination of Integer Term Rewriting
    Fuhs, Carsten
    Giesl, Juergen
    Pluecker, Martin
    Schneider-Kamp, Peter
    Falke, Stephan
    REWRITING TECHNIQUES AND APPLICATIONS, 2009, 5595 : 32 - +
  • [27] Tuple Interpretations for Termination of Term Rewriting
    Yamada, Akihisa
    Journal of Automated Reasoning, 2022, 66 (04): : 667 - 688
  • [28] Termination of fair computations in term rewriting
    Lucas, S
    Meseguer, J
    LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, PROCEEDINGS, 2005, 3835 : 184 - 198
  • [29] From Linear Term Rewriting to Graph Rewriting with Preservation of Termination
    Overbeek, Roy
    Endrullis, Jorg
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2021, (350): : 19 - 34
  • [30] Chase Termination: A Constraints Rewriting Approach
    Greco, Sergio
    Spezzano, Francesca
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2010, 3 (01): : 93 - 104