Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 2.5: the word of a tree diagram

Proved
CannonFloydParry.represents_word_exponents

by dbenbenn · Sep 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsgroup-theorythompsons-grouptree-diagrams

Theorem 2.5, first statement. If a tree diagram represents fff, and aaa and bbb are the exponent lists of its domain and range trees respectively, then

f=X0b0X1b1⋯Xnbn Xn−an⋯X1−a1X0−a0,f = X_0^{b_0} X_1^{b_1} \cdots X_n^{b_n} \, X_n^{-a_n} \cdots X_1^{-a_1} X_0^{-a_0},f=X0b0​​X1b1​​⋯Xnbn​​Xn−an​​⋯X1−a1​​X0−a0​​,

where X0=AX_0 = AX0​=A and Xk=A−(k−1)BAk−1X_k = A^{-(k-1)} B A^{k-1}Xk​=A−(k−1)BAk−1.

Written here as a product of two words: the positive word read off the range tree's exponents, times the inverse of the positive word read off the domain tree's exponents. Those are the same thing, since (X0a0⋯Xnan)−1=Xn−an⋯X0−a0\left(X_0^{a_0} \cdots X_n^{a_n}\right)^{-1} = X_n^{-a_n} \cdots X_0^{-a_0}(X0a0​​⋯Xnan​​)−1=Xn−an​​⋯X0−a0​​.

Preamble
import Definitions.Def_CannonFloydParry
import Definitions.Def_CannonFloydParry_Trees
import Definitions.Def_CannonFloydParry_TreeDiagrams
import Mathlib
Formal statement
namespace CannonFloydParry

theorem represents_word_exponents {d : TreeDiagram} {f : UI ≃o UI} (h : Represents d f) :
    f = word d.ran.exponents * (word d.dom.exponents)⁻¹ := by
  sorry

end CannonFloydParry
Source
Cannon, J. W., Floyd, W. J., Parry, W. R., Introductory notes on Richard Thompson's groups, L'Enseignement Mathematique (2) 42 (1996) 215-256, https://doi.org/10.5169/seals-87877, section 2 p. 223, Theorem 2.5, first statement
Read-back

What the Lean code literally says, in plain math · claude-opus-5

Read-back: represents_word_exponents

0. What kind of statement this is

A single implication, universally quantified over two objects — a tree diagram ddd and an order-automorphism fff of the unit interval — both of which are implicit arguments, so the statement is: for every ddd and every fff, if fff is represented by ddd then a certain equation between elements of a group holds. There are no typeclass hypotheses and no other side conditions; every ingredient below is a concrete definition, not a parameter.

Everything the statement refers to has to be unfolded, so the whole of the setting is spelled out first, and the assertion itself appears in §8.


1. The ambient group GGG

Write

I  =  [0,1]  =  {x∈R  :  0≤x≤1},I \;=\; [0,1] \;=\; \{x \in \mathbb{R} \;:\; 0 \le x \le 1\},I=[0,1]={x∈R:0≤x≤1},

regarded as a set of real numbers carrying the order it inherits from R\mathbb{R}R (so x≤yx \le yx≤y for elements of III means exactly x≤yx \le yx≤y in R\mathbb{R}R).

Let

G  =  { order isomorphisms I→I }.G \;=\; \{\,\text{order isomorphisms } I \to I\,\}.G={order isomorphisms I→I}.

An element of GGG is a bijection I→II \to II→I together with the property that u≤vu \le vu≤v if and only if the images satisfy the same inequality; equivalently, an increasing bijection of [0,1][0,1][0,1] onto itself. Every such map necessarily fixes 000 and 111.

GGG is a group. The group operations are, verbatim:

  • the product g⋅hg \cdot hg⋅h is the composite g∘hg \circ hg∘h, i.e. (g⋅h)(x)=g(h(x))(g\cdot h)(x) = g\bigl(h(x)\bigr)(g⋅h)(x)=g(h(x)): in a product, the rightmost factor is applied to the point first and the leftmost factor last;
  • the identity element 111 is the identity map of III;
  • g−1g^{-1}g−1 is the inverse order isomorphism;
  • for a natural number ccc, gcg^{c}gc is the ccc-fold composite of ggg with itself, with g0=1g^{0} = 1g0=1.

