arXiv:2610.10973math.COOct 2026

Manuscript Offprint

arXiv:2610.10973

A GG-Invariant Erdős--Hanani Theorem with Applications to Optical Orthogonal and Constant-Weight Codes

Yeow Meng Chee

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

Abstract

Let k>t≥2k > t \ge 2 be fixed integers, and let GG be a permutation group on a set of vv points. A GG-invariant packing is free if every block has ∣G∣|G| distinct images under GG. We give two conditions on GG under which, as v→∞v \to \infty, there is a free GG-invariant t−(v,k,1)t-(v, k, 1) packing with (1−o(1))(vt)/(kt)(1-o(1))\binom{v}{t}/\binom{k}{t} blocks. This is a GG-invariant form of the Erdős–Hanani theorem on asymptotically optimal packings. For semiregular groups GG, packings with these properties exist if and only if all but o(vt)o(v^t) of the tt-subsets of points have trivial setwise stabiliser. This property is satisfied by every semiregular group for t≥3t \ge 3, and by every cyclic semiregular group for t=2t = 2. As a consequence, the Johnson bound is asymptotically attained at all lengths by optical orthogonal codes of constant weight ww and constant correlation λ\lambda with w≥λ+2w \ge \lambda + 2, by their multidimensional and signature pattern versions, and by cyclic and quasi-cyclic constant-weight codes. The same method gives a form of the theorem for group divisible packings that are invariant under a cyclic group. This determines the asymptotic maximum size of two-dimensional optical orthogonal codes with at most one pulse per wavelength.

Index Terms. Erdős–Hanani conjecture, packings, permutation groups, hypergraph matchings, optical orthogonal codes, constant-weight codes, Johnson bound.

1 Introduction

Optical orthogonal codes (OOCs) were introduced by Chung, Salehi and Wei [4] as signature sequences for optical code-division multiple access. Let v>w>λ≥1v > w > \lambda \ge 1 be integers. A (v,w,λ)(v, w, \lambda) OOC is a set C⊆{0,1}vC \subseteq \{0, 1\}^v of sequences, called codewords, each of which has exactly ww entries equal to 1. We write a codeword as x=(x0,…,xv−1)x = (x_0, \dots, x_{v-1}), and we take indices modulo vv. The set CC is required to have the following two properties. The autocorrelation property is

∑i=0v−1xixi+a≤λ,for all x∈C and all a∈Zv∖{0}.(1)\sum_{i=0}^{v-1}x_{i}x_{i+a}\leq\lambda,\qquad\mathrm{f o r~a l l~}x\in C\mathrm{~a n d~a l l~}a\in\mathbb{Z}_{v}\setminus\{0\}. \tag{1}

The cross-correlation property is

∑i=0v−1xiyi+a≤λ,for all distinct x,y∈C and all a∈Zv.(2)\sum_{i=0}^{v-1}x_{i}y_{i+a}\leq\lambda,\qquad\mathrm{f o r~a l l~d i s t i n c t~}x,y\in C\mathrm{~a n d~a l l~}a\in\mathbb{Z}_{v}. \tag{2}

The autocorrelation property allows a receiver to synchronise, and the cross-correlation property allows it to separate users. Let Φ(v,w,λ)\Phi(v,w,\lambda) be the maximum number of codewords in a (v,w,λ)(v,w,\lambda) OOC. The Johnson bound [4] states that

\Phi(v,w,\lambda)\leq\left\lfloor\frac{1}{w}\left\lfloor\frac{v-1}{w-1}\left\lfloor\frac{v-2}{w-2}\cdots\left\lfloor\frac{v-\lambda}{w-\lambda}\right\rfloor\cdots\right\rfloor\right\rfloor. \tag{3}

Omrani, Moreno and Kumar [21] improved (3) for certain ranges of the parameters in which λ\lambda is large. For λ=1\lambda = 1, optimal codes are known for small weights and many lengths, and for larger weights when the length lies in particular congruence classes or has a particular algebraic form [8, 10, 26]. For λ=2\lambda = 2 and w=4w = 4, optimal codes are known for infinitely many lengths [6]. For general λ≥2\lambda \geq 2, the known asymptotically optimal families come from finite geometries and finite fields. The lengths of these families have the form v=qa−1v = q^a - 1 or v=(qa−1)/(q−1)v = (q^a - 1)/(q - 1), for a prime power qq, or a similar algebraic form [3, 19, 21]. Lower bounds of Gilbert–Varshamov type hold for all lengths [4]. Two-dimensional and multidimensional OOCs [2, 22] and optical orthogonal signature pattern codes [11, 17] have analogous Johnson bounds, and optimal or asymptotically optimal codes are known for particular parameters. Whether the Johnson bound (3) is asymptotically attained at every length, for constant ww and λ\lambda, has remained an open problem.

