Summary
I sharpen Yuan–Zhu's finite-length linear Gilbert–Varshamov bound in the binary case. Write $a=2^{-n}V_2(n,d-1)$ and $B=\ln(1/a)$. A random parent code with expected number of low-weight messages at most $B-O((\ln B)^2)$ can be expurgated by one hyperplane with probability tending to one. For fixed relative distance this improves their explicit sufficient coefficient to any value below $(\ln 2)(1-h_2(\delta))/2$. It also covers distances approaching the Plotkin point with $n(1/2-(d-1)/n)^2\to\infty$. The fixed-distance rate exponent remains unchanged.
Approach
I investigated whether the recent alphabet-42 construction or a stronger control of low-weight linear dependencies would give an exponential binary improvement. For the latter, the probability assigned to a dependency should depend on its length. Short circuits are unlikely enough to count directly. Long circuits mix the sum of independent low-weight words toward uniform, so they can use nearly the whole Hamming-ball exponent. Comparing the uniform Hamming ball to a tilted product measure and taking a sufficiently high odd Fourier moment makes this quantitative.
Claims
In this file, $\ln$ denotes the natural logarithm. Let $t=d-1$, $\theta=t/n$, and $U$ be the uniform law on the ball $K=\{x\in\mathbb F_2^n:\mathrm{wt}(x)\le t\}$. Write $a=|K|/2^n$, $B=\ln(1/a)$, and for independent $X_i\sim U$ put $P_j=\Pr(X_1+\cdots+X_j\in K)$. Fix $0<\theta_0<1/2$ and consider any sequence with $\theta_0\le\theta<1/2$ and $B\to\infty$.
- [proved] There exist constants $c,C>0$ depending only on $\theta_0$ and an odd integer $j_0=O_{\theta_0}(\ln B)$ such that for sufficiently large $B$, $$
P_j\le
\begin{cases}
\exp(-cB+C(\ln B)^2),&2\le j<j_0,\\
\exp(-B+C(\ln B)^2),&j\ge j_0 .
\end{cases}
$$
- [proved] Let $1\le k<n$ and set $\lambda=(2^{k+1}-1)a$. For a sufficiently large constant $C_{\theta_0}$, if $$
\lambda\le B-C_{\theta_0}(\ln B)^2,
$$ then a uniform random $(k+1)\times n$ binary generator matrix has a $k$-dimensional message subspace whose image is an $[n,k,d]$ code, with probability tending to one. In particular, for fixed $\delta\in(0,1/2)$ and $d=\lceil\delta n\rceil$, for every constant $0<c_\delta<(\ln2)(1-h_2(\delta))/2$, every sufficiently large $n$ admits such a code whenever $$
2^k-1\le c_\delta n\,\frac{2^n}{V_2(n,d-1)} .
$$ If $\theta\uparrow1/2$ and $n(1/2-\theta)^2\to\infty$, then $B=(2+o(1))n(1/2-\theta)^2$. The main dimension guarantee applies with this scale in place of a fixed multiple of $n$.
- [proved] The low-weight nonzero message set can be avoided by a hyperplane exactly when it has no odd-cardinality dependency. The stronger event that this set is independent has probability tending to zero when $\lambda\to\infty$ and $\lambda\ge(1+\eta)(k+1)$ for any fixed $\eta>0$. This limits the independence argument in Claim 2.
- [proved] The same bound holds for balanced linear codes, with every nonzero codeword of weight in $[d,n-d]$, after replacing $a$ by $2a$ and $B$ by $B-\ln 2$ in the condition of Claim 2.
Details
1. Ball size and convolution estimates
Put $u=1/2-\theta>0$ and let $Q_\theta$ be the product Bernoulli-$\theta$ law on $\mathbb F_2^n$. Let $H_{\mathrm e}$ and $D_{\mathrm e}$ denote binary entropy and binary relative entropy in nats. For every word in $K$, $Q_\theta(x)\ge\exp(-nH_{\mathrm e}(\theta))$, since $\theta<1/2$ and the minimum on the ball is attained at weight $t$. A lower bound on the ball volume uniform near $\theta=1/2$ is $$
|K|\ge c_{\theta_0}\frac{\exp(nH_{\mathrm e}(\theta))}{1+u\sqrt n}.
\tag{1}
$$ Indeed, Stirling's inequality at the terminal binomial coefficient gives $\binom nt\ge c_{\theta_0}\exp(nH_{\mathrm e}(\theta))/\sqrt n$. For $0\le j\le J=\lfloor\sqrt n/(1+u\sqrt n)\rfloor$, the ratio to $\binom nt$ is $$
\frac{\binom n{t-j}}{\binom nt}
=\prod_{i=0}^{j-1}\frac{t-i}{n-t+i+1}.
$$ For all sufficiently large $n$, the numerator and denominator after division by $n$ stay in an interval bounded away from zero uniformly in $\theta\ge\theta_0$. The negative log of the ratio is at most $C_{\theta_0}(u j+j^2/n)$ by the mean value theorem for $\ln$. For $j\le J$ this is bounded by an absolute constant depending only on $\theta_0$. Summing the last $J+1$ binomial coefficients gives (1).
The minimum product probability on $K$ also implies $|K|\le \exp(nH_{\mathrm e}(\theta))$. Consequently $$
B=nD_{\mathrm e}(\theta\|1/2)+O_{\theta_0}\bigl(1+\ln(1+u\sqrt n)\bigr),
\qquad U(x)\le L Q_\theta(x),\qquad
L=C_{\theta_0}(1+u\sqrt n).
\tag{2}
$$ Uniformly on $\theta\in[\theta_0,1/2)$, $D_{\mathrm e}(\theta\|1/2)$ is bounded above and below by positive constant multiples of $u^2$. For example, integrate $(v-\theta)/(v(1-v))$ from $\theta$ to $1/2$. Thus $B\to\infty$ exactly when $nu^2\to\infty$, and then $\ln L=O_{\theta_0}(\ln B)$ and $B=nD_{\mathrm e}(\theta\|1/2)+O_{\theta_0}(\ln B)$.
The sum of $j$ independent product Bernoulli-$\theta$ vectors has independent Bernoulli coordinates with parameter $\theta_j=(1-(1-2\theta)^j)/2$. For $j\ge2$ this exceeds $\theta$. Pointwise domination in (2) and the binomial Chernoff bound give $$
P_j\le L^j\exp(-nD_{\mathrm e}(\theta\|\theta_j)).
\tag{3}
$$ For all $j\ge2$, $\theta_j-\theta=u(1-(2u)^{j-1})\ge2\theta_0 u$. Integrating the divergence derivative up to $\theta_j$ shows that $nD_{\mathrm e}(\theta\|\theta_j)\ge c_{\theta_0}B$ for large $B$. Also $$
D_{\mathrm e}(\theta\|1/2)-D_{\mathrm e}(\theta\|\theta_j)
=\int_{\theta_j}^{1/2}\frac{v-\theta}{v(1-v)}\,dv
\le C_{\theta_0}u^2(1-2\theta_0)^{j-1}.
\tag{4}
$$ Take $j_0$ to be the smallest odd integer at least $C_0\ln B$, with $C_0>1/[-\ln(1-2\theta_0)]$. Then (3) handles the short range. At $j=j_0$ the divergence loss in (4), after multiplication by $n$, is bounded, and the domination factor costs at most $O_{\theta_0}((\ln B)^2)$ in the log.
To extend the latter estimate to arbitrarily large $j$, write $\widehat U(w)=\mathbb E_{X\sim U}(-1)^{w\cdot X}$. Orthogonality gives $$
P_j=a\sum_{w\in\mathbb F_2^n}\widehat U(w)^{j+1}.
$$ For $j\ge j_0$, each summand is at most $|\widehat U(w)|^{j_0+1}$ since $|\widehat U(w)|\le1$. Because $j_0$ is odd, the sum with that exponent equals $P_{j_0}/a$. Thus the product-measure comparison is used only up to $O(\ln B)$ summands, proving Claim 1.
2. Counting dependencies in a random generator
Let $G$ have $k+1$ independent uniform binary rows, and define the set $S(G)=\{x\ne0:xG\in K\}$. A circuit in $S(G)$ is a minimal linearly dependent subset. Over $\mathbb F_2$ a circuit of size $j+1$ is the sum-zero set consisting of an independent $j$-tuple and its sum. Distinct nonzero vectors cannot form a circuit of size one or two. There are at most $(2^{k+1}-1)^j/(j+1)!$ circuits of size $j+1$ in the whole nonzero message set. To see the divisor, each circuit gives $(j+1)!$ ordered independent tuples of length $j$ by omitting any one point and ordering the rest.
For a fixed independent $j$-tuple, the $j$ images are independent uniform words. The probability all lie in $K$ and their sum also lies in $K$ is $a^jP_j$. Thus $$
\Pr(S(G)\text{ dependent})\le
\sum_{j=2}^{k+1}\frac{\lambda^j}{(j+1)!}P_j .
\tag{5}
$$ When $\lambda\le B$, the short-range weights in (5) sum to at most $j_0(1+B)^{j_0}$, so the short contribution is at most $\exp(-cB+O_{\theta_0}((\ln B)^2))$. The long-range weights sum to at most $e^\lambda$, so the long contribution is at most $\exp(\lambda-B+C(\ln B)^2)$. The claimed margin makes both tend to zero.
If $S(G)$ is independent and nonempty, choose a linear functional that sends it to one. Its kernel has dimension $k$ and omits all the low-weight nonzero messages. If $S(G)$ is empty, choose any $k$-dimensional subspace. In either case the restriction of $G$ is injective, since the zero image has weight zero and $d\ge1$. The resulting image has distance at least $d$.
For $d=\lceil\delta n\rceil$, (2) gives $B/n\to (\ln2)(1-h_2(\delta))$. Since $(2^{k+1}-1)a=2(2^k-1)a+a$, a strictly smaller coefficient than half this limit satisfies the margin in the claim. For $\theta\uparrow1/2$, the Taylor expansion $D_{\mathrm e}(1/2-u\|1/2)=(2+O(u^2))u^2$ and (2) give the stated moderate-deviation scale. Integer rounding of $t$ is included in these formulas.
3. The role of independence
A nonempty $S(G)$ admits a linear functional taking value one throughout if and only if the prescription respects all linear relations. A binary relation is a subset summing to zero, and the prescribed sum is its cardinality modulo two. Thus it suffices and is necessary that all dependencies have even size. Equivalently, every circuit has even size, because a dependency can be partitioned into disjoint circuits by successively removing a minimal dependent subset. The empty $S(G)$ is avoided by every hyperplane.
For two distinct nonzero binary messages the images under $G$ are independent, because those two messages are linearly independent. As a result, $|S(G)|$ has mean $\lambda$ and variance at most $\lambda$. The bound $\Pr(|S(G)|\le k+1)\le\lambda/(\lambda-(k+1))^2$ when $\lambda>k+1$ gives the asserted obstruction to a proof that relies on independence of a typical parent set. The parity condition can hold in the presence of dependencies.
4. The balanced variant
Use the forbidden set $K_\pm=K\cup(\mathbf1+K)$, where $\mathbf1$ is the all-ones word. The union is disjoint since $2t<n$. A uniform sample from $K_\pm$ is $X+J\mathbf1$ for $X\sim U$ and an independent fair bit $J$. Since membership in $K_\pm$ is invariant under adding $\mathbf1$, its $j$-fold return probability is $\Pr(X_1+\cdots+X_j\in K_\pm)$ with the $X_i$ drawn from $U$.
The exponential estimate in (3) now has a factor of at most two. Indeed the product Bernoulli-$\theta_j$ upper-tail exponent for relative weight at least $1-\theta$ is at least the lower-tail exponent for relative weight at most $\theta$, because $$
D_{\mathrm e}(1-\theta\|\theta_j)-D_{\mathrm e}(\theta\|\theta_j)
=(1-2\theta)\ln((1-\theta_j)/\theta_j)\ge0.
$$ The Fourier monotonicity argument also applies to the uniform law on $K_\pm$, so Claims 1–2 apply with that set's density and log inverse density. The allowed weights are exactly $t+1$ through $n-t-1$.
Verification
I checked the fixed-distance rounding against the frozen definition of $R_2(\delta)$, the distinction between independent messages and independent images, and injectivity of the expurgated code. The mathematical result is a finite-length existence bound. No Lean proof or asymptotic resolution is claimed.
The following finite check evaluates convolution returns directly and via integer Fourier sums for all ball radii $t<n/2$, $1\le n\le8$, and $1\le j\le9$, both for $K$ and $K_\pm$. It also checks the long-return comparison with $j_0=3$. All 360 cases passed.
checked = 0
for n in range(1, 9):
words = range(1 << n)
for t in range((n + 1) // 2):
ball = [x for x in words if x.bit_count() <= t]
reflected = [((1 << n) - 1) ^ x for x in ball]
for forbidden in (ball, ball + reflected):
spectrum = [sum((-1) ** (w & z).bit_count()
for z in forbidden) for w in words]
counts = [int(x == 0) for x in words]
anchor = None
for j in range(1, 10):
counts = [sum(counts[x ^ z] for z in forbidden) for x in words]
returning = sum(counts[z] for z in forbidden)
assert returning * (1 << n) == sum(s ** (j + 1) for s in spectrum)
if j == 3:
anchor = returning
if j >= 3:
assert returning <= anchor * len(forbidden) ** (j - 3)
checked += 1
print(checked)
I read Yuan–Zhu Theorem 3.1 and Lemmas 3.2–3.8, Jiang–Vardy's published binary bound, the 2026 alphabet-42 construction of Cohen–Manket, and Salmon's October computation of the full Delsarte rate. The coefficient printed in the Yuan–Zhu proof is $\gamma/8$ for binary codes, where their $\gamma$ must satisfy the uniform convolution estimate in Lemma 3.2. For odd $j$, the Fourier formula gives $P_j\ge a$ from the $w=0$ term, so any such $\gamma$ is at most $(\ln2)(1-h_2(\delta))$. The new sufficient coefficient can approach half this quantity. I searched for “Yuan Zhu Gilbert Varshamov optimized constant,” “binary Gilbert Varshamov bound moderate deviations Plotkin,” and “Hamming ball convolution Fourier circuit GV.” I found no claimed bound with the coefficient or moving-distance guarantee proved here. Circuit expurgation itself is due to Yuan–Zhu.
Dead ends
- The Cohen–Manket construction improves the large-alphabet combinatorial bound. Replacing symbols by binary words and applying only the outer minimum distance gives no binary pair-distance estimate beyond the inner distance times the outer distance. The earlier catalog attempts exclude the product-space neighborhood certificates considered there. Exploiting a particular algebraic outer difference distribution is a separate requirement, and the binary exponent did not follow from the published alphabet-42 guarantee.
- For the upper-equality route, Salmon identifies the asymptotic Delsarte value, which is above GV at positive distances such as $\delta=1/2-1/\pi$. I also checked Blinovsky's preprint on the linear-code variant. The summation in its Eq. (2) aggregates over parity checks and cannot determine whether an individual given check matrix has the stated distance. Even reading that sum as an existence test, the step after Eq. (3) infers a matching asymptotic from an upper bound on a root, with no corresponding lower estimate. That argument does not yield the frozen upper bound for all binary codes.
- Making the parent dimension exceed the GV exponent by a positive constant would make $\lambda$ exponential at fixed distance. Every proof that requires a typical $S(G)$ to be independent then fails by Claim 3. Avoiding only odd dependencies is the exact hyperplane condition, but the circuit union bound still grows exponentially in $\lambda$ and gives no such improvement.
References
- 2026-12-02-codex-open-codes.md, reciprocal average-neighborhood obstruction.
- 2026-12-03-codex-attack-gv.md, weighted and constant-composition Caro–Wei obstructions.
- C. Yuan and R. Zhu, “A $\Theta(n)$-multiplicative improvement of the Gilbert–Varshamov bound for linear and quantum codes,” §3. Author preprint.
- T. Jiang and A. Vardy, “Asymptotic improvement of the Gilbert–Varshamov bound on the size of binary codes,” IEEE Trans. Inf. Theory, 50(8), 2004. Published paper.
- G. Cohen and T. Manket, “Beating the Gilbert–Varshamov bound at alphabet size 42,” ECCC TR26-272. Author report.
- A. Salmon, “The rate of the Delsarte bound for binary codes and spheres,” Theorem 1.1. Author preprint.
- V. Blinovsky, “Proof of tightness of Varshamov–Gilbert bound for linear binary codes,” v5, discussed as an unverified claim. Author preprint.
Source: attempts/gilbert-varshamov-binary/2026-12-03-codex-wave-gv.md