This convention matters for reading §3, §4 and §8, and it is the one used throughout.

2. The two distinguished elements AAA and BBB of GGG

A∈GA \in GA∈G is the piecewise-linear increasing bijection of [0,1][0,1][0,1] given by

A(z)  =  {12z,0≤z≤12,z−14,12≤z≤34,2z−1,34≤z≤1.A(z) \;=\; \begin{cases} \tfrac{1}{2} z, & 0 \le z \le \tfrac12,\\[2pt] z - \tfrac14, & \tfrac12 \le z \le \tfrac34,\\[2pt] 2z - 1, & \tfrac34 \le z \le 1. \end{cases}A(z)=⎩⎨⎧​21​z,z−41​,2z−1,​0≤z≤21​,21​≤z≤43​,43​≤z≤1.​

(The three formulas agree at z=12z = \tfrac12z=21​, where both give 14\tfrac1441​, and at z=34z = \tfrac34z=43​, where both give 12\tfrac1221​; and A(0)=0A(0)=0A(0)=0, A(1)=1A(1)=1A(1)=1. So AAA carries [0,12][0,\tfrac12][0,21​] onto [0,14][0,\tfrac14][0,41​], [12,34][\tfrac12,\tfrac34][21​,43​] onto [14,12][\tfrac14,\tfrac12][41​,21​], and [34,1][\tfrac34,1][43​,1] onto [12,1][\tfrac12,1][21​,1], with slopes 12,1,2\tfrac12, 1, 221​,1,2.)

B∈GB \in GB∈G is the piecewise-linear increasing bijection of [0,1][0,1][0,1] given by

B(z)  =  {z,0≤z≤12,12z+14,12≤z≤34,z−18,34≤z≤78,2z−1,78≤z≤1.B(z) \;=\; \begin{cases} z, & 0 \le z \le \tfrac12,\\[2pt] \tfrac12 z + \tfrac14, & \tfrac12 \le z \le \tfrac34,\\[2pt] z - \tfrac18, & \tfrac34 \le z \le \tfrac78,\\[2pt] 2z - 1, & \tfrac78 \le z \le 1. \end{cases}B(z)=⎩⎨⎧​z,21​z+41​,z−81​,2z−1,​0≤z≤21​,21​≤z≤43​,43​≤z≤87​,87​≤z≤1.​

(Again the formulas agree at the breakpoints: B(12)=12B(\tfrac12) = \tfrac12B(21​)=21​, B(34)=58B(\tfrac34) = \tfrac58B(43​)=85​, B(78)=34B(\tfrac78) = \tfrac34B(87​)=43​, B(1)=1B(1) = 1B(1)=1. So BBB is the identity on [0,12][0,\tfrac12][0,21​] and is a copy of AAA rescaled to [12,1][\tfrac12,1][21​,1].)

Both are defined in the source by first writing down an increasing bijection of the whole real line that is the identity outside [0,1][0,1][0,1] and then restricting it to [0,1][0,1][0,1]; the displayed formulas are the restrictions.

3. The family of generators XnX_nXn​, n∈Nn \in \mathbb{N}n∈N

An element Xn∈GX_n \in GXn​∈G is defined for every natural number n≥0n \ge 0n≥0 by

X0=A,Xn+1  =  (A n)−1⋅B⋅A n  =  A−nBA n(n≥0).X_0 = A, \qquad X_{n+1} \;=\; \bigl(A^{\,n}\bigr)^{-1}\cdot B \cdot A^{\,n} \;=\; A^{-n} B A^{\,n} \quad (n \ge 0).X0​=A,Xn+1​=(An)−1⋅B⋅An=A−nBAn(n≥0).

In particular

X0=A,X1=B,X2=A−1BA,X3=A−2BA2,…,X_0 = A,\quad X_1 = B,\quad X_2 = A^{-1} B A,\quad X_3 = A^{-2} B A^{2},\quad\ldots,X0​=A,X1​=B,X2​=A−1BA,X3​=A−2BA2,…,

so for n≥1n \ge 1n≥1 one has Xn=A−(n−1)BA n−1X_n = A^{-(n-1)} B A^{\,n-1}Xn​=A−(n−1)BAn−1. With the composition convention of §1, Xn+1X_{n+1}Xn+1​ is the map x↦A−n(B(An(x)))x \mapsto A^{-n}\bigl(B\bigl(A^{n}(x)\bigr)\bigr)x↦A−n(B(An(x))).

4. The word attached to a finite list of natural numbers

For a finite list of natural numbers c=(c0,c1,…,ck−1)c = (c_0, c_1, \ldots, c_{k-1})c=(c0​,c1​,…,ck−1​), define

word⁡(c)  =  X0 c0 X1 c1 X2 c2⋯Xk−1 ck−1  ∈  G.\operatorname{word}(c) \;=\; X_0^{\,c_0}\, X_1^{\,c_1}\, X_2^{\,c_2}\cdots X_{k-1}^{\,c_{k-1}} \;\in\; G .word(c)=X0c0​​X1c1​​X2c2​​⋯Xk−1ck−1​​∈G.

That is: the iii-th entry of the list (counting from i=0i = 0i=0) is used as the exponent of the generator XiX_iXi​ — the generator index advances by exactly one for each step along the list — and the factors are multiplied in that left-to-right order in GGG. The empty list gives word⁡( )=1\operatorname{word}(\,) = 1word()=1.

Because the entries cic_ici​ are natural numbers, only non-negative powers of the XiX_iXi​ occur; no inverse of any XiX_iXi​ appears inside word⁡(c)\operatorname{word}(c)word(c). As a function on III, by §1 the factor Xk−1 ck−1X_{k-1}^{\,c_{k-1}}Xk−1ck−1​​ is applied first and X0 c0X_0^{\,c_0}X0c0​​ last.

5. Finite binary trees, their leaf count, and their marks

A tree here means a finite rooted binary tree in which every node either is a leaf or has exactly two children, a left child and a right child. Write ℓ(t)\ell(t)ℓ(t) for the number of leaves of ttt; thus ℓ(leaf)=1\ell(\text{leaf}) = 1ℓ(leaf)=1 and ℓ(t1∧t2)=ℓ(t1)+ℓ(t2)\ell(t_1 \wedge t_2) = \ell(t_1) + \ell(t_2)ℓ(t1​∧t2​)=ℓ(t1​)+ℓ(t2​), where t1∧t2t_1 \wedge t_2t1​∧t2​ denotes the tree with root having left subtree t1t_1t1​ and right subtree t2t_2t2​.

Marks. Assign to each node of ttt a closed subinterval of [0,1][0,1][0,1]: the root is assigned [0,1][0,1][0,1], and a node assigned [a,b][a,b][a,b] gives its left child [a,a+b2]\bigl[a, \tfrac{a+b}{2}\bigr][a,2a+b​] and its right child [a+b2,b]\bigl[\tfrac{a+b}{2}, b\bigr][2a+b​,b]. The marks of ttt are then the list

marks⁡(t)  =  (x0,x1,…,x ℓ(t)),0=x0<x1<⋯<xℓ(t)=1,\operatorname{marks}(t) \;=\; \bigl(x_0, x_1, \ldots, x_{\,\ell(t)}\bigr), \qquad 0 = x_0 < x_1 < \cdots < x_{\ell(t)} = 1,marks(t)=(x0​,x1​,…,xℓ(t)​),0=x0​<x1​<⋯<xℓ(t)​=1,

consisting of 000, then the midpoints of the intervals assigned to the internal nodes of ttt listed in in-order (left subtree, node, right subtree) — which is increasing order — and finally 111. Equivalently, the consecutive intervals [xi−1,xi][x_{i-1}, x_i][xi−1​,xi​] are exactly the intervals assigned to the leaves of ttt, read left to right.

The list marks⁡(t)\operatorname{marks}(t)marks(t) has ℓ(t)+1\ell(t) + 1ℓ(t)+1 entries. For the one-leaf tree, marks⁡(leaf)=(0,1)\operatorname{marks}(\text{leaf}) = (0,1)marks(leaf)=(0,1). Examples: marks⁡=(0,12,1)\operatorname{marks} = (0,\tfrac12,1)marks=(0,21​,1) for the two-leaf tree; (0,14,12,1)(0,\tfrac14,\tfrac12,1)(0,41​,21​,1) for the tree whose left subtree is a caret and whose right subtree is a leaf; (0,12,34,1)(0,\tfrac12,\tfrac34,1)(0,21​,43​,1) for the mirror tree; (0,14,12,34,1)(0,\tfrac14,\tfrac12,\tfrac34,1)(0,41​,21​,43​,1) for the balanced four-leaf tree.

6. The two integer lists attached to a tree: left-runs and exponents

Two lists of natural numbers are attached to each tree. Let ⌢\frown⌢ denote concatenation of lists, and let inc\mathrm{inc}inc be the operation that adds 111 to the first entry of a list, leaving all other entries alone (and sending the empty list to itself).

Left-runs.

lr(leaf)=(0),lr(t1∧t2)  =  inc(lr(t1))⌢lr(t2).\mathrm{lr}(\text{leaf}) = (0), \qquad \mathrm{lr}(t_1 \wedge t_2) \;=\; \mathrm{inc}\bigl(\mathrm{lr}(t_1)\bigr) \frown \mathrm{lr}(t_2).lr(leaf)=(0),lr(t1​∧t2​)=inc(lr(t1​))⌢lr(t2​).

Exponents.

e(leaf)=(0),e(t1∧t2)  =  lr(t1)⌢e(t2).e(\text{leaf}) = (0), \qquad e(t_1 \wedge t_2) \;=\; \mathrm{lr}(t_1) \frown e(t_2).e(leaf)=(0),e(t1​∧t2​)=lr(t1​)⌢e(t2​).

These two recursions are different, and the difference is exactly the point at which care is needed: at a node, left-runs recurses with left-runs on both subtrees and increments the first entry of the left subtree's list, whereas exponents recurses with left-runs on the left subtree — with no increment — and with exponents on the right subtree. Iterating the second recursion down the right spine of ttt: if t1,t2,…,tmt_1, t_2, \ldots, t_mt1​,t2​,…,tm​ are the left subtrees hanging off the right spine of ttt, read from the root downwards (mmm being the length of that spine), then

e(t)  =  lr(t1)⌢lr(t2)⌢⋯⌢lr(tm)⌢(0).e(t) \;=\; \mathrm{lr}(t_1) \frown \mathrm{lr}(t_2) \frown \cdots \frown \mathrm{lr}(t_m) \frown (0).e(t)=lr(t1​)⌢lr(t2​)⌢⋯⌢lr(tm​)⌢(0).

Both lists have exactly ℓ(t)\ell(t)ℓ(t) entries, and the last entry of each is always 000.

A closed description of the entries. Address each leaf of ttt by the word in the alphabet {L,R}\{L, R\}{L,R} recording the left/right steps taken from the root to that leaf, and list the leaves in left-to-right order. Then, entry by entry:

  • the entry of lr(t)\mathrm{lr}(t)lr(t) at a leaf is the length of the maximal terminal block of LLL's in that leaf's address (i.e. the number of consecutive left steps immediately preceding the leaf);
  • the entry of e(t)e(t)e(t) at a leaf is that same number, reduced by 111 exactly when the leaf's address has the form RsLaR^{s}L^{a}RsLa with a≥1a \ge 1a≥1 (all right steps followed by all left steps), and equal to it otherwise. The rightmost leaf, whose address is RsR^{s}Rs, gets 000.

For example, for the ten-leaf tree

t  =  (((leaf∧(leaf∧leaf))∧leaf))∧((leaf∧((leaf∧leaf)∧leaf))∧(leaf∧leaf))t \;=\; \Bigl(\bigl((\text{leaf} \wedge (\text{leaf}\wedge\text{leaf})) \wedge \text{leaf}\bigr)\Bigr) \wedge \Bigl(\bigl(\text{leaf} \wedge ((\text{leaf}\wedge\text{leaf})\wedge\text{leaf})\bigr) \wedge (\text{leaf}\wedge\text{leaf})\Bigr)t=(((leaf∧(leaf∧leaf))∧leaf))∧((leaf∧((leaf∧leaf)∧leaf))∧(leaf∧leaf))

one has e(t)=(2,1,0,0,1,2,0,0,0,0)e(t) = (2,1,0,0,1,2,0,0,0,0)e(t)=(2,1,0,0,1,2,0,0,0,0) while lr(t)=(3,1,0,0,2,2,0,0,1,0)\mathrm{lr}(t) = (3,1,0,0,2,2,0,0,1,0)lr(t)=(3,1,0,0,2,2,0,0,1,0).

For the right-hand comb leaf∧(leaf∧(⋯ ))\text{leaf}\wedge(\text{leaf}\wedge(\cdots))leaf∧(leaf∧(⋯)) with n+1n+1n+1 leaves, e=(0,0,…,0)e = (0,0,\ldots,0)e=(0,0,…,0) while lr=(1,1,…,1,0)\mathrm{lr} = (1,1,\ldots,1,0)lr=(1,1,…,1,0); for the left-hand comb with n+1n+1n+1 leaves, e=(n−1,0,…,0)e = (n-1, 0, \ldots, 0)e=(n−1,0,…,0) for n≥1n \ge 1n≥1 while lr=(n,0,…,0)\mathrm{lr} = (n,0,\ldots,0)lr=(n,0,…,0).

Only eee, the exponents list, appears in the statement being read back; lr\mathrm{lr}lr enters only through the recursion that defines eee.

7. Tree diagrams, the group FFF, extension to R\mathbb{R}R, and "represents"

Tree diagram. A tree diagram ddd consists of three pieces of data: a tree ddomd_{\mathrm{dom}}ddom​ (the domain tree), a tree drand_{\mathrm{ran}}dran​ (the range tree), and a proof that the two have the same number of leaves,

ℓ(ddom)  =  ℓ(dran).\ell(d_{\mathrm{dom}}) \;=\; \ell(d_{\mathrm{ran}}).ℓ(ddom​)=ℓ(dran​).

That equality is part of the datum ddd, hence part of the hypothesis of the statement. In particular marks⁡(ddom)\operatorname{marks}(d_{\mathrm{dom}})marks(ddom​) and marks⁡(dran)\operatorname{marks}(d_{\mathrm{ran}})marks(dran​) have the same number of entries, namely ℓ(ddom)+1\ell(d_{\mathrm{dom}}) + 1ℓ(ddom​)+1.

Dyadic numbers. A real number xxx is dyadic if x=m/2kx = m/2^{k}x=m/2k for some integer mmm (any sign) and some natural number kkk.

The distinguished subset of GGG. Call g∈Gg \in Gg∈G Thompson when there is a finite set B\mathcal{B}B of real numbers, all of them dyadic, such that for every pair u,v∈Iu, v \in Iu,v∈I with u<vu < vu<v and with the open interval (u,v)(u,v)(u,v) disjoint from B\mathcal{B}B, there exist an integer nnn (possibly negative) and a real number ccc with

g(z)  =  2 nz+cfor every z∈I with u≤z≤v.g(z) \;=\; 2^{\,n} z + c \qquad \text{for every } z \in I \text{ with } u \le z \le v .g(z)=2nz+cfor every z∈I with u≤z≤v.

So a Thompson element is an increasing self-bijection of [0,1][0,1][0,1] that is affine with slope an integer power of 222 on each interval free of the finitely many dyadic breakpoints.

The group FFF. FFF is the subgroup of GGG generated by the set of Thompson elements: the smallest subgroup of GGG containing every Thompson element. Membership f∈Ff \in Ff∈F therefore means that fff lies in every subgroup of GGG that contains all Thompson elements; equivalently, fff is a finite product of Thompson elements and inverses of Thompson elements. It does not literally say that fff is itself Thompson.

Extension to the line. For f∈Gf \in Gf∈G let f~:R→R\widetilde{f} : \mathbb{R} \to \mathbb{R}f​:R→R be

f~(x)  =  {f(x),0≤x≤1,x,otherwise,\widetilde{f}(x) \;=\; \begin{cases} f(x), & 0 \le x \le 1,\\ x, & \text{otherwise}, \end{cases}f​(x)={f(x),x,​0≤x≤1,otherwise,​

i.e. fff extended by the identity off [0,1][0,1][0,1]. This is an increasing bijection of R\mathbb{R}R.

Affine on the pieces of a list. For an increasing bijection LLL of R\mathbb{R}R and a finite list of reals (x0,x1,…,xk)(x_0, x_1, \ldots, x_k)(x0​,x1​,…,xk​), say that LLL is affine on the pieces of that list when for each consecutive pair (xi−1,xi)(x_{i-1}, x_i)(xi−1​,xi​), 1≤i≤k1 \le i \le k1≤i≤k, there exist real numbers aaa and ccc (depending on iii) with

L(z)  =  az+cfor all z with xi−1≤z≤xi.L(z) \;=\; a z + c \qquad\text{for all } z \text{ with } x_{i-1} \le z \le x_i .L(z)=az+cfor all z with xi−1​≤z≤xi​.

No condition is placed on aaa beyond being real: it is not required to be positive, nor a power of 222. Lists with fewer than two entries satisfy the condition vacuously.

Represents. Finally, ddd represents fff means the conjunction of three conditions:

  1. f∈Ff \in Ff∈F;
  2. f~\widetilde{f}f​ is affine on the pieces of marks⁡(ddom)\operatorname{marks}(d_{\mathrm{dom}})marks(ddom​) — the domain tree's marks;
  3. applying f~\widetilde{f}f​ to each entry of marks⁡(ddom)\operatorname{marks}(d_{\mathrm{dom}})marks(ddom​) yields marks⁡(dran)\operatorname{marks}(d_{\mathrm{ran}})marks(dran​), as an equality of lists of real numbers. Since the two lists have equal length (by the leaf-count datum in ddd), this says precisely
f~(xi)  =  yifor i=0,1,…,ℓ(ddom),\widetilde{f}(x_i) \;=\; y_i \quad\text{for } i = 0, 1, \ldots, \ell(d_{\mathrm{dom}}),f​(xi​)=yi​for i=0,1,…,ℓ(ddom​),

where (xi)(x_i)(xi​) and (yi)(y_i)(yi​) are marks⁡(ddom)\operatorname{marks}(d_{\mathrm{dom}})marks(ddom​) and marks⁡(dran)\operatorname{marks}(d_{\mathrm{ran}})marks(dran​). Because all the marks lie in [0,1][0,1][0,1], this is the same as f(xi)=yif(x_i) = y_if(xi​)=yi​ for all iii.

8. The assertion

For every tree diagram ddd and every order isomorphism fff of [0,1][0,1][0,1], if ddd represents fff in the sense of §7, then

f  =  word⁡(e(dran))⋅>word⁡(e(ddom))−1f \;=\; \operatorname{word}\bigl(e(d_{\mathrm{ran}})\bigr)\cdot > \operatorname{word}\bigl(e(d_{\mathrm{dom}})\bigr)^{-1}f=word(e(dran​))⋅>word(e(ddom​))−1

as elements of GGG.

Reading off the conventions of §1 and §4: the first factor is the word built from the exponents list of the range tree, the second factor is the inverse of the word built from the exponents list of the domain tree, and they appear in that order, the range word on the left. Pointwise this says

f(x)  =  word⁡(e(dran))(word⁡(e(ddom))−1(x))for all x∈[0,1],f(x) \;=\; \operatorname{word}\bigl(e(d_{\mathrm{ran}})\bigr) \Bigl(\operatorname{word}\bigl(e(d_{\mathrm{dom}})\bigr)^{-1}(x)\Bigr) \qquad\text{for all } x \in [0,1],f(x)=word(e(dran​))(word(e(ddom​))−1(x))for all x∈[0,1],

i.e. the domain word is undone first and the range word applied afterwards. Written out with e(ddom)=(p0,…,pk−1)e(d_{\mathrm{dom}}) = (p_0, \ldots, p_{k-1})e(ddom​)=(p0​,…,pk−1​) and e(dran)=(q0,…,qk−1)e(d_{\mathrm{ran}}) = (q_0, \ldots, q_{k-1})e(dran​)=(q0​,…,qk−1​) (these two lists have the same length k=ℓ(ddom)=ℓ(dran)k = \ell(d_{\mathrm{dom}}) = \ell(d_{\mathrm{ran}})k=ℓ(ddom​)=ℓ(dran​)), the claimed identity is

f  =  (X0 q0X1 q1⋯Xk−1 qk−1) (X0 p0X1 p1⋯Xk−1 pk−1)−1,f \;=\; \bigl(X_0^{\,q_0} X_1^{\,q_1}\cdots X_{k-1}^{\,q_{k-1}}\bigr)\, \bigl(X_0^{\,p_0} X_1^{\,p_1}\cdots X_{k-1}^{\,p_{k-1}}\bigr)^{-1},f=(X0q0​​X1q1​​⋯Xk−1qk−1​​)(X0p0​​X1p1​​⋯Xk−1pk−1​​)−1,

with all pi,qi≥0p_i, q_i \ge 0pi​,qi​≥0 and pk−1=qk−1=0p_{k-1} = q_{k-1} = 0pk−1​=qk−1​=0.

It is an equality of elements of GGG, i.e. of order isomorphisms of [0,1][0,1][0,1], hence an equality of functions on [0,1][0,1][0,1] (and of their inverses).

9. Degenerate and edge cases silently included

  • The hypothesis is satisfiable, not vacuous. Taking ddd to be the diagram whose domain and range trees are both the one-leaf tree and fff the identity: marks⁡=(0,1)\operatorname{marks} = (0,1)marks=(0,1) on both sides, the identity lies in FFF, its extension is the identity of R\mathbb{R}R (affine with a=1a=1a=1, c=0c=0c=0), and (0,1)(0,1)(0,1) maps to (0,1)(0,1)(0,1). So ddd represents fff. In that case e(leaf)=(0)e(\text{leaf}) = (0)e(leaf)=(0), word⁡((0))=X00=1\operatorname{word}((0)) = X_0^{0} = 1word((0))=X00​=1, and the claimed conclusion reads f=1⋅1−1=1f = 1\cdot 1^{-1} = 1f=1⋅1−1=1, which is the case.

  • One-leaf trees give trivial words. Because e(leaf)=(0)e(\text{leaf}) = (0)e(leaf)=(0) and the last entry of e(t)e(t)e(t) is always 000, the final factor Xk−1 0X_{k-1}^{\,0}Xk−10​ of each word is always the identity.

  • No reducedness assumption. Nothing in the hypothesis requires the diagram ddd to be reduced (i.e. to have no common cancelling caret in the two trees); the claim is asserted for all diagrams that represent fff, reduced or not. Consequently, if several diagrams represent the same fff, the statement asserts the same equation for each of them.

  • Both exponent lists are read from the same tree diagram ddd, and the statement fixes which tree goes where: range tree on the left factor, domain tree in the inverted factor.

  • The affineness condition in the hypothesis is stated only for the domain tree's marks, and imposes no slope restriction; the power-of-two slope restriction enters the hypothesis only indirectly, through membership in the group FFF generated by the Thompson elements.

  • Natural-number exponents only. Since e(t)e(t)e(t) is a list of natural numbers, negative powers of the XiX_iXi​ occur in the conclusion only through the single explicit inversion of the whole domain word.

  • The two lists e(ddom)e(d_{\mathrm{dom}})e(ddom​) and e(dran)e(d_{\mathrm{ran}})e(dran​) have equal length, which is the common leaf count; so the same set of generator indices X0,…,Xk−1X_0, \ldots, X_{k-1}X0​,…,Xk−1​ is available to both words.

Human review
  • Endorsed by Shuze Chen · Sep 17, 2026

  • Endorsed by dbenbenn · Sep 17, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, licensed under Apache 2.0.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTermsJoin SlackJoin Zulip© 2026 Prove2Me