Normal-form data for a reduced tree diagram
ProvedCannonFloydParry.exists_isNormalFormDataIf a reduced tree diagram represents an element of , then there are two lists of nonnegative integers and , of the same nonempty length, satisfying the normal form conditions — exactly one of the last entries is nonzero, and if and are both positive for some before the last index then or is positive — such that
import Definitions.Def_CannonFloydParry import Definitions.Def_CannonFloydParry_Trees import Definitions.Def_CannonFloydParry_TreeDiagrams import Mathlib
namespace CannonFloydParry
theorem exists_isNormalFormData {d : TreeDiagram} {f : UI ≃o UI}
(hd : IsReduced d) (hr : Represents d f) (hne : f ≠ 1) :
∃ as bs : List ℕ, IsNormalFormData as bs ∧ f = word bs * (word as)⁻¹ := by
sorry
end CannonFloydParry
Read-back
What the Lean code literally says, in plain math · claude-opus-5
Read-back: what the statement asserts
The declaration is a single implication with two universally quantified (implicitly bound) variables, three named hypotheses, and an existential conclusion. Everything it mentions is built up from the definitions unfolded below, so the whole assertion is restated here without reference to any other document.
The ambient group
Write , regarded as an ordered set with the order inherited from (formally, the set of real numbers with and , made into a type).
Let
be the set of order isomorphisms of onto itself. No continuity, piecewise linearity or differentiability is assumed of a member of : only that it is an order-preserving bijection of onto .
is a group under composition, with
- product: — so in a product the right factor acts first;
- identity ;
- inverse = the inverse bijection;
- and for , i.e. is the -fold composite of with itself.
Two elements of are equal exactly when they agree at every point of .
For , let be the map
i.e. extended to the whole line by the identity; this is an order isomorphism of .
Dyadic numbers, "Thompson" elements, and the subgroup
A real number is dyadic if for some and . (No restriction to .)
Call a Thompson element if there is a finite set , all of whose members are dyadic, such that:
for all with and (open interval), there exist an integer and a real number such that
Here is an integer power of (so a positive real), while is an arbitrary real number. is not required to be contained in , nor to be non-empty.
Let be the subgroup generated by the set of all Thompson elements: the intersection of all subgroups of containing that set, equivalently the set of all finite products of Thompson elements and inverses of Thompson elements (together with the identity). The hypothesis below asks only that lie in ; it does not ask that itself be a Thompson element.
The two distinguished elements and
is the map
(a continuous, piecewise-linear, increasing bijection of : the three overlapping clauses agree at and , and , ).
is the map
again continuous, piecewise linear and increasing, fixing and and fixing every point of .
(Both are defined as the restriction to of an explicit increasing piecewise-linear bijection of that is the identity outside .)
The elements and the words
Define for by
Note the index shift: the conjugating power is , not . Thus
which as a function means : the innermost (rightmost) factor acts first.
For a finite list of natural numbers, define
the product taken in this left-to-right order, with . The -th entry of the list is the exponent of : the list position determines which generator, starting at index and increasing by one along the list. Because the entries are natural numbers, all exponents occurring in are ; entries equal to contribute the identity factor.
Consequently
the inverted factors appearing in decreasing index order.
Trees, leaf counts, subdivision points, and exposed carets
A tree here is a finite rooted binary tree in which every node is either a leaf or has an ordered pair of subtrees (left, right). Its leaf count is for a leaf and the sum of the leaf counts of the two subtrees otherwise.
Subdivision points. Give the root the interval ; if a node carries , its left subtree carries and its right subtree carries . The marks of a tree is the list
If has leaves, this list has entries and is strictly increasing,
and is exactly the interval carried by the -th leaf from the left. For the one-leaf tree, . All these points are dyadic.
Exposed carets. For a tree and , say has an exposed caret at when contains a node both of whose subtrees are single leaves, and the left of those two leaves is the -th leaf of counted from the left starting at . (The recursion implementing this descends into the left subtree when is less than its leaf count, into the right subtree with reduced by the left leaf count when is at least that leaf count, and in the one remaining case — = (left leaf count) , i.e. and straddle the node — returns true exactly when both subtrees are single leaves.) In particular a one-leaf tree has an exposed caret at no , and no tree has an exposed caret at any beyond its leaf count.
Tree diagrams, representation, reducedness
A tree diagram consists of two trees, and , together with (as part of the data) the requirement that they have the same leaf count. Write and ; these two lists have the same length precisely because of that requirement.
Say represents when all three of the following hold.
- (the subgroup described above).
- Affine on the pieces: for each pair of consecutive entries of (so ) there exist real numbers and with
Since , this says on . Nothing requires , nor that be a power of , nor that be dyadic; the slope and intercept may depend on . 3. Marks go to marks, in order: applying entrywise to the list yields the list :
(Equality of lists, so entry by entry and in the same order, not merely equality of the underlying sets.)
Say is reduced when there is no such that has an exposed caret at and has an exposed caret at — the same index in both trees. The quantifier runs over all natural numbers , including those exceeding the leaf count, where both conditions fail anyway. A diagram whose two trees are both the one-leaf tree is reduced.
The condition on the pair of exponent lists
For two lists and of natural numbers, say the pair — in this order — is normal-form data when all four of the following hold.
- is not the empty list, i.e. .
- The lists have equal length: .
- At the last index , exactly one of the two final entries vanishes and the other is strictly positive:
(This is a disjunction of two mutually exclusive alternatives; it rules out both and both positive.) 4. For every with :
This is vacuous when . It is an implication in one direction only: nothing is claimed when or , and the conclusion is an inclusive "or".
In clauses 3 and 4 the index bounds are computed from the length of the first list, which by clause 2 is also the length of the second, so every entry referred to genuinely exists. (Entries are read by a total lookup that returns for an out-of-range index; clauses 2–4 never rely on that, although clause 1 is what stops clause 3 from reading two out-of-range 's when is empty — with empty, clause 3 would read and fail.)
The assertion
Let be any tree diagram and let be any order isomorphism of onto itself (both universally quantified; in the Lean text they are implicit arguments, to be inferred, which does not change the logical content). Assume:
- (i) is reduced, in the sense above;
- (ii) represents , in the three-part sense above (in particular );
- (iii) , i.e. is not the identity map of .
Then there exist two finite lists and of natural numbers such that the pair is normal-form data (clauses 1–4) and
that is,
an equality in (equivalently: the two sides agree at every point of ).
Points of the conclusion worth stating explicitly:
- The second list supplies the un-inverted (leftmost) block of factors and the first list supplies the inverted block, even though the normal-form-data condition is applied to the pair in the order . So in the equation the roles are: positive, negative.
- In the inverted block the factors occur in decreasing generator index, while in the positive block they occur in increasing generator index.
- All are natural numbers, hence ; interior entries may be .
- This is a plain existence claim (, not ): no uniqueness of , or of is asserted, no minimality of , and no bound on in terms of or (in particular no relation between and the number of leaves of the trees of ).
- Nothing is asserted about how and are obtained from ; the trees of do not appear in the conclusion.
Degenerate and edge cases the quantifiers include
- The hypotheses are jointly satisfiable, so the statement is not vacuous. An explicit witness: take , the tree whose left subtree is a leaf and whose right subtree is a caret of two leaves (marks ), and the tree whose left subtree is a caret of two leaves and whose right subtree is a leaf (marks ). Both have leaves; carries to entrywise and is affine on each of the three pieces; is a Thompson element (breakpoint set , slopes ), hence lies in ; the domain tree has an exposed caret only at and the range tree only at , so the diagram is reduced; and since . (This witness was checked mechanically.)
- One-leaf diagrams cannot satisfy the hypotheses. If both trees of are single leaves then for each, and clause 2 of "represents" forces to be affine on all of while clause 3 forces , ; hence , excluded by hypothesis (iii). So hypothesis (iii) is doing work beyond mere non-triviality of bookkeeping.
- The condition " is reduced" is a statement about matching indices: a diagram in which both trees have exposed carets, but never at the same index , is reduced.
- The condition "affine on the pieces" is imposed only on the pieces cut out by the marks of the domain tree; no separate condition is imposed on the pieces of the range tree.
- Hypothesis (ii) requires as a separate conjunct; it is not derived from the other two conjuncts inside this statement.
- There is no hypothesis that be continuous, piecewise linear, or have dyadic breakpoints beyond what (ii) provides, and no typeclass or finiteness hypothesis beyond those listed.
Confirmed by the mission captain (proposal self-audit).