Jump to content

Normal form (abstract rewriting): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
+"if the ''g'' are applied from the outside in" to avoid confusion - see talk page
Dysprosia (talk | contribs)
let's be precise if we want to make things clearer
Line 1: Line 1:
In considering [[rewriting]] systems, a '''normal form''' is an element of the system which cannot be rewritten any further.
In considering [[rewriting]] systems, a '''normal form''' is an element of the system which cannot be rewritten any further.


Consider the basic term rewriting system with reduction rule ρ : ''g''(''x'', ''y'') → ''x''. The term ''g''(''g''(4, 2), ''g''(3, 1)) has the following reduction sequence (if the ''g'' are applied from the outside in):
Consider the basic term rewriting system with reduction rule ρ : ''g''(''x'', ''y'') → ''x''. The term ''g''(''g''(4, 2), ''g''(3, 1)) has the following reduction sequence, according to the usual outermost [[strategy (term rewriting)|strategy]], that is, if the reduction rule is applied to each outermost occurence of ''g'':
: <math> g(g(4,2), g(3,1)) \rightarrow_\rho g(4,2) \rightarrow_\rho 4</math>
: <math> g(g(4,2), g(3,1)) \rightarrow_\rho g(4,2) \rightarrow_\rho 4</math>
There is no rule that permits us to rewrite 4, so 4 is a normal form for this term rewriting system.
There is no rule that permits us to rewrite 4, so 4 is a normal form for this term rewriting system.

Revision as of 14:10, 27 October 2006

In considering rewriting systems, a normal form is an element of the system which cannot be rewritten any further.

Consider the basic term rewriting system with reduction rule ρ : g(x, y) → x. The term g(g(4, 2), g(3, 1)) has the following reduction sequence, according to the usual outermost strategy, that is, if the reduction rule is applied to each outermost occurence of g:

There is no rule that permits us to rewrite 4, so 4 is a normal form for this term rewriting system.

Related concepts are related to the possibility of rewriting an element into normal form. Weak normalization is defined as the possibility that some element can be rewritten into a normal form. Strong normalization is defined as any reduction sequence starting from some element terminates. We say that the system is weakly normalizing (or strongly normalizing) if all elements are weakly normalizing (or strongly normalizing).

Newman's lemma states that if an abstract reduction system A is strongly normalizing and is weakly confluent, then A is in fact confluent. The result enables us to further generalize the critical pair lemma.