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,c∈Xa,b,c \in X such that a→ba \rightarrow b and a→ca \rightarrow c, there exists d∈Xd \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 t≺xt \prec x if x→ *tx \rightarrow^{*} t and x≠tx \neq t. This relation is transitive if → *\rightarrow^{*} is antisymmetric.

Recall that a subset A⊆XA \subseteq X is ≺\prec-inductive if

∀x:X(∀t:Xt≺x⇒t∈A)⇒x∈A. \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 y≺xy \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={x∈X|∃!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 x∈Xx \in X, suppose the inductive hypothesis is true: that for every t≠xt \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

y≺…≺b≺x,z≺…≺c≺x.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 b≠cb \neq c. Then by local confluence, there is dd with b→ *db \rightarrow^{*} d and c→ *dc \rightarrow^{*} d. We have d≺xd \prec x by transitivity and antisymmetry of → *\rightarrow^{*}, hence ∃!wd→ *w∧Norm(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 i≥Ni \geq N). It is clear that strong normalization implies antisymmetry. Again writing y≺xy \prec x if x→ *yx \rightarrow^{*} y and x≠yx \neq y, strong normalization implies there are no infinite descending chains (no infinite descent)

…≺x 2≺x 1≺x 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 {x∈X|∃!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.