Exact state-dependent constants for the fair greedy shuffle buffer

The fair greedy shuffle buffer has an exact long-time constant for every individual reachable word, relative to the empty state at matching parity. Start with \(G_0=\epsilon\) and feed independent fair bits. An empty buffer takes the incoming bit. A nonempty buffer deletes its first bit if the input matches it and appends the input otherwise. The nonempty states are \(w=f^a\bar f^b\), where \(f\in\{0,1\}\), \(\bar f=1-f\), \(a\ge1\) and \(b\ge0\). For \(q_n(w)=\mathbb P(G_n=w)\), every fixed such word satisfies \[c(w)=\lim_{t\to\infty}\frac{q_{2t+a+b}(w)}{q_{2t}(\epsilon)}=\sum_{j=0}^\infty\frac{1}{(j+1)(j+2)}\left(\frac{j}{j+1}\right)^{a-1}\left(\frac{j+1}{j+2}\right)^b,\] with integer \(t\), \(0^0=1\), and \(c(\epsilon)=1\). In particular, \(c(01)=\pi^2/6-1\). If \(T\) is the first return to empty and \(p_k(w)=\mathbb P(G_k=w,T>k)\), last-empty-state decomposition gives \(q_N(w)=\sum_{k=1}^N q_{N-k}(\epsilon)p_k(w)\) for nonempty \(w\). A killed simple-walk bound \(p_k(w)=O_{|w|}((1+k)^{-3/2})\) transfers the ratio to the expected number of visits before \(T\). To count visits, follow phases during which the leading block is deleted. Complementary bits appended in one phase form the next leading block. Its size follows a Galton–Watson process from one bit, with offspring generating function \(h(s)=1/(2-s)\) and phase-\(j\) generating function \(h^{\circ j}(s)=1-(1-s)/(1+j(1-s))\) for \(0\le s<1\). At every fixed length \(L\ge1\), \(\sum_{a=1}^L c(f^a\bar f^{L-a})=1\) for either first bit. The limiting probability conditional on length is therefore \(c(w)/2\). For \(|w|=L\ge2\), \(|c(w)-1/L|\le4/[L(L+1)]\), uniformly in the word after the time limit. Thus the word-to-empty ratio has leading scale \(1/L\), while the conditional probability has scale \(1/(2L)\). These constants describe the single greedy buffer. He and Post, §5, Conjecture 5.5 and the following question. For the greedy binary buffer started empty with independent fair input, determine \(\lim_{t\to\infty}q_{2t+|w|}(w)/q_{2t}(\epsilon)\) for every reachable word \(w\), where \(q_n\) is the buffer-state law. The limit exists for the empty word and every reachable two-block or homogeneous word in both orientations. Theorem 1 gives the exact series and yields \(\pi^2/6-1\) for \(01\). The normalization is the empty-state probability at the parity-matched time.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24701746
Primary Topic
Probability and Statistical Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Exact state-dependent constants for the fair greedy shuffle buffer

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Probability and Statistical Research
preprint

Exact state-dependent constants for the fair greedy shuffle buffer

Zixuan He
preprint en

Abstract

The fair greedy shuffle buffer has an exact long-time constant for every individual reachable word, relative to the empty state at matching parity. Start with \(G_0=\epsilon\) and feed independent fair bits. An empty buffer takes the incoming bit. A nonempty buffer deletes its first bit if the input matches it and appends the input otherwise. The nonempty states are \(w=f^a\bar f^b\), where \(f\in\{0,1\}\), \(\bar f=1-f\), \(a\ge1\) and \(b\ge0\). For \(q_n(w)=\mathbb P(G_n=w)\), every fixed such word satisfies \[c(w)=\lim_{t\to\infty}\frac{q_{2t+a+b}(w)}{q_{2t}(\epsilon)}=\sum_{j=0}^\infty\frac{1}{(j+1)(j+2)}\left(\frac{j}{j+1}\right)^{a-1}\left(\frac{j+1}{j+2}\right)^b,\] with integer \(t\), \(0^0=1\), and \(c(\epsilon)=1\). In particular, \(c(01)=\pi^2/6-1\). If \(T\) is the first return to empty and \(p_k(w)=\mathbb P(G_k=w,T>k)\), last-empty-state decomposition gives \(q_N(w)=\sum_{k=1}^N q_{N-k}(\epsilon)p_k(w)\) for nonempty \(w\). A killed simple-walk bound \(p_k(w)=O_{|w|}((1+k)^{-3/2})\) transfers the ratio to the expected number of visits before \(T\). To count visits, follow phases during which the leading block is deleted. Complementary bits appended in one phase form the next leading block. Its size follows a Galton–Watson process from one bit, with offspring generating function \(h(s)=1/(2-s)\) and phase-\(j\) generating function \(h^{\circ j}(s)=1-(1-s)/(1+j(1-s))\) for \(0\le s<1\). At every fixed length \(L\ge1\), \(\sum_{a=1}^L c(f^a\bar f^{L-a})=1\) for either first bit. The limiting probability conditional on length is therefore \(c(w)/2\). For \(|w|=L\ge2\), \(|c(w)-1/L|\le4/[L(L+1)]\), uniformly in the word after the time limit. Thus the word-to-empty ratio has leading scale \(1/L\), while the conditional probability has scale \(1/(2L)\). These constants describe the single greedy buffer. He and Post, §5, Conjecture 5.5 and the following question. For the greedy binary buffer started empty with independent fair input, determine \(\lim_{t\to\infty}q_{2t+|w|}(w)/q_{2t}(\epsilon)\) for every reachable word \(w\), where \(q_n\) is the buffer-state law. The limit exists for the empty word and every reachable two-block or homogeneous word in both orientations. Theorem 1 gives the exact series and yields \(\pi^2/6-1\) for \(01\). The normalization is the empty-state probability at the parity-matched time.

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Probability and Statistical Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon