# A Polya urn with delayed reinforcement: variance bounds, almost sure convergence, and a Gaussian limit for long constant delay (MO 347210)

iis:2612.00602 · by devsingh-lab · https://isitsolved.com/journal/bce14076f9fd

**Abstract.** MathOverflow question 347210 (M. Krnc, 2019) considers a Polya urn in which the copy of the ball drawn at step i is added only X_i time units later, with X_i i.i.d. positive integers, and asks how the colour ratio concentrates; constant delay is singled out as already hard, and the only answer is a simulation. We prove: (1) for any delay schedule independent of the colours, the red fraction is a martingale with an exact variance recursion, its variance is at most that of the ordinary urn, and its law lies in convex order between a binomial law and the ordinary Polya law at each finite horizon; (2) for every i.i.d. positive integer delay law, including infinite-mean laws, the red fraction converges almost surely to a nonconstant limit in (0,1); (3) for constant delay d the limit L_d satisfies d Var(L_d) -> p(1-p) C and sqrt(d)(L_d - p) converges to a normal law with variance p(1-p) C, where p is the initial red fraction and C is an explicit universal constant, numerically about 1.7851. This explains the narrowing and bell shape seen in the simulations. Not obtained: the exact limit law at a fixed delay, rates of convergence, and the limit variance for random delays, so this is a partial answer. Related earlier work: Crimaldi and Leisen (2007) on urns updated in delayed batches. Written proof, checked by a second reader, with independent exact and Monte Carlo computations; not formalised in Lean.

# Concentration in a delayed Pólya urn

**Theorem (constant delay $d$).** $d\,\mathrm{Var}(L_d)\to p(1-p)C$ and $\sqrt d\,(L_d-p)\Rightarrow\mathcal N(0,p(1-p)C)$ with $C\approx1.7851$. **Theorem (any i.i.d. delays).** The red fraction converges almost surely, with variance at most that of the ordinary urn. Written proof; partial answer; not machine-checked.


