14 Equation 854
In this chapter we study magmas that obey Definition 2.28, thus
for all . In particular we have
substituting we have in particular that
We then have
and thus by another application of Equation 1 we conclude the useful law
(equation 378). We introduce the notation to denote the relation that for some , then from Equation 3 we see that
From Equation 1 we have
for all .
Now let be an alphabet, and 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 defined by setting iff , then is a free magma for . We can then also define a directed graph on by declaring if for some , or equivalently (by applying Equation 4 to ) that .
Call a word irreducible if it is not of the form with , and reducible otherwise. Clearly if a word is reducible, then it is equivalent to the shorter word . Iterating, we conclude that every word is equivalent to an irreducible word. Such a word is either a generator in , or else a product with .
We can describe the words equivalent to an irreducible word as follows.
Theorem
14.1
Description of equivalence
Let be an irreducible word, and let be a word equivalent to .
If is a product , then takes the form
for some , , some , and some words such that for all , is of the form
for some with
In particular, .
Similarly, if is a generator, then takes the form
for some , and some words such that for all , is of the form
for some with
In particular, .
Conversely, any word of the above forms is equivalent to .
Proof
▶
We just verify claim (i), as claim (ii) is similar. The converse direction is clear from Equation 5 (after quotienting down to ), so it suffices to prove the forward claim. By Theorem 1.8, it suffices to prove that the class of words described by (i) is preserved by any term rewriting operation, in which a term in the word is replaced by an equivalent term using Equation 1. Clearly the term is in or then the form of the word is preserved, and similarly if the term is in one of the . The only remaining case is if we are rewriting a term of the form
If we can rewrite this term down to , and this still preserves the required form (decrementing by one). If then we cannot perform such a rewriting because of the irreducibility of and hence . Finally, we can rewrite to where is of the form
and after some relabeling we are again of the required form (now incrementing by one).
We have two useful corollaries:
Corollary
14.2
Unique factorization
Two irreducible words are equivalent if and only if they are either the same generator of , or are of the form , with and .
Corollary
14.3
Description of graph
If are words, then holds if and only if for some words .
Proof
▶
By replacing with irreducible equivalents, we may assume without loss of generality that are irreducible. By hypothesis, is equivalent to . The claim now follows from Theorem 14.1.
We can now prove some anti-implications.
Theorem
14.4
854 does not imply 3316, 3925
The laws
and
are not implied by Definition 2.28.
Proof
▶
We work in the free group on two generators . It suffices to show that
and
We begin with the first claim. Suppose this were not the case, then by Corollary 14.2 one of the following statements must hold:
If (i) holds, then we have (Equation 4) in , hence in every magma obeying Definition 2.28. But we have examples of such magmas in which this fails.
Similarly, if (iii) holds, then (Equation 10) holds in , hence in every magma obeying Definition 2.28. But we have examples of such magmas in which this fails.
Finally, if (ii) holds, then the claim
to refute simplifies to
and we are back to (i), which we already know not to be the case.
For the latter equation, we similarly have the cases
(iv) is (i), which was already ruled out, and (vi) is similarly a relabeled version of (iii). In case (v) holds, the claim to refute simplifies to
and using Corollary 14.2 we reduce to either , , or , and each of these is already known to fail.
14.1 Some further properties of 854 magmas
As in the previous section, we write if .
Lemma
14.5
854 equivalences, I
For in a 854 magma, the following are equivalent.
(i) .
(ii) .
(iii) for some .
(iv) for some .
(v) .
(vi) .
(vii) for some .
(viii) .
Proof
▶
The equivalence of (i) and (ii), or (v) and (vi), is by definition. (iii) trivially implies (ii), and the converse comes from Equation 3. Using Equation 2 we see that (v) implies (iv). If (iv) is true, then , giving (vii). From Equation 1 we see that (vii) implies (ii). If (ii) is true, then , giving (vi). Finally, to show the equivalence of (i) and (viii), use the already established equivalence of (i) and (v), together with Equation 3 which gives .
Introduce the notation for .
Lemma
14.6
854 equivalences, II
For in a 854 magma, the following are equivalent.
Proof
▶
The equivalence of (i) and (ii) is by definition. If (ii) holds and , then by Lemma 14.5 we have and for some , hence
giving the desired claim . Now if (iii) holds, note from Lemma 14.5 that , hence by (iii), so that , giving (iv). Finally, if (iv) holds, note that
and hence by (iv) , giving (ii).
Corollary
14.7
The relation is a pre-order, and for each , the sets are upward closed in this preorder.
14.2 Running a greedy algorithm
Define a partial 854 magma to be a partial function obeying the following axioms:
(Equation 854) If are such that is well-defined, then is well-defined and equal to .
(Equation 8) If are such that is well-defined, then is well-defined and equal to .
(Equation 101) If are such that is well-defined, then is well-defined and equal to .
(Equation 46155) If are such that is well-defined, then is well-defined and equal to .
(Equation 378) If is such that is well-defined, then is well-defined and equal to .
(No idempotence) If is such that is well-defined, then .
(Auxiliary law) If are such that is well-defined and equal to , then .
(Unique factorization) If are such that , are well-defined and equal to each other, then at least one of the assertions , , or is true.
(Monotonicity) If is such that is defined, then either or .
The first five laws are known consequences of 854. The no idempotence law was known for the free magma because it maps to finite magmas without idempotents, such as with law . 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 that is only finitely defined, and let be such that is currently undefined. Then it is possible to extend the magma to a larger partial 854 magma, such that is now defined.
Proof
▶
Define a directed graph by writing if is defined and equal to . By Equation 378, we see that if and only if is well-defined and equal to for some .
From unique factorization, we see that has at most one representation of the form with , or equivalently . We define accordingly if such a representation exists, otherwise we leave undefined. We say that is relevant if . Note that this forces since . Also, if exist, we see from monotonicity that .
Let be a natural number that is larger than any number appearing in anywhere in the partial 854 magma multiplication table (in particular it is larger than , as well as if they are defined). We then extend the multiplication table by defining , , and . If exists and is relevant, we also define . Finally, if exists and is relevant, and additionally , then we also define . We remark that all new entries added are of the left absorptive form , except for .
We now verify that all of the axioms of a partial 854 magma continue to hold. We begin with all the axioms except for 854:
Monotonicity: Observe that all the new values of the multiplication table introduced are either equal to , or larger than both and , so the monotonicity property is preserved.
Unique factorization: the only way unique factorization breaks is if there is an element that has two distinct factorizations with neither nor a left absorptive product. Since the only non-left-absorptive product introduced is , and has no prior representation as a product, we see that the unique factorization property is preserved.
No idempotence: The only possible product that could be introduced here is if , but in that case is clearly not equal to , so the no idempotence property is preserved.
Equation 8: If were already defined in the previous magma, the claim would already be established, so must be one of the new products , , , , or . As , the only option is , but then , as required.
Equation 101: By Equation 8, we may assume , which implies since whenever the left-hand side is defined. We can also assume , since we have whenever the left-hand side is defined. If , then ; as is well-defined, is then either equal to , or equal to if the latter exists and is relevant. But the second case cannot occur since , so we have , and then , giving the claim. So we may assume . If , then was already defined in the original partial magma, and the claim follows from Equation 101; hence we may assume , then , giving the claim.
Equation 46155: By Equation 8, we may assume and hence as before. The case is not possible, as this forces and then is undefined. If , then ; in order for to be defined, either or with relevant, but the latter is impossible since ; thus and , giving the claim. Thus we may assume . If then was already defined in the original partial magma, and the claim follows from Equation 46155; hence we may assume , and we have , giving the claim.
Equation 378: We can assume , since the claim is trivial otherwise. This rules out the and cases. The only new case is then if , but forces , and then , giving the claim.
Auxiliary law: if , then the only possible value for is , and is undefined, contradiction; thus . If , then the only possible value for is , and then cannot equal by the no idempotence law. Thus . Since is not equal to , is not equal to . If , then both and were already defined in the original partial magma, and the claim follows from the auxiliary law for that magma. Thus we may assume , in which case , hence by construction either or . If then we are done. If , then cannot be relevant, and then remains undefined, a contradiction.
Now we tackle the most difficult verification, which is 854. This splits into a large number of cases.
Case 1: . Then can only equal , hence equals or ; and can also only equal or , and is equal to . If , then we are done since . If , then needs to be defined, so is relevant. Furthermore, from equation 378 we have , hence by the no idempotence property must equal , so , and hence , giving the claim.
Case 2: , . This forces with and , thus is well-defined and we need well-defined and equal to . If , this follows from Equation 8; otherwise, either and or and , and the claim follows from Equation 101 or Equation 46155 respectively.
Case 3: , . Then must equal or , must equal , and must equal or , and must equal , with the options only available if is relevant. If then by equation 378, , contradicting the no idempotence law. Thus we either have or , and in either case must be relevant. If , then either have , or and is relevant, and in either case we have as required. So we may assume . In the case we may then apply unique factorization to conclude that and , thus as required. In the opposite case , with , we see from monotonicity that ; but from monotonicity again , a contradiction.
Case 4: , . Here, and must equal , and must then equal or , with the latter an option only if is relevant. If , then by Equation 378, , contradicting idempotence, thus and is relevant, and then by Equation 378 again. If , then , and the claim follows since , so we may assume . By monotonicity, this forces and , a contradiction.
Case 5: , , . Now , and must equal or . If , then by Equation 378, , contradicting idempotence, thus and is relevant, and then by Equation 378 again, so . By the auxiliary law, this forces , so , and then we are done since .
Case 6: , , . Here and . If , then and we are done since . If , then by unique factorization applied to we have . By Equation 378, we have , hence , so is relevant. We are now done since .
Case 7: , . In this case would already have been defined and equal to in the previous partial magma, thanks to Equation 854.
Iterating this in the usual fashion, we obtain
Corollary
14.9
854 extension
Suppose one has a partial 854 magma on 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
▶
Apply the usual greedy algorithm.
Corollary
14.10
854 does not not imply 413
There is an 854 magma which does not obey the 413 law .
Proof
▶
Create a partial magma by imposing the laws , , , . One can check that this is a partial magma. We then extend it to a global magma using Corollary 14.9. We claim that we have the 413 violation
or equivalently
Indeed this is immediate from the auxiliary law.
Corollary
14.11
854 does not not imply 1045
There is an 854 magma which does not obey the 1045 law .
Proof
▶
Similar to previous, but start with the seed
which already violates the law with , and can be verified to be a partial 854 magma.
14.3 The free 854 magma
In this section we explicitly describe the free magma on some set of generators relative to the 854 law.
We recall the free magma from Definition 1.2, though to avoid confusion we will denote the magma operation on by rather than . Recall that every word in has a length in , which is zero if is a generator in , and is the sum of the lengths of and plus one if instead is of the form for the left and right components of (which are uniquely defined by ). We iterate this notation, for instance is the left-component of (if it exists), thus in this case.
We shall shortly define a relation on . To motivate this relation, we make the following observation about 854 magmas:
Lemma
14.12
The 854 relation
Let be an magma, and let be the associated operation, thus if . Then holds under any of the following assumptions:
(i) for some .
(ii) for some with .
(iii) for some with and .
(iv) for some with .
(v) for some , with either , , or for some .
Proof
▶
Case (i) follows from Equation 3. For (ii), we observe
as required. For (iii), we see from (ii) that , and from (i) we have , and then
as required. For (iv), we have
as required. Finally, for (v), in the case we have from Equation 2 that
in the case we have from Equation 2 that
and finally in the case we have from Equation 2 that
so the claim follows in all cases.
Now we define the operation on by the following rule.
Definition
14.13
Relation on the free group
For , we have if and only if one of the following holds:
(i) .
(ii) and .
(iii) , , and .
(iv) , and there exists such that and .
(v) , and one of the claims , , or 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 is well-defined.
If we define the “max-length” of a claim to be the maximum of the length of and the length of , we see that the verification of a claim only involves claims of strictly smaller max-length. Thus this definition is well-defined. We also see that if , then exactly one of
hold; in particular, we cannot have for any .
We then define a new operation on by the rule if , and otherwise. Thus, by definition, if and only if . We then define to be the magma generated by with the operation ; thus, if and only if either , or else and .
Theorem
14.14
Free 854 magma
The magma is a free 854 magma on .
Proof
▶
Let be a function from to an magma , then is a homomorphism from (with the operation ) to . We claim that the restriction of to is a homomorphism from (with operation ) to . Since was already a homomorphism for , it suffices to show that preserves : that is to say, for any , that implies . By definition, one of the five scenarios (i)-(v) in Definition 14.13 holds, and in each case one can establish the claim from the corresponding claim of Lemma 14.12 and an induction on the max-length of the claim .
It remains to show that actually obeys 854, that is to say that
for all . Writing , we have by Definition 14.13(i), and we need to show that . We divide into four cases.
Case 1: , . Here we have and . We now have and , and we need to show that .
From Equation 8 we know that one of
holds, one of
holds, and one of
holds.
We split into subcases using Equation 11.
If then the claim follows from Definition 14.13(i).
If then from Definition 14.13(iii) we have , and then the claim follows from Definition 14.13(ii).
If , then by Definition 14.13(ii) and from Definition 14.13(iii) we will be done if we can show that . If then this follows from . The claim is not compatible with Equation 9, since in that case. If then , and this is only compatible with Equation 9 if , thus and for some . In order to have in Equation 11, we must have by Definition 14.13(iii), but then would not lie in , a contradiction.
If , then we cannot then have as then which is incompatible with Equation 10. If then by Definition 14.13(ii), and the only available options from Equation 10 are and . For we have and for some with . Since as well by Definition 14.13(i), and , we obtain as required from Definition 14.13(iv).
Case 2: , . We now have , and we need to show that . From Equation 8 we know that one of
holds, and that one of
holds.
We split into cases depending on Equation 12.
If then , which is incompatible with Equation 13.
If then and by Definition 14.13(ii). Only the first two possibilities of Equation 13 are compatible with . In the first case we are done since and . In the second case, we have for some with (from Definition 14.13(ii) and ), but then will not lie in , contradiction.
If then is longer than and . Comparing this with Equation 13 we see that the only compatible option is , thus , and then and by Definition 14.13(iii), and the claim follows from Definition 14.13(ii).
If , then for some . Then , , and are all longer than and none of the options in Equation 13 can hold, a contradiction.
Case 3: , . We now have , and we need to show that .
If , then the claim follows from Definition 14.13(iv), so we may assume that this is not the case. By Equation 8, we then know that one of
holds, and also one of
holds. Thus, we either have one of
But in any of these three cases the claim follows from Definition 14.13(v).
Case 4: , . Then and , so the claim follows from Definition 14.13(ii). □
With the explicit description of we can now refute various laws. Suppose for instance that are generators in . We cannot have (as none of Equation 8 hold), so . We also cannot have (by inspection of the cases in Definition 14.13(iv), Definition 14.13(v)), so lies in . Then (by Equation 8), so lies in ; finally, (this follows from Definition 14.13(ii) since ), so lies in . This gives an alternate proof of Corollary 14.10. One can similarly establish Corollary 14.11.