Nonsimple Butterfly Trees
- Nonsimple butterfly trees are recursively defined rooted-tree structures arising from butterfly permutations and constructed via independent local choices in nonsimple butterfly matrices.
- They connect algebraic formulations with probabilistic properties such as BST height, longest increasing subsequences, and cycle counts that scale with power laws.
- Empirical studies reveal that nonsimple butterfly trees demonstrate rigid Horton–Strahler behavior and distinct differences from simple butterfly trees and uniform random permutations.
Searching arXiv for the relevant butterfly-tree literature to ground the article in current papers. arXiv search query: butterfly trees nonsimple butterfly permutations Horton-Strahler number heights butterfly trees “Nonsimple butterfly trees” denotes, in the context of butterfly permutations, the rooted-tree structure underlying the nonsimple butterfly groups and the random permutations drawn from them. In the primary formulation, these objects arise from Gaussian elimination with partial pivoting on nonsimple scalar butterfly matrices, whose permutation factors form iterated wreath products and, for prime , realize -Sylow subgroups of (Peca-Medlin et al., 2024). In later work on binary search trees and Horton–Strahler complexity, the same recursive permutation class induces “general” or “nonsimple” butterfly trees as binary tree shapes obtained from the associated permutations, with markedly different behavior from both simple butterfly trees and classical random trees (Peca-Medlin et al., 6 Jul 2025, Peca-Medlin, 14 Sep 2025).
1. Algebraic origin and basic definition
For , a scalar butterfly matrix is built recursively as
with
and butterfly matrices of size . Applying GEPP produces a permutation factor , called a butterfly permutation (Peca-Medlin et al., 2024).
The simple–nonsimple distinction is structural. Simple scalar butterfly matrices satisfy 0 recursively and can be written as
1
Their permutation group is
2
Nonsimple scalar butterfly matrices allow 3 and 4 to differ, and their permutation set forms a group
5
Hence
6
an 7-fold wreath product, with 8 normal in 9 (Peca-Medlin et al., 2024).
For general base 0, the same pattern persists: 1 When 2 is prime,
3
so these groups are 4-Sylow subgroups of 5 (Peca-Medlin et al., 2024).
2. Rooted-tree interpretation
The rooted-tree viewpoint is the most direct meaning of “nonsimple butterfly trees.” The structure of 6 is exactly the group of automorphisms of a rooted 7-ary tree of depth 8. The vertices are words of length 9 over 0, and each level corresponds to one digit in base 1. An element of 2 acts by independently permuting depth-1 subtrees via elements of 3, followed by a cyclic permutation of the 4 children through 5 (Peca-Medlin et al., 2024).
In the binary case, the tree is a full binary tree of depth 6. At each node, one either keeps the left and right subtrees in place or swaps them. The essential difference from the simple model is locality. In the simple group 7, the choice at depth 8 is global: all nodes at that depth use the same transposition or identity. In the nonsimple group 9, each node chooses independently, producing a much larger group and more intricate permutations (Peca-Medlin et al., 2024).
| Object | Group structure | Tree interpretation |
|---|---|---|
| Simple butterfly | 0 | one global choice per level |
| Nonsimple butterfly | iterated wreath product 1 | local choices at each node |
This tree interpretation is also the bridge to later binary-search-tree models. Given a butterfly permutation 2, one may form the BST 3 by inserting the values of 4 in order. For butterfly permutations, the resulting binary tree shape is called a butterfly tree; simple trees arise from iterated gluing of identical copies, whereas nonsimple butterfly trees arise by gluing different butterfly trees at successive levels (Peca-Medlin, 14 Sep 2025).
3. Random generation, uniformity, and Sylow subgroups
The random nonsimple model is tied to GEPP. If 5 is a nonsimple scalar butterfly matrix built with independent uniform angles 6 at each level, then
7
Thus GEPP on such matrices produces a Haar-uniform element of the nonsimple butterfly group 8 (Peca-Medlin et al., 2024).
This uniformity rests on an explicit block GEPP factorization,
9
combined with the recursive wreath-product structure and the Diaconis–Shahshahani subgroup algorithm (Peca-Medlin et al., 2024).
For prime 0, the 1-ary formulation is expressed directly in group-theoretic terms: 2 is a uniform random element of a 3-Sylow subgroup of 4. Because all 5-Sylow subgroups of 6 are conjugate and the number of cycles is conjugation-invariant, distributional results for 7 transfer immediately to any uniform 8-Sylow subgroup (Peca-Medlin et al., 2024).
A recurrent misconception is to identify these random objects with uniform permutations in 9. They are instead highly constrained hierarchical permutations. This distinction is decisive for longest increasing subsequences, cycle counts, tree height, and Horton–Strahler behavior.
4. Longest increasing subsequences, cycles, and height
For nonsimple permutations 0, the longest increasing subsequence 1 is encoded by a recursive process 2 with 3 and
4
where the 5 are iid copies of 6. In the binary case,
7
This is the tree recursion in probabilistic form: if the root permutation is identity, LIS contributions from both subtrees can concatenate; if the root swaps blocks, monotonicity forces the LIS into one side (Peca-Medlin et al., 2024).
The expected LIS obeys a power law. If 8, then there exist constants
9
such that
0
and 1. In the binary case,
2
and numerical estimation gives 3 (Peca-Medlin et al., 2024). This contrasts with uniform permutations, for which 4.
The cycle count is even more explicitly tree-recursive. In the binary nonsimple case, if 5, then
6
where 7 are iid and 8. Hence
9
With
0
one has
1
where 2 has support 3 and integer moments determined by
4
For prime 5, the normalization becomes
6
with 7 supported on 8 and uniquely determined by its recursively defined moments (Peca-Medlin et al., 2024).
The BST height induced by nonsimple butterfly permutations also grows polynomially. If 9 and 0 is the associated BST, then
1
with
2
The lower bound matches the simple butterfly mean height, while the upper bound reflects the max-type recursion in the wreath-product model (Peca-Medlin et al., 6 Jul 2025).
5. Horton–Strahler number and rigidity in the nonsimple model
The Horton–Strahler number 3 provides a distinct tree-complexity statistic. For a rooted binary tree, it is defined recursively by
4
For butterfly trees, 5 measures how deeply perfect binary branching can be embedded in the tree shape (Peca-Medlin, 14 Sep 2025).
In the nonsimple case, exact analysis remains open, but one rigorous global bound is known: for any butterfly tree 6 with 7 nodes,
8
and this bound is sharp (Peca-Medlin, 14 Sep 2025). This support bound is substantially smaller than the maximum possible Horton–Strahler number for arbitrary binary trees on 9 nodes.
The obstruction to a simple theory is structural. In the simple model, the gluing of identical subtrees collapses the 00 evolution to an 8-state Markov chain. In the general nonsimple model, one must track how maximal 01 paths run along both top edges, including escape information into internal subtrees; the natural state becomes an evolving combinatorial object whose state space grows with tree size, and no finite-state Markov representation is known (Peca-Medlin, 14 Sep 2025).
Empirical sampling nevertheless shows striking concentration. For 02, 10,000 uniform nonsimple butterfly trees yielded the following observed 03 distribution (Peca-Medlin, 14 Sep 2025):
| HS | count |
|---|---|
| 3 | 494 |
| 4 | 9,040 |
| 5 | 466 |
For the same experiment, the empirical mean was 04, and the empirical variance was 05 with standard deviation 06 (Peca-Medlin, 14 Sep 2025). Since 07, this suggests concentration tightly below the structural upper bound. A plausible implication is that nonsimple butterfly trees are more rigid in 08 than simple butterfly trees, even though they are larger and combinatorially more varied.
6. Comparisons, alternate usages, and open problems
The contrast with simple butterflies is sharp. Simple butterfly permutations form an abelian group 09, corresponding to “one global choice per level,” and in the binary BST setting they produce an exact height law
10
with
11
(Peca-Medlin et al., 6 Jul 2025). Nonsimple butterflies replace this exact tensor-product structure by an iterated wreath product, yielding only bounds for height and for LIS exponents, but a full scaling limit for cycle counts (Peca-Medlin et al., 2024, Peca-Medlin et al., 6 Jul 2025).
The contrast with uniform permutations in 12 is equally strong. Uniform random permutations have 13, Tracy–Widom LIS fluctuations, and cycle counts of order 14, whereas nonsimple butterfly permutations have LIS and cycle counts that scale as powers of 15 with exponents strictly larger than 16 for LIS and 17 for cycles (Peca-Medlin et al., 2024). This suggests that the rooted-tree hierarchy imposes long-range order rather than washing it out.
The terminology is not universal across arXiv. In “Building the Butterfly Fractal: The Eightfold Way,” a “butterfly tree” is an octonary Diophantine tree for the Hofstadter butterfly, generated by eight unimodular 18 integer matrices acting on 19; that object belongs to spectral topology rather than permutation groups or BSTs (Satija, 2024). In “Superconcentration on a Pair of Butterflies,” the relevant tree-like object is the binary hierarchy of sub-butterflies in a layered routing network, where a 20-dimensional butterfly recursively splits into 21, 22, then 23, and so on (Bradley, 2014). These usages are mathematically distinct from nonsimple butterfly trees arising from 24.
Several central problems remain open. For general nonsimple butterfly trees, the order of growth and limit law of the Horton–Strahler number are unproved; the variance may be bounded, logarithmic, or intermediate, and the empirical concentration near 25 lacks a rigorous mechanism (Peca-Medlin, 14 Sep 2025). For BST height, identifying a single exponent 26 such that 27 remains open (Peca-Medlin et al., 6 Jul 2025). For the permutation model more broadly, the LIS is controlled only by power-law bounds rather than an exact exponent or limit law (Peca-Medlin et al., 2024).
Taken together, these results place nonsimple butterfly trees in an intermediate regime between maximally structured simple butterflies and fully random symmetric-group behavior. Their governing principle is recursive local randomness on a rooted tree: sufficiently rigid to force anomalously large LIS, cycle counts, and BST heights, yet sufficiently rich to defeat the finite-state methods that solve the simple case.