Manuscript Offprint
arXiv:2610.39434Length Bounds for MDS Algebraic Geometry Codes of Arbitrary Positive Genus
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Haojie Chen, Chuangqiang Hu, and Guorui Ma
Abstract—We study the length of maximum distance separable algebraic geometry codes from curves of arbitrary positive genus. For fixed genus, we prove that the asymptotic ratio of the length to the field size is at most when both the dimension and the codimension grow faster than the logarithm of the field size. We also give explicit bounds under logarithmic dimension conditions. The bounds hold in every characteristic and are uniform in the curve and the evaluation set. The proof combines character sums on the Jacobian with an estimate for sums of distinct points.
Index Terms—Algebraic geometry codes, MDS codes, algebraic curves, Jacobians, character sums, subset sums.
I. INTRODUCTION
A LINEAR code is maximum distance separable (MDS) if it meets the Singleton bound with equality [1]. Determining the possible lengths of MDS codes is a basic problem in coding theory. For , the classical linear MDS conjecture predicts . The exceptions allow when is even and ; see [2, Ch. 11]. For codes defined by algebraic curves, the geometry of the curve gives further constraints on the length.
Algebraic geometry codes are obtained by evaluating functions in a Riemann–Roch space at distinct rational points. On the projective line, this construction gives generalized Reed–Solomon codes. On a curve of positive genus, the same construction can produce MDS codes, but the defining divisor must satisfy additional vanishing conditions [3, Ch. 2]. These conditions relate the length problem to the arithmetic of divisor classes.
Munuera [4] used this relation to study the MDS conjecture for geometric codes, including codes from curves of genera one and two. Chen and Yau [5] developed the method for hyperelliptic curves and obtained the bound under explicit conditions on the field size. These results suggest a more precise question: for a fixed positive genus, how far below must the length lie?
For elliptic curves, the group law gives a direct relation between the MDS property and sums of distinct rational points. Li, Wan, and Zhang [6] proved a length bound with asymptotic coefficient 2/3 when both the dimension and the codimension are larger than a suitable multiple of . They conjectured that the coefficient could be reduced to 1/2. Han and Ren
[7] proved the corresponding asymptotic bound for nontrivial MDS elliptic codes. Further exact results in restricted dimension ranges were obtained by Chen, Hu, Huang, and Zhao [8].
For a curve of genus , its rational points do not form a group. They do, however, map to the group of rational points of its Jacobian. For fixed , this group has order about , whereas the curve has about rational points. Thus an evaluation set is usually a small subset of the Jacobian. A bound for sums of distinct points must use the fact that these points lie on a curve. Character sums provide this information. Peng, Chen, and Zhao [9] used this approach in algebraic geometric secret sharing. Their result as assumes that only a bounded number of rational points are omitted from the evaluation set. Here we allow arbitrary evaluation sets. We use a coefficient estimate to obtain a condition under which every divisor class of a prescribed degree has a representative supported on distinct evaluation points. This condition gives the length bound near .
The aim of this paper is to obtain a bound near for curves of arbitrary positive genus. We allow the dimension and the codimension to grow with . This permits a proof that does not use a map of small degree to the projective line. The geometric input consists of the Weil bounds for the curve, its Jacobian, and nontrivial characters on the curve. We combine these bounds with a coefficient estimate that counts subsets without repeated points.
We now state the main result. Let be a smooth projective geometrically irreducible curve of genus . Let , where the are distinct rational points, and let be an -rational divisor with support disjoint from . We write for the evaluation code defined by the full space , and put
All logarithms in this paper are natural logarithms. Define
Theorem 1. Suppose that is MDS and that
Then
Haojie Chen and Chuangqiang Hu are with Sun Yat-sen University, Guangzhou 510275, China (e-mail: chenhj69@mail2.sysu.edu.cn; huchq5@mail.sysu.edu.com).
Guorui Ma is with the Shanghai Institute for Mathematics and Interdisciplinary Sciences (SIMIS), Shanghai 200433, China, and the Research Institute of Intelligent Complex Systems, Fudan University, Shanghai 200433, China (e-mail: mgr18@tsinghua.org.cn). Guorui Ma is the corresponding author.
The theorem is uniform in the curve, the evaluation set, and the divisor. It holds in every characteristic. No degree condition on is imposed in the statement. The condition implies , as proved in Section II. The support of may contain closed points of degree greater than one.
The next consequence states the bound with a prescribed coefficient greater than 1/2. It also gives the required dimension range explicitly.
Corollary 2. Let , and set
If is MDS and
then
For fixed g and ,
When the dimension and the codimension are both a fixed positive fraction of the length, the coefficient 1/2 can be retained without an loss.
Corollary 3. Let . Suppose that is MDS and
Then
For fixed genus, the last term in (10) has logarithmic order. We state this asymptotic form separately.
Corollary 4. Fix an integer and a real number . Let be an MDS code from a curve of genus over . If and , then, as ,
The implied constant depends only on g and .
These statements concern complete evaluation codes in the displayed dimension ranges. They do not give a bound near for every fixed value of k or n - k. In genus one, the results of Han and Ren [7] cover a wider range of dimensions. Our purpose is a bound with explicit dependence on the genus that applies to every curve of positive genus.
The paper is organized as follows. Section II recalls the geometric and coding facts used in the proof. Section III proves a subset sum estimate and a necessary condition for the MDS property. Section IV proves the main theorem and its three corollaries. Section V gives several questions for further work.
A. Divisors and Riemann-Roch Spaces
An -rational divisor is a finite sum over the closed points of , with . Its degree is . It is effective, written , if all are nonnegative. For , let be its principal divisor. Two divisors are linearly equivalent if their difference is principal. The class of is denoted by .
The Riemann–Roch space and its dimension are
(12)
For a canonical divisor , one has . Riemann-Roch gives
Clifford's theorem states that, if and , then
We use these results in their standard form; see [10, Ch. IV, Sec. 1]. They imply that
Recall that is special if . In this case , so (15) follows from (14) when . For a nonspecial divisor it follows from (13). The assertion is immediate when .
B. Evaluation Codes and the MDS Condition
Let be distinct, put , and suppose that . The evaluation code is
Its dimension is . If , evaluation is injective and the dimension is .
We also use the duality formula for evaluation codes. A differential can be chosen so that
Then
The divisor on the right has support disjoint from and degree . These facts follow from the standard duality theorem; see [3, Sec. 2.2].
The next proposition explains the role of the lower bounds on the dimension and the codimension. It also gives the precise vanishing condition used later.
Proposition 5. Suppose that and that . Then
Under these assumptions, the code is MDS if and only if
Proof. If , the divisor in (17) has degree at most . By (15), the dual code has dimension at most . This contradicts . Hence , and evaluation is injective. Thus . If , (15) contradicts . We obtain , and (13) gives (18).
A nonzero element of gives a nonzero codeword vanishing at the points in . Its weight is at most . Conversely, a nonzero codeword of weight at most vanishes at some evaluation points and gives such a divisor . Therefore (19) is equivalent to . The Singleton bound gives equality.
C. Jacobians and Character Sums
To find a divisor that violates (19), we will prescribe its class. Fix , and write
The group is identified with the degree-zero divisor classes over . The Abel–Jacobi map on rational points is
This map is injective for . Otherwise, distinct points would satisfy , which would give a function of degree one and force X to have genus zero.
The Weil bounds give
For the second inequality, the numerator of the zeta function is , with , and its value at is . See [3, Ch. 5] and [11, Ch. 9].
A character of a finite abelian group is a homomorphism . Its values have absolute value one. We denote the character group by and its trivial character by 1. The next standard estimate controls characters after restriction from the Jacobian to the curve.
Theorem 6. For each nontrivial ,
For , this is the Weil bound for unramified character sums; see [11, Ch. 9] and [9, Prop. 2, preprint version]. For , the map (21) identifies with , and the sum is zero by character orthogonality.
For a subset of a finite abelian group with , set
This standard quantity also occurs in subset sum estimates such as [6]. For the image of our evaluation set,
injectivity gives . The next lemma bounds the character sums on S in terms of the number of omitted rational points.
Lemma 7. Suppose that . Let be distinct, and let be their images under the Abel–Jacobi map, as in (25). Then
Proof. Fix a nontrivial . Splitting the sum over the curve into the evaluation points and the omitted points gives
There are exactly terms in the second sum. Each has absolute value one. The triangle inequality and (23) therefore give
Taking the maximum over all nontrivial characters proves (26).
Under the dimension assumptions of the main results, . Thus Lemma 7 applies to every evaluation set used below. It is the only estimate on the evaluation set required in the proof.
III. SUBSET SUMS AND THE MDS CONDITION
We first prove an estimate for sums over subsets of a finite abelian group. We then apply it to the set (25). The use of subsets, rather than tuples with repetitions, is needed because the divisor B in (19) must be bounded by D.
A. A Coefficient Estimate
For complex numbers , set . For , define the th elementary symmetric polynomial by
These polynomials satisfy the identity
We will apply these polynomials to character values. The next bound is an elementary consequence of Cauchy's coefficient formula [12, Thm. IV.4]. We give a short deduction to specify its constants.
Lemma 8. Let for , and let . Then
Proof. Put and . Apply the arithmetic-geometric mean inequality to the numbers . Since their mean is at most , the inequality gives
Cauchy's coefficient estimate bounds by times this maximum modulus. For , the value is a mode of the binomial distribution with parameters and . Thus
Combining these inequalities and using proves the result.
B. Sums of Distinct Elements
Let be a finite abelian group of order , written additively. Let have cardinality . For and , define
The next proposition gives a sufficient condition for this number to be positive for every b. Its form is chosen so that (26) can be used directly.
Proposition 9. With the notation above,
In particular, if
then for every .
Proof. Write . Character orthogonality gives
The trivial character contributes . For each nontrivial character, Lemma 8 and the definition of give
(33)
There are such characters. The triangle inequality proves (30). Under (31), its right-hand side is less than one. Thus for every .
C. Application to the MDS Condition
We return to X, D, and G. The preceding proposition counts divisors supported on distinct evaluation points after applying the Abel–Jacobi map. To contradict the MDS condition, it is enough to find one such divisor B with G - B equivalent to a fixed effective divisor of degree g - 1. The next proposition makes this step precise and retains the actual numbers of rational points of the curve and its Jacobian.
Proposition 10. Suppose that is MDS and that . With N and h as in (20), one has
Consequently,
Proof. Proposition 5 gives . Take as in (21), let S be the set in (25), and put
The points in are distinct. In particular, , so the logarithm in (34) is defined.
Suppose that . The corresponding subset of evaluation points gives a divisor of degree such that
It follows that
The divisor is effective for every ; for , it is the zero divisor. Thus , contrary to (19). We have proved
Apply (30) with A = J and m = k. By (38), its left-hand side equals one. Taking logarithms yields
By Lemma 7,
we obtain (34). Finally, (22) and give
These inequalities imply (35).
IV. PROOFS OF THE MAIN RESULTS
Proposition 10 is stronger than the uniform bound when the curve and its Jacobian have fewer rational points than their Weil upper bounds. We now use the uniform form to prove Theorem 1 and Corollaries 2–4. The sign of the expression involving is separated before the factor is estimated.
Proof of Theorem 1. For this proof, write
If , then (4) follows because . Suppose that . Since ,
The factor is positive. Therefore (35) and (40) imply
As , rearranging (41) gives
which is (4).
It remains to prove the three corollaries. Corollary 2 follows from the denominator in the main theorem. Corollary 3 uses (41) before division by . Corollary 4 then follows by estimating for fixed .
Proof of Corollary 2. The assumption (6) gives and
Hence Theorem 1 applies, and
This proves (7). For fixed g,
The ceiling in (5) changes its value by less than one, and the maximum with is immaterial for sufficiently large q. This proves (8).
Proof of Corollary 3. Again put and . If , the conclusion is immediate. If , the argument leading to (41) uses only , not . Thus
This proves (10).
Proof of Corollary 4. For fixed g, definition (2) gives
Since is fixed,
Substituting this estimate into (10) proves (11).
Remark 11. For fixed , Theorem 1 implies along any sequence of MDS codes for which and . This statement is an upper bound. No matching construction for every fixed genus is proved here. Genus zero is excluded throughout: generalized Reed–Solomon codes already have length and extended versions have length .
V. FUTURE WORK
The first question is whether the dependence on in the dimension condition can be reduced. The present proof estimates every nontrivial character separately and then sums the absolute values over the Jacobian. This introduces a factor of order . The exponential term in (30) must dominate that factor. It would be useful to obtain a bound near under only , or to identify curves and divisors that prevent such a statement. The proof in this paper does not decide this question.
A second question concerns the term of order . In Corollary 3, its coefficient is . This coefficient comes from bounding the number of rational points and the nontrivial character sums separately. Proposition 10 retains the actual values of and . Further information about the curve or its character sums may improve this bound. Such an improvement would be relevant even if the dimension condition is unchanged.
A third question is whether the coefficient is optimal for each fixed genus in the dimension ranges considered here. This requires constructions of MDS codes whose lengths approach , or an upper bound with a smaller coefficient. It is also natural to study the dependence on g when the genus grows with q. The explicit form of Theorem 1 gives a starting point, but it does not establish sharpness in any such regime.
ACKNOWLEDGMENT
ChatGPT 6 (OpenAI) was used for literature searches, mathematical discussions, and the polishing of this manuscript.
The work of Haojie Chen was supported by the National Natural Science Foundation of China under Grant 12441107, the Guangdong Basic and Applied Basic Research Foundation under Grant 2025A1515011764, and the National Key Research and Development Program of China under Grant 2025YFA1017100. The work of Chuangqiang Hu was supported by the National Natural Science Foundation of China under Grant 12441107.
REFERENCES
[1] R. C. Singleton, “Maximum distance q-nary codes,” IEEE Trans. Inf. Theory, vol. 10, no. 2, pp. 116–118, Apr. 1964, doi: 10.1109/TIT.1964.1053661.
[2] F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes. Amsterdam, The Netherlands: North-Holland, 1977.
[3] H. Stichtenoth, Algebraic Function Fields and Codes, 2nd ed., Graduate Texts in Mathematics, vol. 254. Berlin, Germany: Springer, 2009.
[4] C. Munuera, “On the main conjecture on geometric MDS codes,” IEEE Trans. Inf. Theory, vol. 38, no. 5, pp. 1573–1577, Sep. 1992, doi: 10.1109/18.149510.
[5] H. Chen and S. S.-T. Yau, “Contribution to Munuera’s problem on the main conjecture of geometric hyperelliptic MDS codes,” IEEE Trans. Inf. Theory, vol. 43, no. 4, pp. 1349–1354, Jul. 1997, doi: 10.1109/18.605607.
[6] J. Li, D. Wan, and J. Zhang, "On the minimum distance of elliptic curve codes," in Proc. IEEE Int. Symp. Inf. Theory (ISIT), 2015, pp. 2391–2395, doi: 10.1109/ISIT.2015.7282884. Full version: arXiv:1501.01138v2.
[7] D. Han and Y. Ren, “The maximal length of q-ary MDS elliptic codes is close to ,” Int. Math. Res. Not., vol. 2024, no. 11, pp. 9036–9043, 2024, doi: 10.1093/imrn/mad271.
[8] H. Chen, C. Hu, J. Huang, and C.-A. Zhao, “On the maximal length of MDS elliptic codes,” arXiv:2605.29439v2, 2026.
[9] F. Peng, H. Chen, and C.-A. Zhao, “Algebraic geometric secret sharing
schemes over large fields are asymptotically threshold," Pacific J. Math., vol. 319, no. 1, pp. 213–232, 2022, doi: 10.2140/pjm.2022.319.213. Preprint: arXiv:2101.01304v1.
[10] R. Hartshorne, Algebraic Geometry, Graduate Texts in Mathematics, vol. 52. New York, NY, USA: Springer, 1977.
[11] M. Rosen, Number Theory in Function Fields, Graduate Texts in Mathematics, vol. 210. New York, NY, USA: Springer, 2002.
[12] P. Flajolet and R. Sedgewick, Analytic Combinatorics. Cambridge, U.K.: Cambridge University Press, 2009, doi: 10.1017/CBO9780511801655.