Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 2.8: positive elements are closed under multiplication

Proved
CannonFloydParry.isPositive_mul

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

combinatoricsgroup-theorythompsons-grouptree-diagrams

Lemma 2.8. If fff and ggg are positive elements of FFF — each a product X0c0X1c1⋯XncnX_0^{c_0} X_1^{c_1} \cdots X_n^{c_n}X0c0​​X1c1​​⋯Xncn​​ with every exponent a nonnegative integer — then so is f⋅gf \cdot gf⋅g.

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

theorem isPositive_mul {f g : UI ≃o UI} (hf : IsPositive f) (hg : IsPositive g) :
    IsPositive (f * g) := 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. 224, Lemma 2.8
Read-back

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

Read-back: the statement isPositive_mul

The ambient group

Let I=[0,1]I = [0,1]I=[0,1] denote the closed real unit interval, carrying the order it inherits from R\mathbb{R}R.

Let

G  =  { f:I→I  :  f is a bijection and x≤y  ⟺  f(x)≤f(y) }G \;=\; \{\, f : I \to I \;:\; f \text{ is a bijection and } x \le y \iff f(x) \le f(y) \,\}G={f:I→I:f is a bijection and x≤y⟺f(x)≤f(y)}

be the set of order isomorphisms of III onto itself: bijections of III that reflect as well as preserve the order. No continuity, differentiability, piecewise-linearity or dyadic condition is built into GGG; membership in GGG is exactly "order-preserving bijection of [0,1][0,1][0,1]".

GGG is a group under the operation

(f⋅g)(x)  =  f(g(x)),(f \cdot g)(x) \;=\; f\bigl(g(x)\bigr),(f⋅g)(x)=f(g(x)),

i.e. the product of two elements is their composite with the right-hand factor applied first; the identity element 111 is the identity map of III, and the inverse is the inverse map. Powers are the iterated products in this group: f0=1f^0 = 1f0=1 and fk+1=fk⋅ff^{k+1} = f^k \cdot ffk+1=fk⋅f, so fkf^kfk is the kkk-fold composite of fff with itself, and f−kf^{-k}f−k denotes (fk)−1(f^k)^{-1}(fk)−1.

All products written below are products in this group, so in every juxtaposition the rightmost factor acts first.

Two distinguished elements

Two specific elements A,B∈GA, B \in GA,B∈G are singled out. Each is given by a monotone piecewise-affine formula; the formulas agree at the shared endpoints of the listed intervals, so each is a well-defined increasing bijection of [0,1][0,1][0,1] fixing 000 and 111.

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

(Both are obtained by first defining an increasing bijection of all of R\mathbb{R}R that is the identity outside [0,1][0,1][0,1] and is given by the formulas above on [0,1][0,1][0,1], and then restricting it to [0,1][0,1][0,1]. The restriction is what AAA and BBB denote here.)

The distinguished family X0,X1,X2,…X_0, X_1, X_2, \dotsX0​,X1​,X2​,…

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

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

the product again being composition with the rightmost factor first: Xn+1(x)=A−n(B(An(x)))X_{n+1}(x) = A^{-n}\bigl(B(A^{n}(x))\bigr)Xn+1​(x)=A−n(B(An(x))). In particular X1=BX_1 = BX1​=B (the n=0n = 0n=0 case, where A0=1A^0 = 1A0=1), and for n≥1n \ge 1n≥1 the element Xn+1X_{n+1}Xn+1​ is the conjugate A−1XnAA^{-1} X_n AA−1Xn​A.

Positive words

For a finite list of natural numbers (c0,c1,…,cn−1)(c_0, c_1, \dots, c_{n-1})(c0​,c1​,…,cn−1​) — length n≥0n \ge 0n≥0, entries ci∈Nc_i \in \mathbb{N}ci​∈N — define an element of GGG by

w(c0,c1,…,cn−1)  =  X0 c0 X1 c1 X2 c2⋯Xn−1 cn−1.w(c_0, c_1, \dots, c_{n-1}) \;=\; X_0^{\,c_0}\, X_1^{\,c_1}\, X_2^{\,c_2} \cdots X_{n-1}^{\,c_{n-1}}.w(c0​,c1​,…,cn−1​)=X0c0​​X1c1​​X2c2​​⋯Xn−1cn−1​​.

