Compacted binary trees admit a stretched exponential

Abstract A compacted binary tree is a directed acyclic graph encoding a binary tree in which common subtrees are factored and shared, such that they are represented only once. We show that the number of compacted binary trees of size n grows asymptotically like Θ ( n ! 4 n e 3 a 1 n 1 / 3 n 3 / 4 ) , where a 1 ≈ − 2.338 is the largest root of the Airy function. Our method involves a new two parameter recurrence which yields an algorithm of quadratic arithmetic complexity for computing the number of compacted trees up to a given size. We use empirical methods to estimate the values of all terms defined by the recurrence, then we prove by induction that these estimates are sufficiently accurate for large n to determine the asymptotic form. Our results also lead to new bounds on the number of minimal finite automata recognizing a finite language on a binary alphabet. As a consequence, these also exhibit a stretched exponential.

[1]  E. M. Wright,et al.  On the Coefficients of Power Series having Exponential Singularities (Second Paper) , 1949 .

[2]  Anthony J. Guttmann,et al.  Compressed self-avoiding walks, bridges and polygons , 2015, 1506.00296.

[3]  Manuel Kauers,et al.  Asymptotic enumeration of compacted binary trees of bounded right height , 2020, J. Comb. Theory, Ser. A.

[4]  Jeffrey Shallit,et al.  On the Number of Distinct Languages Accepted by Finite Automata with n States , 2002, DCFS.

[5]  E. Wright On the Coefficients of Power Series Having Exponential Singularities , 1933 .

[6]  M. W. Shields An Introduction to Automata Theory , 1988 .

[7]  Michael Domaratzki Improved Bounds On The Number Of Automata Accepting Finite Languages , 2004, Int. J. Found. Comput. Sci..

[8]  David Callan,et al.  A Determinant of Stirling Cycle Numbers Counts Unlabeled Acyclic Single-Source Automata , 2007, Discret. Math. Theor. Comput. Sci..

[9]  Frédérique Bassino,et al.  Enumeration and random generation of accessible automata , 2007, Theor. Comput. Sci..

[10]  D. Owen Handbook of Mathematical Functions with Formulas , 1965 .

[11]  M. Abramowitz,et al.  Handbook of Mathematical Functions With Formulas, Graphs and Mathematical Tables (National Bureau of Standards Applied Mathematics Series No. 55) , 1965 .

[12]  Anthony J. Guttmann,et al.  Numerical studies of Thompson's group F and related groups , 2019, Int. J. Algebra Comput..

[13]  Frédérique Bassino,et al.  Asymptotic enumeration of Minimal Automata , 2011, STACS.

[14]  T. Kousha,et al.  Asymptotic behavior and the moderate deviation principle for the maximum of a Dyck path , 2010, 1008.0606.

[15]  Laurent Saloff-Coste,et al.  ON RANDOM WALKS ON WREATH PRODUCTS , 2002 .

[16]  Andrew R. Conway,et al.  1324-avoiding Permutations Revisited , 2017, Adv. Appl. Math..

[17]  Philippe Flajolet,et al.  Analytic Variations on the Common Subexpression Problem , 1990, ICALP.

[18]  Aleksej D. Korshunov On the Number of Non-isomorphic Strongly Connected Finite Automata , 1986, J. Inf. Process. Cybern..

[19]  Frank Harary,et al.  Enumeration of Finite Automata , 1967, Inf. Control..

[20]  Andrew R. Conway,et al.  On 1324-avoiding permutations , 2015, Adv. Appl. Math..

[21]  Michael Wallner A bijection of plane increasing trees with relaxed binary trees of right height at most one , 2019, Theor. Comput. Sci..

[22]  Jeffrey D. Ullman,et al.  Introduction to Automata Theory, Languages and Computation , 1979 .

[23]  E. Maitland Wright The Coefficients of a Certain Power Series , 1932 .

[24]  Andrew Elvey Price,et al.  Asymptotics of Minimal Deterministic Finite Automata Recognizing a Finite Binary Language , 2020, AofA.

[25]  David Revelle,et al.  Heat Kernel Asymptotics on the Lamplighter Group , 2003 .

[26]  Philippe Flajolet,et al.  Analytic Combinatorics , 2009 .

[27]  Anthony J Guttmann,et al.  Analysis of series expansions for non-algebraic singularities , 2014, 1405.5327.

[28]  Mireille Bousquet-Mélou,et al.  XML Compression via Directed Acyclic Graphs , 2015, Theory of Computing Systems.

[29]  Valery A. Liskovets,et al.  Exact enumeration of acyclic deterministic automata , 2006, Discret. Appl. Math..

[30]  M. Domaratzki Combinatorial Interpretations of a Generalization of the Genocchi Numbers , 2004 .