WorksMathematics
Boundary Algorithms for Thompson Groups
Abstract
We construct a deterministic Farey-boundary algorithm converting a cyclic prefix table for an element of into a word in addressed boundary flips. The reduction uses rational boundary pairs and cyclic order, with a marked edge determining the residual modular correction. Its unmarked stage uses at most twice the minimum number of diagonal exchanges. For input size , the complete output has factors, encoded length , and running time . Adjoining shuffles extends the construction to with polynomial bounds. We also give explicit boundary generating sets and their local flip–shuffle relations. Changes of generators in the Lochak–Schneps and Bleak–Quick presentations yield a two-flip presentation of and a presentation of with two flips, one shuffle, and nine relations.
Introduction
Thompson’s groups F, T, and V are central examples in combinatorial group theory, dynamics, and low-dimensional topology. In their prefix-code description, elements act on the binary Cantor space by finite prefix replacements. The correspondence between prefixes preserves linear order for F and cyclic order for T, while no order-preservation condition is imposed for V. Equivalently, these groups may be represented by tree-pair diagrams; see [4, 5]. We use prefix-code tables as the finite input model throughout this paper.
A second classical description of T arises from the Farey tessellation, on which the modular group acts. Replacing one diagonal of an ideal quadrilateral by the other gives an elementary flip of the Ptolemy groupoid. Penner developed the corresponding constructions in [12, 13]; the resulting Ptolemy group was identified with Thompson’s group T in [9], and its groupoid form and finite presentation were further developed in [10]. Dehornoy obtained presentations of F and V using local transformations of parenthesized expressions: changes of parentheses for F, and changes of parentheses together with exchanges of subexpressions for V [6].
We present a deterministic algorithm that converts a cyclic prefix-code table for an element of T into a word in addressed Farey-boundary flips. The reduction uses rational boundary pairs and cyclic order, while a transported oriented edge determines the final modular correction. We bound both the fully encoded output length and the running time. Adjoining shuffles extends this procedure to V. The
2020 Mathematics Subject Classification. Primary 20F05, 20F65; Secondary 11A55, 05C63, 57K20.
Key words and phrases. modular group, Farey tree, continued fraction, Thompson group, flip, shuffle, smashed boundary, effective decomposition. underlying flip connectivity and polygonal fan reduction are classical [14]. Related constructions include the Mosher-type normal forms and combing for T developed by Funar and Kapoudjian [8], following Mosher’s work on mapping class groups [11], together with tree-pair and prefix-table normal forms and metric algorithms for Thompson groups [4, 7, 3, 1].
The Farey boundary connects the finite prefix description with the geometric reduction. Binary coding identifies the ordinary boundary with the binary Cantor space, where flips and shuffles act by explicit prefix replacements. Identifying the two ends representing each rational point gives the smashed boundary, which continued-fraction evaluation identifies with . On this quotient, rational boundary pairs encode the configurations used by the flip algorithm, and cyclic order determines which pairs are linked. The distinguished oriented edge retains the information needed to recover the group element from the reduced configuration. These coordinates identify the flip group with T, the flip–shuffle group with V, and the group generated by flips supported in a fixed proper cylinder with F.
Our main theorem, theorem 5.5, gives quantitative bounds for this construction. For a prefix table of size , measured by its number of entries and total prefix length, the algorithm returns factors in the full address-indexed flip family. Writing all supporting addresses gives encoded length , and the running time is . With the ordering conventions fixed, the output depends only on the represented group element. The unmarked reduction uses at most twice the minimum number of diagonal exchanges; this comparison excludes the final modular correction.
For V, we combine the T algorithm with a decomposition of the finite cylinder permutation into conjugates of a basic shuffle. This yields polynomial bounds for the output length and running time. The cylinder-permutation factorization is standard [4, 2]; the construction supplies explicit flip–shuffle words by applying the boundary reduction to its cyclic factors.
The boundary realization gives the generating sets
We describe the local relations among addressed flips and shuffles and derive finite presentations in these boundary generators. For V, the resulting presentation has nine defining relations. Completeness follows by explicit changes of generators from the presentations of Lochak–Schneps [10] and Bleak–Quick [2]. The contribution is their Farey-boundary formulation, compatible with the word-extraction algorithms developed here.
The paper is organized as follows. Section 2 recalls the simultaneous prefix-code definitions of F, T, and V. Section 3 develops the Farey tree, its smashed boundary, and the continued-fraction coordinates. Section 4 defines boundary flips and shuffles, identifies the groups they generate, and records their local relations. Section 5 gives the effective decomposition algorithms and their complexity bounds for T and V. Finally, Section 6 derives the boundary presentation theorems as structural applications of the preceding dictionary.
Thompson groups as prefix replacements
Let be the binary Cantor space, and let denote the lexicographic order on finite binary words. For a finite binary word , write . A finite set of binary words is a finite maximal prefix code (also called a complete prefix code) if the cylinders , , are pairwise disjoint and cover . If
are finite maximal prefix codes and , define the prefix-replacement homeomorphism
We call the triple , or equivalently the correspondence , a prefix-code table for . Let denote the set of finite maximal prefix codes with elements. Allowing and the two codes to vary, Thompson’s groups may be defined simultaneously by
and
For , the permutation of the ordered prefix lists must be a cyclic shift, not an arbitrary permutation consisting of a single cycle. Indices are read modulo , with values in .
An element generally has more than one prefix-code table. A simultaneous expansion replaces one row by the two rows
It does not change the resulting homeomorphism, and any two tables for the same element have a common expansion. Also, simultaneous expansions preserve linear and cyclic order. Conversely, sibling rows and may be merged to ; this is called a reduction. Every prefix-code table admits a unique reduced table, equivalently a unique table with the minimum number of rows, and every other table is obtained from it by expansion. Composition is obtained after passing to a common refinement; thus the three sets are groups and the inclusions are immediate. This is the standard prefix-code, or tree-pair, description of the Thompson groups [4 §§4–6]; see also [2 §2.1] for the prefix-exchange model of .
Remark 2.1. Identifying the two binary expansions of each dyadic point, and also the endpoints in the circle case, recovers the standard piecewise-linear realizations of on and on ; see [4, 5].
The Farey tree and its boundary coordinates
We construct the Farey tree from the standard action of on the upper half-plane and identify its smashed boundary with . Standard continued fractions then provide the word coordinates used throughout the paper.
The Farey tree and its Cantor boundary
We use the projective action
with the usual conventions at , and the matrices
Put . The modular group preserves and has presentation
The element fixes , labelled by ◦, while fixes , labelled by •. Label the geodesic segment joining to by . The Farey tree is the union of the -translates of ◦, • and : its white and black vertices are the respective orbits of ◦ and •, and the edge is denoted by . By construction, is a bipartite tree. The orientation of equips with a ribbon structure, hence with a cyclic order at every black vertex.
The Cantor boundary of based at , denoted , consists of infinite nonbacktracking paths starting at the distinguished edge. Every end has a unique turn-word representation
Here specifies the initial side of the distinguished edge, and each specifies a subsequent forward turn.
Continued fractions and the smashed boundary
The tree has two ends corresponding to each rational number: one eventually turns only to the left and the other eventually turns only to the right. Indeed, finding the standard continued fraction expansion of a real number can be encoded in terms of the group $\operatorname{PGL}_2(\mathbb{Z})
The real number if and only if its standard continued fraction expansion is finite. In that case,
The identities and in , which give , allow us to write any as
when the last index of the continued fraction is odd. When is even:
Replacing by and by , we see that the planar tree has two ends corresponding to each element of : one eventually turns only to the left and the other eventually turns only to the right. We therefore identify these two ends and obtain the smashed boundary of the Farey tree.
Every end determines a nested sequence of closed Farey intervals. Their intersection consists of a single point, defining the continuous evaluation map
The nested Farey subdivisions show that is surjective, one-to-one over the irrationals, and two-to-one over . Each rational fibre consists of two eventually constant ends approaching the same point from opposite sides.
Definition 3.1. The smashed boundary is
Evaluation therefore induces a continuous bijection
It is a homeomorphism because its domain is compact and its codomain is Hausdorff.
Boundary flips, shuffles, and Thompson groups
We now define the two elementary boundary operations, describe them in projective and binary coordinates, and identify the groups they generate.
Boundary flips and shuffles
Put
Thus and are the left and right forward turns, respectively, at a black vertex of . An admissible prefix is a finite initial word of the form
Its cylinder is
Thus consists of ends whose initial side is represented by , while consists of those with , and
In particular, is a proper cylinder. In the formulas below, denotes an infinite suffix compatible with the displayed prefix, and no cancellation is allowed.
Definition 4.1. On the set of ends of the Farey tree, the flip at is defined as the map
Its inverse is the flip at :
The local picture is shown in Figure 1.