Three points of precision about this definition:

  • The index is tied to the position in the list. The recursion starts at index 000 and advances the index by exactly one for each entry consumed, so the kkk-th entry of the list is always the exponent of XkX_kXk​. Reading the list left to right therefore gives the factors in order of strictly increasing index, and the product is taken in that order — with, as always here, the rightmost (highest-index) factor acting on a point first.
  • The exponents are natural numbers: each cic_ici​ satisfies ci≥0c_i \ge 0ci​≥0. Zero exponents are permitted, and a factor Xk0X_k^{0}Xk0​ is the identity, so an index may in effect be skipped. Negative exponents are not expressible: no inverse Xk−1X_k^{-1}Xk−1​ can occur as a factor.
  • The empty list (n=0n = 0n=0) is allowed, and w()=1w() = 1w()=1, the identity element of GGG.

Call an element f∈Gf \in Gf∈G positive if there exists at least one such finite list of natural numbers realising it:

f is positive  ⟺  ∃ n≥0, ∃ c0,…,cn−1∈N:  f=X0 c0X1 c1⋯Xn−1 cn−1.f \text{ is positive} \iff \exists\, n \ge 0,\ \exists\, c_0,\dots,c_{n-1} \in \mathbb{N} :\; f = X_0^{\,c_0} X_1^{\,c_1} \cdots X_{n-1}^{\,c_{n-1}}.f is positive⟺∃n≥0, ∃c0​,…,cn−1​∈N:f=X0c0​​X1c1​​⋯Xn−1cn−1​​.

The list is not required to be unique, nor reduced, nor minimal in any sense; mere existence of one list is the whole condition.

Because zero exponents delete a factor, the set of positive elements can equivalently be described as

{ Xi1 e1Xi2 e2⋯Xik ek  :  k≥0,  i1<i2<⋯<ik,  ej≥1 },\bigl\{\, X_{i_1}^{\,e_1} X_{i_2}^{\,e_2} \cdots X_{i_k}^{\,e_k} \;:\; k \ge 0,\; i_1 < i_2 < \cdots < i_k,\; e_j \ge 1 \,\bigr\},{Xi1​e1​​Xi2​e2​​⋯Xik​ek​​:k≥0,i1​<i2​<⋯<ik​,ej​≥1},

that is: finite products of the XiX_iXi​ with strictly increasing indices (the indices need not form an initial segment of N\mathbb{N}N, and gaps are allowed) and with no inverses of any XiX_iXi​ appearing. The identity element is positive, via the empty list (equivalently, via any list all of whose entries are 000).

The assertion

For every pair of elements f,gf, gf,g of GGG — that is, every pair of order isomorphisms of [0,1][0,1][0,1] onto itself — if fff is positive and ggg is positive, then the product f⋅gf \cdot gf⋅g, the map x↦f(g(x))x \mapsto f(g(x))x↦f(g(x)), is positive.

Spelled out with all quantifiers: for all f,g∈Gf, g \in Gf,g∈G, if there exist a finite list (a0,…,am−1)(a_0,\dots,a_{m-1})(a0​,…,am−1​) of natural numbers with f=X0a0⋯Xm−1am−1f = X_0^{a_0} \cdots X_{m-1}^{a_{m-1}}f=X0a0​​⋯Xm−1am−1​​ and a finite list (b0,…,bn−1)(b_0,\dots,b_{n-1})(b0​,…,bn−1​) of natural numbers with g=X0b0⋯Xn−1bn−1g = X_0^{b_0} \cdots X_{n-1}^{b_{n-1}}g=X0b0​​⋯Xn−1bn−1​​, then there exists a finite list (c0,…,cp−1)(c_0,\dots,c_{p-1})(c0​,…,cp−1​) of natural numbers with

f⋅g  =  X0 c0X1 c1⋯Xp−1 cp−1.f \cdot g \;=\; X_0^{\,c_0} X_1^{\,c_1} \cdots X_{p-1}^{\,c_{p-1}}.f⋅g=X0c0​​X1c1​​⋯Xp−1cp−1​​.

The two elements fff and ggg are arguments that are recovered from the two hypotheses rather than supplied separately; apart from those two hypotheses the assertion carries no further assumptions of any kind — in particular no hypothesis that fff or ggg be piecewise linear, dyadic, or a member of any previously named subgroup, and no structural assumption relating the two witnessing lists.

Degenerate and edge cases included

  • The hypotheses are satisfiable, not vacuous: the identity, A=X0A = X_0A=X0​, B=X1B = X_1B=X1​, every XiX_iXi​, and every finite product of the kind described, are positive.
  • The case f=1f = 1f=1 or g=1g = 1g=1 (empty witnessing list, or a list of zeros) is included.
  • Because the exponents range over N\mathbb{N}N, the case where every exponent of one or both witnessing lists is 000 is included, and no case with a negative exponent arises.
  • No bound is asserted on the length ppp of the resulting list, and no relation between ppp and the lengths mmm, nnn of the two given lists is asserted.
  • The order of the factors matters in the conclusion: the assertion is about the composite that applies ggg first and then fff.
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