×

Analytic combinatorics of lattice paths with forbidden patterns: enumerative aspects. (English) Zbl 1437.68090

Klein, Shmuel Tomi (ed.) et al., Language and automata theory and applications. 12th international conference, LATA 2018, Ramat Gan, Israel, April 9–11, 2018. Proceedings. Cham: Springer. Lect. Notes Comput. Sci. 10792, 195-206 (2018).
Summary: This article presents a powerful method for the enumeration of pattern-avoiding words generated by an automaton or a context-free grammar. It relies on methods of analytic combinatorics, and on a matricial generalization of the kernel method. Due to classical bijections, this also gives the generating functions of many other structures avoiding a pattern (e.g., trees, integer compositions, some permutations, directed lattice paths, and more generally words generated by a push-down automaton). We focus on the important class of languages encoding lattice paths, sometimes called generalized Dyck paths. We extend and refine the study by C. Banderier and P. Flajolet [Theor. Comput. Sci. 281, No. 1–2, 37–80 (2002; Zbl 0996.68126)] on lattice paths, and we unify several dozens of articles which investigated patterns like peaks, valleys, humps, etc., in Dyck and Motzkin words. Indeed, we obtain formulas for the generating functions of walks/bridges/meanders/excursions avoiding any fixed word (a pattern). We show that the autocorrelation polynomial of this forbidden pattern (as introduced by L. J. Guibas and A. M. Odlyzko [J. Comb. Theory, Ser. A 30, 183–208 (1981; Zbl 0454.68109)], in the context of regular expressions) still plays a crucial role for our algebraic functions. We identify a subclass of patterns for which the formulas have a neat form. En passant, our results give the enumeration of some classes of self-avoiding walks, and prove several conjectures from the On-Line Encyclopedia of Integer Sequences. Our approach also opens the door to establish the universal asymptotics and limit laws for the occurrence of patterns in more general algebraic languages.
For the entire collection see [Zbl 1386.68008].

MSC:

68Q45 Formal languages and automata
05A15 Exact enumeration problems, generating functions
05A16 Asymptotic enumeration
11B75 Other combinatorial number theory

Software:

OEIS
Full Text: DOI