Extending Context-Sensitivity in Term Rewriting

We propose a generalized version of context-sensitivity in term rewriting based on the notion of “forbidden patterns”. The basic idea is that a rewrite step s hould be forbidden if the redex to be contracted has a certain shape and appears in a certain context. This shape and context is expressed through forbidden patterns. In particular we analyze the relationships among this novel approach and the commonly used notion of context-sensitivity in term rewriting, as well as the feasibility of rewriting with forbidden patterns from a computational point of view. The latter feasibility is characterized by demanding that restricting a rewrite relation yields an i mproved termination behaviour while still being powerful enough to compute meaningful results. Suffic ient criteria for both kinds of properties in certain classes of rewrite systems with forbidden patter ns are presented.

[1]  Salvador Lucas,et al.  Generalizing Newman's Lemma for Left-Linear Rewrite Systems , 2006, RTA.

[2]  Michael J. O'Donnell,et al.  Computing in systems described by equations , 1977, Lecture Notes in Computer Science.

[3]  Jürgen Giesl,et al.  Automatic Termination Proofs in the Dependency Pair Framework , 2006, IJCAR.

[4]  Bernhard Gramlich,et al.  Characterizing and proving operational termination of deterministic conditional term rewriting systems , 2010, J. Log. Algebraic Methods Program..

[5]  Bernhard Gramlich,et al.  Termination of Lazy Rewriting Revisited , 2008, WRS@RDP.

[6]  Salvador Lucas,et al.  Improving On-Demand Strategy Annotations , 2002, LPAR.

[7]  José Meseguer,et al.  Principles of OBJ2 , 1985, POPL.

[8]  Aart Middeldorp,et al.  A Sequential Reduction Strategy , 1996, Theor. Comput. Sci..

[9]  Chang Liu,et al.  Term rewriting and all that , 2000, SOEN.

[10]  Steven Eker Term rewriting with operator evaluation strategies , 1998, WRLA.

[11]  Jürgen Giesl,et al.  Transformation techniques for context-sensitive rewrite systems , 2004, J. Funct. Program..

[12]  Bernhard Gramlich,et al.  VMTL-A Modular Termination Laboratory , 2009, RTA.

[13]  Salvador Lucas,et al.  Termination of on-demand rewriting and termination of OBJ programs , 2001, PPDP '01.

[14]  Francisco Durán,et al.  Proving operational termination of membership equational programs , 2008, High. Order Symb. Comput..

[15]  Salvador Lucas Lazy Rewriting and Context-Sensitive Rewriting , 2002, Electron. Notes Theor. Comput. Sci..

[16]  Jörg Endrullis,et al.  From Outermost to Context-Sensitive Rewriting , 2009, RTA.

[17]  Wan Fokkink,et al.  Lazy rewriting on eager machinery , 2000, TOPL.

[18]  Raúl Gutiérrez,et al.  Improving Context-Sensitive Dependency Pairs , 2008, LPAR.

[19]  Salvador Lucas,et al.  Context-sensitive Computations in Functional and Functional Logic Programs , 1998, J. Funct. Log. Program..

[20]  Salvador Lucas,et al.  On-demand strategy annotations revisited: An improved on-demand evaluation strategy , 2010, Theor. Comput. Sci..

[21]  Salvador Lucas,et al.  Context-Sensitive Rewriting Strategies , 2002, Inf. Comput..