Let VV be a set of vv points and let k≥t≥1k \geq t \geq 1 be integers. A t−(v,k,1)t-(v, k, 1) packing is a family B\mathcal{B} of kk-subsets of VV, called blocks, such that every tt-subset of VV lies in at most one block. Counting tt-subsets gives

∣B∣≤(vt)/(kt).(4)|\mathcal{B}|\leq\binom{v}{t}\bigg/\binom{k}{t}. \tag{4}

We identify a codeword xx with its support C={i∈Zv:xi=1}C = \{i \in \mathbb{Z}_v : x_i = 1\}, which is a ww-subset of Zv\mathbb{Z}_v. For a∈Zva \in \mathbb{Z}_v, put C+a={i+a:i∈C}C + a = \{i + a : i \in C\}. Then (1) and (2) hold if and only if the sets C+aC + a, where CC is the support of a codeword and a∈Zva \in \mathbb{Z}_v, are pairwise distinct and form a (λ+1)−(v,w,1)(\lambda + 1) - (v, w, 1) packing [8, 26]. Let GG be a permutation group on VV. We call a GG-invariant packing free if every block has ∣G∣|G| distinct images under GG. The packing formed by the sets C+aC + a is free and Zv\mathbb{Z}_v-invariant, where Zv\mathbb{Z}_v acts on itself by translation, and it has v∣C∣v|C| blocks. With t=λ+1t = \lambda + 1 and k=wk = w, the bound (4) therefore gives

Φ(v,w,λ)≤1v(vλ+1)/(wλ+1)=(v−1)(v−2)⋯(v−λ)w(w−1)⋯(w−λ).(5)\Phi(v,w,\lambda)\leq\frac{1}{v}\binom{v}{\lambda+1}\bigg/\binom{w}{\lambda+1}=\frac{(v-1)(v-2)\cdots(v-\lambda)}{w(w-1)\cdots(w-\lambda)}. \tag{5}

The bound (3) is obtained from (5) by taking integer parts at each step, and the two bounds agree asymptotically. We refer to both (3) and (5) as the Johnson bound. Hence the Johnson bound is asymptotically attained if and only if there are free Zv\mathbb{Z}_v-invariant (λ+1)−(v,w,1)(\lambda + 1) - (v, w, 1) packings with (1−o(1))(vλ+1)/(wλ+1)(1 - o(1)) \binom{v}{\lambda + 1} / \binom{w}{\lambda + 1} blocks. Multidimensional OOCs correspond to free packings that are invariant under a cyclic group, which acts by translation of one coordinate of a product. Optical orthogonal signature pattern codes correspond to free packings that are invariant under a product of two cyclic groups, which acts on itself by translation. For OOCs, multidimensional OOCs and optical orthogonal signature pattern codes, the group acts semiregularly, that is, no element of the group other than the identity maps a point to itself.

For packings with no prescribed group of automorphisms, the asymptotic attainment of the bound (4) is known. Erdős and Hanani [5] conjectured that (4) is asymptotically attained when k and t are constant and v→∞v \to \infty, and Rödl [24] proved the conjecture. Frankl and Rödl [7] and Pippenger and Spencer [23] placed the result in the setting of matchings in hypergraphs with small codegrees. Keevash [16] later proved that equality holds in (4) for all large v that satisfy the divisibility conditions. These theorems do not provide packings that are invariant under a prescribed group. The asymptotic attainment of the Johnson bound for OOCs is a case of the problem to decide whether the bound (4) is asymptotically attained by free G-invariant packings, for a prescribed permutation group G on V.

For semiregular groups GG, we determine when the bound (4) is asymptotically attained by free GG-invariant packings. Let GG be a semiregular permutation group on VV, and let k>t≥2k > t \geq 2 be constant. For g∈Gg \in G and A⊆VA \subseteq V, let gAgA denote the set {gx:x∈A}\{gx : x \in A\}. Let vt(G)v_t(G) be the number of tt-subsets TT of VV such that gT=TgT = T, for some element gg of GG other than the identity. We prove that, for every ε>0\varepsilon > 0 and all large vv, there is a free GG-invariant t−(v,k,1)t-(v, k, 1) packing with at least

((1−ε)(vt)−cvt(G))/(kt)\left((1-\varepsilon)\binom{v}{t}-c v_{t}(G)\right)\bigg/\binom{k}{t}

blocks (Theorem 4). The number cc depends only on kk and tt. We also prove that a free GG-invariant t−(v,k,1)t-(v,k,1) packing has at most ((vt)−vt(G))/(kt)\left(\binom{v}{t}-v_t(G)\right)/\binom{k}{t} blocks. Hence the bound (4) is asymptotically attained by free G-invariant packings if and only if νt(G)=o(vt)\nu_t(G) = o(v^t). This condition holds for every semiregular group if t≥3t \geq 3. For t=2t = 2, we have ν2(G)=ι(G)v/2\nu_2(G) = \iota(G)v/2, where ι(G)\iota(G) is the number of elements of order two in GG, and the condition is ι(G)=o(v)\iota(G) = o(v). The group GG may be nonabelian, and its order may be any divisor of vv. The groups that arise from OOCs, multidimensional OOCs and optical orthogonal signature pattern codes have at most three elements of order two. Consequently, the Johnson bound is asymptotically attained at all lengths by OOCs, by multidimensional OOCs and by optical orthogonal signature pattern codes, for constant ww and λ\lambda with w≥λ+2w \geq \lambda + 2. Moreover, cyclic and quasi-cyclic binary codes of constant weight ww and minimum distance 2δ2\delta attain asymptotically the maximum size of a binary code with these parameters, for constant ww and δ\delta with 2≤δ≤w−12 \leq \delta \leq w - 1.

A G-invariant packing is a union of orbits of G on the k-subsets of V. Our proof selects these orbits by means of a matching in a hypergraph, as in the proofs of Frankl and Rödl and of Pippenger and Spencer. The vertices of the hypergraph are the orbits of the t-subsets of V that have ∣G∣|G| distinct images. There is one edge for each orbit of k-subsets B such that B and gB have fewer than t common points, for all g∈Gg \in G other than the identity. The edge consists of the orbits of the t-subsets of B. A matching with n edges yields a free G-invariant packing with n∣G∣n|G| blocks. The theorem of Kahn [14] on the chromatic index of hypergraphs with small codegrees gives a large matching relative to the number of edges and the maximum degree. Our application has two tasks, and a nontrivial group is an obstacle to each of them. The first task is to show that almost all k-subsets give edges. A k-subset B gives no edge if B and gB have at least t common points, for some g∈Gg \in G other than the identity. The second task is to bound the codegrees. For t-subsets T and S of V in distinct orbits, only a small proportion of the k-subsets that include T may include an image of S, and S has up to ∣G∣|G| images. We prove a G-invariant Erdős–Hanani theorem for an arbitrary permutation group G. The lower bound and the hypothesis of this theorem are expressed by two parameters αk,t(G)\alpha_{k,t}(G) and βk,t(G)\beta_{k,t}(G), which measure the first and the second obstacle, respectively. For semiregular groups, we prove that βk,t(G)=O(1/v)\beta_{k,t}(G) = O(1/v) and αk,t(G)=O(1/v+vt(G)/vt)\alpha_{k,t}(G) = O(1/v + v_t(G)/v^t).

The Erdős–Hanani theorem concerns packings of the tt-subsets of a set by kk-subsets. OOCs of dimension two with at most one pulse per wavelength correspond to packings of a different kind. The points are the elements of ZΛ×ZT\mathbb{Z}_\Lambda \times \mathbb{Z}_T. A subset of ZΛ×ZT\mathbb{Z}_\Lambda \times \mathbb{Z}_T is a transversal if it has at most one point in each of the sets {i}×ZT\{i\} \times \mathbb{Z}_T. Each block is a transversal kk-subset, and every transversal tt-subset lies in at most one block. A packing with these two properties is a group divisible packing. A group divisible packing has at most (Λt)Tt/(kt)\binom{\Lambda}{t} T^t / \binom{k}{t} blocks. The group ZT\mathbb{Z}_T acts on ZΛ×ZT\mathbb{Z}_\Lambda \times \mathbb{Z}_T by translation of the second coordinate. We show that there are ZT\mathbb{Z}_T-invariant group divisible packings with (1−o(1))(Λt)Tt/(kt)(1 - o(1)) \binom{\Lambda}{t} T^t / \binom{k}{t} blocks, uniformly in Λ≥k\Lambda \geq k and TT (Theorem 19). The proof uses a matching in the hypergraph whose edges come from the orbits of transversal kk-subsets. This result gives the asymptotic maximum size of OOCs with at most one pulse per wavelength.