Summary
I obtain a gap of $V\exp[-O(\sqrt{\ln V\,\ln\ln V})]$ between nonlinear and arbitrary-field vector-linear capacity on simple unit-edge directed acyclic multiple-unicast networks. This gives the near-linear exponent asked for by the frozen statement and matches the upper bound at the level of the exponent. The key estimate is a low-rank complement certificate over every characteristic other than one selected prime. The accompanying Lean proof verifies the exact frozen lower-exponent statement. The sharper quantitative profile and the upper bound are derived below.
Approach
Start with the modular-intersection graphs of Lubetzky–Stav and the root-product certificates used for large characteristics by Bukh–Cox. Divide the root product by its diagonal value, and express it in the binomial basis. The resulting coefficients have denominators supported on the selected prime alone. This keeps the complement rank small even in characteristics that divide the factorial in the ordinary polynomial expression. Combine constructions for primes two and three in one index instance and realize it as a directed network with a single broadcast edge.
Claims
- [proved] For each sufficiently large integer $k$, there are two explicit undirected side-information graphs $G_2,G_3$ on the same number $N=\binom{k^2}{k}$ of vertices and an integer $R=\exp[O(\sqrt{k}\ln k)]$ with these properties. For each $p\in\{2,3\}$, $G_p$ has a scalar fitting matrix of rank at most $R$ over $\mathbb F_p$. For every field of characteristic different from $p$, the complement of $G_p$ has a scalar fitting matrix of rank at most $R$.
- [proved] The disjoint union of $G_2$ and $G_3$ has a binary zero-error broadcast of length at most $3R$ for one-bit messages. Over every finite field, every vector-linear index code for this union with $b$ symbols per message uses at least $Nb/R$ broadcast symbols.
- [proved] There is a sequence of simple unit-edge DAG networks on $V=4N+2$ vertices with one session per source–destination pair, all sources distinct and all destinations distinct, such that $$
C_{\rm nl}\ge \frac1{3R},\qquad
0<C_{\rm lin}\le \frac{R}{N}.
$$ These inequalities use exactly the interpretations of achievability in the frozen Lean definitions. Therefore the mathematical assertion of
InfoTheory.Problems.LinearNetworkCodingGap.Statement holds. Padding gives the same claimed asymptotic lower bound at every sufficiently large vertex count. - [proved] In any feasible DAG with at least one nonlocal session, the ratio of nonlinear capacity to linear capacity is at most the smaller of the number of active nonlocal source vertices and the number of active nonlocal destination vertices. In particular the maximum capacity gap has limiting exponent one, even when multiple sessions share terminals.
Details
1. Matrices in the selected and other characteristics
For each $p\in\{2,3\}$, let $P$ be the largest power of $p$ at most $\sqrt k$ and set $h=\lfloor k/P\rfloor$. Let $m=k^2$. The vertices of $G_p$ are the $k$-subsets of $[m]$, and distinct vertices $S,T$ are adjacent exactly when $|S\cap T|\equiv k\pmod P$. Here a scalar matrix fits a graph when it has nonzero diagonal and all off-diagonal entries for nonadjacent pairs are zero.
For any field, the matrix with entries $\binom{|S\cap T|}{j}$ is the product of the incidence matrix of containment of $j$-subsets in $k$-subsets and its transpose. Its columns lie in the span of the $\binom mj$ containment vectors. Thus an expression of degree $D$ in the binomial basis has rank at most $\sum_{j=0}^D\binom mj$. This includes $j=0$, the constant matrix.
Selected characteristic. Put $c=P-1-(k\bmod P)$ and $$
g(x)=\binom{x+c}{P-1}.
$$ For $x\ge0$, the coefficient of $z^{P-1}$ in $(1+z)^{x+c}$ in characteristic $p$ depends only on $x+c\bmod P$, since $(1+z)^P=1+z^P$. It is one for residue $P-1$ and zero for the other residues. Hence $g(|S\cap T|)$ has diagonal one and fits $G_p$ over $\mathbb F_p$. Vandermonde's identity expresses $g(x)$ in the binomial basis through degree $P-1$, giving the required rank bound.
All other characteristics. Consider the rational polynomial $$
f(x)=\frac{\prod_{j=1}^h(x-k+jP)}{P^h h!}
=\binom{h+(x-k)/P}{h}.
\tag{1}
$$ It equals one at $x=k$ and zero at $x=k-jP$ for $1\le j\le h$. These are all possible off-diagonal intersection sizes for adjacent vertices in $G_p$.
For any integer $x$, the rational number $f(x)$ lies in $\mathbb Z[1/p]$. To see this, fix a prime $q\ne p$. If the numerator is zero the conclusion is immediate. Otherwise, for every $a\ge1$ the arithmetic progression of the $h$ numerator factors contains at least $\lfloor h/q^a\rfloor$ multiples of $q^a$. The step $P$ is invertible modulo $q^a$, so each complete run of $q^a$ consecutive indices gives one multiple. Summing the counts shows that the numerator has $q$-adic valuation at least $v_q(h!)$, which is the denominator's entire $q$-adic valuation. This holds for every prime $q\ne p$.
Newton interpolation gives $f(x)=\sum_{j=0}^h c_j\binom{x}{j}$, where $c_j=\Delta^j f(0)$. For example, finite differences at zero are triangular in this basis and extract exactly these coefficients. Each $c_j$ is an integer linear combination of $f(0),\ldots,f(j)$, hence also belongs to $\mathbb Z[1/p]$. Reduce the coefficients into any field of characteristic $q\ne p$ (or zero) and evaluate the binomial expressions at the integer intersection sizes. The resulting matrix has diagonal one and zero entries on every edge of $G_p$, so it fits the complement. Its rank is at most $\sum_{j=0}^h\binom mj$. The field never needs an inverse of $h!$.
For $p\in\{2,3\}$ we have $P\le\sqrt k$ and $P>\sqrt k/p$, so both $P-1$ and $h$ are within $D=\lceil3\sqrt k\rceil$. Use $R=\sum_{j=0}^D\binom mj$, with terms beyond $m$ treated as zero. The bound $R\le(D+1)m^D$ gives $\ln R=O(\sqrt k\ln k)$.
2. The vector-linear converse and binary achievability
A scalar fitting matrix of rank $r$ gives an index broadcast of $r$ field symbols for one field symbol per message. Broadcast basis-row evaluations, which suffice to recover all fitted-row evaluations. Each receiver subtracts the known terms of its row and divides by its nonzero diagonal. The binary input can be embedded into either prime field. In characteristic two the fitted code uses at most $R$ bits. In characteristic three each broadcast field symbol can be written in two bits, giving at most $2R$ bits. Concatenating the two broadcasts gives a binary zero-error code of length at most $3R$ for the union.
Next fix any field $F$ and a vector-linear encoder $A:F^{Nb}\to F^\ell$ for one of the components, where $b\ge1$. Decoders may be arbitrary. For receiver $i$, the kernel of the linear map $x\mapsto(Ax,(x_j)_{j\sim i})$ lies in the kernel of the coordinate projection $x\mapsto x_i$ by zero-error decoding. Therefore the coordinate projection factors through the image of that map. Extend the resulting linear map to the whole output space by extending a basis. Separating the broadcast and side-information terms gives a linear map $L_i$ on the broadcast such that the block row $L_iA$ has identity block $i$ and zero blocks at nonneighbors. Stacking the block rows gives a fitting block matrix $M$ of rank at most $\ell$.
Let $B$ be a scalar fitting matrix for the complement with rank $\le R$. Multiply the $(i,j)$ block of $M$ by the scalar $B_{ij}$. This is the ordinary entrywise product of $M$ with $B\otimes J_b$, where $J_b$ is the all-ones matrix of rank one. The result is block diagonal with nonzero scalar multiples of the identity on the diagonal, so has rank $Nb$. The rank of an entrywise product is at most the product of the ranks, by expressing both factors as sums of rank-one matrices. Also $\operatorname{rank}(B\otimes J_b)=\operatorname{rank}(B)$. Thus $\ell\ge Nb/R$.
For any finite field at least one of $2,3$ differs from its characteristic. Restrict any code for the union to that component by fixing all other messages to zero. The restriction preserves the broadcast dimension and the component's receiver conditions. This proves the uniform vector-linear lower bound.
3. Realization in the frozen directed network
Write $I$ for the union graph on $2N$ vertices. Use source nodes $s_i$, destination nodes $d_i$, and two intermediate nodes $u,v$, in the topological order $(s_i)_i,u,v,(d_i)_i$. Include the edges $$
s_i\to u,\qquad u\to v,\qquad v\to d_i,\qquad
s_j\to d_i\quad\text{for each neighbor }j\text{ of }i\text{ in }I.
$$ The middle edge is single, and there are no loops or parallel edges. The only session with source $s_i$ has destination $d_i$.
For the nonlinear witness, take $M=2$ and $t=3R$ in the frozen definition. Each source sends its bit on every active outgoing edge. The node $u$ computes the binary broadcast of Claim 2, pads it to length $t$, and sends it on the middle edge. The node $v$ copies it to the destinations. Every destination has the same side information as its receiver. Edge words of length $t$ identify with $\mathrm{Fin}(2^t)$. The inactive edges carry zero. These operations satisfy the local equality conditions and the decoder condition in the frozen definition. Since $2^{t(1/t)}=2$, they witness nonlinear rate $1/(3R)$.
For a linear code over any finite field with message dimension $b$ and edge dimension $t>0$, take the linear map on the middle edge as an index broadcast. If two message tuples agree on that broadcast and on the side-information messages of receiver $i$, the inputs arriving at $d_i$ agree. Indeed $v$ has only the middle edge as an active input and no source, while each direct side-information edge depends only on the unique message at its initial source. The destination has no local source. The frozen decoding condition implies equality of its demanded message. Thus the middle-edge linear map is a vector-linear index encoder for $I$. For $b>0$ the previous bound gives $b/t\le R/N$. At $b=0$ every admissible rate is zero. Taking the supremum over all blocklengths and fields gives the linear upper bound. Conversely, allocating one separate coordinate on the middle edge to each session is a linear route of positive rate. These capacities are finite since, for instance, a nonlocal session's rate is bounded by its destination's in-degree.
We have $(k^2/k)^k\le\binom{k^2}{k}\le(e k)^k$, so $\ln V=\Theta(k\ln k)$. Hence $$
\frac{C_{\rm nl}}{C_{\rm lin}}\ge\frac{N}{3R^2}
\ge V\exp[-O(\sqrt{\ln V\,\ln\ln V})].
$$ For every $\varepsilon>0$, this exceeds $V^{1-\varepsilon}$ for all sufficiently large $k$. Given the independently quantified $V_0$, take $k$ large enough also to have $4N+2\ge V_0$. Positivity of $C_{\rm nl}$ was shown directly, and the ratio inequality is equivalent to the frozen statement's product inequality because $C_{\rm lin}>0$.
For sizes between successive constructions, add isolated nodes with no sessions. This preserves both capacities. The consecutive ratio $\binom{(k+1)^2}{k+1}/\binom{k^2}{k}$ is $O(k)$. In product form, one factor is at most $k+1$ and the remaining $k$ factors are at most $1+(2k+1)/(k^2-k+1)$. The size lost to padding is therefore absorbed by the exponential factor above.
4. The upper exponent
Fix a rational common rate $r<C_{\rm nl}$ and an active source $s$. Keep only the nonlocal sessions from $s$ and freeze every other message. For each cut $A\subseteq V$ containing $s$, with exiting edge set $\partial^+ A$, at most $|\partial^+ A|/r$ of these demands can terminate outside $A$. Given the cut's edge words and the fixed messages, the outside nodes can be simulated in topological order. Their demanded messages are independently variable and are recovered, so the cut edge words must have at least as many possible values as those tuples. Counting in a nonlinear code of rate at least $r$ gives the bound.
Add a supersink with an arc from each destination of capacity $r$ times the number of its demands from $s$. Every cut separating $s$ from the supersink has capacity at least the total demand. Indeed the original exiting edges cover the demand outside $A$, and the arcs to the supersink from destinations inside $A$ cover the rest. Rational max flow and path decomposition route this entire star at rate $r$. Time-sharing over the active sources realizes the common rate $r$ divided by the number of those sources. These path routings are vector-linear over every finite field. Local sessions require no edges.
For a fixed destination $d$, use all demands to $d$ and an added supersource, with an arc of capacity $r$ per demand to its original source. For a cut containing the supersource but not $d$, its original exiting edges cover all retained demands whose sources lie inside that cut. This follows from the same cut injection while fixing the sources outside the cut, and the remaining demands are covered by supersource arcs. Time-sharing this time over the active destinations and letting $r$ increase to capacity gives the other bound. This argument is the source- or destination-star part of the earlier fractional-cover bound, which also gives the stronger universal coefficient $V/2$. The capacity ratio is at most $V$, and the padded construction therefore proves that the log of the maximal ratio divided by $\ln V$ tends to one.
Verification
I checked the matrix support conditions in both directions, including the case of small unwanted characteristics dividing $h!$. I checked the full blocklength quantifier using the rank of the block matrix, and checked the matching $2^t$ edge-word capacity and topological order against the frozen Lean definitions. The proof does not depend on a scalar-only lower bound, a fixed finite field, or a network with multiple edges. The frozen proposition is also verified by the Lean solution. The repository verifier replayed the proof with only the standard axioms. The formal construction uses the division-free variant below and a direct injection for the linear converse. The sharper quantitative profile and the upper bound are mathematical arguments in this file.
The following exact finite check verifies the Newton identity, the denominator property, the desired residues, and the complement zeros after reduction in several characteristics. It tests every intersection size at $4\le k\le100$ and both selected primes. All 51,410 comparisons passed. The proof above gives these identities for arbitrary parameters.
from fractions import Fraction
from math import comb, factorial, prod
checks = 0
for k in range(4, 101):
for p in (2, 3):
power = 1
while (power * p) ** 2 <= k:
power *= p
h = k // power
c = power - 1 - k % power
def divided_product(x):
return Fraction(prod(x - k + j * power for j in range(1, h + 1)),
power ** h * factorial(h))
values = [divided_product(x) for x in range(h + 1)]
coefficients = []
while values:
coefficients.append(values[0])
values = [b - a for a, b in zip(values, values[1:])]
for coeff in coefficients:
denominator = coeff.denominator
while denominator % p == 0:
denominator //= p
assert denominator == 1
for x in range(k + 1):
good = (k - x) % power == 0
assert comb(x + c, power - 1) % p == int(good)
value = divided_product(x)
assert sum(a * comb(x, j) for j, a in enumerate(coefficients)) == value
if good:
assert value == int(x == k)
for q in (2, 3, 5, 7, 11, 101):
if p == q:
continue
residue = sum(
(a.numerator * pow(a.denominator, -1, q) * comb(x, j)) % q
for j, a in enumerate(coefficients)
) % q
assert residue == (value.numerator * pow(value.denominator, -1, q)) % q
checks += 1
print(checks)
For prior art I checked Lubetzky–Stav's Proposition 2.2 and §3, Bukh–Cox's Proposition 17 and Theorem 19, the BKL journal version, and the standard index-to-network reduction of El Rouayheb–Sprintson–Georghiades. Lubetzky–Stav give an almost-linear fixed-characteristic separation and use a complementary pair to obtain Shannon capacity at least $\sqrt n$ with a short nonlinear broadcast. Shannon capacity lower-bounds every field's fractional Haemers bound, hence the example also gives an all-field vector-linear lower bound of $\sqrt n$. Bukh–Cox use the root-product certificate in large characteristics and obtain arbitrary-factor separation by a universal graph construction. The normalized polynomial in (1) gives a low-degree complement certificate uniformly in every other characteristic on the original subset vertex set. I searched for “near-linear arbitrary-field vector linear index coding gap,” “all characteristics complement minrank Lubetzky Stav,” and “fractional Haemers every different characteristic near-linear.” I found no earlier near-linear all-field vector bound in these sources. The incidence matrices, the block product rank argument, and the network realization are standard ingredients.
The formal complement certificate can be written without rational denominators. For an unwanted characteristic $q$, let $d=\lfloor k/P\rfloor$, $Q=q^d$, and choose nonnegative integers $u,b$ with $uP\equiv1\pmod Q$ and $b\equiv d-uk\pmod Q$. For all intersections $x=k-jP$ with $0\le j\le d$, the residue of $b+ux$ modulo $Q$ is $d-j$. Since $d<Q$, the degree-$d$ binomial coefficient modulo $q$ depends only on that residue. Thus $\binom{b+ux}{d}$ is one at the diagonal and zero at every needed off-diagonal size. To see the same degree bound, write $$
(1+z)^{b+ux}=(1+z)^b\sum_{j=0}^x \binom{x}{j}\big((1+z)^u-1\big)^j .
$$ The coefficient of $z^d$ involves only $j\le d$. This gives the required binomial-basis factorization directly.
For the formal vector lower bound with $B_{ij}=\sum_\ell u_{i\ell}v_{\ell j}$, send the list of encodings of the words $(v_{\ell j}x_j)_j$ under the candidate linear encoder $A$. If two input words give the same list, let $x$ be their difference. For each $i$, the word with coordinates $B_{ij}x_j$ has zero encoding by linearity and zero side information by the complement support. Decoding at $i$ forces its $i$th coordinate to be zero, so $x_i=0$. The list map is injective, and counting its input and output dimensions gives the lower bound at every vector blocklength.
Dead ends
- Applying the fixed-characteristic Lubetzky–Stav construction alone leaves a field in which the encoder is already linear and short. For a graph and its complement, the product inequality guarantees that at least one of the two rates reaches the square-root scale.
- The direct unnormalized root-product certificate can lose its diagonal whenever the unwanted characteristic divides $h!$. Using only a residue indicator modulo a power of that characteristic avoids the zero diagonal but incurs a larger degree. The binomial-basis normalization in (1) addresses both issues.
- Repeating a fixed characteristic-dependent finite seed through lexicographic powers preserves its normalized exponent. The construction above instead allows the underlying subset size and useful modulus to grow together.
References
- 2026-12-02-codex-open-codes.md, fractional vertex-cover upper bound.
- 2026-12-03-codex-attack-index-gap.md, earlier all-field unicast separation from the 40-user seed.
- E. Lubetzky and U. Stav, “Nonlinear index coding outperforming the linear optimum,” IEEE Trans. Inf. Theory, 55(8), 2009, Proposition 2.2 and §3. Author version.
- B. Bukh and C. Cox, “On a fractional version of Haemers’ bound,” IEEE Trans. Inf. Theory, 65(6), 2019, Proposition 17 and Theorem 19. Author version.
- A. Blasiak, R. Kleinberg, and E. Lubetzky, “Lexicographic products and the power of non-linear network coding,” IEEE Trans. Inf. Theory, 59(7), 2013. Author version.
- S. El Rouayheb, A. Sprintson, and C. Georghiades, “On the index coding problem and its relation to network coding and matroid theory,” IEEE Trans. Inf. Theory, 56(7), 2010. Author copy.
Source: attempts/linear-network-coding-gap/2026-12-03-codex-wave-network-coding.md