Skip to content

Depth of leaves in closed linear λλ-terms: exact recurrence, limit law and edge window

Olivier Bodini

cs.LO

Abstract

Let KnK_n (resp.\ DnD_n) be the depth of a uniform leaf (resp.\ node) in a uniform closed linear λλ-term of size nn. A bijective \emph{grafting identity} yields an exact polynomial-time recurrence for the full depth profile. By the method of moments, Kn/nK_n/n converges in law to the density 3x/1−2x3x/\sqrt{1-2x} on [0,12][0,\frac12], i.e.\ 2Kn/n→B(2,12)2K_n/n\to\Beta(2,\frac12), with E[Knr]/nr→3(r+1)!/(2r+3)!!\mathbb E[K_n^r]/n^r\to3(r+1)!/(2r+3)!!; likewise 1−2Dn/n→B(12,1)1-2D_n/n\to\Beta(\frac12,1). A backward Markov chain gives the corresponding local limits for k≤(12−ε)nk\le(\frac12-\varepsilon)n. The limit density diverges at 12\frac12, and the profile has a second scale: a window of width n\sqrt n around n/2n/2, which carries a fraction of order n−1/4n^{-1/4} of the nodes, at a density n1/4n^{1/4} times larger than in the bulk. We prove that a single explicit function describes both regimes: uniformly in dd, n3/4 P(Dn=d)=g(d−n/2n)+O(n−1/16),n3/4 P(Kn=d)=3dn g(d−n/2n)+O(n−1/16),n^{3/4}\,\mathbb P(D_n=d)=g\Bigl(\tfrac{d-n/2}{\sqrt n}\Bigr)+O(n^{-1/16}),\qquad n^{3/4}\,\mathbb P(K_n=d)=\tfrac{3d}{n}\,g\Bigl(\tfrac{d-n/2}{\sqrt n}\Bigr)+O(n^{-1/16}), where g(y)=2−1/2e−y2D−1/2(2y)g(y)=2^{-1/2}e^{-y^2}D_{-1/2}(2y) is a parabolic cylinder function. In particular P(Kn>n/2)∼34 E∣Z∣1/2 n−1/4≈0.6166 n−1/4\mathbb P(K_n>n/2)\sim\frac34\,\mathbb E|Z|^{1/2}\,n^{-1/4}\approx0.6166\,n^{-1/4} with ZZ standard Gaussian. The proofs rest on harmonic functions of the heat equation evaluated along the backward chain.

Create a lesson

Metadata

Categories
cs.LO, math.CO