Equational Theories

14 Equation 854

In this chapter we study magmas that obey Definition 2.28, thus

x=x((yz)(xz))
1

for all x,y,z. In particular we have

x=x(xz)2;

substituting z=(xx)2 we have in particular that

x=xx2.
2

We then have

y=y((xy)y2)=(yy2)((xy)y2)

and thus by another application of Equation 1 we conclude the useful law

(xy)y=xy
3

(equation 378). We introduce the notation yx to denote the relation that x=zy for some z, then from Equation 3 we see that

yxx=xy.
4

From Equation 1 we have

(yz)(xz)x
5

for all x,y,z.

Now let X be an alphabet, and MX the free magma. We let Γ be the theory consisting just of the law Equation 1, then as in Theorem 10.2 we have the equivalence relation on MX defined by setting ww iff Γww, then MX/ is a free magma for Γ. We can then also define a directed graph on MX by declaring ww if www for some w, or equivalently (by applying Equation 4 to MX/) that www.

Call a word w irreducible if it is not of the form w=w1w2 with w2w1, and reducible otherwise. Clearly if a word w=w1w2 is reducible, then it is equivalent to the shorter word w1. Iterating, we conclude that every word is equivalent to an irreducible word. Such a word is either a generator in X, or else a product w1w2 with w2w1.

We can describe the words equivalent to an irreducible word as follows.

Theorem 14.1 Description of equivalence

Let w be an irreducible word, and let w be a word equivalent to w.

  • If w is a product w=w1w2, then w takes the form

    w=(((w1w2)v1)vn)

    for some w1w1, w2w2, some n0, and some words v1,,vn such that for all 0i<n, vi+1 is of the form

    vi+1(yizi)(xizi)

    for some xi,yi,zi with

    xi(((w1w2)v1)vi).

    In particular, vi+1xi.

  • Similarly, if w is a generator, then w takes the form

    w=((wv1)vn)

    for some n0, and some words v1,,vn such that for all 0i<n, vi+1 is of the form

    vi+1(yizi)(xizi)

    for some xi,yi,zi with

    xi((wv1)vi).

    In particular, vi+1xi.

Conversely, any word of the above forms is equivalent to w.

Proof

We have two useful corollaries:

Corollary 14.2 Unique factorization
#

Two irreducible words w,w are equivalent if and only if they are either the same generator of X, or are of the form w=w1w2, w=w1w2 with w1w1 and w2w2.

Proof
Corollary 14.3 Description of graph

If w,w are words, then ww holds if and only if w(YZ)(wZ) for some words Y,Z.

Proof

We can now prove some anti-implications.

Theorem 14.4 854 does not imply 3316, 3925
#

The laws

xy=x(y(xy))
6

and

xy=(x(yx))y
7

are not implied by Definition 2.28.

Proof

14.1 Some further properties of 854 magmas

As in the previous section, we write yx if x=xy.

Lemma 14.5 854 equivalences, I

For x,y in a 854 magma, the following are equivalent.

  • (i) yx.

  • (ii) x=xy.

  • (iii) x=zy for some z.

  • (iv) z,xzy for some z.

  • (v) xy2y.

  • (vi) y(xy2)=y.

  • (vii) y=(wz)(xz) for some w,z.

  • (viii) yxy2.

Proof

Introduce the notation yx for xyy.

Lemma 14.6 854 equivalences, II

For x,y in a 854 magma, the following are equivalent.

  • (i) yx.

  • (ii) xyx.

  • (iii) For all z, yz implies xz.

  • (iv) xxy.

Proof
Corollary 14.7
#

The relation is a pre-order, and for each z, the sets {x:xz} are upward closed in this preorder.

14.2 Running a greedy algorithm

Define a partial 854 magma to be a partial function :N×NN obeying the following axioms:

  • (Equation 854) If x,y,zN are such that (yz)(xz) is well-defined, then x((yz)(xz)) is well-defined and equal to x.

  • (Equation 8) If xN are such that xx is well-defined, then x(xx) is well-defined and equal to x.

  • (Equation 101) If x,yN are such that (xy)x is well-defined, then x((xy)x) is well-defined and equal to x.

  • (Equation 46155) If x,yN are such that x(xy) is well-defined, then (xy)(x(xy)) is well-defined and equal to xy.

  • (Equation 378) If x,yN is such that xy is well-defined, then (xy)y is well-defined and equal to xy.

  • (No idempotence) If xN is such that xx is well-defined, then xxx.

  • (Auxiliary law) If x,yN are such that x(xy) is well-defined and equal to x, then x=y.

  • (Unique factorization) If x,y,x,yN are such that xy, xy are well-defined and equal to each other, then at least one of the assertions xy=x, xy=x, or (x,y)=(x,y) is true.

  • (Monotonicity) If x,yN is such that xy is defined, then either xy=x or xy>x,y.

