On affine variety codes from the Klein quartic
Olav Geil, Ferruh \^Ozbudak

TL;DR
This paper constructs and analyzes a family of affine variety codes from the Klein quartic, showing they have parameters comparable to the best known codes using a novel footprint bound method inspired by Buchberger's algorithm.
Contribution
Introduces a new method based on symbolic computations and Gr"obner basis theory to determine parameters of affine variety codes from the Klein quartic.
Findings
Most codes have parameters matching the best known codes
Remaining codes have nearly optimal parameters
Develops a new footprint bound technique inspired by Buchberger's algorithm
Abstract
We study a family of primary affine variety codes defined from the Klein quartic. The duals of these codes have previously been treated in [12, Ex. 3.2]. Among the codes that we construct almost all have parameters as good as the best known codes according to [9] and in the remaining few cases the parameters are almost as good. To establish the code parameters we apply the footprint bound [10, 7] from Gr\"obner basis theory and for this purpose we develop a new method where we inspired by Buchberger's algorithm perform a series of symbolic computations. 1
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.
Taxonomy
TopicsCoding theory and cryptography · graph theory and CDMA systems · Cellular Automata and Applications
11institutetext: Department of Mathematical Sciences, Aalborg University, Denmark
11email: [email protected]
22institutetext: Department of Mathematics and Institute of Applied Mathematics, Middle East Technical University, Turkey
22email: [email protected]
On affine variety codes from the Klein quartic
Olav Geil 11
Ferruh Özbudak 1122
Abstract
We study a family of primary affine variety codes defined from the Klein quartic. The duals of these codes have previously been treated in [12, Ex. 3.2]. Among the codes that we construct almost all have parameters as good as the best known codes according to [9] and in the remaining few cases the parameters are almost as good. To establish the code parameters we apply the footprint bound [10, 7] from Gröbner basis theory and for this purpose we develop a new method where we inspired by Buchberger s algorithm perform a series of symbolic computations.
1 Introduction
Affine variety codes [5] are codes defined by evaluating multivariate polynomials at the points of an affine variety. Despite having a simple description such codes constitute the entire class of linear codes [5, Pro. 1]. Given a description of a code as an affine variety code it is easy to determine the length and dimension , but no simple general method is known which easily estimates the minimum distance . Of course such methods exists for particular classes of affine variety codes. For instance the Goppa bound for one-point algebraic geometric codes extends to an improved bound on the more general class of order domain codes [11, 6], and in larger generality the Feng-Rao bounds and their variants can be successfully applied to many different types of codes[2, 3, 4, 12, 13, 6, 8]. In this paper we consider a particular family of primary affine variety codes for which none of the above mentioned bounds provide accurate information. More precisely we consider primary codes defined from the Klein quartic using the same weighted degree lexicographic ordering as in [12, Ex. 3.2] where they studied the corresponding dual codes. A common property of the Feng-Rao bound for primary codes and its variants are that they can be viewed[6, 8] as consequences of the footprint bound [10, 7] from Gröbner basis theory. To establish more accurate information for the codes under consideration it is therefore natural to try to apply the footprint bound in a more direct way, which is exactly what we do in the present paper using ingredients from Buchberger’s algorithm and by considering an exhaustive number of special cases. Our analysis reveals that the codes under consideration are in most cases as good as the best known codes according to [9] and for the remaining few cases the minimum distance is only one less than the best known codes of the same dimension.
The paper is organized as follows. In Section 2 we introduce the footprint of an ideal and define affine variety codes. We then describe how the footprint bound can be applied to determine the Hamming weight of a code word. Then in Section 3 we apply symbolic computations leading to estimates on the minimum distance on each of the considered codes the information of which we collect in Section 4.
2 Affine variety codes and the footprint bound
The footprint (also called the delta-set) is defined as follows:
Definition 1
Given a field , a monomial ordering and an ideal the footprint of is
[TABLE]
From [1, Prop. 7, Sec. 5.3] we have the following well-known result.
Theorem 2.1
Let the notation be as in the above definition. The set
[TABLE]
is a basis for as a vector space over .
Recall that by definition a Gröbner basis is a finite basis for the ideal from which one can easily determine the footprint. Concretely a monomial is a leading monomial of some polynomial in the ideal if and only if it is divisible by a leading monomial of some polynomial in the Gröbner basis. The following corollary is an instance of the more general footprint bound [10].
Corollary 1
Let be an ideal and . The variety of is of size for any monomial ordering .
Proof
Let the variety of be with for . The field being perfect, the ideal is radical because it contains a univariate square-free polynomial in each variable and by the ideal-variety correspondence therefore is in fact the vanishing ideal of . Therefore the evaluation map given by is injective. On the other hand the evaluation map is also surjective which is seen by applying Lagrange interpolation. We have demonstrated that ev is a bijection and the corollary follows from Theorem 2.1. ∎
We are now ready to define primary affine variety codes formally.
Definition 2
Let the notation be as in the proof of Corollary 1. Given an ideal and a monomial ordering choose . Then
[TABLE]
is called a primary affine variety code.
From the above discussion it is clear that is a code of length and dimension . Given a code word then by Corollary 1 we have
[TABLE]
where . Reducing a polynomial modulo a Gröbner basis for one obtains a (unique) polynomial which has support in the footprint (this is the result behind Theorem 2.1). Hence we shall always assume that is of this form. In the rest of the paper we concentrate on estimating using only information on the leading monomial. We do this for a concrete class of codes defined from the Klein quartic, but the method that we describe can be applied to any affine variety code of moderate dimension. In particular it can be applied whenever the length of the codes are moderate.
3 Code words from the Klein curve
In the remaining part of the paper will always be the ideal
[TABLE]
and consequently . The corresponding variety111As we treat codes at a theoretical level we shall not need detailed information on the variety, but we find it interesting to note that besides one point being the remaining points correspond to the Fano plane by identifying each non-zero element in with a vertex. Every non-zero now defines a line consisting of all s such that is in the variety. is of size , hence we write it as . The evaluation map then becomes .
As monomial ordering we choose the same ordering as in [12, Ex. 3.2], namely the weighted degree lexicographic ordering given by the rule that if either (i) or (ii) below holds
[TABLE]
By inspection is a Gröbner basis for with respect to . Hence, the footprint and the corresponding weights are as in Figure 1. We remind the reader that for the code equals which is of length and dimension .
Our method to estimate (which corresponds to estimating the Hamming weight of the corresponding code word) consists in two parts. First we observe that all monomials in divisible by the leading monomial of are in . In the second part we then for a number of exhaustive special cases find more monomials in by establishing clever combinations of polynomials that we already know are in . To describe how such combinations are derived we will need the following notation. Consider polynomials , and . By
[TABLE]
we shall indicate that for some polynomial . The important fact – which we shall use frequently throughout the paper – is that . Observe that although we will always use the above “operation” to decrease the leading monomial (meaning that ), we may still have monomials left in the support of which are divisible by the leading monomial of . Hence, (1) does not necessarily correspond to the usual (full) division as described in [1, Sec. 2.3].
Remark 1
The Feng-Rao bound can be applied to any affine variety code; but it works most efficiently when the ideal and the monomial ordering under consideration satisfy the order domain conditions [6, Sec. 7]. That is,
The ordering must be a weighted degree lexicographic ordering (or in larger generality a generalized weighted degree ordering [6, Def. 8]). 2. 2.
A Gröbner basis for must exist with the property that any polynomial in it contains in its support (exactly) two monomials of the highest weight. 3. 3.
No two different monomials in are of the same weight.
In such cases the method often establishes many more monomials in than those divisible by the leading monomial of . In [8] an improved Feng-Rao bound was presented which treats in addition efficiently certain families of cases where the conditions 1. and 2. are satisfied, but 3. is not. Even though the ideal and monomial ordering studied in the present section exactly satisfy conditions 1. and 2., but not 3, the improved Feng-Rao bound produces the same information as the Feng-Rao bound in this case. By inspection both methods only “detect” monomials divisible by the leading monomial of as being members of .
Below we treat the different possible leading monomials – corresponding to the different members of – one by one. For simplicity, we shall in our calculations always assume that the leading coefficient of is which is not really a restriction as our goal is to estimate Hamming weights.
3.1 Leading monomial equal to
Consider where . Clearly
[TABLE]
We next establish more monomials in under different conditions on the coefficients . Consider
[TABLE]
If then we have
[TABLE]
Next assume . If then we obtain
[TABLE]
Finally, assume in which case we have
[TABLE]
In conclusion we have shown that contains at least elements which implies .
3.2 Leading monomial equal to
Consider a codeword where
[TABLE]
Independently of the coefficients we see that
[TABLE]
We next consider an exhaustive series of conditions under which we establish more monomials in . We have
[TABLE]
If then the leading monomial of the last polynomial becomes and consequently
[TABLE]
Continuing the calculations for this case we obtain:
[TABLE]
If then we also have
[TABLE]
Assuming next that the above expression becomes
[TABLE]
If then
[TABLE]
Hence, continuing under the assumption we are left with
[TABLE]
if then
[TABLE]
Hence, assume and we are left with
[TABLE]
If then
[TABLE]
If on the other hand then we are left with in which case we obtain
[TABLE]
In conclusion, for the case we obtained in addition to the elements in (2) the elements in (4) and at least more. That is, in addition to the elements in (2) at least more.
Assume in the following that and continue the reduction from (3)
[TABLE]
If then
[TABLE]
Next assume . If then
[TABLE]
Continuing the reduction under the assumption we multiply (5) by and continue the reduction:
[TABLE]
As we obtain in addition to (2) and (6) that
[TABLE]
That is, in addition to (2) we found in total more elements in .
Next assume and continue from (5). If then
[TABLE]
Next assume . if then
[TABLE]
Hence, assume . If then
[TABLE]
Finally, assume . But then
[TABLE]
In conclusion, we have at least monomials in and therefore .
3.3 Leading monomial equal to
Consider where
[TABLE]
For sure
[TABLE]
We next consider an exhaustive series of conditions under which we establish more monomials in . We have
[TABLE]
If then
[TABLE]
Hence, assume and continue the reduction:
[TABLE]
If then
[TABLE]
Hence, assume in which case the above becomes
[TABLE]
If then
[TABLE]
Hence, assume , in which case we have
[TABLE]
We continue the calculations to add more elements. We have:
[TABLE]
But then
[TABLE]
That is, for the case contains in addition to (7) at least more monomials.
In conclusion , and if then .
3.4 Leading monomial equal to
Consider where
[TABLE]
For sure
[TABLE]
We next consider an exhaustive series of conditions under which we establish more monomials in . We have
[TABLE]
If then
[TABLE]
Hence, assume , in which case we have
[TABLE]
If then
[TABLE]
Hence, assume and continuer
[TABLE]
If then
[TABLE]
Hence, assume , in which case we have
[TABLE]
If then
[TABLE]
Hence, assume and continue the reduction
[TABLE]
which we multiply by before continuing reduction
[TABLE]
If then
[TABLE]
Hence, assume and continue
[TABLE]
If then
[TABLE]
Hence, assume and multiply the resulting expression by
[TABLE]
and we conclude
[TABLE]
In conclusion , and if then .
3.5 Leading monomial equal to
Consider where
[TABLE]
For sure
[TABLE]
We next consider an exhaustive series of conditions under which we establish more monomials in . We have
[TABLE]
If then
[TABLE]
Continuing the calculations for this case we obtain
[TABLE]
If then we also have
[TABLE]
Assuming next that the above expression becomes
[TABLE]
If then
[TABLE]
Hence, we assume . From the above expression we see that if next then
[TABLE]
Hence, assume . Investigating again the above expression we now see that for it holds that
[TABLE]
Continuing from the same expression, but now under the assumption that we see that
[TABLE]
In conclusion, for the case we have in addition to (9) and (11) established at least one more element in . That is, in addition to (9) we have at least elements in . Furthermore, if and then we have at least one more element in addition in this set.
In the following we assume and continue the calculations from (10) as follows
[TABLE]
If then
[TABLE]
Hence, assume . But then if we get
[TABLE]
Multiplying the above polynomial by and continuing the reduction we obtain:
[TABLE]
implying that
[TABLE]
Hence, for the case , , in addition to (9) we found more elements in . Namely, the above and the in (12).
In the following we assume . Continuing the reduction we obtain
[TABLE]
If then
[TABLE]
Hence, we next assume . If then we obtain
[TABLE]
and we therefore now assume . We next multiply the considered polynomial by and continue the reduction
[TABLE]
If then
[TABLE]
Here – although it has no implication for what we want to prove – we used (13) to demonstrate that is also in the set. Hence, assume now that . Then if we obtain
[TABLE]
Finally, if the leading monomial becomes and we therefore have
[TABLE]
In conclusion we have established the existence of at least elements in , and therefore . Moreover, by inspection of the results in the present section we see that holds when .
3.6 Leading monomial equal to
Consider where
[TABLE]
For sure
[TABLE]
We next consider an exhaustive series of conditions under which we establish more monomials in . The strategy in this subsection is different from other sections in that we here do not reduce modulo but instead in addition to reducing modulo also reduce modulo the polynomials .
We start by multiplying by to obtain
[TABLE]
If then
[TABLE]
Hence, assume and multiply the resulting expression by to obtain
[TABLE]
which we multiply by to obtain
[TABLE]
If then
[TABLE]
Hence, assume . We next multiply by and obtain
[TABLE]
which we multiply by to obtain
[TABLE]
If then
[TABLE]
Hence, assume . We next multiply by to obtain
[TABLE]
If then
[TABLE]
Hence, assume and multiply by
[TABLE]
which we then multiply by to obtain
[TABLE]
If then
[TABLE]
Hence, assume . We next multiply by and continue the reductions:
[TABLE]
which we multiply by
[TABLE]
If then
[TABLE]
Hence, assume . We next multiply by
[TABLE]
If then
[TABLE]
Hence, assume . Next we multiply by and obtain
[TABLE]
which we multiply by
[TABLE]
If then
[TABLE]
Hence, assume . We now multiply by
[TABLE]
If then
[TABLE]
Hence, assume finally that and multiply by to obtain
[TABLE]
This expression is then multiplied by
[TABLE]
and
[TABLE]
In conclusion .
3.7 Leading monomial equal to
Consider where
[TABLE]
For sure
[TABLE]
We next consider an exhaustive series of conditions under which we establish more monomials in . We have
[TABLE]
If then
[TABLE]
Hence, assume and continue the reduction.
[TABLE]
If then
[TABLE]
Hence, assume . If then we have
[TABLE]
Assuming we continue the reduction as follows
[TABLE]
If then
[TABLE]
Hence, assume . But then if
[TABLE]
and we therefore next assume . We now multiply the above polynomial by and continue the reduction
[TABLE]
If then
[TABLE]
and if but then
[TABLE]
Hence, assume and multiply the resulting polynomial by after which we continue the reduction.
[TABLE]
If then
[TABLE]
Hence, assume . If then
[TABLE]
Hence assume and multiply the resulting polynomial by and continue the reduction
[TABLE]
If then
[TABLE]
Hence, assume Then if we have
[TABLE]
Hence, we assume . We again multiply by and continue the reduction
[TABLE]
If then
[TABLE]
Finally, assume . But then we are left with and therefore
[TABLE]
In conclusion we can always establish at least monomials in , and we conclude that . Moreover, our analysis reveals that if then .
3.8 Leading monomial equal to
Consider where
[TABLE]
For sure
[TABLE]
We next consider an exhaustive series of conditions under which we establish more monomials in . We have
[TABLE]
If then
[TABLE]
Hence, assume and continue the reduction.
[TABLE]
If then
[TABLE]
Hence, assume . If then
[TABLE]
Hence, assume and continue the reduction.
[TABLE]
If then
[TABLE]
Hence, assume . But then if
[TABLE]
Hence, assume . But then if we obtain
[TABLE]
Actually, this result could be improved to
[TABLE]
if we multiply the above polynomial by and reduce it modulo . The details are left for the reader. Next assume . But then if we get
[TABLE]
Hence, assume . If then
[TABLE]
Finally, assume . But then is the leading monomial and we obtain
[TABLE]
In conclusion we can always establish at least monomials in , and we conclude that . Moreover, if and then .
3.9 Leading monomial equal to
Consider where
[TABLE]
Observe that among the affine roots over of the only point having the first coordinate equal to [math] is . Hence, is of Hamming weight meaning that when and . In the following we show that for all other choices of the Hamming weight becomes at least . We first observe, that
[TABLE]
Now consider
[TABLE]
If the above polynomial is non-zero then going through all possible leading monomials we see that we can always establish at least two more monomials in in addition to . For instance if then we can add . If and then we can add and so on. By inspection the above polynomial equals the zero polynomial if and only if and we are through.
3.10 The remaining cases
For the remaining choices of leading monomial it seems impossible to obtain better information on than what is derived by noting that all monomials divisible by must be a leading monomial in . In particular when the leading monomial is , the information we obtain in this way can be shown to be the true Hamming weight of existing corresponding codewords. In conclusion we established the information in Figure 2.
4 Code parameters
As code construction we use
[TABLE]
where are the estimates of as depicted in Figure 2. In this way we obtain the best possible codes, according to our estimates. The resulting parameters are shown in Table 1.
In almost all cases, given a dimension in the table, then the corresponding estimate on the minimum distance equals the best value known to exist according to [9]. The only exceptions are the dimensions and where the best minimum distances known to exist are one more than we obtain. We finally remark that if we evaluate in all polynomials except those who have in their support then by Subsection 3.9 we get a code of dimension with exactly codewords of Hamming weight . Hence, this code is almost as good as the code, known to exist by [9].
5 Concluding remarks
In [12, Ex. 3.2] the authors estimated the minimum distances of the duals of the codes studied in the present paper using the Feng-Rao bound for dual codes. We believe that is should be possible to improve (possibly even drastic) upon their estimates of the minimum distance in the same way as we in this paper improved upon the Feng-Rao bound for primary codes. We leave this question for future research. The method of the present paper also applies to estimate higher weights (possible relative). We leave it for future research to establish examples where this gives improved information compared to what can be derived from the Feng-Rao bound. In the light of Remark 1 and the information established in Section 3, evidently our new method sometimes significantly improves upon the previous known methods. We stress that our method is very general in that it can be applied to any primary affine variety code. In particular it works for any monomial ordering and consequently also without any of the order domain conditions (Remark 1). Finding more families of good affine variety codes using our method is subject to future work.
Acknowledgments
The authors gratefully acknowledge the support from The Danish Council for Independent Research (Grant No. DFF–4002-00367). They are also grateful to Department of Mathematical Sciences, Aalborg University for supporting a one-month visiting professor position for the second listed author. The research of Ferruh Özbudak has been funded by METU Coordinatorship of Scientific Research Projects via grant for projects BAP-01-01-2016-008 and BAP-07-05-2017-007.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] D. A. Cox, J. Little, and D. O’Shea. Ideals, Varieties, and Algorithms: An Introduction to Computational Algebraic Geometry and Commutative Algebra , volume Fourth Edition. Springer, 2015.
- 2[2] G. L. Feng and T. R. N. Rao. Decoding algebraic-geometric codes up to the designed minimum distance. IEEE Trans. Inform. Theory , 39(1):37–45, 1993.
- 3[3] G. L. Feng and T. R. N. Rao. A simple approach for construction of algebraic-geometric codes from affine plane curves. IEEE Trans. Inform. Theory , 40(4):1003–1012, 1994.
- 4[4] G. L. Feng and T. R. N. Rao. Improved geometric Goppa codes part I: Basic theory. IEEE Trans. Inform. Theory , 41(6):1678–1693, 1995.
- 5[5] J. Fitzgerald and R. F. Lax. Decoding affine variety codes using Gröbner bases. Des. Codes Cryptogr. , 13(2):147–158, 1998.
- 6[6] O. Geil. Evaluation codes from an affine variety code perspective. In Edgar Martínez-Moro, Carlos Munuera, and Diego Ruano, editors, Advances in algebraic geometry codes , volume 5 of Coding Theory and Cryptology , pages 153–180. World Scientific, Singapore, 2008.
- 7[7] O. Geil and T. Høholdt. Footprints or generalized Bezout’s theorem. IEEE Trans. Inform. Theory , 46(2):635–641, 2000.
- 8[8] O. Geil and S. Martin. An improvement of the Feng-Rao bound for primary codes. Designs, Codes and Cryptography , 76(1):49–79, 2015.
