Both self-orthogonal codes and MDS codes are of great interest for coding and combinatorial theory. In this paper we consider the existence problem of self-orthogonal MDS codes, i.e, codes satisfying self-orthogonality and achieving the Singleton bound. More precisely, we investigate for which length n and dimension k, there exist q-ary [n,k] self-orthogonal MDS codes. We completely solve this problem for even prime power q except for the case where [n,k]=[q+2,3]. For odd prime power q, we solve this problem for the cases where n=q+1, n∣q or n∣(q−1) except for two cases where (i) [n,k]=[q+1,(q−1)/2]; and (ii) [n,k]=[q−1,(q−1)/2] and q≡1(mod4). Furthermore, we conjecture nonexistence of self-orthogonal MDS code for the first case. For odd q, we also show existence of self-orthogonal MDS codes for some other cases. Note that in general a self-orthogonal MDS code can not be derived from self-dual MDS codes (see the detailed discussion in Section 1). Our technique is to make use of the language of algebraic geometry codes. An advantage of using the language of algebraic geometry codes is that the Euclidean dual code of a functional algebraic geometry code is a differential code which can be turn into a functional code again. Thus, by choosing an appropriate differential, one can give an explicit construction of self-orthogonal MDS codes.
Introduction
In literature, self-dual MDS codes have been extensively studied in recent years [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 20, 21, 22, 23], while self-orthogonal MDS codes have been less studied. Though a self-dual code of length n can induce self-orthogonal codes for any dimension k with k≤n/2. However, a self-dual MDS code of length n does not necessarily produce an [n,k] self-orthogonal MDS code for dimension k<n/2. One counter-example given in Subsection 4.1 is that for an odd prime q, one can explicitly construct a q-ary [q+1,(q+1)/2] self-dual MDS code C, while we also show non-existence of subcodes of C that are q-ary [q+1,(q−1)/2] self-orthogonal MDS codes by assuming the Main MDS conjecture (see Proposition 4.10).
The main purpose of this paper is to study the existence problem of self-orthogonal MDS codes.
Known results
In the literature, there are tremendous amount of papers studying either self-orthogonal codes or MDS codes. However, a few papers have studied self-orthogonal MDS codes. In [4, 8, 9], the authors make use of combinatorial methods, i.e., orthogonal designs to construct self-dual MDS codes. Some other constructions of self-dual MDS codes are given in [12, 13] via building up techniques; and in [11, 20, 22] via constacyclic codes; and in [1, 3, 10, 14, 20, 23] via generalized Reed-Solomon (GRS) codes.
A class of self-orthogonal MDS codes is given in [3] via GRS codes. Precisely speaking, it was shown in [3] that if q=r2, 1≤s≤2r+1, 1≤t≤2r−1 and n=s(r−1)+t(r+1), then there exist q-ary [n,k] self-orthogonal MDS codes for any 1≤k≤2n. Thus, the paper [3] focus only on finite fields Fq with q being a perfect square. While our paper considers arbitrary finite fields by distinguishing even and odd characteristics.
Our contributions and techniques
In this paper, we provide explicit constructions of self-orthogonal MDS codes for various parameters. In particular, by assuming the Main MDS conjecture (see Subsection 2.1), we completely solve the existence problem of self-orthogonal MDS codes for even characteristic except for the case where [n,k]=[q+2,3], namely we have the following result.
Main Theorem 1. Let q be a power of 2, then we have
(i) For every n≤q+1 and k≤n/2 except for [n,k]=[q+1,q/2], there exists a q-ary [n,k] self-orthogonal MDS codes.
(ii) There do not exist any q-ary [q+1,q/2] self-orthogonal MDS codes if the Main MDS conjecture holds.
By the Main MDS conjecture, the only nontrivial MDS codes of length n>q+1 have parameters [n,k]=[q+2,3] or [n,k]=[q+2,q−1]. We can show that there do not exist 4-ary [6,3] self-orthogonal MDS codes (see Proposition 4.7). However, we can not prove that there do not exist q-ary [q+2,3] self-orthogonal MDS codes for arbitrary q. We make the following conjecture.
Conjecture 1. For an even q≥4, there do not exist q-ary [q+2,3] self-orthogonal MDS codes.
For an odd prime power q, we also completely solve the existence problem of self-orthogonal MDS codes for the cases where the code length n satisfies n=q+1, n∣q or n∣(q−1) except for two cases, namely we have the following result.
Main Theorem 2. Let q be a power of an odd prime, then there exists a q-ary [n,k] self-orthogonal MDS codes for all k≤n/2 with n=q+1, n∣q or n∣(q−1) except for the two cases where (i) [n,k]=[q+1,(q−1)/2]; and (ii) [n,k]=[q−1,(q−1)/2] and q≡1(mod4).
For the first case where [n,k]=[q+1,(q−1)/2], we conjecture non-existence of such codes.
Conjecture 2. For odd q, there do not exist any [n,k]=[q+1,(q−1)/2] self-orthogonal MDS codes.
Though we could not prove this result in general, we show that this conjecture holds for q=3 and 5 (see Proposition 4.9).
Remark 1.1. For the second case where n∣(q−1), n is even and k=n/2, the known result shows that there exist no [n,n/2,n/2+1] self-dual MDS codes over Fq when n∣(q−1) and q≡3(mod4)[17]. Furthermore, it was shown in [21] that there exist
q-ary self-dual MDS codes if q≡1(mod4) and n∣(q−1) with n<q−1. Thus, the only remaining unsolved case for n∣(q−1) is whether there are q-ary self-dual MDS codes for q≡1(mod4) and n=q−1. This case has no definite answer: for instance, there exist no q-ary self-dual MDS codes of length q−1 for q=5,13, etc., while such codes do exist for q=9 (see [5]).
In the case of odd prime power, we also show existence of self-orthogonal MDS codes for some other parameter regimes in Subsection 4.2.
In summary, we present the following table for code parameters for which there exist self-orthogonal MDS codes.
Table 1. q-ary self-orthogonal MDS codes of length n and dimension k
We make use of the language of algebraic geometry codes to present a framework for constructions of self-orthogonal MDS codes. Though the algebraic geometry codes from rational function fields are actually GRS codes (see Subsection 2.3), it is still more convenient to use the language of algebraic geometry codes due to the fact that the dual code of an algebraic geometry code can be easily defined via the same divisors. Furthermore, when we include “the point at infinity” in the construction of GRS codes, it is more natural to characterize the dual codes via the language of algebraic geometry codes. Thus, to obtain a self-orthogonal GRS code via the language of algebraic geometry codes, one just need to construct certain differential (see Section 3 for the detail).
More precisely, our framework works as follows. We choose a divisor G and n distinct rational places P1,…,Pn such that Pi∈/Supp(G). Put D=∑i=1nPi and consider the function code CL(D,G,u) for a vector u=(u1,…,un)∈(Fq∗)n. Then the dual code of CL(D,G,u) is the differential code CΩ(D,G,u−1), where u−1=(u1−1,…,un−1). Furthermore, if η is a differential satisfying νPi(η)=−1 for all 1≤i≤n, then the dual code CΩ(D,G,u−1) of CL(D,G,u) is CL(D,D−G+(η),u−1∗res(η)), where res(η)=(resP1(η),…,resPn(η)). Thus, by choosing a suitable differential η, one obtains CL(D,G,u)⊆CL(D,D−G+(η),u−1∗res(η)). Under this framework, we are able to construct various self-orthogonal MDS codes.
Preliminaries
In this section, we introduce self-orthogonal codes and MDS codes, algebraic geometry codes, rational function fields and generalized Reed-Solomon (GRS) codes.
Self-orthogonal codes and MDS codes
Let q be a prime power and let Fq denote the finite field with q elements. A q-ary [n,k,d]-linear code C is an Fq-subspace of Fqn of dimension k with minimum distance d. The well-known Singleton bound says that d+k≤n+1. A q-ary [n,k,d]-linear code is called Maximum Distance Separable (MDS for short) if k+d=n+1.
The Main MDS Conjecture states: for a nontrivial q-ary linear [n,k] MDS code with 1<k<n−1, the code length n is at most q+1, unless q is even and k=3 or k=q−1, in which case n≤q+2.
The dual code C⊥ of C is given by {u∈Fqn:⟨u,c⟩=0 for any c∈C}, where ⟨⋅,⋅⟩ stands for the Euclidean inner product. C is called self-orthogonal and dual, respectively, if C⊆C⊥ and C=C⊥, respectively.
A q-ary [n,k,d]-linear code C is called self-orthogonal MDS (self-dual MDS, respectively) if C is both self-orthogonal and MDS (both self-orthogonal and MDS, respectively).
There are some propagation rules in coding theory. Some codes can be constructed with smaller sizes or shorter lengths from codes of larger sizes or longer lengths. This work details one such rule employed for our code construction.
Lemma 2.1. (see [15]) Suppose there is an q-ary [n,k,d]-linear code over Fq. Then, there exits an [n−r,k−r,d]-linear code over Fq for any 1≤r≤k−1.
Algebraic geometry codes
Let us introduce some background on algebraic curves over finite fields and their function fields. The reader may refer to [18, 19, 16] for details.
Let F be a function field with the full constant field Fq. In case there is no confusion, we simply use g to denote the genus g(F).
Let PF be the set of places. A place P on F is called rational if the degree P is 1. A divisor G of F is a formal sum G=∑P∈PFnPP, where nP are integers and almost all nP are equal to zero. G is called effective if nP≥0 for all P∈PF. The degree deg(G) of G is defined by deg(G)=∑P∈PFnPdeg(P).
The support of G, denoted by Supp(G), is defined to be the set {P∈PF:nP=0}.
For a point P, we denote by νP the normalized discrete valuation of P. For a nonzero function x in F, one can define a principal divisor (x):=∑Q∈PFνQ(x)Q. It is a well-known fact that the degree of (x) is zero. The zero divisor and pole divisor of x are defined to be (x)0:=∑P∈PF,νP(x)>0νP(x)P and (x)∞:=−∑P∈PF,νP(x)<0νP(x)P, respectively.
For a rational place P, there exists a function tP∈F such that νP(tP)=1. It is called a local parameter at P. A local parameter is not unique. For a nonzero function f∈F with νP(f)=v∈Z, let av=(tP−vf)(P)∈Fq. Then we have νP(tP−vf−av)≥1, i.e., νP(((tP−vf)−av)/tP)≥0. Put ((tP−vf−av)/tP)(P)=av+1∈Fq, then we have νP((tP−vf−av)/tP−av+1)≥1, i.e., νP((tP−vf−av−av+1tP)/tP2)≥0. Put (tP−vf−av−av+1tP)/tP2)(P)=av+2∈Fq. Continue in this fashion, we get a sequence {ai}i=v∞ of elements in Fq such that
νP(tP−vf−i=v∑maitPi−v)≥m+1−v(1)
for all m≥v. We denote by f(i)(P) the coefficient ai for all i≥v. It is clear that f(0)(P)=f(P) does not depend on choice of tP. On the other hand, f(i)(P) depends on choice of tP for i=0. Note that if P is rational, then all ai are elements of Fq. The series ∑i=v∞aitPi−v is called a local expansion of f at P.
Denote by ΩF the set of differentials of F. Then ΩF forms a one-dimensional space over F. It is well-known that dtP is not 0 for any place P, where tP is a local parameter at P. Thus, every differential can be written as ydtP for some y∈F. For a differential ω∈ΩF and a point P, write ω=fdtP, we define the evaluation of ω at P by νP(f). The divisor (ω) is defined to be ∑P∈PFνP(ω)P. It is called a canonical divisor and has degree 2g−2. It is clear that all canonical divisors are equivalent.
For a rational place P, assume that f has a local expansion ∑i=v∞avtPi, define the residue of ω at P to be a−1 if v<0; and 0 if v≥0, denoted by resP(ω). It is easy to verify that resP(ω) is independent of choice of the local parameter tP.
For a rational divisor G, define ΩF(G) to be the set
{ω=0∈ΩF:(ω)≥G}∪{0}.(2)
Then ΩF(G) is a finitely dimensional space over Fq and its dimension, denoted by i(G).
Now for a rational divisor G, one can define the Riemann–Roch space L(G) associated with G by
L(G):={x∈F∗:(x)+G≥0}∪{0}.(3)
Then L(G) is a finitely dimensional space over Fq and its dimension is denoted by ℓ(G). Then for any canonical divisor W=(ω), we have the following Fq-isomorphism
L(W−G)→ΩF(G);x↦xω.(4)
The Riemann–Roch theorem states that
ℓ(G)=deg(G)−g+1+ℓ(W−G).(5)
Hence, we have ℓ(G)=deg(G)−g+1, and the equality holds if deg(G)≥2g−1 as ℓ(W−G)=0 in this case.
Now let P1,…,Pn be n pairwise distinct rational points. Put D=∑i=1nPi. Let G be a rational divisor with Supp(G)∩Supp(D)=∅. For an vector u=(u1,…,un)∈(Fq∗)n, define the following generalized functional code
These two codes are called generalized Goppa geometric codes. The dual code of CL(D,G,1) is the code CΩ(D,G,1), where 1 is the all-one vector. Furthermore, the Fq-dimension of CΩ(D,G,u) is ℓ(G) if 0≤deg(G)<n.
Rational function fields and generalized Reed-Solomon codes
In this section, we assume that F is the rational function field Fq(x), where x is a transcendental element over Fq. Hence, the genus of F is 0. Furthermore, every place uniquely correspondences a monic irreducible polynomial or 1/x.
Let r,s≥1 be integers. A rational place is either the zero of x−α for some α∈Fq or the pole of x, i.e., the zero of 1/x. Denote by Pα the zero of x−α. We also denote by P∞ the pole of x. Thus, if G is a divisor
i=1∑raiPi−j=1∑sbjQj+mP∞(6)
with ai,bj>0 and deg(G)=∑i=1raideg(Pi)−∑j=1sbjdeg(Qj)+m≥0, where Pi and Qj correspondences to the monic irreducible polynomials pi(x) and qj(x), respectively. Then we can deduce from the definition that the Riemann-Roch space L(G) is
is a generalized Reed-Solomon (GRS) code, where D=∑i=1nPαi and u∈(Fq∗)n.
Let us now consider an arbitrary divisor G given in (6). Let α1,…,αn be pairwise distinct elements satisfying Supp(G)∩Supp(D)=∅, where D=∑i=1nPαi. Then for u=(u1,…,un)∈(Fq∗)n, the functional code
is a GRS code, where vi=∏i=1rpi(αi)ai∏j=1sqj(αi)bj.
Finally, we consider consider an arbitrary divisor G with m=0 and deg(G)=k−1 given in (6). Let α1,…,αn−1 be pairwise distinct elements satisfying Supp(G)∩Supp(D)=∅, where D=∑i=1n−1Pαi+Pn with Pn=P∞. Then for u=(u1,…,un)∈(Fq∗)n, the functional code
is an extended GRS code. Note that h(P∞)=fk−1, where hk−1 is the coefficient of xk−1 of h(x) and vi=∏i=1rpi(αi)ai∏j=1sqj(αi)bj.
A framework of construction
In this section, we establish the framework of our construction scheme.
Lemma 3.1. For a vector u∈(Fq∗)n, the dual code CL⊥(D,G,u) of CL(D,G,u) is CΩ(D,G,u−1), where where u−1=(u1−1,…,un−1).
Proof. This follows from the fact that the dual code CL⊥(D,G,1) of CL(D,G,1) is CΩ(D,G,1). □
Lemma 3.2. If η is a differential satisfying νPi(η)=−1 for all 1≤i≤n, then the dual code CL⊥(D,G,u) of CL(D,G,u) is CL(D,D−G+(η),u−1∗res(η)), where res(η)=(resP1(η),…,resPn(η)).
Proof. By Lemma 3.1, it is sufficient to show that CL(D,D−G+(η),u−1∗res(η)) is equal to CΩ(D,G,u−1). As νPi(η)=−1 for all 1≤i≤n, we have supp(D)∩supp(D−G+(η))=∅. Thus, the code CL(D,D−G+(η),u−1∗res(η)) is well defined. For any (h(P1)u1−1resP1(η),…,h(Pn)un−1resPn(η))∈CL(D,D−G+(η),u−1∗res(η)) with h∈L(D−G+(η)), we have
The inclusion in the above display follows from fact that hη∈Ω(G−D). This implies that CL(D,D−G+(η),u−1∗res(η))⊆CΩ(D,G,u−1). On the other hand, by the isomorphism given in (4), every element of Ω(G−D) has the form hη for some h∈L(D−G+(η)). Hence, we must have CL(D,D−G+(η),u−1∗res(η))=CΩ(D,G,u−1). □
Theorem 3.3. If there exists a differential η and a vector u=(u1,…,un)∈(Fq∗)n satisfying
(i) νPi(η)=−1 for all 1≤i≤n;
(ii) u2=res(η), where u2=(u12,…,un2); and
(iii) D+(η)≥2G,
then the code CL(D,G,u) is self-orthogonal.
Proof. As u2=res(η), we have u−1∗res(η)=u. Thus, we have CL(D,D−G+(η),u−1∗res(η))=CL(D,D−G+(η),u). Since D+(η)≥2G, we further have CL(D,G,u)⊆CL(D,D−G+(η),u). This gives CL(D,G,u)⊆CL(D,D−G+(η),u−1∗res(η)). Now the desired result follows from Lemma 3.2 showing that the dual of CL(D,G,u) is CL(D,D−G+(η),u−1∗res(η)). □
Instantiation
In this section, we study the case of rational function field, i.e, F=Fq(x) and conduct discussions separately for even and odd values of q.
Lemma 4.1. For a nonzero function f in F, the divisor (fdx) is equal to (f)−2P∞.
Proof. For any place P corresponding to a monic irreducible polynomial p(x), p(x) is a local parameter at P. Thus, we have
As for P∞, x1 is a local parameter. Thus, we have
νP∞(fdx)=νP∞(−x2fd(x1))=νP∞(f)−2P∞.
The desired result follows. □
q is even
In this subsection, we consider q-ary self-orthogonal MDS codes when q is even.
Theorem 4.2. For any n≤q and k≤n/2, there exists a q-ary [n,k] self-orthogonal MDS code.
Proof. Let α1,…,αn be pairwise distinct elements of Fq. Let Pi be the zero of x−αi. Let D be the divisor ∑i=1nPi. Let G be the divisor (k−1)P∞. Consider the differential η=∏i=1n(x−αi)dx. Then (η)=−D+nP∞−2P∞=−D+(n−2)P∞. Thus, νPi(η)=−1 and D−G+(η)=D−(k−1)P∞+(n−2)P∞−D=(n−k−1)P∞≥(k−2)P∞=−G as k≤n/2. As every element of Fq is a square, there exists a vector u2=res(η). Since νPi(η)=−1, resPi(η) is nonzero. Hence, u is a vector in (Fq)n. The desired result follows from Theorem 4.2. □
Remark 4.3. The above code can be realized via the elementary construction. Let α1,…,αn be pairwise distinct elements of Fq with n≤q. Consider the GRS code RSk(α,u). Its dual code is RSn−k(α,v), where v=(v1,…,vn) is a nonzero solution of the equation
then RSk⊥(α,u)=RSn−k(α,v)=RSn−k(α,u)⊇RSk(α,u), i.e., RSk(α,u) is self-orthogonal. To see that the code RSk(α,u) coincides with the code CL(D,(k−1)P∞,u) given in Theorem 4.2, we need to show that res(η) is a solution of (8). Note that the solution of (8) is (∏j=1(α1−αj)1,…,∏j=n(αn−αj)1). Since η=x−αi1×∏j=i(x−αj)1d(x−αj), we have resPi(η)=∏j=i(αi−αj)1.
Then, we investigate a self-orthogonal MDS code when the length n=q+1.
Theorem 4.4. For any 1≤k≤q/2−1, there exists a q-ary [q+1,k] self-orthogonal MDS code.
Proof. Let α1,…,αq be pairwise distinct elements of Fq. Let Pi be the zero of x−αi for 1≤i≤q. Let Pn be the pole P∞ of x. Let D be the divisor ∑i=1nPi. Let a(x)∈Fq[x] be an irreducible polynomial of degree 2q+2≥3 and let b(x)∈Fq[x] be an irreducible polynomial of degree 2q+2−(k−1)≥3. Let c(x) be an irreducible polynomial of degree (q−1)−2(k−1)≥3. Consider the differential η=b2(x)(xq−x)a2(x)c(x)dx. Then
=2A+C−2B−D, where A, B, C are the divisors satisfying (a(x))=A−deg(a(x))P∞, (b(x))=B−deg(b(x))P∞ and (c(x))=C−deg(c(x))P∞. Put G=A−B, then deg(G)=k−1. Thus, CL(D,G) is a q-ary [n,k]-MDS code. As νPi(η)=−1 and D−G+(η)=D−G+2A+C−2B−D=A−B+C≥A−B=G. As every element of Fq is a square, there exists a vector u satisfying u2=res(η). Since νPi(η)=−1, resPi(η) is nonzero. Hence, u is a vector in (Fq∗)n. The desired result follows from Theorem 3.3. □
The above two theorems completely solves existence of q-ary self-orthogonal MDS codes for codes of length up to q+1 except for the case where code length is q+1 and dimension is q/2. The following result shows nonexistence of [q+1,q/2]-orthogonal MDS codes under the conjecture of the Main MDS conjecture. Before proving this nonexistence for arbitrary q, let us show that it is true for q=2 and 4.
Proposition 4.5. There are no q-ary [q+1,q/2] self-orthogonal MDS codes for q=2 and 4.
Proof. If q=2, a binary [q+1,q/2] MDS code is a binary [3,1] MDS code. Thus, the distance of this code is 3 and hence the code must be {(000),(111)}. However, this code is not self-orthogonal.
Then, we focus on q=4. Suppose that there were a 4-ary [5,2,4] self-orthogonal MDS code C. Assume that two vectors (1,0,α1,α2,α3) and (0,1,β1,β2,β3) form a systematic generator matrix G of C such that
(1001α1β1α2β2α3β3)
Thus, αi=0 and βi=0 for all 1≤i≤3. Since the inner product of (1,0,α1,α2,α3) with itself is 0, we get 1+α12+α22+α32=0, i.e., α1+α2+α3=1. Similarly, β1+β2+β3=1. This also implies that the all-one vector (11111) belongs to C⊥. Since 1+α+(α+1)=0, it is clear that {α1,α2,α3}={1,α,α+1}, where α is a root of x2+x+1. This implies that two of α1,α2,α3 must be equal. Without loss of generality, we may assume that α1=α2, then we must have α3=1 as α1+α2+α3=1. Hence, (1,0,α1,α2,α3)=(1,0,a,a,1). After scaling, the codeword (0,1,β1,β2,β3) becomes (0,β3−1,u,v,1) for some nonzero elements u,v∈F4. Thus, we have ua+va+1=0, i.e., u+v=a−1. As two of u,v,1 are equal, if u=v the codeword
would be Hamming weight at most 3. If u=v, we may assume that u=1 and hence v=1+a−1=a. This gives a contradiction as the codeword
(1,0,a,a,1)−(0,β3−1,1,a,1)
has the Hamming weight at most 3. This completes the proof. □
Theorem 4.6. If the Main MDS holds, then there are no q-ary [q+1,q/2,q/2+2] self-orthogonal MDS codes for even q.
Proof. By Proposition 4.5, we can assume that q≥8.
Suppose there were a q-ary [q+1,q/2] self-orthogonal MDS code C. Then C⊥ is a q-ary [q+1,q/2+1] MDS code. Choose a vector c∈C⊥∖C. Let C1 be the q-ary [q+2,q/2,q/2+2] code obtaining from C by adding 0 to every codeword of C such that
C1={(u,0):u∈C}⊆Fqq+2.
then we have dim(C1)=dim(C)=q/2. Let A be the code spanned by C1 and v=(c,1) such that
A=Span{C1,v}.
We claim that v∈/C1. Suppose that v∈C1, there exits u∈C such that (c,1)=(u,0), 1=0∈Fq. There is a contradiction. Hence, v∈/C1. The dimension of A is dim(C1)+1=q/2+1. It is clear that the code A has length q+2. We claim that the minimum distance of A is at least q/2+2, i.e., A is a q-ary [q+2,q/2+1,q/2+2]-MDS code. Indeed, assume that u′ is a nonzero codeword of A. If u′∈C1, then wt(u′)≥q/2+2 as C1 has the minimum distance q/2+2. If u′∈/C1, then u′=α(c1,0)+β(c,1) for some c1∈C, α∈Fq and β∈Fq∗. As αc1+βc is a nonzero codeword of C⊥, it has weight at least q/2+1. Hence, u′=α(c1,0)+β(c,1) has weight at least q/2+2.
In case q≥8, for dimension of A we have q/2+1=3 and q−1, hence there are no q-ary [q+2,q/2+1,q/2+2]-MDS codes under the Main MDS conjecture. By Lemma 2.1, we have there are no q-ary [q+1,q/2,q/2+2]-MDS codes under the Main MDS conjecture. □
By the Main MDS conjecture, we have q-ary [q+2,3,q−1]-MDS codes. We conjecture that codes with such parameters are not self-orthogonal (see our Conjecture 1). Let us show this conjecture is true for q=4.
Proposition 4.7. There do not exist any 4-ary [6,3] self-orthogonal MDS codes.
Proof. Suppose that there were such a code. Let
G:=(I3P).
be the systematic generator matrix, where I3 is the 3×3 identity matrix. Deleting the first row and first column gives a 2×5 matrix G1. Then the code generated by G1 is a [5,2] self-orthogonal MDS code. This violates Theorem 4.6. □
q is odd
In this subsection, we investigate the existence of certain q-ary self-orthogonal MDS codes for odd prime power q.
Theorem 4.8. For any odd q≥3 and any 1≤k≤(q+1)/2 with k=(q−1)/2, there exists a q-ary [q+1,k] self-orthogonal MDS code.
Proof. For q=3, we need to show existence of a [4,2]3 self-orthogonal MDS code. Indeed, the code generated by (1011) and (0112) is a [4,2]3 self-orthogonal MDS code.
Now assume that q≥5. Let α1,…,αq be pairwise distinct elements of Fq. Let Pi be the zero of x−αi for 1≤i≤q. Let Pn be the pole P∞ of x. Let a(x)∈Fq[x] be a monic irreducible polynomial of degree k+1≥2 and let b(x)∈Fq[x] be a monic irreducible polynomial of degree 2. If k=(q+1)/2, set c(x)=1. If k≤(q−1)/2−1, choose c(x) to be a monic irreducible polynomial of degree (q+1)/2−k≥2. Consider the differential η=−b2(x)(xq−x)a2(x)c2(x)dx. Then, we have
where A, B, C are the divisors satisfying (a(x))=A−deg(a(x))P∞, (b(x))=B−deg(b(x))P∞ and (c(x))=C−deg(c(x))P∞. Let D be the divisor ∑i=1qPi. Put G=A−B, then deg(G)=k−1. Thus, CL(D,G) is a q-ary [n,k]-MDS code. As νPi(η)=−1 and D−G+(η)=D−G+2A+2C−2B−D=A−B+2C≥A−B=G from the equation (9).
For each 1≤i≤q=n−1, let fi(x):=∏j=i(x−αj). Then (x−αi)fi(x)=xq−x. Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=−1. This gives fi(αi)=∏j=i(αi−αj)=−1. As η=−b2(x)∏j=i(x−αj)a2(x)c2(x)d(x−αi), we have
Hence, resPi(η) is a nonzero square in Fq for all 1≤i≤q=n−1.
Let t=x1. Then η=x2×b2(x)(xq−x)a2(x)c2(x)d(x1)=t1×b2(x)(xq−x)a2(x)c2(x)dt. Thus, we have resPi(η)=1 which is a square. In conclusion, res(η) is equal to u2 for some u∈(Fq∗)n. The desired result follows from Theorem 3.3. □
As in the even characteristic case, the above theorem does not yield a [q+1,(q−1)/2]q self-orthogonal MDS code. We conjecture that such codes do not exist (see Conjecture 2).
Conjecture 2 can be verified for q=3 and 5 as shown below.
Proposition 4.9. There are no q-ary [q+1,(q−1)/2] self-orthogonal MDS codes for q=3 and 5.
Proof. Let q=3, Suppose tht there were a [q+1,(q−1)/2]3 self-orthogonal MDS, i.e., a [4,1,4]3 self-orthogonal code. Assume that this code is generated by (α1,…,α4) with αi∈F3. Then, we must have αi=0 and hence αi2=1. Thus, ∑i=14αi2=1. This means that (α1,…,α4) is not orthogonal to itself. This implies that there are no q-ary [q+1,(q−1)/2] self-orthogonal MDS codes for q=3.
::: Now let q=5. Suppose that there were a [6,2,5]5 self-orthogonal MDS code C. Let a:=(1,0,α1,…,α4) and b:=(0,1,β1,…,β4) form a systematic generator matrix with αi,βj∈F5. Then αi2=±1 and βi2=±1 for all 1≤i≤4. As 12+∑i=14αi2=0, we must have αi2=1 for all 1≤i≤4. Similarly, we have have βi2=1 for all 1≤i≤4. This means that αi=±1 and βi=±1, 1≤i≤4. Let I be the set {i∈[4]:αi=βi}, then ∣I∣≤1. Otherwise, a−b would have the Hamming weight at most 4. Let J⊆[4]∖I with ∣J∣=3 and let {ℓ}=[4]∖J. Then the inner product ⟨a,b⟩=∑i=14αiβi=∑i∈Jαiβi+αℓβℓ=−3+1=−2 or −3−1=1. In any case, a and b are not orthogonal. This completes the proof. □
The other supporting evidence for conjecture 2 is the following result.
Proposition 4.10.Assume the Main MDS conjecture. Then there are no q-ary [q+1,(q−1)/2] self-orthogonal MDS codes contained in a q-ary [q+1,(q+1)/2] self-dual MDS code.
Proof. Let C be a q-ary [q+1,(q+1)/2] self-dual MDS code. Suppose there were a subcode A of C that is a q-ary [q+1,(q−1)/2] self-orthogonal MDS code. Let {c1,…,c(q−1)/2} be an Fq-basis of A. Extend this basis to an Fq basis {c1,…,c(q−1)/2,c(q+1)/2} of C. Then the code generated by {(0,c1),…,(0,c(q−1)/2),(1,c(q+1)/2)} is a q-ary [q+2,(q+1)/2]-MDS code. This is contradictory to the Main MDS conjecture. □
:::
In the following we show that if q is divisible by the code length n and the dimension satisfies k≤n/2, then there exists a self-orthogonal MDS code.
Theorem 4.11. Let n∣q, then for any 1≤k≤n/2, there exists a q-ary [n,k] self-orthogonal MDS code.
Proof. Let q=pℓ, where p is a prime and ℓ is an integer with ℓ≥1. Choose an Fp-subspace V of Fq with ∣V∣=n and label the elements of V by V={α1,…,αn}. Then, we have the Fp-linearized polynomial fV(x):=∏i=1n(x−αi). Let β be the coefficient of x in fV(x). Then the derivative fV′(x) is equal to β.
Let D be the divisor ∑i=1nPi and let G=(k−1)P∞. Consider the differential η=fV′(x)fV(x)dx. Then (η)=−D+(n−2)P∞. Thus, D−G+(η)=D−(k−1)P∞−D+(n−2)P∞=(n−k−1)P∞≥(k−1)P∞=G. So, we have D+(η)≥2G.
For each 1≤i≤n, let fi(x):=∏j=i(x−αj). Then (x−αi)fi(x)=fV(x). Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=fV′(x)=β. This gives fi(αi)=β. As η=x−αi1×∏j=i(x−αj)βd(x−αi), we have resPi=∏j=i(αi−αj)β=fi(αi)β=1. Hence, resPi is a nonzero square in Fq for all 1≤i≤n. Hence, res(η) is equal to u2 for some u∈(Fq∗)n. Finally, by Theorem 3.3 the code CL(D,G,u) is a q-ary [n,k] self-orthogonal MDS code. □
Furthermore, we consider the case where n divides q−1.
Theorem 4.12. Let n∣(q−1), then for any 1≤k≤(n−1)/2, there exists a q-ary [n,k] self-orthogonal MDS code.
Proof. Let V be a multiplicative subgroup of size n in Fq∗ and label the elements of V by {α1,…,αn}. Then xn−1=∏i=1n(x−αi). Let D be the divisor ∑i=1nPi and let G=kP0−P∞, where P0 is the zero of x. Consider the differential η=xn−1nxn−1dx. Then (η)=(n−1)P0−D+(n−(n−1)−2)P∞=(n−1)P0−D−P∞. Thus, D−G+(η)=D−kP0+P∞+(n−1)P0−D−P∞=(n−1−k)P0≥(k+1)P0≥kP0−P∞=G.
For each 1≤i≤n, let fi(x):=∏j=i(x−αj). Then (x−αi)fi(x)=xn−1. Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=nxn−1. This gives fi(αi)=nαin−1. As η=x−αi1×∏j=i(x−αj)nxn−1d(x−αi), we have resPi(η)=∏j=i(αi−αj)nαin−1=1. Hence, resPi is a nonzero square in Fq for all 1≤i≤n, i.e., res(η) is equal to u2 for some u∈(Fq∗)n. By Theorem 3.3 the code CL(D,G,u) is a q-ary [n,k] self-orthogonal MDS code.
Theorem 4.11 completely solves the existence problem of self-orthogonal MDS code if n∣(q−1) except for the case where n is even and k=n/2. It was shown in [17] that when q≡3(mod4), the necessary and sufficient condition for the existence of Euclidean self-dual codes over Fq is 4∣n. Thus, when n∣(q−1) and q≡3(mod4), we must have 4∤n. This implies that there exist no [n,n/2,n/2+1] self-dual MDS codes over Fq when n∣(q−1) and q≡3(mod4). Furthermore, it was shown in [21] that there exist q-ary self-dual MDS codes if q≡1(mod4) and n∣(q−1) with n<q−1. Thus, the only remaining unsolved case for n∣(q−1) is whether there are q-ary self-dual MDS codes for q≡1(mod4) and n=q−1. This case is more complicated. For instance, there exist no q-ary self-dual MDS codes of length q−1 for q=5,13 etc, while there are indeed q-ary self-dual MDS codes of length q−1 for q=9 (see [5]).
Theorem 4.13. There exists a q-ary [n,k] self-orthogonal MDS code if k,n satisfies
(i) (n+m)∣q and 1≤k≤(n−m)/2; or
(ii) (n+m)∣(q−1) and 1≤k≤(n−m−1)/2.
Proof. Assume that (n+m)∣q. Let q=pℓ for a prime p and an integer ℓ≥1. Choose an Fq subspace V of Fq with ∣V∣=n+m and label the elements of V by V={α1,…,αn,β1,…,βm}. Then we have the Fp-linearized polynomial fV(x):=∏i=1n(x−αi)∏j=1m(x−βj). Let β is the coefficient of x of fV(x). Then the derivative fV′(x) is equal to β.
Let D be the divisor ∑i=1nPi and let G=(k+m−1)P∞−∑j=1mPβj. Consider the differential η=fV(x)βdx. Then (η)=−D−∑j=1mPβj+(n+m−2)P∞. Thus, D−G+(η)=D−(k+m−1)P∞+∑j=1mPβj−D−∑j=1mPβj+(n+m−2)P∞=(n−k−1)P∞≥(k+m−1)P∞−∑j=1mPβj=G since k≤(n−m)/2.
For each 1≤i≤n, let fi(x):=x−αi1fV(x). Then (x−αi)fi(x)=fV(x). Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=fV′(x)=β. This gives fi(αi)=β. As η=x−αi1×∏j=i(x−αj)∏j=1m(x−βj)βd(x−αi), we have resPi(η)=∏j=i(αi−αj)∏j=1m(αi−βj)β=1. Hence, resPi(η) is a nonzero square in Fq for all 1≤i≤n. This means that res(η) is equal to u2 for some u∈(Fq∗)n. Finally, by Theorem 3.3 the code CL(D,G,u) is a q-ary [n,k] self-orthogonal MDS code. Now assume that (n+m)∣(q−1). Let V be a multiplicative subgroup of Fq∗ and label the elements of V by {α1,…,αn,β1,…,βm}. Then xn+m−1=∏i=1n(x−αi)∏j=1m(x−βj).
Let D be the divisor ∑i=1nPi and let G=(k+m)P0−∑j=1mPβj−P∞, where P0 is the zero of x. Consider the differential η=xn+m−1(n+m)xn+m−1dx. Then (η)=−D−∑j=1mPβj+(n+m−1)P0−P∞. Thus, D−G+(η)=D−(k+m)P0+∑j=1mPβj+P∞−D−∑j=1mPβj+(n+m−1)P0−P∞=(n−k−1)P0≥(k+m)P0−∑j=1mPβj−P∞=G.
For each 1≤i≤n, let fi(x):=x−αi1(xn+m−1)=∏j=i(x−αj)∏j=1m(x−βj). Then (x−αi)fi(x)=xn+m−1. Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=(n+m)xm+n−1. This gives fi(αi)=(n+m)αim+n−1. As η=x−αi(n+m)xn+m−1fi(x)1d(x−αi), we have resPi(η)=fi(αi)(m+n)αim+n−1=1. Hence, resPi(η) is a nonzero square in Fq for all 1≤i≤q=n. This means that res(η) is equal to u2 for some u∈(Fq∗)n. Finally, by Theorem 3.3 the code CL(D,G,u) is a q-ary [n,k] self-orthogonal MDS code.
Lemma 4.14. Assume that q≡1(mod4). Let p be the characteristic of Fq. Let V be an Fp-subspace of Fq. Then the coefficient of x of fV(x)=∏α∈V(x−α) is a square of Fq.
Proof. We prove this by induction on the Fp-dimension of V.
For dimFq(V)=1, we have that V is spanned by a nonzero element γ∈Fq. Thus, fV(x)=∏λ∈Fp(x−λγ)=xp−γp−1x. As −1 is a square under the condition that q≡1(mod4) and p−1 is even, −γp−1 is a square.
Suppose that it is true for ℓ−1 for ℓ≥2. Let dimFq(V)=ℓ. Write V as a direct sum of Fp-vector space U of dimension ℓ−1 and Fp-vector space W of dimension 1. Assume that W is spanned by β∈Fq∖U. Then we have
This implies that the coefficient of x in fV(x) is equal to the product of −fU(β)p−1 with the coefficient of x in fU(x). Hence, it is a square by induction. The proof is completed.
Theorem 4.15
Theorem 4.15. Assume that q≡1(mod4). Let (n−1)∣q and n<q+1, then for any 1≤k≤n/2, there exists a q-ary [n,k] self-orthogonal MDS code.
Proof. Let q=pℓ for a prime p and an integer ℓ≥1. Choose an Fp subspace V of Fq with ∣V∣=n−1 and label the elements of V by V={α1,…,αn−1}. Then we have the Fp-linearized polynomial fV(x):=∏i=1n−1(x−αi). Let β is the coefficient of x in fV(x). Then the derivative fV′(x) is equal to β. Choose γ∈Fq∖V (this is possible since n−1<q). Let D be the divisor P∞+∑i=1n−1Pi. Let G=(k−1)Pγ. Consider the differential η=fV(x)(x−γ)n−2dx. Then (η)=−D+(n−2)Pγ. Thus, D−G+(η)=D−(k−1)Pγ−D+(n−2)Pγ=(n−k−1)Pγ≥(k−1)Pγ=G.
For each 1≤i≤n−1, let fi(x):=∏j=i(x−αj). Then (x−αi)fi(x)=fV(x). Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=fV′(x)=β. This gives fi(αi)=β. As η=x−αi1×∏j=i(x−αj)(x−γ)n−2d(x−αi), we have resPi(η)=∏j=i(αi−αj)(αi−γ)n−2=β(αi−γ)n−2. Since n is even and β is a square, thus resPi(η) is a nonzero square in Fq for all 1≤i≤n−1. Furthermore, resP∞(η)=−1. Hence, res(η) is equal to u2 for some u∈(Fq∗)n. Finally, by Theorem 3.3 the code CL(D,G,u) is a q-ary [n,k] self-orthogonal MDS code. □
National Key Laboratory of Wireless Communications, University of Electronic Science and Technology of China, Chengdu, China
[1]W. Fang and F. Fu, ”New constructions of MDS Euclidean self-dual codes from GRS codes and extended GRS codes,” IEEE Trans. Inf. Theory, vol. 65, no. 9, pp. 5574-5579, 2019.DOI
[2]X. Fang, K. Lebed, H. Liu, and J. Luo, ”New MDS Euclidean self-dual codes over finite fields of odd characteristic,” arXiv:1811.02802v9 [cs.IT], Sep. 2019.arxiv.org/abs/1811.02802
[3]Xiaolei Fang, Meiqing Liu and Jinquan Luo, ”New MDS Euclidean Self-Orthogonal Codes” IEEE Trans. Inf. Theory, vol. 61, no. 1, pp. 130 -137, 2021.arxiv.org/abs/1906.00380
[4]S. Georgion and C. Koukouvinos, ”MDS Euclidean self-dual codes over large prime fields,” Finite Fields and Their Appl., vol. 8, no. 4, pp. 455-470, 2002.
[5]M. Grassl and T. A. Gulliver, ”On self-dual MDS codes,” in Proc. of ISIT, pp. 1954-1957, 2008.DOI
[6]K. Guenda, ”New MDS Euclidean self-dual codes over finite fields,” Des. Codes Cryptogr., vol. 62, no. 1, pp. 31-42, 2012.DOI
[7]T. A. Gulliver, J. L. Kim, and Y. Lee, ”New MDS or near-MDS Euclidean self-dual codes,” IEEE Trans. Inf. Theory, vol. 54, no. 9, pp. 4354-4360, 2008.DOI
[8]M. Harada and H. Kharaghani, ”Orthogonal designs, self-dual codes and the Leech lattice,” J. Combin. Designs, vol. 13, no. 3, pp. 184-194, 2005.DOI
[9]M. Harada and H. Kharaghani, ”Orthogonal designs and MDS Euclidean self-dual codes,” Australas. J. Combin., vol. 35, pp. 57-67, 2006.
[10]L. Jin and C. Xing, ”New MDS self-dual codes from generalized Reed-Solomon codes,” IEEE Trans. Inf. Theory, vol. 63, no. 3, pp. 1434-1438, 2017.arxiv.org/abs/1601.04467
[11]X. Kai, S. Zhu S, and Y. Tang, ”Some constacyclic self-dual codes over the integers modulo 2^m,” Finite Fields and Their Appl. vol. 18, no. 2, pp. 258-270, 2012.DOI
[12]J. L. Kim and Y. Lee, ”MDS Euclidean self-dual codes,” in Proc. of ISIT, pp. 1872-1877, 2004.DOI
[13]J. L. Kim and Y. Lee, ”Euclidean and Hermitian self-dual MDS codes over large finite fields,” J. Combin. Theory, Series A, vol. 105, no. 1, pp. 79-95, 2004.DOI
[14]K. Lebed, H. Liu, and J. Luo, ”Construction of MDS Euclidean self-dual codes over finite field,” Finite Fields and Their Appl., vol. 59, pp. 199-207, 2019.arxiv.org/abs/1807.10625
[15]S. Ling and C. Xing, ”Coding Theory: A First Course”, Cambridge University Press, 2004.DOI
[16]H. Niederreiter and C.P. Xing, Rational Points on Curves over Finite Fields: Theory and Applications, LMS 285, Cambridge, 2001.
[17]V. Pless, The number of isotropic subspaces in a finite geometry, Atti Accad. Naz. Lincei Rend. Cl. Sci. Fis. Mat. Natur. 39 (8) (1965) 418-421.
[18]H. Stichtenoth, Algebraic Function Fields and Codes, Graduate Texts in Mathematics 254, Springer Verlag, 2009.DOI
[19]M. A. Tsfasman and S.G. Vlăduţ, Algebraic-Geometric Codes, Dordrecht, The Netherlands: Kluwer, 1991.DOI
[20]H. Tong and X. Wang, ”New MDS Euclidean and Hermitian self-dual codes over finite fields,” Advances in Pure Mathematics, vol. 7, no. 5, 2016.arxiv.org/abs/1606.07161
[21]H. Yan, ”A note on the construction of MDS Euclidean self-dual codes,” Cryptogr. Commun., vol. 11, no. 2, pp. 259-268, 2019.DOI
[22]Y. Yang and W. Cai, ”On self-dual constacyclic codes over finite fields,” Des. Codes Cryptogr., vol. 74, no. 2, pp. 355-364, 2015.
[23]A. Zhang and K. Feng, ”An unified approach on constructing of MDS self-dual codes via Reed-Solomon codes,” IEEE Transactions on Information Theory, Vol. 66, Issue: 6, June 2020.arxiv.org/abs/1905.06513