TOPICS
Search

Critical Pair


A critical pair for two rules x->y and u->v of a term rewriting system is the pair consisting of ytheta and the result of replacing x_1theta in xtheta by vtheta, where x_1 is a nonvariable subterm of x (possibly x itself) and (x_1,u) has most general unifier theta. The two rules are taken to have no variables in common, with variables renamed when necessary.

The fact that all critical pairs of a term rewriting system are joinable, i.e., can be reduced to the same expression, implies that the system is locally confluent.

For instance, if f(x,x)->x and g(f(x,y),x)->h(x), then g(x,x) and h(x) would form a critical pair because they can both be derived from g(f(x,x),x).

Note that it is possible for a critical pair to be produced by one rule, used in two different ways. For instance, in the string rewrite "AA" -> "B", the critical pair ("BA", "AB") results from applying the one rule to "AAA" in two different ways.


See also

Church-Rosser Property, Confluent, Finitely Terminating, Knuth-Bendix Completion Algorithm, Reduction Order, Term Rewriting System

Portions of this entry contributed by Todd Rowland

Portions of this entry contributed by Alex Sakharov (author's link)

Explore with Wolfram|Alpha

References

Baader, F. and Nipkow, T. Term Rewriting and All That. Cambridge, England: Cambridge University Press, 1999.Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, p. 1037, 2002.

Referenced on Wolfram|Alpha

Critical Pair

Cite this as:

Weisstein, Eric W., with contributions by Todd Rowland and Alex Sakharov. "Critical Pair." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/CriticalPair.html

Subject classifications