Figure 1. The local picture of near a flipped edge with .
At the base edge the two sides of must also be permuted. Therefore, the flip at needs to be defined separately, as follows:
These boundary flips should not be confused with involutive diagonal exchanges in an ideal quadrilateral. If is admissible, then
The ends on the right are pairwise distinct, so and its inverse have infinite order. Only the distinguished flip is exceptional: .
Proposition 4.2. Every flip descends to an orientation-preserving homeomorphism of .
Proof. The nontrivial identifications are
The last two pairs represent and , respectively. The defining substitutions of each flip and its inverse preserve these identifications, so they induce mutually inverse homeomorphisms of the quotient.
Within its supporting cylinder, a left flip preserves the order of the prefix lists:
The base flip cyclically permutes its four initial cylinders. Thus every flip preserves cyclic order on the quotient. □
Definition 4.3. On the set of ends of the Farey tree, the shuffle at is defined as the local transposition given by
and for .
Every shuffle is an involutive homeomorphism of the ordinary Cantor boundary . It exchanges the left and right forward subtrees at and reverses their local cyclic order. In contrast to a flip, it need not preserve the paired rational ends.
Projective description. For an admissible prefix , put
This is the open Farey arc corresponding to , with endpoints and . Under the evaluation map, a prefix replacement is represented on by
Consequently, every boundary flip is piecewise given by elements of , with finitely many rational breakpoints, and descends to a homeomorphism of . The same formula describes a shuffle on the interiors of its two supporting intervals, but its one-sided values at their rational endpoints may differ; hence a shuffle need not descend to the smashed boundary.
Binary coding and the question-mark conjugacy
We use the binary convention
and encode the two initial sides of the distinguished edge by 0 and 1. For an end , define
The binary code of an admissible prefix is the word , so that . The identification induced by gives
as displayed in figure 2.
The map is a homeomorphism. Under this coding, and correspond to and , respectively. Finite partitions into at least two Farey cylinders correspond exactly to finite maximal binary prefix codes with at least two elements. The singleton code consisting of the empty binary word corresponds to the trivial partition . More generally, if admissible Farey prefixes have binary codes , then conjugation by sends the prefix replacement to
Let be the equivalence relation on generated by

