Papers
Topics
Authors
Recent
Search
2000 character limit reached

Nonsimple Butterfly Trees

Updated 6 July 2026
  • 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 Bn(p)B_n^{(p)} 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 pp, realize pp-Sylow subgroups of SpnS_{p^n} (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 N=2nN=2^n, a scalar butterfly matrix is built recursively as

B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),

with

Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},

and A1,A2A_1,A_2 butterfly matrices of size N/2N/2. Applying GEPP produces a permutation factor σ(B)SN\sigma(B)\in S_N, called a butterfly permutation (Peca-Medlin et al., 2024).

The simple–nonsimple distinction is structural. Simple scalar butterfly matrices satisfy pp0 recursively and can be written as

pp1

Their permutation group is

pp2

Nonsimple scalar butterfly matrices allow pp3 and pp4 to differ, and their permutation set forms a group

pp5

Hence

pp6

an pp7-fold wreath product, with pp8 normal in pp9 (Peca-Medlin et al., 2024).

For general base pp0, the same pattern persists: pp1 When pp2 is prime,

pp3

so these groups are pp4-Sylow subgroups of pp5 (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 pp6 is exactly the group of automorphisms of a rooted pp7-ary tree of depth pp8. The vertices are words of length pp9 over SpnS_{p^n}0, and each level corresponds to one digit in base SpnS_{p^n}1. An element of SpnS_{p^n}2 acts by independently permuting depth-1 subtrees via elements of SpnS_{p^n}3, followed by a cyclic permutation of the SpnS_{p^n}4 children through SpnS_{p^n}5 (Peca-Medlin et al., 2024).

In the binary case, the tree is a full binary tree of depth SpnS_{p^n}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 SpnS_{p^n}7, the choice at depth SpnS_{p^n}8 is global: all nodes at that depth use the same transposition or identity. In the nonsimple group SpnS_{p^n}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 N=2nN=2^n0 one global choice per level
Nonsimple butterfly iterated wreath product N=2nN=2^n1 local choices at each node

This tree interpretation is also the bridge to later binary-search-tree models. Given a butterfly permutation N=2nN=2^n2, one may form the BST N=2nN=2^n3 by inserting the values of N=2nN=2^n4 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 N=2nN=2^n5 is a nonsimple scalar butterfly matrix built with independent uniform angles N=2nN=2^n6 at each level, then

N=2nN=2^n7

Thus GEPP on such matrices produces a Haar-uniform element of the nonsimple butterfly group N=2nN=2^n8 (Peca-Medlin et al., 2024).

This uniformity rests on an explicit block GEPP factorization,

N=2nN=2^n9

combined with the recursive wreath-product structure and the Diaconis–Shahshahani subgroup algorithm (Peca-Medlin et al., 2024).

For prime B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),0, the B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),1-ary formulation is expressed directly in group-theoretic terms: B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),2 is a uniform random element of a B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),3-Sylow subgroup of B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),4. Because all B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),5-Sylow subgroups of B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),6 are conjugate and the number of cycles is conjugation-invariant, distributional results for B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),7 transfer immediately to any uniform B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),8-Sylow subgroup (Peca-Medlin et al., 2024).

A recurrent misconception is to identify these random objects with uniform permutations in B=(RθIN/2)(A1A2),B=(R_\theta\otimes I_{N/2})(A_1\oplus A_2),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 Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},0, the longest increasing subsequence Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},1 is encoded by a recursive process Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},2 with Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},3 and

Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},4

where the Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},5 are iid copies of Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},6. In the binary case,

Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},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 Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},8, then there exist constants

Rθ=[cosθsinθ sinθcosθ],R_\theta=\begin{bmatrix}\cos\theta & \sin\theta\ -\sin\theta & \cos\theta\end{bmatrix},9

such that

A1,A2A_1,A_20

and A1,A2A_1,A_21. In the binary case,

A1,A2A_1,A_22

and numerical estimation gives A1,A2A_1,A_23 (Peca-Medlin et al., 2024). This contrasts with uniform permutations, for which A1,A2A_1,A_24.

The cycle count is even more explicitly tree-recursive. In the binary nonsimple case, if A1,A2A_1,A_25, then

A1,A2A_1,A_26

where A1,A2A_1,A_27 are iid and A1,A2A_1,A_28. Hence

A1,A2A_1,A_29

With

N/2N/20

one has

N/2N/21

where N/2N/22 has support N/2N/23 and integer moments determined by

N/2N/24

For prime N/2N/25, the normalization becomes

N/2N/26

with N/2N/27 supported on N/2N/28 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 N/2N/29 and σ(B)SN\sigma(B)\in S_N0 is the associated BST, then

σ(B)SN\sigma(B)\in S_N1

with

σ(B)SN\sigma(B)\in S_N2

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 σ(B)SN\sigma(B)\in S_N3 provides a distinct tree-complexity statistic. For a rooted binary tree, it is defined recursively by

σ(B)SN\sigma(B)\in S_N4

For butterfly trees, σ(B)SN\sigma(B)\in S_N5 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 σ(B)SN\sigma(B)\in S_N6 with σ(B)SN\sigma(B)\in S_N7 nodes,

σ(B)SN\sigma(B)\in S_N8

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 σ(B)SN\sigma(B)\in S_N9 nodes.

The obstruction to a simple theory is structural. In the simple model, the gluing of identical subtrees collapses the pp00 evolution to an 8-state Markov chain. In the general nonsimple model, one must track how maximal pp01 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 pp02, 10,000 uniform nonsimple butterfly trees yielded the following observed pp03 distribution (Peca-Medlin, 14 Sep 2025):

HS count
3 494
4 9,040
5 466

For the same experiment, the empirical mean was pp04, and the empirical variance was pp05 with standard deviation pp06 (Peca-Medlin, 14 Sep 2025). Since pp07, this suggests concentration tightly below the structural upper bound. A plausible implication is that nonsimple butterfly trees are more rigid in pp08 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 pp09, corresponding to “one global choice per level,” and in the binary BST setting they produce an exact height law

pp10

with

pp11

(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 pp12 is equally strong. Uniform random permutations have pp13, Tracy–Widom LIS fluctuations, and cycle counts of order pp14, whereas nonsimple butterfly permutations have LIS and cycle counts that scale as powers of pp15 with exponents strictly larger than pp16 for LIS and pp17 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 pp18 integer matrices acting on pp19; 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 pp20-dimensional butterfly recursively splits into pp21, pp22, then pp23, and so on (Bradley, 2014). These usages are mathematically distinct from nonsimple butterfly trees arising from pp24.

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 pp25 lacks a rigorous mechanism (Peca-Medlin, 14 Sep 2025). For BST height, identifying a single exponent pp26 such that pp27 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.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Nonsimple Butterfly Trees.