arXiv:2610.35136math.COOct 2026

Manuscript Offprint

arXiv:2610.35136

Sharp Bounds for Graph-Codes Avoiding Complete Bipartite Differences

Nader H. Bshouty

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Let dKs,t(n)d_{K_{s,t}}(n) be the largest fraction of all graphs on [n] in a family containing no two distinct members whose symmetric difference is a copy of Ks,tK_{s,t}. We determine this maximum density for every fixed pair of positive integers s, t. If both part sizes are odd, it is known that the density is exactly 1/2. Otherwise, let 2h be the largest even part size. We prove

dKs,t(n)=Θs,t(n−h).d_{K_{s,t}}(n)=\Theta_{s,t}(n^{-h}).

For h>1h > 1, this improves the general Os,t(1/n)O_{s,t}(1/n) upper bound obtained from Alon's two-copy gluing theorem [1]. The sharp bounds for even stars were already proved by Alon and are recovered as special cases.

The upper bound uses the Frankl–Füredi forbidden-intersection theorem. For the lower bound, we construct binary linear codes using BCH codes. When exactly one part size is even, we assign to each edge the sum of the binary vectors assigned to its endpoints. When both part sizes are even, we identify these vectors with elements of a finite field and assign to each edge the product of its endpoint elements. In both cases, every copy of Ks,tK_{s,t} has a nonzero syndrome.

1 Introduction

In classical binary error-correcting codes, any two distinct codewords must differ in sufficiently many coordinates. In graph-codes, each coordinate represents a possible edge of a graph. Instead of requiring a minimum number of differences, we forbid certain graphs from appearing as the difference between two codewords. In this paper, we study families of graphs in which the symmetric difference of any two distinct members is not exactly a complete bipartite graph Ks,tK_{s,t}. Our goal is to determine the maximum possible size of such a family.

All graphs in this paper are finite, simple, and undirected. Write [n]={1,…,n}[n] = \{1, \ldots, n\}, and let Gn\mathcal{G}_n be the set of all graphs with vertex set [n][n]. There are 2(n2)2^{\binom{n}{2}} such graphs. The symmetric difference G△G′G \triangle G' is the graph whose edges belong to exactly one of GG and G′G'. For disjoint nonempty sets A,B⊆[n]A, B \subseteq [n], write KA,BK_{A,B} for the graph whose edge set consists of all pairs with one endpoint in AA and the other in BB. In particular, vertices outside A∪BA \cup B are isolated in KA,BK_{A,B}.

Fix positive integers s,ts, t. A Ks,tK_{s,t}-code is a family C⊆Gn\mathcal{C} \subseteq \mathcal{G}_n such that

G△G′≠KA,BG\triangle G^{\prime}\neq K_{A,B}

for every two distinct G,G′∈CG, G' \in \mathcal{C} and every pair of disjoint sets A,B⊆[n]A, B \subseteq [n] with ∣A∣=s|A| = s and ∣B∣=t|B| = t. We study the maximum density

dKs,t(n)=max⁡{∣C∣2(n2):CisaKs,t−code}.d_{K_{s,t}}(n)=\max\left\{\frac{|\mathcal{C}|}{2^{\binom{n}{2}}}:\mathcal{C}is a K_{s,t}-code\right\}.

This is Alon's graph-code density parameter [1], specialized to complete bipartite forbidden differences.

Identifying a graph with its binary edge-indicator vector identifies Gn\mathcal{G}_n with the vector space F2(n)\mathbb{F}_2^{(n)}. Vector addition is then symmetric difference. A graph-code is binary linear if it is a subspace of this vector space. Let dKs,tlin(n)d_{K_s,t}^{\text{lin}}(n) denote the maximum density among binary linear Ks,tK_{s,t}-codes. Since every linear code is also a code without the linearity restriction,

dKs,tlin(n)≤dKs,t(n).d_{K_{s,t}}^{\mathrm{l i n}}(n)\leq d_{K_{s,t}}(n).