Results on [MathOverflow question 347210](https://mathoverflow.net/questions/347210) (Matjaž Krnc, 2019). A partial answer: the question is open-ended.

Matjaž Krnc asks how tightly the red fraction concentrates when the copy of the ball drawn at each step enters after a random delay. The fixed-delay case is singled out. Henry's answer reports simulations in which a long constant delay appears to produce a narrow, bell-shaped limit. Here the initial stock is fixed: $r$ red and $s-r$ green, $0<r<s$, and $p=r/s$. [Question and empirical answer](https://mathoverflow.net/questions/347210/delayed-p%C3%B3lyas-urn-process)

**Results.** For arbitrary delays independent of the color choices, the finite-time variance, conditional on the schedule, is at most the corresponding ordinary-urn variance, with equality for immediate reinforcement. An exact variance recursion and exponential tail bound are given below. For constant delay $d$, the eventual red fraction $L_d$ exists almost surely. As $d\to\infty$,
$$
 d\,\mathrm{Var}(L_d)\longrightarrow p(1-p)C,\qquad
 \sqrt d\,(L_d-p)\ \Longrightarrow\ \mathcal N(0,p(1-p)C)
$$
for an explicit positive finite universal constant $C$; numerically $C\approx1.7851$ (computed by the referee from the formula below). Convergence is slow: $d\,\mathrm{Var}(L_d)/(p(1-p))$ is about $1.07$ at $d=10$, $1.59$ at $d=100$ and $1.75$ at $d=1000$. These limits take time to infinity first. The general finite-time bounds also apply to independent random delays with no moment restriction. The Gaussian theorem concerns constant delays only.

**Random-delay extension.** The full red-fraction law lies in convex order between the seed-only binomial law and the ordinary Pólya urn law, with both bounds attainable. For every i.i.d. finite positive integer delay law, including infinite-mean laws, the red fraction converges almost surely to a nonconstant limit in $(0,1)$. [Proof for random delays](https://github.com/DevSingh05/mo-347210-delayed-polya-urn/blob/main/random-delays.md)

## Arbitrary exogenous schedules

Condition on all delays. Number the new balls by arrival, using a fixed order for simultaneous arrivals. Let $Y_j$ be the red indicator of arrival $j$, $Z_0=p$, and $Z_j=(r+\sum_{i=1}^jY_i)/(s+j)$. Let $b_j<j$ be the number of arrivals already present at the draw that created ball $j$. Given the schedule, the random choices of individual parents can be generated independently, each uniform on its prescribed prefix of balls. Consequently, even when arrivals are out of draw order,
$$
 \mathbb E[Y_j\mid Y_1,\ldots,Y_{j-1}]=Z_{b_j}.
$$
Indeed every earlier arrival depends only on its own choice and choices of still earlier arrivals. A calendar-time observation uses the arrival count at that time, which is fixed conditional on the schedule.

Write $\xi_j=Y_j-Z_{b_j}$. Induction gives $\mathbb E Z_j=p$ and $\mathbb E Y_j=p$. The centered recursion is
$$
 (s+j)(Z_j-p)=(s+j-1)(Z_{j-1}-p)+(Z_{b_j}-p)+\xi_j .
$$
Thus $Z_j-p=\sum_{i=1}^j w_{ji}\xi_i$ with deterministic coefficients. Put $w_{ji}=0$ for $j<i$, $w_{ii}=1/(s+i)$, and for $j>i$ set
$$
 w_{ji}=\frac{(s+j-1)w_{j-1,i}+w_{b_j,i}}{s+j}.
$$
This is a convex average, hence $0\le w_{ji}\le1/(s+i)$. Conditional Hoeffding applied to the martingale differences (each has conditional range length one) yields, for each $j\ge1$,
$$
 \Pr(|Z_j-p|\ge x\mid\text{schedule})\le
 2\exp\!\left(-2x^2/\sum_{i\le j}w_{ji}^2\right).
$$
If $V_j=\mathrm{Var}(Z_j\mid\text{schedule})$, orthogonality gives the exact recursion
$$
 V_0=0,\qquad V_j=\sum_{i=1}^j w_{ji}^2\{p(1-p)-V_{b_i}\}.
$$
In particular the schedule-specific variance is computable without enumerating color histories.

There is also a sharp schedule-independent bound $V_j\le U_j=p(1-p)j/[(s+1)(s+j)]$. To see this directly put $M=s+j-1$. The variance of $M Z_{j-1}+Y_j$ equals $M^2 V_{j-1}+p(1-p)+2M\,\mathrm{Cov}(Z_{j-1},Z_{b_j})$. Under the inductive bounds the covariance is at most $U_{j-1}$ by Cauchy–Schwarz and the increase of $U_j$. Dividing by $(M+1)^2$ gives $U_j$ by direct substitution. The covariance bound is an equality at every step of the ordinary urn ($b_j=j-1$). The conditional mean is always $p$, so averaging the variance bound over random schedules introduces no extra variance from differing means.

## Fixed delay and its limiting innovation weights

Use the convention that at draw $i$ the copies from draws $1,\ldots,(i-d)_+$ are available, so $d=1$ is ordinary Pólya reinforcement. Now $b_i=(i-d)_+$, and arrival order equals draw order. For fixed $d$, the successive mean drifts of $Z_j$ have summable absolute values: for $j>d$, the drift is $(Z_{j-d}-Z_{j-1})/(s+j)$, bounded by $O_d(j^{-2})$ because one update changes $Z$ by at most $1/(s+j)$. The remaining increments $\xi_j/(s+j)$ form a square-summable martingale difference series. Thus $Z_j\to L_d$ almost surely and in $L^2$ by boundedness.

Set $H_{d-1}=\sum_{l=1}^{d-1}1/l$ and $S_d(z)=\sum_{l=1}^{d-1}z^l/l$. For fixed $i$ let $A(z)=\sum_{j\ge i}w_{ji}z^{s+j}$. Multiplication of the weight recurrence by $z^{s+j}$ and summation gives
$$
 z(1-z)A'(z)-z^d A(z)=z^{s+i}.
$$
Using the integrating factor $(1-z)e^{S_d(z)}$ gives
$$
 A(z)=\frac{e^{-S_d(z)}}{1-z}\int_0^z t^{s+i-1}e^{S_d(t)}\,dt.
$$
The numerator is entire; subtracting its value at 1 before dividing by $1-z$ leaves an entire function. Its coefficients tend to zero, so
$$
 w_{ji}\longrightarrow \ell_{di}=\int_0^1 t^{s+i-1}\exp(S_d(t)-H_{d-1})\,dt .
$$
The bound $1/(s+i)$ and orthogonality justify passage to the limit in $L^2$ in the martingale sum. Hence $L_d-p=\sum_{i\ge1}\ell_{di}\xi_i$. The same Hoeffding bound holds for $L_d$ with proxy $\sum_i\ell_{di}^2$, by convergence of the finite martingale sums.

## As the fixed delay grows

Define
$$
 \phi(t)=\exp\!\left(\int_0^1\frac{e^{-tv}-1}{v}\,dv\right),\qquad
 W(u)=\int_0^\infty e^{-ut}\phi(t)\,dt,\qquad C=\int_0^\infty W(u)^2\,du.
$$
Put $\phi_d(t)=\exp(S_d(e^{-t/d})-H_{d-1})$. Then $\phi_d(t)\to\phi(t)$ by Riemann sums and
$$
 d\ell_{di}=\int_0^\infty e^{-(s+i)t/d}\phi_d(t)\,dt.
$$
In particular $d\ell_{di}\to W(u)$ whenever $i/d\to u>0$. For uniform integrability observe that $\phi_d(t)\le\min(1,1/[d(1-e^{-t/d})])$, using $H_{d-1}\ge\log d$ and the infinite logarithmic series. This is bounded by a constant times $(1+t)^{-1}+1/d$. Splitting the integral at $1$ and $d/i$ gives $d\ell_{di}\le C_1(1+\log(d/i))$ for $i\le d$; for $i>d$ use $d\ell_{di}\le d/i$. These bounds are square-integrable as step-function envelopes in $u$ (take $i=\lceil du\rceil$). Therefore
$$
 d\sum_{i\ge1}\ell_{di}^2\to C\in(0,\infty),\qquad
 \max_i\sqrt d\,\ell_{di}=O((1+\log d)/\sqrt d)\to0.
$$

We detail why the random conditional variances in the martingale sum can be replaced by $p(1-p)$. At each fixed $v>0$ and along any $j/d\to v$, $Z_j\to p$ in $L^1$. For $j\le d$ this follows from the independent seed draws. More generally the elementary bound
$$
 \mathbb E|Z_j-p|\le
 \frac{\sqrt j+\sum_{i=1}^j\mathbb E|Z_{(i-d)_+}-p|}{s+j}
$$
follows by adding the centered draw indicators, splitting off $\xi_i$, and using their orthogonality. Induct in unit intervals of $v$: divide the sum by $d$ and write it as the integral of a bounded step function. For rescaled indices below 1 the summand vanishes. For indices above 1 the index of $Z$ is lower by one unit, so the induction hypothesis and bounded convergence give zero integral in the limit. The endpoint at 1 is immaterial to the integral; this argument itself covers sequences $j/d\to1$ from either side. Thus for $i/d\to u$ with $u\ne1$, $Z_{b_i}$ either equals $p$ eventually or converges to $p$ in $L^1$.

The predictable variance of $\sqrt d\sum_i\ell_{di}\xi_i$ is $d\sum_i\ell_{di}^2 Z_{b_i}(1-Z_{b_i})$. By the preceding convergence and the same square-integrable envelopes, it converges in $L^1$ to $Cp(1-p)$. Taking expectations proves the variance asymptotic. For the normal limit, truncate at $i\le Md$ for fixed $M>1$. The predictable variance then tends to $p(1-p)\int_0^M W(u)^2du$, and the largest absolute increment tends deterministically to zero. The martingale triangular-array central limit theorem applies. The omitted sum has variance at most $d\sum_{i>Md}(s+i)^{-2}\le O(1/M)$. Letting $M\to\infty$ completes the proof.

## Scope, checks and prior work

**What this answers.** The question asks for insight into how the colour ratio concentrates, and singles out constant delay as already hard. Answered here: the eventual fraction exists for every i.i.d. delay law; its variance never exceeds that of the ordinary urn; for constant delay $d$ the limit is asymptotically Gaussian with variance $p(1-p)C/d$, which explains the narrowing and the bell shape seen in the simulations in the thread. Not obtained: the exact limit law at a fixed finite $d$ (it is not a Beta law for $d\ge2$), a rate of convergence in time, and the limit variance for random delays. The convex-order bounds are attained at each finite horizon only.

**Checks.** A written proof, read line by line by a second reader who re-derived the weight formula and the limit. Independent computations by the referee (scripts in [referee/](https://github.com/DevSingh05/mo-347210-delayed-polya-urn/blob/main/referee/)): exact enumeration agrees with the variance recursion to machine precision on small cases; the limit variances from seed one red, one green are $0.06606$ at $d=2$ and $0.02681$ at $d=10$, matching the simulations posted in the thread; Monte Carlo at $d=2,10,100,300$ agrees with the exact finite-time variances within two standard errors; excess kurtosis tends to zero as $d$ grows. The author's verifiers: [variance recursion](https://github.com/DevSingh05/mo-347210-delayed-polya-urn/blob/main/verify-347210.js) and [convex order](https://github.com/DevSingh05/mo-347210-delayed-polya-urn/blob/main/verify-347210-orders.js). Not formalised in Lean.

**Prior work.** Crimaldi and Leisen, *Asymptotic results for a generalized Pólya urn with delay* (2007), prove almost sure convergence and central limit theorems for a Pólya urn updated in delayed batches; that anticipates the convergence statement in spirit but not per-ball i.i.d. delays, the convex bounds or the large-delay limit. [Paper](https://www.eco.uninsubria.it/RePEc/pdf/QF2007_5.pdf). Jamshidi and Torkaman, Stochastic Models 39 (2023), treat parameter estimation for a fixed-delay urn ([doi](https://doi.org/10.1080/15326349.2022.2155194); abstract read only). Urn designs with delayed response in clinical trials (Bai, Hu and Rosenberger, Ann. Statist. 2002) are of Friedman type, a different model. We found no source for the limit variance, the constant $C$ or the Gaussian limit; the searches were not exhaustive. If this is known, please open an issue and we will credit it.

Produced with AI assistants: Codex (OpenAI) found and wrote the proofs; Claude (Anthropic) refereed them.

