Hall word

From HandWiki
Short description: Construction providing a total order on a free monoid

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][2] Hall sets were introduced by Marshall Hall based on work of Philip Hall on groups.[3] 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.

Notational preliminaries

The setting for this article is the free magma in [math]\displaystyle{ n }[/math] generators. This is simply a set containing [math]\displaystyle{ n }[/math] elements, along with a binary operator [math]\displaystyle{ \bullet }[/math] that allows any two elements to be juxtaposed, next to each other. The juxtaposition is taken to be non-associative and non-commutative, so that parenthesis must necessarily be used, when juxtaposing three or more elements. Thus, for example, [math]\displaystyle{ (a\bullet b) \bullet c }[/math] is not the same as [math]\displaystyle{ a\bullet (b \bullet c) }[/math].

In this way, the magma operator [math]\displaystyle{ \bullet }[/math] provides a convenient stand-in for any other desired binary operator that might have additional properties, such as group or algebra commutators. Thus, for example, the magma juxtaposition can be mapped to the commutator of a non-commutative algebra:

[math]\displaystyle{ a\bullet b \mapsto [a,b]=ab-ba }[/math]

or to a group commutator:

[math]\displaystyle{ a\bullet b \mapsto aba^{-1}b^{-1} }[/math]

The above two maps are just magma homomorphisms, in the conventional sense of a homomorphism; the objects on the right just happen to have more structure than a magma does. To avoid the awkward typographical mess that is [math]\displaystyle{ \bullet }[/math], it is conventional to just write [math]\displaystyle{ ab }[/math] for [math]\displaystyle{ (a\bullet b) }[/math]. The use of parenthesis is mandatory, however, since [math]\displaystyle{ (ab)c\ne a(bc) }[/math] as already noted. If [math]\displaystyle{ a }[/math] is a compound object, one might sometimes write [math]\displaystyle{ (a) }[/math] as needed, to disambiguate usage. Of course, one can also write [math]\displaystyle{ [a,b] }[/math] in place of [math]\displaystyle{ ab }[/math], but this can lead to a proliferation of square brackets and commas. Keeping this in mind, one can otherwise be fluid in the notation.

Hall set

The Hall set is a totally ordered subset of a free non-associative algebra, that is, a free magma. Let [math]\displaystyle{ A={a_1,\ldots,a_n} }[/math] be a set of generators, and let [math]\displaystyle{ M(A) }[/math] be the free magma over [math]\displaystyle{ A }[/math]. The free magma is simply the set of non-associative strings in the letters of [math]\displaystyle{ A }[/math], with parenthesis retained to show grouping. Parenthesis may be written with square brackets, so that elements of the free magma may be viewed as formal commutators. Equivalently, the free magma is the set of all binary trees with leaves marked by elements of [math]\displaystyle{ A }[/math].

The Hall set [math]\displaystyle{ H\subseteq M(A) }[/math] can be constructed recursively (in increasing order) as follows:

  • The elements of [math]\displaystyle{ A }[/math] are given an arbitrary total order.
  • The Hall set contains the generators: [math]\displaystyle{ A\subseteq H. }[/math]
  • A formal commutator [math]\displaystyle{ [x,y]\in H }[/math] if and only if [math]\displaystyle{ x\in H }[/math] and [math]\displaystyle{ y\in H }[/math] and [math]\displaystyle{ x\gt y }[/math] and:
    • Either [math]\displaystyle{ x\in A }[/math] (and thus [math]\displaystyle{ y\in A }[/math]),
    • Or [math]\displaystyle{ x=[u,v] }[/math] with [math]\displaystyle{ u\in H }[/math] and [math]\displaystyle{ v\in H }[/math] and [math]\displaystyle{ v\le y }[/math].
  • The commutators can be ordered arbitrarily, provided that [math]\displaystyle{ y \lt [x,y] }[/math] always holds.

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.[4] Note that some authors reverse the order of the inequality. Note also that one of the conditions, the [math]\displaystyle{ v\le y }[/math], may feel "backwards"; this "backwardness" is what provides the descending order required for factorization. Reversing the inequality does not reverse this "backwardness".

Example

Consider the generating set with two elements [math]\displaystyle{ \{a,b\}. }[/math] Define [math]\displaystyle{ a\gt b }[/math] and write [math]\displaystyle{ xy }[/math] for [math]\displaystyle{ [x,y] }[/math] to simplify notation, using parenthesis only as needed. The initial members of the Hall set are then (in order)

[math]\displaystyle{ \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), \\ & \cdots \end{align} }[/math]

Notice that there are [math]\displaystyle{ 2,1,2,3,6,\ldots }[/math] elements of each distinct length. This is the beginning sequence of the necklace polynomial in two elements (described next, below).

Combinatorics

A basic result is that the number of elements of length [math]\displaystyle{ k }[/math] in the Hall set (over [math]\displaystyle{ n }[/math] generators) is given by the necklace polynomial

