English

The Horton-Strahler number of butterfly trees

Probability 2026-04-21 v2 Data Structures and Algorithms Combinatorics

Abstract

The Horton-Strahler (HS) number, a classical measure of branching complexity arising in hydrology and register allocation, is studied for butterfly trees, a recursive family of binary trees generated by block-merging operations. These trees arise as binary search trees of butterfly permutations, which form the 22-Sylow subgroup of the symmetric group on N=2nN = 2^n elements and appear in models of parallel computation and structured Gaussian elimination. For a single merging step applied to two independent Catalan trees with mm nodes, we show that HS(T1T2)/log2(2m)1/2(\mathcal T_1 \oplus \mathcal T_2)/\log_2(2m) \to 1/2 in probability, so the classical Catalan scaling is preserved under this restricted construction. In the simple butterfly model, where each level is formed from identical copies and encoded by an nn-bit string x\mathbf{x}, the HS number admits an exact representation as an additive functional of an explicit 88-state Markov chain driven by iid bits xjBern(p)x_j \sim \mathrm{Bern}(p), and can be computed in O(n)\mathcal O(n) time from x\mathbf{x}. This yields a complete limit theory, including a strong law HS(TnB)/nμp=pq/(1pq)(\mathcal T_n^B)/n \to \mu_p = pq/(1-pq) almost surely and a functional central limit theorem with variance σp2=pq(13pq2p2q2)/(1pq)3\sigma_p^2 = pq(1 - 3pq - 2p^2q^2)/(1-pq)^3. For general butterfly trees, obtained by recursively merging independent subtrees, the increment depends on an expanding edge profile, and the process does not admit a finite-state reduction. We give an O(N)\mathcal O(N) algorithm to compute the HS number directly from the (N1)(N-1)-bit encoding, characterize the zero-HS class, and combine exact enumeration for small nn with Monte Carlo simulations up to n=25n=25, supporting HS(TnB)/nα0.4450(\mathcal T_n^B)/n \to \alpha \approx 0.4450 in probability for uniform butterfly trees, placing the general model strictly between the simple butterfly limit 1/31/3 and the Catalan limit 1/21/2.

Keywords

Cite

@article{arxiv.2509.11384,
  title  = {The Horton-Strahler number of butterfly trees},
  author = {John Peca-Medlin},
  journal= {arXiv preprint arXiv:2509.11384},
  year   = {2026}
}