Proving termination of context-sensitive rewriting by transformation

被引:15
作者
Lucas, Salvador [1 ]
机构
[1] Univ Politecn Valencia, DSIC, E-46022 Valencia, Spain
关键词
context-sensitive rewriting; program analysis; term rewriting; termination; transformations;
D O I
10.1016/j.ic.2006.07.001
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Context-sensitive rewriting (CSR) is a restriction of rewriting that forbids reductions on selected arguments of functions. With CSR, we can achieve a terminating behavior with non-terminating term rewriting systems, by pruning (all) infinite rewrite sequences. Proving termination of CSR has been recently recognized as an interesting problem with several applications in the fields of term rewriting and programming languages. Several methods have been developed for proving termination of CSR. Specifically, a number of transformations that permit treating this problem as a standard termination problem have been described. The main goal of this paper is to contribute to a better comprehension and practical use of transformations for proving termination of CSR. We provide new completeness results regarding the use of the transformations in two restricted (but relevant) settings: (a) proofs of termination of canonical CSR and (b) proofs of termination of CSR by using transformations together with simplification orderings. We have also made an experimental evaluation of the transformations, which complements the theoretical analysis from a practical point of view. This leads to new hierarchies of the transformations which are useful to guide their practical use when implementing tools for proving termination of CSR. (c) 2006 Elsevier Inc. All rights reserved.
引用
收藏
页码:1782 / 1846
页数:65
相关论文
共 66 条
[1]  
ALARCON B, 2007, IN PRESS ELECT OTES
[2]   Improving on-demand strategy annotations [J].
Alpuente, M ;
Escobar, S ;
Gramlich, B ;
Lucas, S .
LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, 2002, 2514 :1-18
[3]  
ALPUENTE M, 2004, ELECT NOTES THEORETI, V71
[4]  
[Anonymous], TERM REWR SYST
[5]   Termination of term rewriting using dependency pairs [J].
Arts, T ;
Giesl, J .
THEORETICAL COMPUTER SCIENCE, 2000, 236 (1-2) :133-178
[6]  
Baader F., 1998, Term Rewriting and All That
[7]  
BORRALLERAS C, 2002, LECT NOTES ARTIF INT, V2392, P314
[8]  
Borralleras C., 2003, Ph.D. thesis
[9]   Specification and proof in membership equational logic [J].
Bouhoula, A ;
Jouannaud, JP ;
Meseguer, J .
THEORETICAL COMPUTER SCIENCE, 2000, 236 (1-2) :35-132
[10]  
Bruni R, 2003, LECT NOTES COMPUT SC, V2719, P252