The first five laws are known consequences of 854. The no idempotence law was known for the free magma M854 because it maps to finite magmas without idempotents, such as Z/3Z with law xy=x1x=y. The unique factorization law is also known for the free magma by Corollary 14.2. The auxiliary law is a “leap of faith” that helped close the greedy argument, and the monotonicity property is a technical consequence of the greedy construction that will also help close the argument.

The following observation is key.

Proposition 14.8 Greedy construction
#

Suppose one has a partial 854 magma on N that is only finitely defined, and let a,bG be such that ab is currently undefined. Then it is possible to extend the magma to a larger partial 854 magma, such that ab is now defined.

Proof

Iterating this in the usual fashion, we obtain

Corollary 14.9 854 extension
#

Suppose one has a partial 854 magma on N that is only finitely defined. Then it can be extended to a complete 854 magma that additionally obeys the no idempotence law, the monotonicity law, the auxiliary law, and the unique factorization law.

Proof
Corollary 14.10 854 does not not imply 413
#

There is an 854 magma which does not obey the 413 law x=x(x(x(yx))).

Proof
Corollary 14.11 854 does not not imply 1045
#

There is an 854 magma which does not obey the 1045 law x=x((y(yx))x).

Proof

14.3 The free 854 magma

In this section we explicitly describe the free magma MX,854 on some set X of generators relative to the 854 law.

We recall the free magma MX from Definition 1.2, though to avoid confusion we will denote the magma operation on MX by rather than . Recall that every word w in MX has a length in N, which is zero if w is a generator in X, and is the sum of the lengths of wL and wR plus one if instead w is of the form wLwR for the left and right components wL,wR of w (which are uniquely defined by w). We iterate this notation, for instance wRL is the left-component of wR (if it exists), thus w=wL(wRLwRR) in this case.

We shall shortly define a relation on MX. To motivate this relation, we make the following observation about 854 magmas:

Lemma 14.12 The 854 relation

Let M be an 854 magma, and let be the associated operation, thus xy if yx=y. Then xy holds under any of the following assumptions:

  • (i) y=ax for some a.

  • (ii) x=a(yb) for some a,b with ba.

  • (iii) y=a(xb) for some a,b with ba and xbx.

  • (iv) x=ay for some a,z with za,y.

  • (v) x=ay for some a, with either a=y, a=yz, or y=az for some z.

Proof

Now we define the operation on MX by the following rule.

Definition 14.13 Relation on the free group
#

For x,yMX, we have xy if and only if one of the following holds:

  • (i) x=yR.

  • (ii) y=xRL and xRRxL.

  • (iii) x=yRL, yRRyL, and yRyRL.

  • (iv) y=xR, and there exists z{xLR,xLRL,xRR,xRRL} such that zxL and zxR.

  • (v) y=xR, and one of the claims xL=xR, xL=xRL, or xR=xLL holds.

Here we adopt the convention that a claim can only hold if all terms in it are well-defined, for instance claim (ii) can only hold if xRL is well-defined.

If we define the “max-length” of a claim xy to be the maximum of the length of x and the length of y, we see that the verification of a claim xy only involves claims xy of strictly smaller max-length. Thus this definition is well-defined. We also see that if xy, then exactly one of

x=yR,x=yRL,y=xR,y=xRL
8

hold; in particular, we cannot have xx for any x.

We then define a new operation on MX by the rule xy=x if yx, and xy=xy otherwise. Thus, by definition, yx if and only if xy=x. We then define MX,854 to be the magma generated by X with the operation ; thus, wMX,854 if and only if either wX, or else wL,wRMX,854 and wRwL.

Theorem 14.14 Free 854 magma

The magma MX,854 is a free 854 magma on X.

Proof

With the explicit description of MX,854 we can now refute various laws. Suppose for instance that x,y are generators in X. We cannot have yx (as none of Equation 8 hold), so yxMX,854. We also cannot have yxx (by inspection of the cases in Definition 14.13(iv), Definition 14.13(v)), so x(yx) lies in MX,854. Then x(yx)x (by Equation 8), so x(x(yx)) lies in MX,854; finally, x(x(yx))x (this follows from Definition 14.13(ii) since yxx), so x(x(x(yx))) lies in MX,854. This gives an alternate proof of Corollary 14.10. One can similarly establish Corollary 14.11.