In mathematics, in the areas of group theory and combinatorics, Hall words provide a unique monoid factorisation of the free monoid. They are also totally ordered, and thus provide a total order on the monoid. This is analogous to the better-known case of Lyndon words; in fact, the Lyndon words are a special case, and almost all properties possessed by Lyndon words carry over to Hall words. Hall words are in one-to-one correspondence with Hall trees. These are binary trees; taken together, they form the Hall set. This set is a particular totally ordered subset of a free non-associative algebra, that is, a free magma. In this form, the Hall trees provide a basis for free Lie algebras, and can be used to perform the commutations required by the Poincaré–Birkhoff–Witt theorem used in the construction of a universal enveloping algebra. As such, this generalizes the same process when done with the Lyndon words. Hall trees can also be used to give a total order to the elements of a group, via the commutator collecting process, which is a special case of the general construction given below. It can be shown that Lazard sets coincide with Hall sets.
The historical development runs in reverse order from the above description. The commutator collecting process was described first, in 1934, by Philip Hall and explored in 1937 by Wilhelm Magnus.[1] Hall sets were introduced by Marshall Hall based on work of Philip Hall on groups. Subsequently, Wilhelm Magnus showed that they arise as the graded Lie algebra associated with the filtration on a free group given by the lower central series. This correspondence was motivated by commutator identities in group theory due to Philip Hall and Ernst Witt.
The setting for this article is the free magma in
n
n
\bullet
(a\bulletb)\bulletc
a\bullet(b\bulletc)
In this way, the magma operator
\bullet
a\bulletb\mapsto[a,b]=ab-ba
a\bulletb\mapstoaba-1b-1
\bullet
ab
(a\bulletb)
(ab)c\nea(bc)
a
(a)
[a,b]
ab
The Hall set is a totally ordered subset of a free non-associative algebra, that is, a free magma. Let
A={a1,\ldots,an}
M(A)
A
A
A
The Hall set
H\subseteqM(A)
A
A\subseteqH.
[x,y]\inH
x\inH
y\inH
x>y
x\inA
y\inA
x=[u,v]
u\inH
v\inH
v\ley
y<[x,y]
The construction and notation used below are nearly identical to that used in the commutator collecting process, and so can be directly compared; the weights are the string-lengths. The difference is that no mention of groups is required. These definitions all coincide with that of X. Viennot.[2] Note that some authors reverse the order of the inequality. Note also that one of the conditions, the
v\ley
Consider the generating set with two elements
\{a,b\}.
a>b
xy
[x,y]
\begin{align} &b,a,\\ &ab,\\ &(ab)b, (ab)a,\\ &((ab)b)b, ((ab)b)a, ((ab)a)a,\\ &(((ab)b)b)b, (((ab)b)b)a, (((ab)b)a)a, (((ab)a)a)a, ((ab)b)(ab), ((ab)a)(ab),\\ & … \end{align}
Notice that there are
2,1,2,3,6,\ldots
A basic result is that the number of elements of length
k
n
Mn(k) = {1\overk}\sumd|k\mu\left({k\overd}\right)nd={1\overk}\sumd|k\mu\left({d}\right)nk/d
\mu
Some basic definitions are useful. Given a tree
t=[x,y]
x
y
y
x
y
y
y
A basic lemma is that if
v
t=[x,y]
v\ley.
Hall words are obtained from the Hall set by "forgetting" the commutator brackets, but otherwise keeping the notion of total order. It turns out that this "forgetting" is harmless, as the corresponding Hall tree can be deduced from the word, and it is unique. That is, the Hall words are in one-to-one correspondence with the Hall trees. The total order on the Hall trees passes over to a total order on the Hall words.
A*
A*
More precisely, every word
w\inA*
w=h1h2 … hk
hj
h1\leh2\le … \lehk.
In this way, the Hall word ordering extends to a total order on the monoid. The lemmas and theorems required to provide the word-to-tree correspondence, and the unique ordering, are sketched below.
The foliage of a magma
M(A)
f:M(A)\toA*
A*
f:a\mapstoa
a\inA
f:[x,y]\mapstof(x)f(y)
Let
t=[x,y]\inH
w=f([x,y])
w=uv
u
v
u=f(x1) … f(xm)
v=f(y1) … f(yn)
x1,\ldots,xm>y1
y1\ley2\le … \leyn\ley.
This and the subsequent development below are given by Guy Melançon.[3]
The converse to the above factorization establishes the correspondence between Hall words and Hall trees. This can be stated in the following interesting form: if
t
f(t)
f(t)=f(t1) … f(tn)
f(t1)\le … \lef(tn)
n=1
The total order on Hall trees passes over to Hall words. Thus, given a Hall word
w=f([x,y])
w=f(x)f(y)
f(x)>f(y)
A sequence of Hall words
(w1,w2,\ldots,wn)
wi
wi=uivi
vi\lewi+1, … ,wn.
The unique factorization of any word
w\inA*
w=h1h2 … hk
h1\leh2\le … \lehk
A drop in a sequence
(h1,h2,\ldots,hn)
(hi,hi+1)
hi>hi+1.
hi+1\lehi+2,\ldots,hn.
Given a standard sequence with a legal drop, there are two distinct rewrite rules that create new standard sequences. One concatenates the two words in the drop:
(h1,h2,\ldots,hn)\to(h1,h2,\ldots,hihi+1,\ldots,hn)
while the other permutes the two elements in the drop:
(h1,h2,\ldots,hn)\to(h1,h2,\ldots,hi-1,hi+1,hi,hi+2,\ldots,hn)
It is not hard to show that both rewrites result in a new standard sequence. In general, it is most convenient to apply the rewrite to the right-most legal drop; however, it can be shown that the rewrite is confluent, and so one obtains the same results no matter what the order.
A total order can be provided on the words
w\inA*.
u,v
u=u1u2 … um
v=v1v2 … vn
ui,vj
u<v
m<n
u1=v1,u2=v2, … ,um=vm
u1=v1,u2=v2,\ldots,uk=vk
uk+1<vk+1.
Hall words have a number of curious properties, many of them nearly identical to those for Lyndon words. The first and most important property is that Lyndon words are a special case of Hall words. That is, the definition of a Lyndon word satisfies the definition of the Hall word. This can be readily verified by direct comparison; note that the direction of the inequality used in the definitions above is exactly the reverse of that used in the customary definition for Lyndon words. The set of Lyndon trees (which follow from the standard factorization) is a Hall set.
Other properties include:
w=xn
x\inA*
n>1
w\inA*
w=uv
w>vu
w\inA*
w\inA*
w
w=uv
vu
w\inA*
There is a similar term rewriting system for Lyndon words, this is how the factorization of a monoid is accomplished with Lyndon words.
Because the Hall words can be placed into Hall trees, and each Hall tree can be interpreted as a commutator, the term rewrite can be used to perform the commutator collecting process on a group.
Another very important application of the rewrite rule is to perform the commutations that appear in the Poincaré–Birkhoff–Witt theorem. A detailed discussion of the commutation is provided in the article on universal enveloping algebras. Note that term rewriting with Lyndon words can also be used to obtain the needed commutation for the PBW theorem.[4]
Hall sets were introduced by Marshall Hall based on work of Philip Hall on groups. Subsequently, Wilhelm Magnus showed that they arise as the graded Lie algebra associated with the filtration on a free group given by the lower central series. This correspondence was motivated by commutator identities in group theory due to Philip Hall and Ernst Witt.