The setting
A ping-pong construction on the real line turns words over the four-letter alphabet into strictly increasing homeomorphisms of that commute with integer translations. The construction places four pairwise disjoint subintervals inside , extends them periodically modulo to form four periodic arcs, and builds a piecewise-affine order automorphism for each letter from a single two-slope map on the unit interval. Composing these automorphisms along a word yields an action of words on whose behavior at detects whether the word reduces to the empty word.
Words and reduction
The alphabet consists of the positive letters and the negative letters .✦ The inverse of a letter is the letter obtained by interchanging with and with .✦ A finite word over is a finite sequence of letters in , with denoting the empty word. A word is reduced if no two adjacent letters are inverses, meaning for every ; in particular, and every one-letter word are reduced.✦
To reduce an arbitrary word, define a cancellation step acting on a letter and a stack of retained letters (listed from most recent to oldest): if the stack is empty, the step returns the one-letter stack consisting of ; if the top letter is , the step deletes when and pushes onto the stack otherwise.✦ Scanning a word from left to right applies this step to each letter of in order, starting from an initial stack.✦ Starting from the empty stack and reversing the resulting stack produces the reduced form of .✦
Periodic arcs
Each letter is assigned an arc rank by (1)✦ From the rank (1), the left and right endpoints are defined by (2) For any real numbers , the periodic half-open interval is the union of integer translates (3)✦ For each letter , the periodic arc is , formed from (2) and (3).✦
Periodic ping-pong automorphisms
The two-slope map and its inverse are the piecewise-affine functions defined by (4)✦ and (5)✦ Because in (4) is strictly increasing with right inverse in (5), it defines an order automorphism of fixing and .
For any order automorphism of , its periodic lift is defined by (6)✦ where is the floor of and is its fractional part. When and , the map in (6) is strictly increasing with right inverse , and hence defines an order automorphism of , called the unit-periodic lift of . Applying this construction to the two-slope order automorphism yields the periodic two-slope automorphism of .✦
For real numbers , the translated periodic automorphism of is the order automorphism given by (7)✦ with inverse . For each positive letter , the letter order automorphism of is the translated periodic automorphism from (7): (8)✦ For each negative letter , the letter order automorphism is , where is given by (8).✦ Since every order automorphism of is a homeomorphism for the standard topology, each induces a homeomorphism .✦
Finally, for every finite word over , the word order automorphism of is defined recursively by taking to be the identity on and setting (9)✦ for every letter and word over . Thus (9) gives .
The claim
Lemma 4.1. For every letter and every , (10)✦ and the image of the complement of satisfies (11)✦ If and is a word over such that is reduced, then (12)✦ Moreover, for any word over , (13)✦
What is checked
Lemma 4.1 is stated over the four-letter alphabet , the left-to-right word reduction , the periodic arcs , the translated two-slope order automorphisms with their induced homeomorphisms , and the composite word maps for finite words over . Beyond (10), (11), (12), and (13), the Lean library proves that the two-slope map is strictly increasing with right inverse and fixes and , and that the periodic lift of any order automorphism of fixing and is strictly increasing with right inverse .