Summary
For a small adversarial deletion fraction $\delta$, binary codes with subexponential list size have rate at most $1-h(\delta)+O(\delta^3)$. The standard random-coding lower bound then determines the deletion list-decoding capacity through second order. The upper bound applies to unique decoding as well. The positive-rate threshold for unique decoding remains open.
Approach
I first tested a variation of the Bukh–Guruswami–Håstad concatenation in which different inner words use different dirt ratios. The span obstruction below persists in this variation. For the rate-curve question I extended the run-type counting argument in 2026-12-02-codex-open-codes.md. The extra deletion patterns remove up to two symbols per run. Counting them by a weighted recurrence controls both the number and the types of deletion outputs.
Claims
- [proved] There are absolute constants $C<\infty$ and $\delta_0>0$ such that, for $0<\delta<\delta_0$, any family of binary codes $\mathcal C_n$ with maximum list size $2^{o(n)}$ from $t=\lfloor\delta n\rfloor$ deletions satisfies $$
\limsup_{n\to\infty}\frac{1}{n}\log_2 |\mathcal C_n|
\le 1-h(\delta)+C\delta^3.
$$
- [proved] The supremal rate with polynomial lists satisfies $C_{\rm del}(\delta)=1-h(\delta)+O(\delta^3)$. The same expansion holds when the supremum is taken over list sizes constant in blocklength and allowed to depend on the target rate and $\delta$.
Here $h$ is binary entropy in bits. Write $H=(\ln 2)h$ for entropy in nats and $q_+=\max(q,0)$.
Details
1. Converse
Run density. Pass to a subsequence attaining the limsup $R$. Within each code keep the largest class with a common number $r$ of runs and a common number $s$ of singleton runs. The class loses a factor at most $(n+1)^2$. Pass to a further subsequence with $r/n\to\rho$ and $s/n\to\sigma$. All subsequent $o(1)$ errors are as $n\to\infty$ for fixed $\delta$. Constants in the $O(\cdot)$ bounds as $\delta\downarrow0$ are absolute.
If $R\le1-h(\delta)$ the desired bound already holds. Otherwise $R\le h(\rho)$ from counting input words with $r$ runs, so $\rho\in[1/4,3/4]$ for sufficiently small $\delta$. In fact, $\rho=1/2+O(\delta)$. To see this, use the construction in 2026-12-02-codex-open-codes.md that deletes one symbol at each of $t$ nonconsecutive run boundaries. This gives $\binom{r-t}{t}$ distinct outputs per input and every output has between $r-2t$ and $r$ runs. Counting the outputs by their number of runs and dividing by the number of outputs per input gives $$
R\le (1-\delta)\max_{u\in[(\rho-2\delta)/(1-\delta),\rho/(1-\delta)]}h(u)
-B_\delta(\rho),
\qquad B_\delta(\rho)=(\rho-\delta)h\left(\frac{\delta}{\rho-\delta}\right).
$$ Indeed, every output of length $n-t$ comes from at most $2^{o(n)}$ inputs. The output entropy term is at most $(1-\delta)-c(\rho-1/2)^2+O(\delta^2)$ for an absolute $c>0$, by $h(u)\le 1-2(u-1/2)^2/\ln 2$ and $|u-\rho|=O(\delta)$. Also $B_\delta(1/2)=h(\delta)-\delta+O(\delta^2)$, and $|B'_\delta|=O(\delta)$ on $[1/4,3/4]$. The assumed $R>1-h(\delta)$ therefore implies $$
c(\rho-1/2)^2\le O(\delta|\rho-1/2|+\delta^2).
$$ Write $\rho=1/2+a\delta$, with $|a|$ bounded by an absolute constant.
Greedy outputs. For a word with run lengths $\ell_1,\ldots,\ell_r$, shorten the right end of run $i$ by $d_i\in\{0,1,2\}$ with $d_i\le\ell_i$. Require $d_r=0$ and require $d_{i-1}=0$ whenever $i>1$ and $d_i=\ell_i$. Call these choices admissible. Each deleted block is followed by a kept symbol opposite to its deleted symbols, and the last symbol of the word is kept. The surviving positions are consequently the leftmost embedding of the output, obtained greedily from left to right. This proves that distinct admissible choices give distinct outputs, including across different output lengths.
Let $k=r-1$, $s'=\sum_{i=1}^k\mathbf1_{\ell_i=1}$, $T=\sum_i d_i$, and $J=\sum_{i:\ell_i=1}d_i$. Give each admissible choice weight $z^T w^J$. For the prefix of the first $i$ runs, let $Z_i$ be the sum of its weights using the adjacency constraint. Put $Z_{-1}=Z_0=1$, and define $$
A_i=zw^{\mathbf1_{\ell_i=1}}+\mathbf1_{\ell_i\ge2}z^2,qquad
F_i=\mathbf1_{\ell_i=1}zw+\mathbf1_{\ell_i=2}z^2.
$$ When run $i$ disappears, the previous run has no deletion. This gives $$
Z_i=(1+A_i-F_i)Z_{i-1}+F_i Z_{i-2}.
$$ The full generating function is $Z_k$. Set $Q_i=Z_i/Z_{i-1}$ and $Q_0=1$. The recurrence is $Q_i=1+A_i+F_i(Q_{i-1}^{-1}-1)$. For complex $|z|\le1/20$ and $|w-1|\le1/2$, induction gives $|Q_i-1|\le1/4$ and $Q_i-1=O(|z|)$, uniformly in all run lengths. In the induction one uses $|Q_{i-1}^{-1}-1|\le1/3$. Hence $\ln Z_k=\sum_i\log Q_i$ has an analytic branch with uniform bound $O(n|z|)$ on that polydisc, using the log branch at $1$.
At $w=1$, the coefficient of $z^2$ in $Q_i-1$ is $\mathbf1_{\ell_i\ge2}-\mathbf1_{i\ge2,\ell_i=1}$, since the linear term in $Q_{i-1}-1$ is $z$ for $i\ge2$. Subtracting $z^2/2$ per run to expand the logarithm gives $$
\ln Z_k(z,1)
= k\ln(1+z)+(k-2s'+\mathbf1_{\ell_1=1})z^2+O(nz^3).
\tag{1}
$$ The remainder is uniform on a smaller disc by Cauchy's estimates. The term linear in $z$ for general $w$ is $z(k-s'+s'w)$. Thus for the probability law proportional to $z^T$ with $z>0$ sufficiently small, $$
\mathbb E T=kz+O(nz^2),\qquad
\mathbb E J=s'z+O(nz^2),\qquad
\operatorname{Var}(T)+\operatorname{Var}(J)=O(n).
\tag{2}
$$ The means and variances are the first and second derivatives of $\ln Z_k$ with respect to $\ln z$ and $\ln w$, evaluated at $w=1$. The uniform analytic bounds justify the differentiated estimates.
Fixed deletion budget. Choose $z>0$ separately for each input so that $\mathbb E T=t-2n^{2/3}$. For all sufficiently large $n$ such a $z$ lies between $\delta n/(2k)$ and $2\delta n/k$, by continuity and the first estimate in (2). It satisfies $$
z=\delta/\rho+O(\delta^2)+o(1).
$$ By (2) and Chebyshev's inequality, $t-3n^{2/3}\le T\le t-n^{2/3}$ and $|J-\mathbb E J|\le n^{2/3}$ simultaneously with probability $1-o(1)$. Let $D$ count runs with $d_i=2$. For each run, replacing a choice of two deletions by zero preserves admissibility and gives an injective map on choices with those two deletions. Each original choice has weight $z^2$ times the weight of its image. Thus $\mathbb E D\le n z^2$, and $D\le 4nz^2$ with probability at least $3/4$. The three events together have probability at least $1/2$ for large $n$.
The probability of an individual choice on these events is at most $z^{t-3n^{2/3}}/Z_k(z,1)$, because $z<1$. There are therefore at least $\exp(\ln Z_k-t\ln z-o(n))$ distinct outputs. Take the prefix of length $m=n-t$ of each output to reach exactly $t$ deletions. This costs only an $\exp(o(n))$ factor, because a fixed prefix has at most $\sum_{0\le j\le 3n^{2/3}+1}2^j$ extensions of the relevant lengths.
Set $e=\sigma-1/4$. The number of resulting outputs per input is at least $2^{n(S-o(1))}$, where, for an absolute constant $K$, $$
S=h(\delta)-\delta+\frac{2a-1/2}{\ln 2}\delta^2
-K(\delta^2|e|+\delta^3).
\tag{3}
$$ For the calculation, (1) gives the natural-log count per input symbol as at least $$
\rho\ln(1+z)-\delta\ln z
+(\rho-2\sigma)z^2-O(\delta^3)-o(1).
$$ The first two terms are at least $\rho H(\delta/\rho)$ by minimizing over $z>0$. The absolute value of the quadratic correction is $O(\delta^2|e|+\delta^3)+o(1)$. Finally, $$
\rho H(\delta/\rho)
=H(\delta)+\delta\ln\rho+\left(\frac12-\frac{1}{2\rho}\right)\delta^2+O(\delta^3)
=H(\delta)-\delta\ln 2+(2a-1/2)\delta^2+O(\delta^3).
$$
Output types. If $u$ is the fraction of runs per output symbol and $v$ is the fraction of singleton runs per output symbol, the outputs just counted satisfy $$
u=\frac{\rho-2\sigma z+O(\delta^2)}{1-\delta}+o(1)
=\frac12+(a-1/2)\delta+O(\delta|e|+\delta^2)+o(1).
\tag{4}
$$ In fact, full run deletions are nonadjacent and each interior full deletion decreases the run count by two. This remains true when two full deletions have exactly one kept run between them, because each gap merges two consecutive kept runs into the same run. A full deletion of the first run decreases the count by one. The fully deleted runs consist of the $J$ selected singletons and at most $D=O(n\delta^2)$ doubletons. Taking a prefix changes the count by at most $O(n^{2/3})$. Equation (2) now yields (4). A single deletion changes the number of singleton runs by at most three, so $|v-\sigma|=O(\delta)+o(1)$. In particular $|v-u^2-e|=O(\delta)+o(1)$.
The number of length-$m$ words with $b$ runs, of which $d$ are singletons, is $2\binom b d\binom{m-b-1}{b-d-1}$ when $b>d$ and the type is feasible. Choose the initial bit and the singleton positions, then compose the remaining length into runs of size at least two. Here $u=b/m$ is near $1/2$, so a feasible type has $b>d$. Bounding the second binomial by $\binom{m-b}{b-d}$ gives the following upper bound on the exponent per output symbol, up to $O(1/m)$: $$
u h(v/u)+(1-u)h((u-v)/(1-u))
\le h(u)-\frac{2}{\ln 2}\frac{(v-u^2)^2}{u(1-u)}.
\tag{5}
$$ The two entropy arguments have weighted mean $u$. The inequality follows by applying Jensen's inequality to $h(x)+(2/\ln 2)x^2$, which is concave on $[0,1]$.
There are at most $(m+1)^2$ types. Combining (4) and (5), the output set for the input class has size at most $2^{n(U+o(1))}$ with $$
U=1-\delta-\frac{2(a-1/2)^2}{\ln 2}\delta^2
+O(\delta^2|e|+\delta^3)-c_1(|e|-K_1\delta)_+^2
$$ for absolute $c_1>0,K_1<\infty$. In this calculation $h(u)=1-2(u-1/2)^2/\ln 2+O((u-1/2)^4)$, and the constant in (4) is uniform over the input class.
Packing. Count pairs of inputs and these outputs. Each input gives the lower bound (3), and each output appears at most $2^{o(n)}$ times. Therefore $R\le U-S$. The coefficient in units of $\delta^2/\ln 2$ is $$
-2(a-1/2)^2-(2a-1/2)=-2a^2.
$$ The remaining positive terms are bounded by $K_2(\delta^2|e|+\delta^3)$. To absorb the term in $|e|$, use $|e|\le K_1\delta+(|e|-K_1\delta)_+$ and maximize the resulting linear term minus $c_1(|e|-K_1\delta)_+^2$. This adds at most $O(\delta^3)+O(\delta^4)$. Dropping the nonpositive $-2a^2\delta^2/\ln 2$ proves Claim 1.
2. Matching second-order expansion for lists
For completeness, the uniform random-coding argument in Con–Doron–Ribeiro gives rate arbitrarily close to $1-h(\delta)$ with constant lists. For a fixed output $y$ of length $m=n-t$, the fraction of length-$n$ binary words containing $y$ is $2^{-n}\sum_{i=0}^t\binom ni$. In a uniformly random word, greedy matching against any infinite extension of $y$ has independent Bernoulli$(1/2)$ success indicators, since the next target bit is determined by the past. At least $m$ successes are equivalent to containing $y$. The fraction is at most $2^{-n(1-h(\delta))}$ for $\delta<1/2$.
Sample $\lfloor2^{n(1-h(\delta)-\varepsilon)}\rfloor$ distinct words uniformly without replacement. For any $L+1$ of the sampled positions the probability of all containing $y$ is at most the $(L+1)$st power of that fraction. Union bound over outputs and position sets gives failure probability at most $2^{n(1-\varepsilon(L+1))}$. Take $L+1>1/\varepsilon$ and then let $\varepsilon$ tend to zero in the supremum. Together with Claim 1 this gives Claim 2.
Verification
I checked Con–Doron–Ribeiro v2, especially Theorem 1.4, Section 4.3 and Appendix A, and Kiah–Wei–Zeng v2, Theorem 28 and Corollary 29. Their run-threshold bounds count outputs in the full length-$m$ binary space. In the previous repository attempt, retaining the output run interval gave a positive quadratic remainder $4\delta^2/\ln 2+O(\delta^3)$. The bound above eliminates that term by accounting for additional greedy outputs and controlling the typical output run and singleton counts together. I also checked Hirschberg–Régnier's distinct-subsequence counting and searched for adversarial deletion list-capacity second-order bounds, greedy deletion sphere packing, and run and singleton counts. I found no prior cubic-remainder converse in those sources. This is a literature comparison and an analytic proof awaiting independent review.
The exact checker in code/check_greedy_shadows.py evaluates the two-variable recurrence against enumerated admissible choices, compares the words and embeddings directly, verifies the first two logarithmic coefficients, and checks the output type count. Running it with Python 3 checked all 16,382 nonempty binary words through length 13, covering 1,220,978 greedy patterns and 216 output types. The asymptotic bounds use the arguments above. The site build, catalog check, and frozen-statement check passed.
Dead ends
I tried varying the dirt ratio by inner letter in the binary construction of Bukh–Guruswami–Håstad, keeping their two separated period scales. In the local comparison of Lemma 8, the faster-dirt word has a locally biased region with ratio $c$ and the other word has a balanced pair of opposite-majority regions. The all-majority subsequence retains half the balanced pair regardless of its own dirt ratio, has span per matched bit asymptotic to $2+(1+c)$, and fits in the biased word by taking its majority letters. Keeping the full balanced pair instead costs span asymptotic to $1+((1+c)+(1+c)/c)/2$ per bit in the two words. For this second embedding, match each single-symbol run greedily in the biased word. The rounding cost is at most one fast period per matched run, which vanishes per bit as the two periods separate at fixed positive dirt ratios. These are the two span witnesses of Remark 2 and depend only on $c$ in the biased word. Their minimum is at most $2+\sqrt 2$ for each $0<c\le1$, with equality at $c=\sqrt2-1$. Allowing different ratios therefore still leaves a local span obstruction to this route beyond the known threshold. This does not bound the true threshold or rule out a different global analysis of the codewords.
The simpler packing argument with only isolated one-symbol deletions loses a quadratic term. Tracking only the total input run density does not isolate the cancellation of extra two-symbol deletions against forbidden adjacent choices, which depends on the singleton count in (1).
References
- Prior attempt,
2026-12-02-codex-open-codes.md. - B. Bukh, V. Guruswami, and J. Håstad, “An improved bound on the fraction of correctable deletions,” IEEE Trans. Inf. Theory, vol. 63, no. 1, pp. 93–103, 2017. Author version, v2, Lemma 8 and Remark 2.
- V. Guruswami, X. He, and R. Li, “The zero-rate threshold for adversarial bit-deletions is less than 1/2,” IEEE Trans. Inf. Theory, vol. 69, no. 4, pp. 2218–2239, 2023. Author version, v2, Theorem 1.1.
- R. Con, D. Doron, and J. Ribeiro, “The insertion list-decoding capacity and an improved bound on the deletion list-decoding capacity,” 2026. Author version, v2.
- H. M. Kiah, H. Wei, and R. Zeng, “Exponentially larger deletion-correcting codes and constant-list-decodable insertion-deletion codes,” 2026. Author version, v2.
- D. S. Hirschberg and M. Régnier, “Tight bounds on the number of string subsequences,” J. Discrete Algorithms, vol. 1, no. 1, pp. 123–132, 2000. Author copy.
Source: attempts/edit-distance-code-capacity/2026-12-03-codex-scheduled.md