Overlap (term rewriting)

In mathematics, computer science and logic, overlap, as a property of the reduction rules in term rewriting system, describes a situation where a number of different reduction rules specify potentially contradictory ways of reducing a reducible expression, also known as a redex, within a term.[1]

More precisely, if a number of different reduction rules share function symbols on the left-hand side, overlap can occur. Often we do not consider trivial overlap with a redex and itself.

Examples

Consider the term rewriting system defined by the following reduction rules:

The term can be reduced via ρ1 to yield y, but it can also be reduced via ρ2 to yield . Note how the redex is contained in the redex . The result of reducing different redexes is described in a what is known as a critical pair; the critical pair arising out of this term rewriting system is .

Overlap may occur with fewer than two reduction rules.

Consider the term rewriting system defined by the following reduction rule:

The term has overlapping redexes, which can be either applied to the innermost occurrence or to the outermost occurrence of the term.

gollark: https://media.discordapp.net/attachments/800373244162867234/835838133119483965/Ezz_NEzUUAQg0FW.jpg
gollark: Technically, about 1/365 of the world (yes I am ignoring the yearly variations in this and also leap years) has this as their birthday.
gollark: https://media.discordapp.net/attachments/800373244162867234/834118984370487366/unknown.png
gollark: Yes, it is IN NO WAY subliminal pizza advertising because I DO NOT work for pizza companies in any form.
gollark: And you are isomorphic to 26 dodecahedra.

See also

References

  1. Marc Bezem; Jan Willem Klop; Roel de Vrijer (2003). Term Rewriting Systems. Cambridge Tracts in Theoretical Computer Science. Cambridge, UK: Cambridge University Press. p. 48. ISBN 0-521-39115-6.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.