Reduced words in free groups #
Elementary facts about reduced words complementing Mathlib.GroupTheory.FreeGroup.Reduce:
the formal inverse of a one-letter word, uniqueness of reduced representatives, reducedness of
formal inverses, and reducedness of words w u w⁻¹ in which no letter cancels at either join.
The last section controls cancellation under left multiplication: if the reduced word of g does
not begin with the formal inverse of x₂, then the reduced word of (x₁ ++ x₂) * g still begins
with x₁ whenever x₁ ++ x₂ is reduced. This is the prefix calculus behind ping-pong arguments
on reduced words, such as the big powers property of free groups.
Finally, the reduced word of g⁻¹ * f arises from those of g and f by cancelling their
longest common prefix, so ‖g⁻¹ * f‖ + 2 * commonPrefixLength g f = ‖g‖ + ‖f‖ for the word
length ‖·‖. Thus the Gromov product of word length is the common prefix length of reduced
words.
If w and the nonempty word u are reduced, the last letter of w does not cancel against
the first letter of u, and the last letter of u does not cancel against the first letter of
invRev w, then w ++ u ++ invRev w is reduced.
If the reduced word of g begins with the formal inverse of x, then left multiplication by
x cancels that prefix.
If x is reduced and the reduced word of g does not begin with the formal inverse of x,
then the first letter of x survives in the reduced word of x * g.
If x₁ ++ x₂ is reduced and the reduced word of g does not begin with the formal inverse of
x₂, then the reduced word of (x₁ ++ x₂) * g begins with x₁: the cancellation between the
two factors stops inside x₂.
For reduced words u and v, the reduced word of (mk u)⁻¹ * mk v has length
u.length + v.length - 2 * commonPrefixLength u v. Intuitively, this reduced word arises from
invRev u ++ v by cancelling the longest common prefix of u and v.
The word length of g⁻¹ * f is the sum of the word lengths of g and f minus twice the
length of the longest common prefix of their reduced words.
Induction along reduced words: a property of 1 that passes from g to g * mk [x]
whenever the reduced word of g * mk [x] is that of g followed by x holds for every element
of the free group.