Skip to main content

Innermost Termination of Context-Sensitive Rewriting

  • Conference paper
  • First Online:
Developments in Language Theory (DLT 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2450))

Included in the following conference series:

Abstract

Context-sensitive rewriting is a restriction of term rewriting used to model evaluation strategies in functional programming and in programming languages like OBJ. For example, under certain conditions termination of an OBJ program is equivalent to innermost termination of the corresponding context-sensitive rewrite system [18]. To prove termination of context-sensitive rewriting, several methods have been proposed in the literature which transform context-sensitive rewrite systems into ordinary rewrite systems such that termination of the transformed ordinary system implies termination of the original context-sensitive system. Most of these transformations are not very satisfactory when it comes to proving innermost termination. We investigate the relationship between termination and innermost termination of context-sensitive rewriting and we examine the applicability of the different transformations for innermost termination proofs. Finally, we present a simple transformation which is both sound and complete for innermost termination.

Partially supported by the Grant-in-Aid for Scientific Research (C)(2) 13224006 of the Ministry of Education, Culture, Sports, Science and Technology of Japan.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. T. Arts and J. Giesl. Termination of term rewriting using dependency pairs. Theoretical Computer Science, 236:133–178, 2000.

    Article  MATH  MathSciNet  Google Scholar 

  2. F. Baader and T. Nipkow. Term Rewriting and All That. Cambr. Univ. Pr., 1998.

    Google Scholar 

  3. C. Borralleras, S. Lucas, and A. Rubio. Recursive path orderings can be contextsensitive. In Proc. 18th CADE, volume 2392 of LNAI, pages 314–331, 2002.

    Google Scholar 

  4. M. Clavel, S. Eker, P. Lincoln, and J. Meseguer. Principles of Maude. In Proc. 1st WRLA, volume 4 of ENTCS, 1996.

    Google Scholar 

  5. R. Diaconescu and K. Futatsugi. CafeOBJ Report, volume 6 of AMAST Series in Computing. World Scientific, 1998.

    Google Scholar 

  6. S. Eker. Term rewriting with operator evaluation strategies. In Proc. 2nd WRLA, volume 15 of ENTCS, pages 1–20, 1998.

    Google Scholar 

  7. M.C.F. Ferreira and A.L. Ribeiro. Context-sensitive AC-rewriting. In Proc. 10th RTA, volume 1631 of LNCS, pages 173–187, 1999.

    Google Scholar 

  8. O. Fissore, I. Gnaedig, and H. Kirchner. Induction for termination with local strategies. In Proc. 4th International Workshop on Strategies in Automated Deduction, volume 58 of ENTCS, 2001.

    Google Scholar 

  9. J. Giesl and A. Middeldorp. Transforming context-sensitive rewrite systems. In Proc. 10th RTA, volume 1631 of LNCS, pages 271–285, 1999.

    Google Scholar 

  10. J. Giesl and A. Middeldorp.Innermost termination of context-sensitive rewriting. Technical Report AIB-2002-048, RWTH Aachen, Germany, 2002.

    Google Scholar 

  11. J. Giesl and A. Middeldorp. Transformation techniques for context-sensitive rewrite systems. Technical Report AIB-2002-028, RWTH Aachen, Germany, 2002. Extended version of [9].

    Google Scholar 

  12. J. Goguen, T. Winkler, J. Meseguer, K. Futatsugi, and J.-P. Jouannaud. Introducing OBJ. In J. Goguen and G. Malcolm, editors, Software Engineering with OBJ: algebraic specification in action. Kluwer, 2000.

    Google Scholar 

  13. B. Gramlich. Abstract relations between restricted termination and confluence properties of rewrite systems. Fundamenta Informaticae, 24:3–23, 1995.

    MATH  MathSciNet  Google Scholar 

  14. B. Gramlich and S. Lucas. Modular termination of context-sensitive rewriting. In Proc. 4th PPDP, pages 50–61. ACM Press, 2002.

    Google Scholar 

  15. B. Gramlich and S. Lucas. Simple termination of context-sensitive rewriting. In Proc. 3rd Workshop on Rule-Based Programming, pages 29–41. ACM Press, 2002.

    Google Scholar 

  16. S. Lucas. Termination of context-sensitive rewriting by rewriting. In Proc. 23rd ICALP, volume 1099 of LNCS, pages 122–133, 1996.

    Google Scholar 

  17. S. Lucas. Context-sensitive computations in functional and functional logic programs. Journal of Functional and Logic Programming, 1:1–61, 1998.

    MathSciNet  Google Scholar 

  18. S. Lucas. Termination of rewriting with strategy annotations. In Proc. 8th LPAR, volume 2250 of LNAI, pages 669–684, 2001.

    Google Scholar 

  19. S. Lucas, 2001-2002. Personal communication.

    Google Scholar 

  20. S. Lucas. Termination of (canonical) context-sensitive rewriting. In Proc. 13th RTA, volume 2378 of LNCS, pages 296–310, 2002.

    Google Scholar 

  21. T. Nagaya. Reduction Strategies for Term Rewriting Systems. PhD thesis, School of Information Science, Japan Advanced Institute of Science and Technology, 1999.

    Google Scholar 

  22. M. Nakamura and K. Ogata. The evaluation strategy for head normal form with and without on-demand flags. In Proc. 3rd WRLA, volume 36 of ENTCS, 2001.

    Google Scholar 

  23. H. Zantema. Termination of context-sensitive rewriting. In Proc. 8th RTA, volume 1232 of LNCS, pages 172–186, 1997.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Giesl, J., Middeldorp, A. (2003). Innermost Termination of Context-Sensitive Rewriting. In: Ito, M., Toyama, M. (eds) Developments in Language Theory. DLT 2002. Lecture Notes in Computer Science, vol 2450. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45005-X_20

Download citation

  • DOI: https://doi.org/10.1007/3-540-45005-X_20

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40431-6

  • Online ISBN: 978-3-540-45005-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics