Higher weight spectra of Veronese codes
Trygve Johnsen, Hugues Verdure

TL;DR
This paper investigates the higher weight spectra of Veronese codes over finite fields, providing methods to determine their weight distributions across all field extensions using algebraic and combinatorial tools.
Contribution
It introduces a novel approach to compute the weight spectra of Veronese codes via Stanley-Reisner rings and matroid theory, extending understanding of their structural properties.
Findings
Higher weight spectra of Veronese codes are explicitly characterized.
The methods apply to all extension codes over various field extensions.
The study links algebraic geometry, combinatorics, and coding theory.
Abstract
We study q-ary linear codes C obtained from Veronese surfaces over finite fields. We show how one can find the higher weight spectra of these codes, or equivalently, the weight distribution of all extension codes of C over all field extensions of the field with q elements. Our methods will be a study of the Stanley-Reisner rings of a series of matroids associated to each code C
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Higher weight spectra of Veronese codes
Trygve Johnsen
Department of Mathematics and Statistics, UiT-The Arctic University of Norway
N-9037 Tromsø, Norway
and
Hugues Verdure
Department of Mathematics and Statistics, UiT-The Arctic University of Norway
N-9037 Tromsø, Norway
(Date: March 19, 2024)
Abstract.
We study -ary linear codes obtained from Veronese surfaces over finite fields. We show how one can find the higher weight spectra of these codes, or equivalently, the weight distribution of all extension codes of over all field extensions of . Our methods will be a study of the Stanley-Reisner rings of a series of matroids associated to each code .
2000 Mathematics Subject Classification:
05E45, 94B05, 05B35, 13F55
T. Johnsen and H. Verdure are with the Department of Mathematics and Statistics, UiT The Arctic University of Norway, 9037 Tromsø, Norway. The authors are grateful to Sudhir Ghorpade, IIT-Bombay for being a valuable discussion partner as the work proceeded, and for the great hospitality, which provided optimal conditions for making the this article possible.
This work was partially supported with a joint grant from RCN, Norway (Project number 280731), and DST, India.
This work was also partially supported by the project Pure Mathematics in Norway, funded by Bergen Research Foundation and Tromsø Research Foundation
1. Introduction
Projective Reed-Müller codes is a class of error-correcting codes that has attracted much attention over the last decades. To find the code parameters, including the generalized Hamming weights, has been a difficult task, and important results concerning this, have appeared quite recently. To find the higher weight spectra of such codes is more difficult, when the order of the Reed-Müller codes is higher than one, and to our knowledge there are few results about this. Therefore it is natural to start with the simplest projective Reed-Müller codes of order at least , namely the so-called Veronese codes over any finite field , where the columns of the generator matrix correspond to the points of . Moreover each row is obtained by taking an element of a basis for the vector space of all homogeneous polynomials of degree in variables, and evaluating it at the points of (in some fixed order). Since this vector space has dimension , there will be such rows. Alternatively one could think of the columns of as the point of the -uple Veronese embedding of in This is why we call these codes Veronese codes; since they in the way described correspond to the projective system of points of the mentioned Veronese surface (of degree in ).
In this article, we are interested in computing the higher weight spectra, that is the number of subcodes of given dimension and weight of .
The code is MDS and of dimension and length , while the code of dimension and length is more interesting, and it differs both from , and from the codes , for , concerning the aspects we study here. We determine the higher weight spectra and the generalized weight polynomials for both codes. For the codes , with , we give a unified treatment, and determine both their higher weight spectra and their generalized weight polynomials. All elements of the weight spectra, and all coefficients of the generalized weight polynomials, turn out to be polynomials in , with coefficients , where is an integer, and an integer dividing .
Our methods will consist of finding the -graded resolutions of the Stanley-Reisner rings of a series of matroids derived from the parity check matroid of each code. The -graded Betti numbers of these resolutions will give us the generalized weight polynomials that calculate the usual weight distribution of all extension codes of the over field extensions of . Finally a straightforward and well known conversion formula will, from the knowledge of the , give us the higher weight spectra of the original codes that we study.
2. Definitions and notation
Let be a prime power and let be the Veronese map that maps into over , i.e. is mapped to and let be the image, a non-degenerate smooth surface of degree . The cardinality of is . Fix some order for the points of , and for each such point, fix a coordinate -tuple that represents it. Let be the matrix, whose columns are the coordinate -tuples of the points of , taken in the order fixed.
Definition 1**.**
The Veronese code is the linear -code with generator matrix .
For we thus get a -code , and it is well known, for example by looking at its dual code, which is generated by a single code word with no zeroes ([12]), that this is an MDS-code, and then all we are interested to know about this code is well known (A more straightforward method is of course just to calculate all codewords, and check that there is no such word with weight ). From now on we will assume that , and we will give a common description of the for all these . We will return to the cases and first in Section 4, where we will comment on, and give the relevant results for these two cases.
2.1. Hamming weights, spectra and generalized weight polynomials
Definition 2**.**
Let be a linear code over . Let . The Support of is the set
[TABLE]
Its weight is
[TABLE]
Similarly, if , then its support and weight are
[TABLE]
Important invariants of a code are the generalized Hamming weights, introduced by Wei in [13]:
Definition 3**.**
Let be a linear code over . Its generalized Hamming weights are
[TABLE]
for .
We also have
Definition 4**.**
Let be a linear code over . For and , the higher weight spectra of are
[TABLE]
In particular, we have
[TABLE]
In [7], Jurrius and Pellikaan show that the number of codewords of a given code extended to a field extension of a given weight can be expressed by polynomials (the generalized weight polynomials). More precisely, if is a -code over , then the code for is a code over . Any generator/parity check matrix of is a generator/parity check matrix of . Then
Theorem 5**.**
Let be a -code over . Then, there exists polynomials for such that
[TABLE]
In [6], Jurrius gives a relation between the higher weight spectra and the polynomials defined above, namely
Theorem 6**.**
Let be a code over . Let . Then
[TABLE]
2.2. Matroids, resolutions and elongations
Our goal in this paper is to find the higher weight spectra for the Veronese codes for . In order to do this, we will compute the higher weight polynomials of the code, making use of some machinery related to matroids associated to the code and their Stanley-Reisner resolutions.
There are many equivalent definitions of a matroid. We refer to [10] for a deeper study of the theory of matroids.
Definition 7**.**
A matroid is a pair where is a finite set and is a set of subsets of satisfying
- ()
**
- ()
If and , then
- ()
If and , then such that
The elements of are called independent sets. The subsets of that are not independent are called dependent sets, and inclusion minimal dependent sets are called circuits.
For any , its rank is
[TABLE]
and its nullity is . The rank of the matroid is . Finally, for any ,
[TABLE]
If is a -linear code given by a parity check matrix , then we can associate to it a matroid , where and if and only if the columns of indexed by are linearly independent over . It can be shown that this matroid is independent of the choice of the parity check matrix of the code. In the sequel, we denote by the matroid associated to the Veronese code .
By axioms and , any matroid is also a simplicial complex on . Let be a field. We can associate to a monomial ideal in defined by
[TABLE]
where is the monomial product of all for . This ideal is called the Stanley-Reisner ideal of and the quotient the Stanley-Reisner ring associated to . We refer to [3] for the study of such objects. As described in [8] the Stanley-Reisner ring has minimal and -graded free resolutions
[TABLE]
and
[TABLE]
In particular the numbers and are independent of the minimal free resolution, (and for a matroid also of the field ) and are called respectively the -graded and -graded Betti numbers of the matroid. We have
[TABLE]
We also note that .
It is well known that the independent sets of a matroid constitute a shellable simplicial complex. Hence the ring is Cohen-Macaulay, and the length for some is by the Auslander-Buchsbaum formula ([1]). When is associated to the parity check matroid of a linear code of dimension , this length is then .
Moreover, we have, as a direct consequence of a more general result (One assumes that is a graded ideal such that is Cohen– Macaulay and let ) by Peskine and Szpiro, given in [11]:
Theorem 8**.**
Let be a matroid of rank on a set of cardinality . Then the -graded Betti numbers of satisfy the equations
[TABLE]
for where by convention, .
See also [2, Equation (2.1)] and [4]. The equations (1) from Theorem 8 are frequently called the Herzog-Kühl equations.
Remark 9**.**
For a matroid we define Then the Herzog-Kühl equations can be written:
[TABLE]
and it is clear that these equations are independent in the variables with a Vandermonde coefficient matrix.
Also, as explained in [8, Theorem 1], we can compute the -graded betti number as the Euler characteristic of a certain matroid. If is a matroid and is a subset of the ground set , then is the matroid with independent sets
[TABLE]
Moreover, the Euler characteristic of is
[TABLE]
Theorem 10**.**
Let be a matroid on the ground set . Let . Then
[TABLE]
In particular, for any circuit , .
In [8] generally for matroids, and in particular for matroids associated to codes, we show that:
Theorem 11**.**
Let be a -code over . The -graded Betti numbers of the matroid satisfy: if and only if there exists an inclusion minimal set in of cardinality . In particular, .
Definition 12**.**
Let be a matroid, with , and let . Then, the -th elongation of is the matroid with
[TABLE]
The -th elongation of is a matroid of rank .
Remark 13**.**
Another, equivalent, way of defining , is: is the matroid with the same ground set as , and with nullity function for each
Definition 14**.**
Let be the set of subsets of with
The following result is trivial, but useful:
Proposition 15**.**
* for In particular the inclusion minimal elements of are the same as the inclusion minimal elements of *
The main theorem of [9] gives an expression of the generalized weight polynomials of a code to the Betti numbers of its associated matroid and its elongations, namely:
Theorem 16**.**
Let be a code over . We denote by the Betti numbers og the matroids . Then, for every ,
[TABLE]
Remark 17**.**
The formula in Theorem 16 can also be written
[TABLE]
Using Remark 9 we see that this can be written:
[TABLE]
In any case the input in the formula of Theorem 16 contains the output of the Herzog-Kühl equations for the various (when those equations are combined with sufficient other information to be solvable). Whether we want to use the set of all as this output/input, or are happy to use just the , is a matter of taste or opportunity. It is clear that if one knows all the for a fixed , then one can derive all the , but the converse is not necessarily true. In this paper we choose to find all the in order to find all the since it is not not significantly more difficult than to find the weaker, but sufficient, information obtained from all the .**
3. Main theorem
We are now able to give our main theorem, namely the higher weight spectra of the Veronese codes. We give here the result for , as well as the steps of the proof. Later, we will give the results for the degenerate cases .
Theorem 18**.**
Let and consider the Veronese code . Then all the are [math], with the following exceptions:
[TABLE]
In order to prove this theorem, we will compute the Stanley-Reisner resolutions of the matroid and its elongations. We first will find which subsets of that are minimal in the different . In particular this will give us which Betti numbers are non-zero (Corollary 22). When this is done, it turns out that for every elongation , for , the number of unknowns is equal to the number of Herzog-Kühl equations from Formula (1), and that all these equations are independent, For the matroid itself, however, there will be one unknown more than the number of equations. We will then, in Proposition 25, compute one of the missing Betti numbers , After that we will be in a situation where we can find all the Betti numbers with the Herzog-Kühl equations from Formula (1). Thereafter we will compute the generalized weight polynomials using Theorem 16. Finally we will find the the higher weight spectra, using Theorem 6 repeatedly.
3.1. Stanley-Reisner resolutions
We will use the following result by Hirschfeld [5]
Proposition 19**.**
In the conics are as follows.
- •
There are double lines,
- •
There are pairs of two distinct lines
- •
There are irreducible conics
- •
There are conics that just possess a single -rational point each.
There is a one-to-one correspondence between words of and affine equations for conics, and under this correspondence, the support of a codeword correspond to points of that are not on the conic. Thus, the circuits of correspond to conics with maximal set of points (under inclusion). By Proposition 19, it is thus easy to see that we have two types of circuits, namely the one corresponding to pairs of lines, and the one corresponding to irreducible conics. This shows that
[TABLE]
the other being [math]. In order to compute the other Betti numbers of , we will need the following lemma:
Lemma 20**.**
For any the nullity is equal to the dimension over of the affine set of polynomial expressions that define conics that pass through all the points of .
Proof.
The matroid derived from any generator matrix of , is the dual matroid of . Its rank function therefore satisfies
[TABLE]
for , and hence The last expression is equal to the dimension of the kernel of the projection map when projecting all the code words, each of which corresponds to the affine equation of a conic, on to the subspace of indexed by . This kernel is precisely the polynomials that define conics passing through the points of , or alternatively, the codewords, whose support lie inside . ∎
We can therefore find when the Betti numbers of and its elongations are non-zero. This comes as a corollary of the following theorem:
Theorem 21**.**
We have the following.
- •
The minimal elements of are the complements of the pairs of distinct lines and of the irreducible conics.
- •
The minimal subsets of are the complements of points on a line and a point outside of the line, and the complements of quadrilateral configurations of points such that no points lie on a line.
- •
The minimal elements of are the complements of points on a line, and the complements of triangle configurations of non-aligned points.
- •
The minimal elements of are the complements of pairs of points.
- •
The minimal elements of are the complements of a single point.
- •
The only element of is .
Proof.
In the text following Proposition 19, we have already treated the case with determining minimal elements of . The complement of any set of points, such that no conic contains all of them, has nullity [math] and is not considered here.
We will now determine the minimal elements of . A subset of cardinality at least lying on a conic necessarily lies on a pair of lines, and defines these two lines uniquely. Therefore, its complement has nullity , and does not need to be considered here. Any subset of cardinality lying on a conic necessarily lies on a pair of distinct lines. If not of the points lie on the same line, then both lines are uniquely defined, and the nullity of the complement is again. If points lie on the same line, then there is an (exactly) -dimensional affine family of quadric polynomials which define conics going through these points (a fixed line and a variable line), and the nullity of the complement is by Lemma 20. Obviously, the complement of these configurations are minimal in . Moreover there are exactly such configurations. Consider now with that lie on a conic. If the points of lie on the same line, then and it doesn’t have to be considered here. If they lie on a pair of lines (but not a single line), then either if the two lines are uniquely defined, or , but is not minimal in (we could complete with the remaining points on the line that is uniquely defined). If they lie on an irreducible conic, then since an irreducible conic is uniquely defined by of its points. Consider now with and (then) lying on a conic. If of them are aligned, then we can argue in the same way as before for lines and pair of lines (so is not minimal in any ). If no of them are aligned, then there is a -(and not -)dimensional affine family of quadric polynomials defining conics passing through , and therefore . Obviously, these configurations are minimal in , since adding a point reduces the nullity (either being on a unique irreducible conic, or uniquely determined pairs of lines). There are exactly such configurations. Finally, since the rank of the code is , all subsets of cardinality at most have nullity at least , and this completes the analysis of the minimal sets of .
The other cases are done in a similar way. Let us determine the minimal elements of : The nullity of the complement of any subset of cardinality at least is at most , as we have seen. The complement of points on a line, on the other hand, are then minimal in , and there are exactly lines in . The complements of any subset of cardinality between and has either nullity different from or are not minimal in . Three non-aligned points give a -dimensional affine family of quadric polynomials defining conics passing through , and the complement of the set of these points are minimal in . There are such configurations. Finally, the complements of or less points have nullity at least since the rank of the code is .
For nullity , then we can see that points or more have complements with nullity at most . And points give a -dimensional affine family of quadric polynomials defining conics passing through the points, for , Moreover there are pairs of points, single points and empty set in corresponding to respectively. These observations settles the cases of finding the minimal elements of . ∎
We recall that the length of the resolution of is and the lengths of the resolutions of then are , for
Corollary 22**.**
The only non-zero Betti numbers of for are and
[TABLE]
* when these quantities make sense. Moreover, we have*
[TABLE]
Proof.
This is an immediate consequence of Theorems 10, 11 and 21 and Proposition 15. ∎
As a corollary, we can find the generalized Hamming weights of the Veronese codes, already given in [14]:
Corollary 23**.**
The generalized Hamming weights of the code are
[TABLE]
Proof.
This is a direct consequence of Theorem 11. ∎
After using Corollary 22 we have unknown remaining Betti number in the (Herzog-Kühl) equations described in Formula (1) for the matroid , We have equations for , with unknown Betti numbers, and for , we have equations for for unknown Betti numbers. We will now find , and thus reduce the number of unknown Betti numbers from to . Thereafter, it turns out that all the Herzog-Kühl equation sets from Formula (1) will be independent, and we will find all the remaining unknown , for .
Proposition 24**.**
Let be a set of points on a line together with a point outside of this line. Then
[TABLE]
Proof.
Write where is the line and the point outside. For ease of notation we denote by . We consider the restricted matroid and will compute its Euler characteristic, and conclude by Theorem 11. We will denote, for ,
[TABLE]
For then if and only if is contained in a conic, and necessarily this conic has to be a pair of lines containing and . Thus, if , then . Also, . Now, consider . The pair of lines containing are parametrized by the points of . And if is a subset of such a parametrized conic of cardinality , then we have choices for . Thus we find that
[TABLE]
Using the fact that the alternate sums of binomial coefficients is [math], we get that
[TABLE]
∎
Corollary 25**.**
We have
[TABLE]
Proof.
This is a direct consequence of Theorem 21: is the product of the number of minimal elements of of degree , and the ”local” contribution which we calculated in Proposition 24. ∎
Theorem 26**.**
With the previous notation, the Betti numbers of the matroid and its elongations are
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
Proof.
This follows immediately from Corollary 22, Proposition 24 and Theorem 8, after using the computer program Mathematica to solve the Herzog-Kühl equations (1) from Theorem 8 for the Betti numbers appearing in each of the the -graded resolutions of the Stanley-Reisner rings of the matroids for . (After usage of Corollary 22 which assigns integer values to a sufficient set of Betti numbers, the coefficient matrices of the Herzog-Kühl equations for each of the matroids in question, in terms of those Betti numbers that are still unknown, are now of vandermonde type). ∎
Remark 27**.**
It is also possible to find all these Betti numbers without using the Herzog-Kühl equations: First Proposition 15 gives, for each and in question, that a subset of is minimal among those sets that have nullity for the matroid if and only if is minimal among those sets that have nullity for the matroid Furthermore one can find the local contributions , for each minimal among those sets that have nullity for the matroid by performing arguments and calculations analogous to those in the proof of Proposition 24. The result, , is then computed as the product of the number (given in Theorem 21) of subsets of that have cardinality and are minimal in and the common number for all these sets . We have done this for all the Betti numbers given in Theorem 26, but see no reason to present the calculations here, since usage of a computer program like Mathematica gives the solution for the directly. If, on the other hand, for some reason, one would be interested in knowing the values of the ”local” contributions , one can just divide the values of the appearing in Theorem 26 by the corresponding numbers appearing in Theorem 21. **
3.2. Higher weight polynomials and weight spectra
Theorem 28**.**
Let be a prime power. Then the Veronese code has 9 non-zero generalized weight polynomials, namely
[TABLE]
Proof.
This is a direct consequence of Theorems 16 and 26. ∎
Proof of Theorem 18.
This is a direct consequence of Theorem 28 and repeated usage of Theorem 6. ∎
4. The cases of binary and trinary codes
The cases and are very similar to the ”general” case , except that some degeneracies appear. It can be shown that in the case , where and , we have , and all the resolutions in question are linear, and easy to cope with (The code is MDS for , and then both and all its elongation matroids are uniform, and their associated Betti numbers then follow directly from the Herzog-Kühl equations).
In the case , we have . This constitutes a difference with the cases , where the coefficient is non-zero. The non-zero value is due to the complement of the irreducible conic (with points). For , these complements are minimal sets in . But for an irreducible conic has points, and is always included in a pair of distinct lines, and therefore would not lead to a minimal element in . Apart from this difference from the cases the arguments for establishing the Betti numbers, generalized weight polynomials, and higher weight spectra are almost identical for to those in the cases .
We now give just the main result about these 2 cases, without going more into the details concerning the computation of the Betti numbers and the general weight polynomials:
Theorem 29**.**
The higher weight spectra of the Veronese code is
[TABLE]
all the other being [math].
Theorem 30**.**
The higher weight spectra of the Veronese code is
[TABLE]
all the other being [math].
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Auslander, M., Buchsbaum, D. A., Homological dimension in local rings , Transactions of the American Mathematical Society, 85, p. 390-405, 1957.
- 2[2] Boij, M., Søderberg, J. Graded Betti numbers of Cohen-Macaulay modules and the multiplicity conjectures , Journal of the London Math. Soc. 78, p. 85-106, 2008.
- 3[3] Herzog, J., Hibi, T., Monomial Ideals , Graduate Texts in Mathematics, 260, Springer-Verlag, 2011.
- 4[4] Herzog, J., Kühl, M., On the Betti numbers of finite pure and linear resolutions . Comm. Algebra, 12(13-14). p.1627-1646, 1984.
- 5[5] Hirschfeld, J., Projective geometries over finite fields , Oxford University Press, ISBN 019853260, 1979.
- 6[6] Jurrius, R. Weight enumeration of codes from finite spaces , Des. Codes Cryptogr. 63, p. 321-330, 2012.
- 7[7] Jurrius, R. Pellikaan, G. R. Algebraic geometric modeling in information theory . In: Codes, arrangements and matroids. series on Coding Theory and Cryptology, World Scientific Publishing, Hackensack, NJ, (2011). Des. Codes Cryptogr. 63, p. 321-330, 2012.
- 8[8] Johnsen, T., Verdure, H. Hamming weights and Betti numbers of Stanley-Reisner rings associated to matroids , AAECC, 201, p. 73-93, 2013.
