Termination of String Rewriting Proved Automatically
2005, Journal of Automated Reasoning
https://doi.org/10.1007/S10817-005-6545-0Abstract
In this paper it is described how a combination of polynomial interpretations, recursive path order, RFC match-bounds, the dependency pair method and semantic labelling can be used for automatically proving termination of an extensive class of string rewriting systems (SRSs). The tool implementing this combination of techniques is called TORPA: Termination of Rewriting Proved Automatically. All termination proofs generated by TORPA are easy to read and check, but for many of the SRSs involved finding a termination proof would be a hard job for a human. This paper contains all underlying theory, describes how the search for a termination proof is implemented, and includes many examples.
References (26)
- T. Arts and J. Giesl. Termination of term rewriting using dependency pairs. Theoretical Computer Science, 236:133-178, 2000.
- A. Ben-Cherifa and P. Lescanne. Termination of rewriting systems by polynomial interpretations and its implementation. Science of Computer Programming, 9:137-159, 1987.
- E. Contejean, C. Marché, B. Monate, and X. Urbain. The CiME rewrite tool. Available at http://cime.lri.fr/.
- N. Dershowitz. Termination of linear rewriting systems. In S. Even and O. Kariv, editors, Proc. 8th Int. Coll. on Automata, Languages and Program- ming (ICALP-81), volume 115 of Lecture Notes in Computer Science, pages 448-458. Springer, 1981.
- N. Dershowitz. Orderings for term-rewriting systems. Theoretical Computer Science, 17:279-301, 1982.
- A. Geser. Relative Termination. PhD thesis, Universität Passau, Germany, 1990.
- A. Geser, D. Hofbauer, and J. Waldmann. Match-bounded string rewriting systems. In B. Rovan and P. Vojtas, editors, Proc. 28th Int. Symp. Mathe- matical Foundations of Computer Science (MFCS-03), volume 2747 of Lecture Notes in Computer Science, pages 449-459. Springer, 2003. Extended version accepted for publication in Appl. Algebra Engrg. Comm. Comput.
- A. Geser, D. Hofbauer, and J. Waldmann. Deciding termination for ancestor match-bounded string rewriting systems. Nia technical report, National Institute of Aerospace, Hampton, VA, 2004. Available at research.nianet.org/∼geser/papers/nia-ancestors.html.
- A. Geser, D. Hofbauer, J. Waldmann, and H. Zantema. Finding finite automata that certify termination of string rewriting. In K. Salomaa and S. Yu, editors, Proceedings of Ninth International Conference on Implementation and Appli- cation of Automata (CIAA04), Lecture Notes in Computer Science. Springer, 2004.
- J. Giesl, R. Thiemann, P. Schneider-Kamp, and S. Falke. Automated termina- tion proofs with AProVE. In V. van Oostrom, editor, Proceedings of the 15th Conference on Rewriting Techniques and Applications (RTA), volume 3091 of Lecture Notes in Computer Science, pages 210-220. Springer, 2004. Tool available at http://www-i2.informatik.rwth-aachen.de/AProVE/.
- J. Giesl and H. Zantema. Liveness in rewriting. In R. Nieuwenhuis, editor, Proceedings of the 14th Conference on Rewriting Techniques and Applications (RTA), volume 2706 of Lecture Notes in Computer Science, pages 321-336. Springer, 2003.
- N. Hirokawa and A. Middeldorp. Tsukuba termination tool. In R. Nieuwen- huis, editor, Proceedings of the 14th Conference on Rewriting Techniques and Applications (RTA), volume 2706 of Lecture Notes in Computer Science, pages 311-320, 2003.
- N. Hirokawa and A. Middeldorp. Dependency pairs revisited. In V. van Oost- rom, editor, Proceedings of the 15th Conference on Rewriting Techniques and Applications (RTA), volume 3091 of Lecture Notes in Computer Science, pages 249-268. Springer, 2004.
- M. S. Krishnamoorthy and P. Narendran. On recursive path ordering. Theoretical Computer Science, 40:323-328, 1985.
- W. Kurth. Termination und konfluenz von semi-Thue-systemen mit nur einer regel. PhD thesis, Technische Universität Clausthal, Germany, 1990.
- J. C. Lagarias. The 3n + 1 problem and its generalizations. Amer. Math. Monthly, 92:3-23, 1985.
- D.S. Lankford. On proving term rewriting systems are noetherian. Technical report MTP 3, Louisiana Technical University, 1979.
- Z. Manna and S. Ness. On the termination of Markov algorithms. In Proceed- ings of the Third Hawaii International Conference on System Science, pages 789-792, Honolulu, HI, 1970.
- I. Vardi. Computational recreations in Mathematica. Addison-Wesley, 1991.
- J. Waldmann. Matchbox: a tool for match-bounded string rewriting. In V. van Oostrom, editor, Proceedings of the 15th Conference on Rewriting Techniques and Applications (RTA), volume 3091 of Lecture Notes in Computer Science, pages 85-94. Springer, 2004.
- H. Zantema. Termination of term rewriting: Interpretation and type elimina- tion. Journal of Symbolic Computation, 17:23-50, 1994.
- H. Zantema. Termination of term rewriting by semantic labelling. Fundamenta Informaticae, 24:89-105, 1995.
- H. Zantema. Termination. In Term Rewriting Systems, by Terese, pages 181- 259. Cambridge University Press, 2003.
- H. Zantema. Termination of string rewriting proved automatically. Technical Report CS-report 03-14, Eindhoven University of Technology, 2003. Available via http://www.win.tue.nl/inf/onderzoek/en index.html .
- H. Zantema. TORPA: termination of rewriting proved automatically. In V. van Oostrom, editor, Proceedings of the 15th Conference on Rewriting Techniques and Applications (RTA), volume 3091 of Lecture Notes in Computer Science, pages 95-104. Springer, 2004.
- H. Zantema and A. Geser. Non-looping string rewriting. Theoret. Informatics Appl., 33:279-301, 1999.