nLab locally confluent relation

Redirected from "local confluence".

Contents

Definition

Let (X,)(X,\rightarrow) be an abstract rewriting system, i.e., a set equipped with a binary relation \rightarrow. Write *\rightarrow^{*} for the reflexive-transitive closure of \rightarrow. We say that \rightarrow is locally confluent, alternatively is Church-Rosser, iff for every a,b,cXa,b,c \in X such that aba \rightarrow b and aca \rightarrow c, there exists dXd \in X such that b *db \rightarrow^{*} d and c *dc \rightarrow^{*} d.

Relation to inductive sets

Given an abstract rewriting system, notated as above, let \prec denote the relation whereby txt \prec x if x *tx \rightarrow^{*} t and xtx \neq t. This relation is transitive if *\rightarrow^{*} is antisymmetric.

Recall that a subset AXA \subseteq X is \prec-inductive if

x:X(t:XtxtA)xA. \forall x\colon X\; (\forall t\colon X\; t \prec x \;\Rightarrow\; t \in A) \;\Rightarrow\; x \in A.

Define an element xx to be normal if x *yx \rightarrow^{*} y implies x=yx = y. Equivalently, xx is normal if there is no yy for which yxy \prec x. Write Norm(x)Norm(x) for the predicate “xx is normal”.

Proposition

In a locally confluent rewriting system (X,)(X, \rightarrow), and under the assumption that *\rightarrow^{*} is antisymmetric, the set

A={xX|!y(x *y)Norm(y)}A = \{x \in X|\exists ! y\; (x \rightarrow^{*} y) \wedge Norm(y)\}

is a \prec-inductive set.

Proof

For given xXx \in X, suppose the inductive hypothesis is true: that for every txt \neq x with x *tx \rightarrow^{*} t, there is a unique normal yy such that t *yt \rightarrow^{*} y. Then by transitivity x *yx \rightarrow^{*} y, so x *yx \rightarrow^{*} y for at least one normal yy. If x *yx \rightarrow^{*} y and x *zx \rightarrow^{*} z and y,zy, z are normal, then there are chains

ybx,zcx.y \prec \ldots \prec b \prec x, \qquad z \prec \ldots \prec c \prec x.

Note that b=cb = c implies y=zy = z by inductive hypothesis, so assume instead bcb \neq c. Then by local confluence, there is dd with b *db \rightarrow^{*} d and c *dc \rightarrow^{*} d. We have dxd \prec x by transitivity and antisymmetry of *\rightarrow^{*}, hence !wd *wNorm(w)\exists ! w\; d \rightarrow^{*} w \wedge Norm(w) by inductive hypothesis. Since also b *wb \rightarrow^{*} w, we have y=wy = w by the uniqueness clause for yy. Similarly z=wz = w, so y=zy = z. Hence x*yx \rightarrow{*} y for a unique normal yy, and the induction goes through.

Call an abstract rewriting system (X,)(X, \rightarrow) strongly normalizing if *\rightarrow^{*} satisfies the ascending chain condition, i.e., if any countably infinite chain

x 0 *x 1 *x 2 *x_0 \rightarrow^{*} x_1 \rightarrow^{*} x_2 \rightarrow^{*} \ldots

eventually stabilizes (for some NN, x i=x i+1x_i = x_{i+1} for all iNi \geq N). It is clear that strong normalization implies antisymmetry. Again writing yxy \prec x if x *yx \rightarrow^{*} y and xyx \neq y, strong normalization implies there are no infinite descending chains (no infinite descent)

x 2x 1x 0.\ldots \prec x_2 \prec x_1 \prec x_0.

In other words, \prec is a well-founded relation (assuming classical logic).

Theorem

(Newman’s lemma) An abstract rewriting system that is locally confluent and strongly normalizing has the property that for every element xx there is a unique normal element yy for which x *yx \rightarrow^{*} y.

Proof

By Proposition , the set {xX|!y(x *y)Norm(y)}\{x \in X|\exists ! y\; (x \rightarrow^{*} y) \wedge Norm(y)\} is \prec-inductive, and since \prec is well-founded under the strong normalization hypothesis, this set is the entirety of XX.

References

  • Franz Baader, Tobias Nipkow: Term Rewriting and All That, Cambridge University Press (1998) [doi:10.1017/CBO9781139172752]

  • M.H.A. Newman, On theories with a combinatorial definition of “equivalence”, Annals of Mathematics, 43(2):223–243, 1942.

  • Wikipedia, Newman’s lemma. link

Last revised on June 29, 2025 at 11:59:05. See the history of this page for a list of all contributions to it.