[math]\displaystyle{ M_n(k) \ =\ {1\over k}\sum_{d\,|\,k}\mu\!\left({k \over d}\right)n^d = {1\over k}\sum_{d\,|\,k}\mu\!\left({d}\right)n^{k/d} }[/math]

where [math]\displaystyle{ \mu }[/math] is the classic Möbius function. The sum is a Dirichlet convolution.

Definitions and Lemmas

Some basic definitions are useful. Given a tree [math]\displaystyle{ t=[x,y] }[/math], the element [math]\displaystyle{ x }[/math] is called the immediate left subtree, and likewise, [math]\displaystyle{ y }[/math] is the immediate right subtree. A right subtree is either [math]\displaystyle{ y }[/math] itself, or a right subtree of either [math]\displaystyle{ x }[/math] or [math]\displaystyle{ y }[/math]. An extreme right subtree is either [math]\displaystyle{ y }[/math] itself or an extreme right subtree of [math]\displaystyle{ y }[/math].

A basic lemma is that if [math]\displaystyle{ v }[/math] is a right subtree of a Hall tree [math]\displaystyle{ t=[x,y] }[/math], then [math]\displaystyle{ v\le y. }[/math]

Hall words

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.

This correspondence allows a monoid factorisation: given the free monoid [math]\displaystyle{ A^* }[/math], any element of [math]\displaystyle{ A^* }[/math] can be uniquely factorized into a ascending sequence of Hall words. This is analogous to, and generalizes the better-known case of factorization with Lyndon words provided by the Chen–Fox–Lyndon theorem.

More precisely, every word [math]\displaystyle{ w\in A^* }[/math] can be written as a concatenation of Hall words

[math]\displaystyle{ w=h_1h_2\cdots h_k }[/math]

with each Hall word [math]\displaystyle{ h_j }[/math] being totally ordered by the Hall ordering:

[math]\displaystyle{ h_1\le h_2\le\cdots\le h_k. }[/math]

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.

Foliage

The foliage of a magma [math]\displaystyle{ M(A) }[/math] is the canonical mapping [math]\displaystyle{ f:M(A)\to A^* }[/math] from the magma to the free monoid [math]\displaystyle{ A^* }[/math], given by [math]\displaystyle{ f:a\mapsto a }[/math] for [math]\displaystyle{ a\in A }[/math] and [math]\displaystyle{ f:[x,y]\mapsto f(x)f(y) }[/math] otherwise. The foliage is just the string consisting of the leaves of the tree, that is, taking the tree written with commutator brackets, and erasing the commutator brackets.

Factorization of Hall words

Let [math]\displaystyle{ t=[x,y]\in H }[/math] be a Hall tree, and [math]\displaystyle{ w=f([x,y]) }[/math] be the corresponding Hall word. Given any factorization of a Hall word [math]\displaystyle{ w=uv }[/math] into two non-empty strings [math]\displaystyle{ u }[/math] and [math]\displaystyle{ v }[/math], then there exists a factorization into Hall trees such that [math]\displaystyle{ u=f(x_1)\cdots f(x_m) }[/math] and [math]\displaystyle{ v=f(y_1)\cdots f(y_n) }[/math] with

[math]\displaystyle{ x_1,\ldots ,x_m \gt y_1 }[/math]

and

[math]\displaystyle{ y_1 \le y_2 \le \cdots \le y_n \le y. }[/math]

This and the subsequent development below are given by Guy Melançon.[5]

Correspondence

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 [math]\displaystyle{ t }[/math] is a Hall tree, and the corresponding Hall word [math]\displaystyle{ f(t) }[/math] factorizes as

[math]\displaystyle{ f(t)=f(t_1)\cdots f(t_n) }[/math]

with

[math]\displaystyle{ f(t_1)\le \cdots \le f(t_n) }[/math]

then [math]\displaystyle{ n=1 }[/math]. In other words, Hall words cannot be factored into a descending sequence of other Hall words.[5] This implies that, given a Hall word, the corresponding tree can be uniquely identified.

Standard factorization

The total order on Hall trees passes over to Hall words. Thus, given a Hall word [math]\displaystyle{ w=f([x,y]) }[/math], it can be factorized as [math]\displaystyle{ w=f(x)f(y) }[/math] with [math]\displaystyle{ f(x)\gt f(y) }[/math]. This is termed the standard factorization.

Standard sequence

A sequence of Hall words [math]\displaystyle{ (w_1, w_2, \ldots, w_n) }[/math] is said to be a standard sequence if each [math]\displaystyle{ w_i }[/math] is either a letter, or a standard factorization [math]\displaystyle{ w_i=u_iv_i }[/math] with [math]\displaystyle{ v_i\le w_{i+1},\cdots, w_n. }[/math] Note that increasing sequences of Hall words are standard.

Term rewriting

