Rewriting system

From Groupprops
Revision as of 14:17, 28 May 2007 by Vipul (talk | contribs)

Definition

A rewriting system (Σ,R) 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 R 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 u=v for any pair (u,v)R.

Terminology

Reduction

Given a rewriting system (Σ,R), a reduction for this rewriting system, is a pair (u,v)Σ*×Σ* such that there exist a,l,b,rΣ* such that (l,r)R, u=alb and v=arb.


A reduction is said to be the identity reduction if l=r.

Note that just saying u=v does not mean that the reduction is the identity reduction.

The pair (l,r) is termed the rewrite rule associated with the reduction.

A reduction (u,v) is typically denoted as uv. We often write reductions in sequence. For instance, if (u,v) is a reduction and (v,w) is a reduction, then we write:

uvw

We may even branch out multiple reductions. For instance, if (u,v1) and (u,v2) are reductions, then we can depict this by a diagram with an arrow from u to v1 and an arrow from u to v2.

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:

Category:Properties of rewriting systems