Book contents
- Frontmatter
- Contents
- Preface
- 1 Motivating Examples
- 2 Abstract Reduction Systems
- 3 Universal Algebra
- 4 Equational Problems
- 5 Termination
- 6 Confluence
- 7 Completion
- 8 Gröbner Bases and Buchberger's Algorithm
- 9 Combination Problems
- 10 Equational Unification
- 11 Extensions
- Appendix 1 Ordered Sets
- Appendix 2 A Bluffer's Guide to ml
- Bibliography
- Index
5 - Termination
Published online by Cambridge University Press: 05 June 2012
- Frontmatter
- Contents
- Preface
- 1 Motivating Examples
- 2 Abstract Reduction Systems
- 3 Universal Algebra
- 4 Equational Problems
- 5 Termination
- 6 Confluence
- 7 Completion
- 8 Gröbner Bases and Buchberger's Algorithm
- 9 Combination Problems
- 10 Equational Unification
- 11 Extensions
- Appendix 1 Ordered Sets
- Appendix 2 A Bluffer's Guide to ml
- Bibliography
- Index
Summary
Termination is an important property of term rewriting systems. For a finite terminating rewrite system, a normal form of a given term can be found by a simple depth-first search. If the system is also confluent, the normal forms are unique, which makes the word problem for the corresponding equational theory decidable. Unfortunately, as shown in the first section of this chapter, termination is an undecidable property of term rewriting systems. This is true even if one allows for only unary function symbols in the rules, or for only one rewrite rule (but then for function symbols of arity greater than 1). In the restricted case of ground rewrite systems, i.e. rewrite systems whose rules must not contain variables, termination becomes decidable, though. In the second section of this chapter, we introduce the notion of a reduction order. These orders are an important tool for proving termination of rewrite systems. The main problem for a given rewrite system is to find an appropriate reduction order that shows its termination. Thus, it is desirable to have a wide range of different possible reduction orders available. In the third and fourth sections of the chapter, we introduce two different ways of defining reduction orders.
The decision problem
First, we show undecidability of the termination problem for term rewriting systems, and then we consider the decidable subcase of right-ground term rewriting systems (which can be treated by a slight generalization of the well-known proof for ground systems).
- Type
- Chapter
- Information
- Term Rewriting and All That , pp. 93 - 133Publisher: Cambridge University PressPrint publication year: 1998