The unique factorization of any word [math]\displaystyle{ w\in A^* }[/math] into a concatenation of an ascending sequence of Hall words [math]\displaystyle{ w=h_1h_2\cdots h_k }[/math] with [math]\displaystyle{ h_1\le h_2\le\cdots\le h_k }[/math] can be achieved by defining and recursively applying a simple term rewriting system. The uniqueness of the factorization follows from the confluence properties of the system.[5] The rewriting is performed by the exchange of certain pairs of consecutive Hall words in a sequence; it is given after these definitions.

A drop in a sequence [math]\displaystyle{ (h_1, h_2, \ldots, h_n) }[/math] of Hall words is a pair [math]\displaystyle{ (h_i, h_{i+1}) }[/math] such that [math]\displaystyle{ h_i \gt h_{i+1}. }[/math] If the sequence is a standard sequence, then the drop is termed a legal drop if one also has that [math]\displaystyle{ h_{i+1}\le h_{i+2},\ldots,h_n. }[/math]

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:

[math]\displaystyle{ (h_1, h_2, \ldots, h_n)\to (h_1, h_2, \ldots, h_ih_{i+1}, \ldots, h_n) }[/math]

while the other permutes the two elements in the drop:

[math]\displaystyle{ (h_1, h_2, \ldots, h_n)\to (h_1, h_2, \ldots, h_{i-1}, h_{i+1}, h_i, h_{i+2}, \ldots, h_n) }[/math]

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.

Total order

A total order can be provided on the words [math]\displaystyle{ w\in A^*. }[/math] This is similar to the standard lexicographic order, but at the level of Hall words. Given two words [math]\displaystyle{ u, v }[/math] factored into ascending Hall word order, i. e. that

[math]\displaystyle{ u=u_1u_2\cdots u_m\quad }[/math] and [math]\displaystyle{ \quad v=v_1v_2\cdots v_n }[/math]

with each [math]\displaystyle{ u_i, v_j }[/math] a Hall word, one has an ordering that [math]\displaystyle{ u\lt v }[/math] if either

[math]\displaystyle{ m\lt n\quad }[/math] and [math]\displaystyle{ \quad u_1=v_1,\,u_2=v_2,\,\cdots, u_m=v_m }[/math]

or if

[math]\displaystyle{ u_1=v_1,\,u_2=v_2,\,\ldots, u_k=v_k\quad }[/math] and [math]\displaystyle{ \quad u_{k+1}\lt v_{k+1}. }[/math]

Properties

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:

  • Hall words are acyclic, also known as primitive. That is, they cannot be written in the form [math]\displaystyle{ w=x^n }[/math] for some word [math]\displaystyle{ x\in A^* }[/math] and [math]\displaystyle{ n\gt 1 }[/math].
  • A word [math]\displaystyle{ w\in A^* }[/math] is a Hall word if and only if for any factorization of [math]\displaystyle{ w=uv }[/math] into non-empty words obeys [math]\displaystyle{ w \gt vu }[/math]. In particular, this implies that no Hall word is a conjugate of another Hall word. Note again, this is exactly as it is for a Lyndon word: Lyndon words are the least of their conjugacy class; Hall words are the greatest.
  • A word [math]\displaystyle{ w\in A^* }[/math] is a Hall word if and only if it is larger than any of its proper right factors. This follows from the previous two points.
  • Every primitive word [math]\displaystyle{ w\in A^* }[/math] is conjugate to a Hall word. That is, there exists a circular shift of [math]\displaystyle{ w }[/math] that is a Hall word. Equivalently, there exists a factorization [math]\displaystyle{ w=uv }[/math] such that [math]\displaystyle{ vu }[/math] is a Hall word. This conjugate is unique, since no Hall word is a conjugate of another Hall word.
  • Every word [math]\displaystyle{ w\in A^* }[/math] is the conjugate of a power of a unique Hall word.

Implications

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.[6]

History

Hall sets were introduced by Marshall Hall based on work of Philip Hall on groups.[3] 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.

See also

References

  1. Hall, Philip (1934), "A contribution to the theory of groups of prime-power order", Proceedings of the London Mathematical Society 36: 29–95, doi:10.1112/plms/s2-36.1.29 
  2. W. Magnus, (1937) "Über Beziehungen zwischen höheren Kommutatoren", J. Grelle 177, 105-115.
  3. 3.0 3.1 Hall, Marshall (1950), "A basis for free Lie rings and higher commutators in free groups", Proceedings of the American Mathematical Society 1 (5): 575–581, doi:10.1090/S0002-9939-1950-0038336-7, ISSN 0002-9939, https://www.ams.org/journals/proc/1950-001-05/S0002-9939-1950-0038336-7/ 
  4. X. Viennot, (1978) "Algèbres de Lie libres et monoïdes libres" , Lecture Notes in Mathematics, 691 , Springer–Verlag
  5. 5.0 5.1 5.2 Guy Melançon, (1992) "Combinatorics of Hall trees and Hall words", Journal of Combinatorial Theory, 59A(2) pp. 285–308.
  6. Guy Melançon and C. Reutenauer (1989), "Lyndon words, free algebras and shuffles", Canadian Journal of Mathematics. 41, No. 4, pp. 577-591.