Figure 2. The binary coding near . The labels 0 and 1 belong to the initial edges and . The remaining binary labels are attached to edge pairs , where is a word ending with or .
and put . This is the binary circle. Under , the pairs in are exactly the pairs identified in the smashed boundary. Hence descends to a homeomorphism
Under , the linear-order, cyclic-order, and arbitrary prefix replacements are precisely the actions of , , and defined in Section 2. Cyclic-order-preserving prefix replacements preserve , so acts on . Flips descend to this circle quotient; those fixing the point represented by and lie in .
Remark 4.4 (Question-mark conjugacy). In fact, the composition
is the circular Minkowski question-mark function; it sends rational points to dyadic points.
Thompson group identifications and modular generators
We use the following standard prefix generators, which may be found in [4 §§4–5] and [5 p. 1112].
Then
as shown in [4 §3–5].
Theorem 4.5. Let
The group is isomorphic to Thompson’s group in its prefix-code realization. More precisely,
Proof. The flip acts by
Taking in theorem 4.1 gives
Thus is supported on . Taking gives
Its inverse is the right flip
More generally, every flip has a cyclic-order-preserving prefix table, so we deduce . For the reverse inclusion, we calculate the standard generators in flip coordinates. Indeed, , exchanges and , and hence . Finally, composing this four-cycle with the right-flip table (4.12), from right to left, gives
This is the defining table of . Thus the generators in (4.8) belong to , proving the reverse inclusion.
Standing convention. Using theorem 4.5 and (4.7), we identify with and write also for its transported action on . Thus , and later and for the patterns and marked edges of section 5, refer to this boundary action.
Example 4.6. The modular generator exchanges the initial binary cylinders, so . The generator has table
Direct composition using (4.1) and (4.11) gives
Define the flip–shuffle group on the ordinary boundary by
Corollary 4.7 (Flip–shuffle realization).
Proof. Under , every flip and shuffle is a finite prefix replacement, giving the inclusion in . Conversely, , where exchanges and by prefix replacement and fixes ; see [4 §§4–6]. By theorem 4.3, , while theorem 4.5 identifies with . This proves the reverse inclusion.
A further corollary of theorem 4.5 is that the group generated by for prefixes starting with is isomorphic to Thompson’s group F.
Relations among flips and shuffles
We now collect the local relations among flips and shuffles before reducing them to a smaller generating set. In what follows, and are admissible prefixes, is an arbitrary finite word in , and products are composed from right to left. Parentheses in a subscript separate a supporting prefix from the final or specifying a left or right flip.
Proposition 4.8 (Local relation families). The following identities hold among the boundary flips and shuffles.
Flip–flip relations. A right flip is the inverse of the corresponding left flip:
If , then
For nested cylinders one has
Finally, the pentagon, or splitting, relation is
Shuffle–shuffle relations. Every shuffle is an involution:
If , then
whereas for nested cylinders one has
Mixed relations. If , then
Conjugation of a shuffle by a flip gives
Conversely, conjugation by a shuffle interchanges the two descendant cylinders:
The remaining same-support interaction is the hexagon relation
Proof. All the relations are verified directly from their definitions. Disjointly supported maps commute. The flip carries the supporting prefixes
respectively to
which proves both the flip transport relations (21)–(23) and their mixed counterparts (29)–(31). The shuffle interchanges the prefixes and , giving (27) and (32). Finally, refining the relevant prefix codes and comparing the substitutions on each cylinder gives (24) and (33). Thus every displayed identity follows on , and both sides are the identity outside that cylinder. □
Effective decompositions into flips and shuffles
The preceding identifications are structural. We next make them effective by giving finite procedures that convert prefix data into words in flips and shuffles. Computational convention. The input is an explicit prefix-code table. Binary prefixes and – addresses are stored as words, and reading, writing, or comparing them is charged according to their length. When integer coordinates are used, arithmetic is charged at bit cost with schoolbook algorithms. All complexity bounds refer to the explicit prefix-table size defined below; they do not assert polynomial complexity in a compressed continued-fraction or rational-coordinate encoding alone.
Elements of T as sequences of flips
For a cyclic prefix table
define its input prefix-table size by
Let be the set of classes of eventually constant ends. A boundary pair is an unordered pair of distinct elements of . Two boundary pairs and are linked, written
if their endpoints alternate in the cyclic order of ; equivalently, after interchanging and if necessary, and . Define the standard Farey boundary pattern by
Here fractions are reduced and interpreted projectively. The family is pairwise unlinked and maximal with respect to inclusion: every boundary pair not belonging to is linked with some member of . The modular group acts simply transitively on the oriented boundary pairs of . Hence each orientation of a member of has a unique label carrying to that particular orientation. Fix the shortlex order on the reduced words in the free-product generators , , , with . For each unordered boundary pair choose the orientation whose label has the smaller reduced word, and order the boundary pairs by these chosen labels. This gives an effective enumeration
We call a maximal pairwise unlinked family a Farey-type boundary pattern if the symmetric difference is finite. Such a pattern has the same local incidence property as . More precisely, if , a common neighbour of and in is a point such that
The endpoints of every have precisely two common neighbours, one in each of the two complementary intervals determined by and . To see this, choose a finite partition into Farey cylinders sufficiently fine that every member of joins nonconsecutive partition endpoints. The pairs joining consecutive endpoints then belong to . Every member of is linked with a deleted standard pair and unlinked with these common boundary pairs; hence it also joins nonconsecutive partition endpoints. Thus all changes are confined to this finite cyclic list. The restriction of to this list is maximal pairwise unlinked. Induction, splitting the list along a present nonconsecutive pair, shows that each consecutive pair has exactly one common neighbour among the remaining points of the list, while each present nonconsecutive pair has two. The unchanged Farey subdivisions in the complementary cylinder arcs supply the other neighbour of each consecutive pair. All other pairs retain their standard local incidence. This proves the assertion.
Fix the oriented standard Farey edge
A marked Farey-type boundary pattern is a pair , where is a Farey-type boundary pattern and is an orientation of a member . For set
Thus sends every boundary pair to the pair formed by the images of its endpoints and transports the orientation of the distinguished edge in the same order. Since elements of preserve cyclic order, they preserve the unlinking relation. By theorem 5.1 below, is finite. Thus
is a marked Farey-type boundary pattern. More generally,
is finite for every Farey-type pattern . Together with cyclic-order preservation, this shows that
defines an action on marked Farey-type boundary patterns. The stabilizer of in is exactly . Indeed, let preserve , and choose with . Then preserves and fixes and . Since it preserves cyclic order, it fixes their unique common neighbour in each complementary interval. Repeating this argument through the Farey subdivisions shows that it fixes every rational boundary point. Density and continuity therefore give . Consequently, the stabilizer of is trivial. For , the finite symmetric difference
is called the boundary defect of . For an admissible prefix , put .
Lemma 5.1. From a cyclic prefix table for , one can compute the marked edge and the two finite sets
and hence . If the table has entries and size , then
Proof. Write . If the table has one row, then , so the defect is empty and . Assume henceforth that .
For or , let
For each such , let be its admissible Farey prefix, and put
A maximal prefix code with words is obtained from by cylinder splittings. Exactly one splitting occurs at the empty prefix, so
Every standard boundary pair outside lies in the closed Farey arc associated with a word of . On that arc, agrees with an element of , by (5), and hence maps the pair to a standard boundary pair. Consequently,
Applying the same argument to gives
These finite sets are computable: evaluate their endpoints using the prefix tables and continued-fraction coordinates, and test the Farey condition on primitive integer representatives. Their cardinalities are each at most , which proves (5.4). Finally, the table computes and , and hence the marked edge
We now isolate the finite part on which two Farey-type boundary patterns differ. Let and be Farey-type boundary patterns and put
Both sets are finite.
An -boundary triple is a set of boundary pairs of the form
where is a common neighbour of the endpoints of in . If and are its two common neighbours in , then belongs to precisely the two -boundary triples
Let have as vertices the -boundary triples incident to at least one pair in . For each , join its two adjacent triples by one edge labelled . Thus its edge set is naturally identified with . The graph is finite and has no isolated vertices. It is acyclic: an edge labelled joins boundary triples on opposite sides of , whereas every other adjacency remains on one side, since all pairs in are unlinked with . Deleting that edge therefore separates its endpoints. Thus every edge is a bridge, and is a forest.
For a connected component of , define its boundary by
Let be the number of edges of . Since there are no isolated vertices, . Since is a tree, it has vertices, that is, boundary triples. Gluing these triples along the pairs labelling the edges of leaves
boundary pairs. Successively removing a leaf triple shows inductively that these pairs form a single cyclic list. Consequently, there are distinct boundary points , listed in cyclic order, such that
where indices are read modulo . The cyclic listing , understood up to cyclic shift and reversal, is called the disagreement block associated with .
Moreover, . Indeed, if did not belong to , then , so both -boundary triples adjacent to would be vertices of joined by the edge labelled . Since one of these triples belongs to , the other would also belong to , contradicting the definition of .
Given , a boundary pair is internal in if and are not consecutive in the cyclic list. Define
Lemma 5.2. We have:
and are maximal pairwise unlinked families of internal pairs of ;
;
the finite differences decompose as
In particular,
The decomposition can be computed from the finite symmetric difference and the common-neighbour relation.
Proof. Let have edges. By construction, the internal members of in are precisely the labels of the edges of . Therefore
In particular, the families partition .
There is no pair belonging to both and : a common internal pair would be an internal member of , hence a label of , hence not in .
Let . By maximality of , the pair is linked with some . Since is unlinked with every member of , the pair cannot belong to . Hence
Let be the component containing the edge labelled by . Every member of belongs to , so is unlinked with . Since is linked with an internal pair of , the cyclic order implies that is itself internal in . Moreover, is internal in no other block : the pair is not internal in , since the internal members of in are the labels of , and is unlinked with ; hence is unlinked with every internal pair of . Since also , the families partition .
Both restrictions are maximal among pairwise unlinked internal pairs of . Indeed, let . Since , a member of linked with an internal pair of must itself be internal in . Hence an additional internal pair unlinked with would be unlinked with all of , contradicting maximality.
Finally, a maximal pairwise unlinked family of internal pairs on cyclically ordered points has members. Indeed, an internal pair divides the cyclic list into two shorter lists, and induction gives
Consequently,
Summing over the components proves (5.5). □
If has common neighbours and , the diagonal exchange at is
The new pair is unlinked with every member of ; hence is again a Farey-type boundary pattern. At the level of boundary patterns this exchange is involutive.
Lemma 5.3. (1) If , is a Farey-type boundary pattern and , then is a Farey-type boundary pattern and
(2) Every equals or for a unique admissible prefix and a unique letter. Put
Then for every .
Proof. (1) The map is a bijection of preserving cyclic order, and so is . Hence preserves linking, maximality and common neighbours, and is finite.
(2) The group acts transitively on , and the stabilizer of is . Every element of is or , where the reduced word of is empty or ends in ; such are exactly the admissible prefixes. Thus for an admissible , which is unique unless , that is, unless . For , deleting the last turn of gives the unique and letter with .
By (4.2), maps the closed arcs , , onto , , by elements of , and fixes pointwise. A standard pair is unlinked with the standard pairs bounding these arcs. Hence it lies in one arc, and is then mapped to a standard pair, or it joins two of the breakpoints . The only standard pair of the second kind bounding no arc is , and . The same argument for , with breakpoints , shows that is the only standard pair whose preimage, , is not standard. Since and are the common neighbours of and , and and are those of and ,
By (4.1), permutes the arcs , , , cyclically by elements of . The only standard pair joining two breakpoints and bounding no arc is , and . Hence .
Finally, let be admissible. Left multiplication by maps onto by , so theorem 4.1 gives and . Since , and , part (1) gives
For a disagreement block , write
Thus . Define the fan in based at by
Fan reduction in a block. Let be a maximal pairwise unlinked family of internal pairs of . Put
Lemma 5.4 (Block fan reduction). Let , with , and let be a maximal pairwise unlinked family of internal pairs of . There is a sequence of
*diagonal exchanges, all supported inside and fixing , which transforms
into the fan . In particular, the sequence contains at most exchanges.
Proof. List in cyclic order the points joined to by members of . Suppose that this list does not contain every point of other than . Choose two consecutive members , for which the interval from to not containing contains a point of .
The pair is unlinked with every member of . Indeed, a pair linked with would either be linked with one of and , or would join to a point strictly between and , contradicting the choice of consecutive neighbours. Maximality therefore gives
One common neighbour of and is . Let be the other. Then lies in the interval from to not containing , and is not present. Hence the diagonal exchange
is defined. It adds one internal pair incident with and removes none of the pairs already incident with .
Each repetition increases by one the number of internal pairs incident with . The fan contains exactly internal pairs incident with , so the process terminates after
exchanges. At termination every nonconsecutive vertex is joined to , and the resulting family is therefore . □
For , put
Let be the least number of elementary diagonal exchanges in any sequence carrying the unmarked pattern to . For the deterministic reduction below, let denote the number of exchanges in its fan stage; it does not include the flips used to express the residual modular element.
Theorem 5.5 (Deterministic Farey-boundary reduction and complexity). Given a cyclic prefix table of size for , the deterministic marked fan reduction has the following properties.
It computes flips , each of the form , or with admissible, and the reduced word in , , of an element such that
After substituting the fixed flip words for , , , the right-hand side is a word entirely in left and right boundary flips.
(2) The unmarked fan stage is within a factor two of an optimal elementary boundary reduction:
(3) The complete output contains flip factors, has explicitly encoded length , and is computed in time under the computational convention above.
The output word and the residual element depend only on and the fixed ordering conventions, not on the prefix table chosen to compute them.
The factor bound counts generators in the address-indexed flip family. It is distinct from a word-length bound in a fixed finite generating set; the encoded-length bound also charges for writing each supporting address.
Proof. Disagreement blocks. By theorem 5.1, compute and . For , its two common neighbours are obtained by applying to the two standard common neighbours of . Hence theorem 5.2 computes the disagreement blocks. Order the blocks by the -least member of . These keys are distinct, since the nonempty sets partition . For each block, give its -least boundary pair its preferred orientation and take its initial endpoint as the fan base. In the block fan reduction, whenever there is more than one possible gap between consecutive neighbours of the base point, choose the first gap in the cyclic order beginning with the preferred boundary pair. These conventions make every choice depend only on and the fixed order (5.3).
Fan stage. In each block , first use the block fan reduction to carry the restriction of to the chosen fan. Apply the same construction to the restriction of , and reverse this second sequence. Every exchange fixes , so it changes no other block and no pair outside . Processing all blocks gives pairs , where , and Farey-type boundary patterns
Flips. Put , so that . If satisfies , put
By theorem 5.3,
The endpoints of are obtained by applying the table of and then to the endpoints of . If , then . Otherwise, write . Each of and has two eventually constant binary representatives. Among the four choices of one representative for each endpoint, choose the pair whose longest common prefix has greatest length, and denote that prefix by . This maximizing pair is unique. Indeed, if is the unique admissible prefix with , and is its binary code, the two representatives lying in its cylinder are and . Their longest common prefix is , whereas every other choice gives a shorter common prefix. Thus .
Translate into the admissible Farey prefix . Since , uniquely write or . Then theorem 5.3 gives
This explicitly computes the previously defined .
Residual element. The element satisfies . Since the stabilizer of in T is , we have . Compute by applying and then the table of to and . Write , choosing primitive integer representatives with . The matrix
sends to , so, by simple transitivity of the -action on oriented Farey edges, its class in is . Applying the Euclidean algorithm to , followed by reduction using , produces the reduced free-product normal form of . Finally, gives (42), and (17) expresses it entirely in boundary flips.
For a disagreement block with points, the two fan reductions together use at most exchanges. By (38),
Every missing standard pair must be inserted, and each exchange inserts only one pair. Hence , proving (43).
The fixed ordering conventions determine the exchanges from . Starting with , the recursion then determines every and . Thus the output is independent of the input table.
The complete output and running-time bounds follow from (45), theorems 5.8 and 5.9 below.
Remark 5.6 (Alternative linked-pair insertion). One may instead insert missing standard pairs successively. Give a missing pair its preferred orientation . Among the pairs linked with , with and , choose the least and, among ties, the greatest . Any member of linked with or would have its first endpoint before , or share and have its second endpoint after , contradicting this choice. Maximality therefore makes a common neighbour of . If is their other common neighbour, exchange for . This decreases the finite number of pairs linked with by one; repetition inserts by maximality. No standard pair is removed, and the number of nonstandard pairs never increases. Starting from , the procedure therefore uses at most exchanges.
We next include the marking in the estimate. Let
be the residual modular element of theorem 5.5, and write its reduced word in , and as
Let be the number of letters in this word and let be the number of letters or ; thus . Here and below, the length of an output word counts each flip , or as one factor; in particular, counts as one factor.
Let count the flip factors after substituting the modular-generator words. Each inverse fan-stage flip contributes one factor, while (4.14) contributes two for and five for or . Hence
where the second inequality uses (5.10).
For let be the least length of a binary word such that or represents .
Lemma 5.7 (Address growth). Let .
(1) If is a flip, then .
(2) If , then .
(3) If is an admissible prefix with binary code , then the larger of and equals , and the reduced word of in , , has at most letters.
Proof. Let , with and , represent .
(1) In binary coordinates, acts on by , , , and is its inverse; both fix the complement of . Thus a prefix is replaced by a prefix with . If , the image of has a representative with . If , then , and is fixed except for and , where grows by one. The base flip replaces prefixes of length 2 by prefixes of length 2, so grows by at most two.
(2) If , then with .
(3) Write with , so that . The points and are represented by and . Hence and are the lengths of with its terminal 0's, respectively 1's, removed, and one of them is . The reduced word has letters. □
Lemma 5.8 (Residual modular length). If the input prefix table has size , then
Proof. We have and . By theorem 5.7(1),(2), the endpoints of satisfy . Write with admissible, as in the proof of theorem 5.3; then . By theorem 5.7(3), the binary code of satisfies , and has at most letters. The same bound holds for , which is obtained by deleting the final of , or equals if . Hence .
Corollary 5.9 (Input-size complexity). For a cyclic prefix table of size , the deterministic marked reduction produces flip factors. Its explicitly encoded output has length , and a direct implementation on finite A–B prefix words has running time .
Proof. By (37) and (43), . By theorem 5.8, . Hence (45) yields
Every point handled during the computation has . Indeed, the endpoints of the pairs in from the proof of theorem 5.1 and their standard common neighbours have ; by theorem 5.7, applying adds at most , each flip adds at most 2, and at most flips are applied to any point. By theorem 5.7(3), every has a supporting address of length , while the modular part uses only , and . Hence the encoded output length is
The initial finite-defect computation also takes time. There are candidate pairs in , and their endpoints and required standard common neighbours have addresses of length and integer coordinates of bits. Each required conversion, Farey-condition test, and standard common-neighbour computation takes time with schoolbook arithmetic.
For the running time, there are such pairs, defect pairs and block incidences, each described by words of length . Constructing and ordering the incidence forest uses comparisons of such words, hence time. The fan stage performs exchanges, each scanning pairs of its block, which costs . Computing applies and at most flips to two points with , each application costing ; all pull-backs cost . Computing costs . Each turn at most doubles the entries of the corresponding matrix, so the Euclidean reduction involves integers of bits and costs with schoolbook arithmetic; writing the output costs . Thus the total running time is , without a unit-cost assumption on long addresses or rational boundary points.
The term involving in (45) is necessary: for the boundary defect vanishes, whereas the reduced modular length of is unbounded.
Example 5.10. Consider the cyclic prefix table
| source | 000 | 0010 | 0011 | 01 | 1 |
| target | 100 | 101 | 11 | 00 | 01 |
Table 5.10.
for . Its boundary defect is
There is one disagreement block, with cyclic list . Its -least boundary pair is , with preferred orientation , so the fan base is . The fan stage consists of the single exchange
To extract its flip, pull back the exchanged pair:
Thus and
The algorithm therefore returns
Substituting (17) gives a word entirely in boundary flips. In particular, the flip recorded by the algorithm is determined by the pulled-back pair , not by interpreting the diagonal exchange itself as a fixed boundary homeomorphism.
Elements of V as sequences of flips and shuffles
For a cyclic prefix-replacement map , let denote the flip word returned by theorem 5.5. The construction for V below is an extension of that boundary algorithm rather than a second boundary-reduction procedure: the cyclic factors are handled by , and only the remaining finite cylinder permutation is treated by standard adjacent-transposition sorting.
Theorem 5.11 (Flip–shuffle reduction). Given a finite prefix table for , there is a finite algorithm which returns a finite word in flips and the basic shuffle representing . Apart from finite permutation sorting and word operations, it invokes three times.
Proof. Write the input table as
so that
If , repeatedly expand the row with lexicographically least source prefix until the table has three rows. Henceforth , , and refer to this expanded table. This preliminary step increases the input size by at most an absolute constant.
Use the canonical maximal prefix code
For example, and . Define the cyclic prefix replacements
They belong to T. Define also the cylinder permutation
Evaluation on each gives the factorization
Compute
Next let be the cyclic shift of ,
and make the third and final call
Let be the admissible Farey prefix whose binary code is ; in particular, . The shuffle
exchanges the last two cylinders and and fixes all other cylinders of . It can be written using only the basic shuffle . Indeed, sends and to those last two cylinders, and therefore
Here is already the explicit flip word in (4.9).
Let for , acting on the cylinders of , and choose the representative of least absolute value satisfying
If the two representatives have the same absolute value, choose the nonnegative one. Thus . Conjugating (49) by the appropriate cyclic shift gives
Finally, use bubble sort to write
Here . Equations (49) and (50) give the explicit word
Every symbol on the right side is now a flip or the shuffle . The factorization (5.15) proves correctness, and termination follows from the termination of and the finiteness of the sorting procedure. The use of finite cylinder permutations is standard in the prefix-code description of ; see [4 §6] and [2 §2.1]. □
For an input table , its -input size is , as in (5.1). Count every flip and every occurrence of the basic shuffle as one factor, and let denote the number of factors in the word (5.18).
In the following estimates, and are those used after the preliminary expansion, while denotes the size of the original input table.
Proposition 5.12 (Complete output and running time for V). Let .
(i) Output bound. The word produced by the flip–shuffle reduction satisfies
Consequently,
If every supporting address is written explicitly, the encoded output length is
(ii) Running time. A direct implementation which writes the fully expanded output runs in
time. In particular, the flip–shuffle reduction is polynomial-time.
Proof. (i) The word for has five flip factors, so has factors. Since , each adjacent transposition contributes at most
factors. Summing over the transpositions and adding the two outside words proves (5.19).
The total prefix length of is . Thus the three calls to have input size . By theorem 5.9, each returns factors and encoded symbols. Since and , the factor bound gives . There are at most copies of or its inverse in the expanded word, giving encoded length ; the outside words and copies of contribute lower-order terms.
(ii) Table construction and permutation sorting take at most bit operations. The three calls to take time altogether. Expanding and writing the resulting word takes time, which dominates the preceding computations. □
Boundary presentations as structural applications
The algorithms above use the boundary realizations of the generators, but not a presentation of their relations. We now record the presentation results as structural applications of the same boundary dictionary. They are explicit Tietze forms of known presentations rather than new abstract presentations.
Remark 6.1. Under the binary coding and , the identities in theorem 4.8 correspond to Dehornoy’s associativity and commutativity relations at nonempty addresses, with product order reversed to match our composition convention. Including the empty-address instances gives his presentation of V [6 Proposition 3.18]. The finite presentation in theorem 6.3 is obtained by an explicit change of generators from the Bleak–Quick presentation [2 Theorem 2.1].
Theorem 6.2 (A presentation of T by boundary flips). Put
In the free group on and , use the abbreviation . Then Thompson’s group T has the finite presentation
Proof. A direct calculation from the prefix tables gives
Start with the Lochak–Schneps presentation with generators and , using the conjugate relator ; see [10 Theorem 1]. Adjoin a generator subject to
The prefix-table identity
then permits the elimination of . Using , the eliminated word is precisely , while becomes . The two commutator relators become
and
Thus (6.1) is obtained from the Lochak–Schneps presentation by Tietze transformations and is therefore complete. □
Define the following abbreviations:
In the relations below, means .
Theorem 6.3 (A finite presentation of V by boundary flips and shuffles). Thompson’s group V has a presentation with generators
and the following nine relations:
Proof. Start with the three-generator, eight-relation presentation of [2 Theorem 2.1, equation (2.3)]. Passing from their right actions to our left-composition convention by taking inverse maps, the generators have the following actions: exchanges and ; sends
and exchanges and . Each fixes the complement of the indicated cylinders.
Put
Direct composition of these prefix replacements gives
In particular, (12) gives , so , with evaluated in .
Conversely,
The prefix table
also gives
Thus are precisely the words displayed above.
Adjoin to the Bleak–Quick presentation by their defining relations. The recovery identities permit the elimination of . Their eight relators become the relations (54)–(59): indeed, becomes , and, using this relation, becomes . The defining relation for becomes (60), since becomes . These generator additions and eliminations preserve the presented group. Hence the nine displayed relations present . □
Acknowledgements
The author thanks IHES for their hospitality where most of this work was written.
This work was supported by Galatasaray Research Grant FBA-2024-1236.
References
Department of Mathematics, Galatasaray University, Istanbul, Türkiye
References
- [1]J.-C. Birget, The groups of Richard Thompson and complexity, Internat. J. Algebra Comput. 14 (2004), nos. 5–6, 569–626.DOI
- [2]C. Bleak and M. Quick, The infinite simple group V of Richard J. Thompson: presentations by permutations, Groups Geom. Dyn. 11 (2017), no. 4, 1401–1436.DOI
- [3]J. Burillo, S. Cleary, M. Stein, and J. Taback, Combinatorial and metric properties of Thompson’s group T, Trans. Amer. Math. Soc. 361 (2009), no. 2, 631–652.
- [4]J. W. Cannon, W. J. Floyd, and W. R. Parry, Introductory notes on Richard Thompson’s groups, Enseign. Math. (2) 42 (1996), 215–256.DOI
- [5]J. W. Cannon and W. J. Floyd, What is . . . Thompson’s group?, Notices Amer. Math. Soc. 58 (2011), no. 8, 1112–1113.
- [6]P. Dehornoy, Geometric presentations for Thompson’s groups, J. Pure Appl. Algebra 203 (2005), nos. 1–3, 1–44.
- [7]S. B. Fordham, Minimal length elements of Thompson’s group F, Geom. Dedicata 99 (2003), no. 1, 179–220.DOI
- [8]L. Funar and C. Kapoudjian, The braided Ptolemy–Thompson group is asynchronously combable, Comment. Math. Helv. 86 (2011), no. 3, 707–768.
- [9]M. Imbert, Sur l’isomorphisme du groupe de Richard Thompson avec le groupe de Ptolémée, in Geometric Galois Actions, 2, London Math. Soc. Lecture Note Ser. 243, Cambridge Univ. Press, 1997, 313–324.DOI
- [10]P. Lochak and L. Schneps, The universal Ptolemy–Teichmüller groupoid, in Geometric Galois Actions, 2, London Math. Soc. Lecture Note Ser. 243, Cambridge Univ. Press, 1997, 325–347.DOI
- [11]L. Mosher, Mapping class groups are automatic, Ann. of Math. (2) 142 (1995), no. 2, 303–384.
- [12]R. C. Penner, Universal constructions in Teichmüller theory, Adv. Math. 98 (1993), 143–215.DOI
- [13]R. C. Penner, The universal Ptolemy group and its completions, in Geometric Galois Actions, 2, London Math. Soc. Lecture Note Ser. 243, Cambridge Univ. Press, 1997, 293–312.DOI
- [14]D. D. Sleator, R. E. Tarjan, and W. P. Thurston, Rotation distance, triangulations, and hyperbolic geometry, J. Amer. Math. Soc. 1 (1988), no. 3, 647–681.