Rewriting system
Definition
A rewriting system is the following data:
- A set called the set of generators or the alphabet (its elements are the letters). The set of words (sequences of finite length) is termed .
- A subset of . Each element of this subset is termed a rewrite
Every rewriting system gives a presentation of a monoid as follows: the generating set is simply , and the set of relations is simply that obtained by declaring that for any pair .
Terminology
Reduction
Given a rewriting system , a reduction for this rewriting system, is a pair such that there exist such that , and .
A reduction is said to be the identity reduction if .
Note that just saying does not mean that the reduction is the identity reduction.
The pair is termed the rewrite rule associated with the reduction.
A reduction is typically denoted as . We often write reductions in sequence. For instance, if is a reduction and is a reduction, then we write:
We may even branch out multiple reductions. For instance, if and are reductions, then we can depict this by a diagram with an arrow from to and an arrow from to .
Irreducible word
An irreducible word is a word such that the only reduction from it (if any) is the identity reduction.
Facts
Properties of rewriting systems
For a full list of properties of rewriting systems, refer: