Manuscript Offprint
arXiv:2608.24856The Optimal Asymptotic Rate of Generalized Covering Codes
Abstract
Let be an alphabet of size . We determine the optimal asymptotic rate of generalized covering codes , whose covering centers in are constrained to the product form . For every fixed integer and every , we prove that
where denotes the minimum asymptotic rate among codes whose -th covering radius is at most , and is the -ary entropy function. When is a prime power, we prove that the same formula holds under the additional requirement that . Thus, both the product-form constraint and linearity are asymptotically cost-free: the resulting rate is the ordinary sphere-covering rate over an alphabet of size . This extends the recent result of Elimelech and Schwartz for codes without a linearity constraint and the classical result of Cohen and Frankl for linear codes, thereby resolving both open problems posed by Elimelech and Schwartz.
Our proofs are probabilistic and combine tools from information theory and probabilistic combinatorics, including the method of types, Janson's inequality, the second-moment method, and a structured alteration argument. Direct applications of Janson's inequality and the second-moment method are obstructed by strong dependencies among candidate error matrices, namely, the differences between target matrices and covering centers. We overcome this obstruction by restricting these errors to a balanced exact-type class contained in the metric ball and having the same exponential size as the full ball. Standard type-class estimates, together with Shearer's inequality, then give the required bounds on the number of error-matrix pairs whose selected rows have a prescribed difference.
Index Terms
generalized covering codes, generalized covering radius, linear codes, method of types, Janson's inequality, second-moment method
In a q-ary Hamming space, the covering problem has a familiar football-pool interpretation [15]. Suppose that n games are played, each with q possible outcomes. A ticket gives one prediction per game and wins if at least predictions are correct. The minimum number of tickets required to guarantee a win for every possible outcome sequence is precisely the minimum size of a length-n q-ary code with covering radius at most r. This problem has been studied extensively in combinatorics [14], [16], [21].
H. Li and H. Wei are with the School of Mathematics and Statistics, Xi'an Jiaotong University, Xi'an 710049, China. Emails: leeker0626@outlook.com (H. Li) and hjwei05@gmail.com (H. Wei). The work of H. Li and H. Wei was supported by the National Natural Science Foundation of China under Grant 12371523.
C. Shangguan is with the Research Center for Mathematics and Interdisciplinary Sciences, Shandong University, Qingdao 266237, China, and the Frontiers Science Center for Nonlinear Expectations, Ministry of Education, Qingdao 266237, China. Email: theoreming@163.com. C. Shangguan was supported by the National Natural Science Foundation of China under Grant Nos. 12571352 and 12231014, and the Fundamental Research Funds for the Central Universities.
H. Wei is the corresponding author.
Elimelech and Schwartz [12] introduced the higher-order version of this model. In the order-t model, each game consists of t subgames, each with q possible outcomes, while a single ticket gives only one q-ary prediction per game. An ordered selection of t tickets, not necessarily distinct, provides predictions for all subgames: the j-th ticket is used for the j-th subgame of every game. A game is predicted correctly when all its t subgames are predicted correctly, and the order-t football-pool problem asks for the minimum number of tickets needed to guarantee at least n - r correctly predicted games.
Equivalently, an outcome is a matrix over a q-symbol alphabet, while an ordered choice of t tickets from a code is a matrix whose rows belong to , hence an element of . The -distance between two such matrices is the number of columns in which they differ. Thus, the -th covering radius is the maximum distance from an outcome matrix to . The problem is therefore a covering problem in a Hamming space over an alphabet of size , with the restriction that the centers have the product form . When is a prime power and , every row must be chosen from the same linear code .
There is also an extension-field interpretation. After fixing an -basis of , the space is isometric to , and is mapped to the -linear span of . Thus, the linear problem asks whether -linear codes that admit a generator matrix with entries in can attain the ordinary sphere-covering rate. We make this equivalence precise in Section II.
The generalized covering radius was originally introduced for linear codes in connection with linear data-querying protocols, where it characterizes the trade-off among access complexity, storage, and latency and is related to generalized Hamming weights [11], [25]. It has since been studied for Reed–Muller codes [13], for several families of BCH and binary cyclic codes [4], [19], [22], [23], [26], [27], and through a finite-geometric framework for linear codes [1]. We focus here on its optimal asymptotic rate.
For an integer and , let
where . Let denote the optimal asymptotic rate of q-ary codes whose normalized t-th covering radius is at most , and, when is a prime power, let denote the corresponding optimal rate for linear codes over . Formal definitions are given in Section II. We refer to the former as unrestricted codes: here unrestricted means only that no linearity condition is imposed on , while the covering centers remain constrained to the product form .
For , the classical sphere-covering bound and the Stein–Lovász set-covering theorem [18], [24] give
When is a prime power, Cohen and Frankl [8] further showed that the same asymptotic rate is attainable by linear codes over .
Elimelech and Schwartz [12] determined the unrestricted rate for t = 2:
For the linear rate problem, Elimelech, Firer, and Schwartz proved the sphere-covering lower bound, general upper bounds, and a sharper probabilistic upper bound in the special case and [11, Theorem 22]. Their probabilistic upper bound for and , however, did not close the gap with the sphere-covering bound in the interior of the nontrivial range.
Elimelech and Schwartz [12] posed two further questions. Problem 1 asks whether the unrestricted rate equals the sphere-covering rate for every fixed order , whereas Problem 2 asks whether imposing linearity changes the optimal asymptotic rate over a finite field for every fixed order . We resolve both problems.
Our first result treats codes that are not necessarily linear.
Theorem 1. For every integer , every fixed integer , and every ,
Theorem 1 says that, in the ordinary covering problem on , restricting the centers to the product family does not change the optimal asymptotic covering rate.
Our second result shows that imposing linearity is also asymptotically cost-free.
Theorem 2. For every prime power q, every fixed integer , and every ,
In the extension-field formulation, Theorem 2 determines the optimal asymptotic rate under the constraint that an -linear covering code admit a generator matrix with entries in . Neither linearity nor this subfield-generation constraint changes the sphere-covering rate.
The proof also gives the following finite-length statement when . For every rational and every sufficiently large length , there is a linear code such that
A. Proof overview
The lower bounds in the nontrivial range of Theorems 1 and 2 follow from the sphere-covering bound (1). We next outline the proofs of the matching upper bounds.
Both upper-bound proofs face the same obstacle. For an auxiliary relative radius , the full metric ball has the exponential size required to attain the sphere-covering bound, but it contains exponentially large subfamilies of matrices that are zero on a fixed nonempty set of rows. These subfamilies produce too many pairs that agree on selected rows. Janson's inequality in the proof of Theorem 1 requires bounds on these row-agreement counts, whereas the second-moment argument for Theorem 2 requires bounds on the number of pairs having every prescribed difference on the selected rows.
The common remedy is to replace the full ball by the balanced exact-type family defined in Section III. This restriction preserves the optimal exponential size of the full ball, while requiring every nonzero column vector to occur equally often. Lemma 6 bounds the relevant pair counts in terms of the entropies of the marginal distributions on the selected rows, and Lemma 7 uses Shearer's inequality to give the normalized marginal-entropy bound needed in both proofs. In the unrestricted proof, the resulting estimate controls pairs that agree on selected rows; in the linear proof, the same estimate controls pairs having any prescribed difference on those rows.
a) The Unrestricted Proof: We sample auxiliary codes independently and take their union. Their Cartesian product gives the independence across rows needed by Janson's inequality, while their union retains the desired rate. With the row-agreement bounds, Janson's inequality makes the probability that a fixed target matrix is uncovered doubly exponentially small, so a union bound gives complete coverage.
b) The Linear Proof: We take for a random generator matrix with rows. The row-difference bounds and the second-moment method give a code that covers all but a vanishing fraction of the target matrices. A structured alteration (see Lemma 10), based on the augmentation technique of [11, Proposition 21], repeatedly squares the uncovered density and completes the covering while adding only dimensions.
Lastly, we want to emphasize that the unrestricted proof obtains complete coverage directly, whereas the linear proof first obtains almost-complete coverage and then uses alteration.
The rest of the paper is organized as follows. Section II gives the preliminaries, including the extension-field interpretation and the sphere-covering lower bound. Section III constructs and establishes the counting and entropy estimates used in both proofs. Sections IV and V prove the unrestricted and linear results, respectively, and Section VI concludes the paper.
II. PRELIMINARIES
For consistency, we follow the notation of [12]. Throughout, for every positive integer . We denote by an abelian group of order , write + for its group operation, and write 0 for its identity element. The sets and consist, respectively, of length- vectors and matrices with entries in . Both of them are regarded as abelian groups under entrywise addition.
Lowercase letters, such as , denote elements of (and hence scalars when is a field); overlined lowercase letters, such as , denote vectors; and bold lowercase letters, such as , denote matrices. Matrices may also be denoted by uppercase letters, such as . For , we write for its -th row and for its -th column. Thus, lower indices refer to rows, whereas parenthesized superscripts refer to columns. If , then denotes the submatrix of formed by the rows indexed by . We use , , and for the zero group element, the all-zero vector, and the all-zero matrix, respectively, with their dimensions clear from context.
When is a prime power, we take . For a matrix over , we denote its row space and rank by and rank , respectively, and write for the group of invertible matrices over . The notation means that is an -linear subspace of .
A nonempty subset is called a code, and its elements are called codewords. When is a prime power, such a code is called linear if it is a linear subspace of . In that case, is an linear code, where .
a) Generalized Covering Radius and Optimal Rates: We now define the t-metric for the t-th covering radius.
Definition 3. Let have columns . The -weight of is , where denotes the zero vector in . For , their -distance is . The -ball of radius centered at is .
We next define the t-th power and t-th covering radius of a code.
Definition 4. Let be a nonempty code and let be a positive integer. The -th power of is
The -th covering radius of is the covering radius of in with respect to the -metric:
For , is the usual Hamming distance and is the ordinary covering radius of ; see [7] for a standard reference. We are interested in the minimum cardinality of a code satisfying .
Definition 5. For integers and , and for , define
For , the optimal asymptotic rate for unrestricted codes is
When q is a prime power, define in addition
and
Since every linear code is an unrestricted code, .
Although the definitions use group notation, is simply the number of columns in which and differ. Consequently, , , and depend only on the alphabet size , not on the chosen group structure.
Since the distance is integer-valued, a nonintegral value of causes no ambiguity.
b) Extension-Field Interpretation: When is a prime power, the preceding matrix model has an equivalent formulation in the ordinary Hamming space over the extension field ; see [11, Lemma 9]. Fix an -basis of and consider the -linear bijection
where is the -th row of . A column of is zero if and only if the corresponding coordinate of is zero. Hence is an isometry from to the Hamming metric on . Under this isometry, if , , and is a generator matrix of , then
A full-rank minor of G over remains nonzero over . Consequently,
Thus, the linear problem is equivalently an ordinary covering problem over in which the covering code must admit a generator matrix with entries in .
c) Entropy and the Volume Bound: Throughout, entropies denoted by , including joint and conditional entropies, use logarithms to base q. By contrast, the logarithms in the Q-ary entropy function are taken to base Q. For a probability distribution P on a finite set, write
Since the -weight counts nonzero columns, every -ball of radius has cardinality . Thus, the standard entropy estimate for binomial sums gives, for fixed ,
We next present the sphere-covering lower bound common to the unrestricted and linear settings. If , then the balls centered at the elements of cover . Since these balls all have the same size, for every we have . Together with the volume estimate above, this gives the standard lower bound
When q is a prime power, the inclusion of the linear codes among all codes and (1) also give
III. A BALANCED EXACT-TYPE ERROR FAMILY
For a target matrix and a center , we regard the difference as an error matrix. The condition is equivalent to requiring that every target matrix admit a representation with and . In other words, the translates by the centers in of the -metric ball
cover the entire space .
In both probabilistic constructions, rather than using the full ball , we work with a highly structured error family . For admissible lengths , every matrix in has exactly zero columns, while each nonzero vector of occurs exactly times as a column. Thus, is a balanced exact-type class consisting of matrices of -weight exactly . Requiring the translates to cover the ambient space is stronger than ordinary radius- covering. The advantage is that has the same exponential size as the full ball, while its balanced structure bounds how many pairs have any prescribed difference on selected rows.
We now formalize this choice. Fix integers and and a rational number , and put . Define a distribution on by
Its entropy is
(3)
Call a positive integer admissible if is an integer for every . Since is rational, every sufficiently large multiple of a fixed positive integer is admissible. For such , define the exact column-type class
Every has exactly nonzero columns. When is a prime power, the class is invariant under left multiplication by every , because fixes zero and permutes the nonzero vectors of .
Let . For every nonempty , let be the distribution of .
For a finite alphabet and a sequence , its type, or empirical distribution, is the probability distribution
A probability distribution on is called an -type if is an integer for every . Its type class is
After identifying a matrix with its ordered sequence of columns, is precisely on the alphabet . We use the following standard type-class inequality (see [9, Th. 11.1.3] and [10, Ch. 2, Lem. 2.3]):
For a nonempty , put . For an admissible and , set
For any family and any , define
We call this the row-difference count at z. In particular, is the row-agreement count used in the unrestricted proof, whereas the linear covariance calculation requires the bound for every z. The following two lemmas give the bounds on and used in both constructions.
Lemma 6. For every admissible n,
Moreover, for every nonempty and every admissible ,
Proof. Applying (4) to the column type gives (5).
Fix and . If , then has column type . For every , the positions in which the column of equals must be filled by columns satisfying , using each exactly times. Hence
For each , the corresponding factor is a type class whose type is the conditional distribution of X given . Applying the type-class upper bound to every factor and multiplying gives
which proves (6). Finally,
Combining (6) with the upper bound in (5) proves (7).
In particular, (3) and (5) give
The distribution is invariant under coordinate permutations. The following lemma follows from Shearer's inequality [6] and exchangeability. We include a short direct proof for completeness.
Lemma 7. For every nonempty subset , with ,
Proof. Let denote the family of all s-subsets of . For , the entropy chain rule and the fact that conditioning cannot increase entropy give
Summing over and observing that every belongs to such subsets yields the specialization of Shearer's inequality to all s-subsets of ; see [6, p. 33, Eq. (22)]:
By exchangeability, the left-hand side equals . Since by (3), it follows that
Combining Lemmas 6 and 7, for every nonempty proper subset , with , and every , we obtain
IV. THE UNRESTRICTED CASE
By (1), only the matching upper bound in Theorem 1 remains to be proved. The cases are known [12], [18], [24], so throughout this section we fix an integer . We first show that the full metric ball can make even the extended Janson bound ineffective. We then use the balanced exact-type family constructed in Section III to overcome this obstruction.
A. The Janson Setup and the Row-Agreement Obstruction
We use the following combined consequence of the ordinary and extended forms of Janson's inequality; see [2, Theorems 8.1.1 and 8.1.2].
Lemma 8 (Janson’s inequality). Let be a finite set, and let be a random subset of obtained by including its elements mutually independently, possibly with different probabilities. Let be a finite family of subsets of . For every , set and . Let and
where the latter sum is over ordered pairs. If , then
This follows by using the ordinary Janson inequality when and the extended Janson inequality when .
To describe the construction in the nontrivial range, fix and a rational number . Here is the desired normalized covering radius, while the candidate error matrices will be restricted to have -weight at most . In Subsection IV-B, will be chosen sufficiently close to . Fix also a real number , and set
Independently choose random subsets by including every vector in every with probability , with all membership choices mutually independent, and set .
Fix a target matrix with rows , and let be a family of error matrices, each of -weight at most . On the ground set , define
For with rows , set
Let
If , then for some , so is covered within distance . Moreover,
Denote the corresponding dependency sum in Lemma 8 by .
For each nonempty , consider the row-agreement count defined in Section III. Take two distinct error matrices , with associated . Suppose that they agree precisely on the rows indexed by a nonempty set ; that is, if and only if . Writing , we then have
Consequently, . Grouping the ordered pairs according to their common rows therefore gives the bound
This upper bound includes the diagonal pairs in , although they do not occur in , and it also overcounts pairs that agree on rows outside . Indeed, a distinct pair whose exact common-row set is is counted in for every nonempty . These extra nonnegative terms only enlarge the right-hand side of (13).
To see the obstruction for the natural unstructured family, take to be the entire t-ball of admissible errors:
For lengths such that is an integer, its cardinality has the sphere-volume exponent, i.e.,
The problem is that the ball also contains exponentially large subfamilies supported only on a proper subset of the rows. Fix a nonempty proper subset , write , and let
Thus, consists of matrices supported only on the rows outside . For , the remaining rows form a ball, so
For any two distinct errors , the associated and share at least the elements . If they agree on exactly rows, then
where the inequality uses . Restricting the ordered-pair sum defining to the distinct ordered pairs from therefore gives
Consequently,
Put . As , . Thus for every sufficiently small positive . Fix such a and choose . Then
Therefore, even the extended Janson bound is ineffective for the full ball in this range. Since attaining the sharp rate requires allowing to be arbitrarily small, this is a genuine obstruction to using the unstructured ball throughout the full parameter range. The obstruction comes from exponentially large subfamilies whose matrices are zero on a fixed nonempty set of rows, not from a loss in the ball's total cardinality. We therefore retain the optimal exponential cardinality but restrict the candidate errors to the balanced exact-type family .
B. Completion of the Proof
Proof of Theorem 1. Since the cases are already known, it remains to prove the upper bound for the fixed .
First suppose that . The condition implies and hence . Thus and .
Now let and fix . Choose a rational number such that and . Such a choice is possible by the continuity and strict monotonicity of on . Use the family from Section III with . Choose
The two upper bounds respectively control the loss in the final rate and ensure that 0 < p < 1.
For every admissible value of , perform the random construction from Subsection IV-A with . By (11), for every , we have . Since , we have . Markov's inequality gives
For a fixed target matrix v, the estimate for in (8), together with (12), gives
Taking in (9) and using (13), we obtain
These two estimates imply
Indeed, the numerator is , while the denominator is at most . By (15), Janson's inequality (10) therefore yields, for every ,
There are target matrices. Hence the union bound gives
If for every target matrix , then every target matrix is covered within distance . The probability of this event failing and the probability in (14) both tend to zero, so their sum is less than 1 for every sufficiently large admissible value of . Hence there exists a code such that
Consequently,
The admissible values of form an unbounded subsequence, which is sufficient because is defined by a liminf over all lengths. Taking the liminf along this subsequence and then letting yields .
Finally, suppose that . For every , choose such that . Such a choice is possible because as . Since is nonincreasing in , the upper bound just proved gives
Letting gives , completing the proof.
V. THE LINEAR CASE
Suppose that is a prime power. For , the assertion is the classical theorem of Cohen and Frankl [8]; hence the new content is the case . Fix a rational number , put , and use the family from Section III. Recall that is invariant under left multiplication by every .
In the linear-code setting, the covariance calculation requires bounds on pairs of errors for which the difference on selected rows is prescribed. The bound (9) applies with for every nonempty proper subset and every . Indeed, the proof of Lemma 6 uses only column-type counting and does not use the field structure. Thus, the unrestricted proof takes , whereas the linear proof must allow every .
A. Random Linear Codes Cover Almost All Target Matrices
In this subsection, we show that a random linear code can cover almost all target matrices with the error family . Assume , fix an admissible , and let be a sufficiently large constant. Set
Put
For all sufficiently large , we have . Choose by taking all its entries independently and uniformly from , and let . We do not condition on having full row rank, since is sufficient.
We count only representations whose coefficient matrices have full row rank. This restriction can only make coverage harder, while retaining candidates. Let
Then for each , the map is surjective, and hence is uniformly distributed over . For a target matrix , define
If , then lies at -distance from a center in .
The next proposition shows that the probability of failure tends to zero for every target matrix, with a bound independent of v.
Proposition 9. If in (16) is sufficiently large, then for all sufficiently large admissible and every , we have
where the implied constant is independent of v. Consequently, .
Proof. For each , the map is a surjective linear map from to . Hence is uniform on . Put
Moreover, by [28, Equation 1], we have
for all sufficiently large n, where . The lower type-class bound in (5) now gives
By (17), choosing sufficiently large makes and also
We now turn to the variance. Write . Then
Since each is Bernoulli with mean , the diagonal sum satisfies
It remains to estimate the off-diagonal sum, which we classify according to the intersection dimension. For , set
If , the stacked matrix with row blocks and has rank . Therefore is uniform on , so and are independent and .
If and , then for a unique , where denotes the identity matrix. Conversely, every such gives one such , so for each fixed there are exactly choices for . Moreover, , and hence . Therefore the part of the covariance sum satisfies
Consider now . Choose an ordered basis of and extend it separately to ordered bases of and . Since the rows of and are bases of their respective row spaces, there exist that transform the original row bases into these two extended bases. In particular, the first rows of and are the same chosen basis of the intersection. These common rows, together with the remaining rows of each of and , form a full-row-rank matrix , where the common rows are listed first, followed by the remaining rows of and then those of . Hence is uniform on .
Consider the joint probability
Since is invariant under , the event in this probability is equivalent to the existence of satisfying
On the s common rows, the two errors satisfy
This condition is precisely what makes the first rows of and coincide. Thus each pair satisfying this condition determines the value
Conversely, a value of MG for which the joint event occurs uniquely determines (e, f). Therefore the admissible pairs are in bijection with the values of MG for which the joint event occurs. Consequently, (9) gives
The number of ordered pairs whose row spaces intersect in dimension is at most
To see this, first choose an ordered basis for the -dimensional sum of the two row spaces, and then choose, inside this fixed space, the two t-dimensional subspaces and their ordered bases. The latter choices contribute only a constant depending on q and t.
Let denote the total of the joint probabilities over all ordered pairs with intersection dimension s. Multiplying these two bounds and then using (17) gives
On the other hand, the lower bound for the mean gives
The polynomial factors in these estimates can be bounded independently of for . Thus there is a constant such that
Increasing if necessary so that , the right-hand side is simultaneously for every .
Combining the preceding bounds and using , we obtain
Here the term comprises the diagonal sum and the pairs with s = t; the pairs with s = 0 have zero covariance, and the remaining pairs are controlled after normalization by (19). Since t is fixed, dividing (20) by and using (18) yields
Finally, Chebyshev's inequality yields
with constants independent of v.
For a realization of G, define the target matrices not covered by the selected type class as
Since implies , membership in implies . Hence Proposition 9 and linearity of expectation give
There is therefore a realization of G for which
The random linear code therefore covers all but a vanishing fraction of the target matrices with the desired dimension bound. The next subsection converts this into complete coverage.
B. Structured Alteration and Proof of the Linear Theorem
- Squaring the Uncovered Density: Keep the error family fixed, and define by (21) for every linear code . The following lemma isolates the density-squaring mechanism of the structured alteration based on [11, Proposition 21]. Rather than adding one center for each remaining target matrix, the alteration adds at most dimensions and squares the entire uncovered density.
Lemma 10. Let and . There is a matrix such that the linear code satisfies
Proof. For every , the set contains both and . Consequently,
Taking complements in and using gives
Averaging the intersection on the right over all Y gives
Indeed, every ordered pair of elements of determines exactly one translation . Some therefore makes the intersection in the displayed inclusion at most . After division by , this is .
- Completion of the Linear Case: We first present the quantitative conclusion of the random construction and alteration.
Theorem 11. Let be a prime power, let be fixed, and let be rational. For every sufficiently large length , there is a linear code satisfying
The implied constant depends only on q, t, and .
Proof. Start with the code obtained above, whose uncovered density satisfies (22). For all sufficiently large admissible , we have . Apply Lemma 10 repeatedly. After applications, the uncovered density is at most
Choose
Then . Since the number of uncovered target matrices is an integer, no target matrix remains. Every error in has -weight , so the resulting code satisfies .
Each application of Lemma 10 adds at most t dimensions. Using (16), we obtain
This proves the assertion at every sufficiently large admissible length.
To remove the integrality restriction, let be a positive integer such that every multiple of is admissible. For an arbitrary sufficiently large length , put and , and define
The final coordinates can match every target matrix exactly, so . Moreover,
because is bounded independently of . Relabeling as completes the proof.
We now deduce Theorem 2 from the finite-length bound.
Proof of Theorem 2. For , the asserted formula is the classical linear-covering result of Cohen and Frankl [8]. We therefore assume .
The lower bound in the range is (2). To prove the matching linear upper bound, first let and choose any rational . Theorem 11 provides codes for every sufficiently large block length with
Hence . Letting through rational values and using continuity gives
For , the full space has covering radius zero and rate one, which matches the volume bound. If , choose rational arbitrarily close to . Then and tends to one, so Theorem 11 gives linear codes of arbitrarily small asymptotic rate. Thus, throughout this range. This completes the proof.
VI. CONCLUDING REMARKS
We determined the optimal asymptotic rate of generalized covering codes for every alphabet size and fixed order, and proved that the same rate is attained by linear codes over every finite field. Thus, both the product-form constraint on the covering centers and the additional linearity constraint are asymptotically cost-free. This resolves both problems posed by Elimelech and Schwartz [12].
The two proofs use the balanced exact-type family in different ways. Its row-agreement bounds support the Janson argument for unrestricted codes, while its row-difference bounds support the second-moment argument for linear codes.
Both proofs use only the non-strict normalized marginal-entropy bound in Lemma 7. In fact, the Appendix shows that, if , then
Although unnecessary for the main results, this strict entropy gap permits the use of the ordinary Janson inequality in the unrestricted proof and may be useful in related problems.
A natural open problem is to give explicit constructions of generalized covering codes attaining the optimal rate in both the unrestricted and linear settings.
APPENDIX
We prove the strict strengthening of Lemma 7 and then explain how it gives an alternative treatment of the Janson step in the unrestricted proof.
Proposition 12. Let , , and , and let have the distribution defined in Section III. Then, for every nonempty proper subset , we have .
Proof. For , let , with empty, and set . Exchangeability gives , and hence, for ,
Here I denotes conditional mutual information.
It remains to show that this conditional mutual information is positive. Set , so that . The random vector can be generated using a Bernoulli random variable with : if , set , while if , choose independently and uniformly from . This gives exactly the distribution .
Fix and condition on the positive-probability event
here is the sure event. Writing , we have . Consequently,
The two quantities are different, so and are not conditionally independent given . Since specifies one value of having positive probability, it follows that
Thus . If , exchangeability gives , while the entropy chain rule gives
Therefore,
as required.
Although this strict inequality is not needed for either main theorem, it gives an alternative treatment of the Janson step in Section IV. Retain the notation , and used there, take , and set
If the sampling slack is chosen so that , then combining (7) at with (13) and the definition of gives
Consequently, the ordinary Janson inequality [2, Theorem 8.1.1] yields
which is again sufficient for the union bound over all target matrices.
ACKNOWLEDGMENT
Generative-AI use disclosure: During the preparation of this manuscript, the authors used OpenAI Codex (GPT-5.6 Sol model, Ultra mode) as an auxiliary tool for exploring proof ideas, checking calculations, and improving the exposition. All mathematical content, including statements, proofs, and references, was independently verified by the authors, who assume full responsibility for the final manuscript.
REFERENCES
[1] G. N. Alfarano, G. Marino, A. Neri, and R. Trombetti, “A geometric approach to generalized covering radii of linear codes,” arXiv:2606.16669, 2026.
[2] N. Alon and J. H. Spencer, The Probabilistic Method, 4th ed. Hoboken, NJ, USA: Wiley, 2016.
[3] J. T. Astola and R. S. Stankovic, “Application of covering codes for reduced representations of logic functions,” in Proc. 39th Int. Symp. Multiple-Valued Logic, 2009, pp. 304–311.
[4] I. Barouch Essayag and A. L. Zabokritskiy (Yohananov), “The exact second generalized covering radius of binary primitive triple-error-correcting BCH codes,” arXiv:2608.07215, 2026.
[5] J. Bierbrauer and J. Fridrich, “Constructing good covering codes for applications in steganography,” in Transactions on Data Hiding and Multimedia Security III, Lecture Notes in Computer Science, vol. 4920. Berlin, Germany: Springer, 2008, pp. 1–22, doi: 10.1007/978-3-540-69019-1_1.
[6] F. R. K. Chung, R. L. Graham, P. Frankl, and J. B. Shearer, “Some intersection theorems for ordered sets and graphs,” J. Combin. Theory Ser. A, vol. 43, no. 1, pp. 23–37, 1986, doi: 10.1016/0097-3165(86)90019-1.
[7] G. Cohen, I. Honkala, S. Litsyn, and A. Lobstein, Covering Codes, Amsterdam, The Netherlands: North-Holland, 1997.
[8] G. Cohen and P. Frankl, "Good coverings of Hamming spaces with spheres," Discrete Math., vol. 56, nos. 2–3, pp. 125–131, 1985.
[9] T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed. Hoboken, NJ, USA: Wiley, 2006.
[10] I. Csiszár and J. Körner, Information Theory: Coding Theorems for Discrete Memoryless Systems, 2nd ed. Cambridge, U.K.: Cambridge Univ. Press, 2011.
[11] D. Elimelech, M. Firer, and M. Schwartz, “The generalized covering radii of linear codes,” IEEE Trans. Inf. Theory, vol. 67, no. 12, pp. 8070–8085, 2021.
[12] D. Elimelech and M. Schwartz, “The second-order football-pool problem and the optimal rate of generalized-covering codes,” J. Combin. Theory Ser. A, vol. 203, Art. no. 105834, 2024.
[13] D. Elimelech, H. Wei, and M. Schwartz, “On the generalized covering radii of Reed–Muller codes,” IEEE Trans. Inf. Theory, vol. 68, no. 7, pp. 4378–4391, 2022.
[14] H. Fernandes and E. Rechtschaffen, “The football pool problem for 7 and 8 matches,” J. Combin. Theory Ser. A, vol. 35, pp. 109–114, 1983.
[15] H. Hämäläinen, I. Honkala, S. Litsyn, and P. R. J. Östergård, “Football pools—a game for mathematicians,” Amer. Math. Monthly, vol. 102, no. 7, pp. 579–588, 1995.
[16] H. J. Kamps and J. H. van Lint, "The football pool problem for 5 matches," J. Combin. Theory Ser. A, vol. 3, pp. 315–325, 1967.
[17] J. Linderoth, F. Margot, and G. Thain, “Improving bounds on the football pool problem by integer programming and high-throughput computing,” INFORMS J. Comput., vol. 21, no. 3, pp. 445–457, 2009.
[18] L. Lovász, “On the ratio of optimal integral and fractional covers,” Discrete Math., vol. 13, no. 4, pp. 383–390, 1975.
[19] R. Luo, Z. Zhou, S. Mesnager, V. Sagar, and H. Yan, “Determining the exact value of the second-order generalized covering radius of two classes of binary cyclic codes,” Des. Codes Cryptogr., vol. 94, Art. no. 71, 2026, doi: 10.1007/s10623-025-01799-2.
[20] D. Micciancio, “Almost perfect lattices, the covering radius problem, and applications to Ajtai’s connection factor,” SIAM J. Comput., vol. 34, no. 1, pp. 118–169, 2004.
[21] P. R. J. Östergård, “A combinatorial proof for the football pool problem for six matches,” J. Combin. Theory Ser. A, vol. 76, pp. 160–163, 1996.
[22] F. Özbudak and İ. Öztürk, “On the second generalized covering radius for binary primitive triple-error-correcting BCH codes,” Des. Codes Cryptogr., vol. 94, Art. no. 165, 2026, doi: 10.1007/s10623-026-01903-0.
[23] F. Özbudak and İ. Öztürk, “The third generalized covering radius for binary primitive double-error-correcting BCH codes,” Finite Fields Appl., vol. 110, Art. no. 102749, 2026, doi: 10.1016/j.ffa.2025.102749.
[24] S. K. Stein, "Two combinatorial covering theorems," J. Combin. Theory Ser. A, vol. 16, no. 3, pp. 391–397, 1974.
[25] V. K. Wei, "Generalized Hamming weights for linear codes," IEEE Trans. Inf. Theory, vol. 37, no. 5, pp. 1412–1418, 1991.
[26] M. Xiong and C. H. Yip, “On generalized covering radii of binary primitive double-error-correcting BCH codes,” arXiv:2603.21068, 2026.
[27] L. Yohananov and M. Schwartz, “The second generalized covering radius of binary primitive double-error-correcting BCH codes,” Finite Fields Appl., vol. 107, Art. no. 102648, 2025, doi: 10.1016/j.ffa.2025.102648.
[28] J. Fulman and L. Goldstein, “Stein’s method and the rank distribution of random matrices over finite fields,” Ann. Probab., vol. 43, no. 3, pp. 1274–1314, 2015.