betaFeedback

WorksComputer Science

On Self-orthogonal MDS Codes

Abstract

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 nn and dimension kk, there exist qq-ary [n,k][n,k] self-orthogonal MDS codes. We completely solve this problem for even prime power qq except for the case where [n,k]=[q+2,3][n,k]=[q+2,3]. For odd prime power qq, we solve this problem for the cases where n=q+1n=q+1, n∣qn|q or n∣(q−1)n|(q-1) except for two cases where (i) [n,k]=[q+1,(q−1)/2][n,k]=[q+1, (q-1)/2]; and (ii) [n,k]=[q−1,(q−1)/2][n,k]=[q-1,(q-1)/2] and q≡1(mod4)q\equiv 1\pmod{4}. Furthermore, we conjecture nonexistence of self-orthogonal MDS code for the first case. For odd qq, 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 nn can induce self-orthogonal codes for any dimension kk with k≤n/2k\le n/2. However, a self-dual MDS code of length nn does not necessarily produce an [n,k][n,k] self-orthogonal MDS code for dimension k<n/2k<n/2. One counter-example given in Subsection 4.1 is that for an odd prime qq, one can explicitly construct a qq-ary [q+1,(q+1)/2][q+1,(q+1)/2] self-dual MDS code CC, while we also show non-existence of subcodes of CC that are qq-ary [q+1,(q−1)/2][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=r2q=r^2, 1≤s≤r+121\le s\le\frac{r+1}{2}, 1≤t≤r−121\le t\le\frac{r-1}{2} and n=s(r−1)+t(r+1)n=s(r-1)+t(r+1), then there exist qq-ary [n,k][n,k] self-orthogonal MDS codes for any 1≤k≤n21\le k\le\frac{n}{2}. Thus, the paper [3] focus only on finite fields Fq\mathbb{F}_q with qq 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][n,k]=[q+2,3], namely we have the following result.

Main Theorem 1. Let qq be a power of 22, then we have

(i) For every n≤q+1n\le q+1 and k≤n/2k\le n/2 except for [n,k]=[q+1,q/2][n,k]=[q+1,q/2], there exists a qq-ary [n,k][n,k] self-orthogonal MDS codes.

(ii) There do not exist any qq-ary [q+1,q/2][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+1n>q+1 have parameters [n,k]=[q+2,3][n,k]=[q+2,3] or [n,k]=[q+2,q−1][n,k]=[q+2,q-1]. We can show that there do not exist 4-ary [6,3][6,3] self-orthogonal MDS codes (see Proposition 4.7). However, we can not prove that there do not exist qq-ary [q+2,3][q+2,3] self-orthogonal MDS codes for arbitrary qq. We make the following conjecture.

Conjecture 1. For an even q≥4q\ge4, there do not exist qq-ary [q+2,3][q+2,3] self-orthogonal MDS codes.

For an odd prime power qq, we also completely solve the existence problem of self-orthogonal MDS codes for the cases where the code length nn satisfies n=q+1n=q+1, n∣qn\mid q or n∣(q−1)n\mid(q-1) except for two cases, namely we have the following result.

Main Theorem 2. Let qq be a power of an odd prime, then there exists a qq-ary [n,k][n,k] self-orthogonal MDS codes for all k≤n/2k\le n/2 with n=q+1n=q+1, n∣qn\mid q or n∣(q−1)n\mid(q-1) except for the two cases where (i) [n,k]=[q+1,(q−1)/2][n,k]=[q+1,(q-1)/2]; and (ii) [n,k]=[q−1,(q−1)/2][n,k]=[q-1,(q-1)/2] and q≡1(mod⁡4)q\equiv1(\operatorname{mod} 4).

For the first case where [n,k]=[q+1,(q−1)/2][n,k]=[q+1,(q-1)/2], we conjecture non-existence of such codes.

Conjecture 2. For odd qq, there do not exist any [n,k]=[q+1,(q−1)/2][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=3q=3 and 55 (see Proposition 4.9).

Remark 1.1. For the second case where n∣(q−1)n\mid(q-1), nn is even and k=n/2k=n/2, the known result shows that there exist no [n,n/2,n/2+1][n,n/2,n/2+1] self-dual MDS codes over Fq\mathbb{F}_q when n∣(q−1)n\mid(q-1) and q≡3(mod4)q\equiv3\pmod4 [17]. Furthermore, it was shown in [21] that there exist

qq-ary self-dual MDS codes if q≡1(mod4)q \equiv1 \pmod{4} and n∣(q−1)n \mid(q-1) with n<q−1n < q-1. Thus, the only remaining unsolved case for n∣(q−1)n \mid(q-1) is whether there are qq-ary self-dual MDS codes for q≡1(mod4)q \equiv1 \pmod{4} and n=q−1n=q-1. This case has no definite answer: for instance, there exist no qq-ary self-dual MDS codes of length q−1q-1 for q=5,13q=5, 13, etc., while such codes do exist for q=9q=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.

qqlength nn, dimension kkreference
evenn≤qn \le q, 1≤k≤n/21 \le k \le n/2Theorem 4.2
evenn=q+1n=q+1, 1≤k≤q/2−11 \le k \le q/2-1Theorem 4.4
oddn=q+1n=q+1, 1≤k≤(q+1)/21 \le k \le(q+1)/2, k≠(q−1)/2k \ne(q-1)/2Theorem 4.8
oddn∣qn \mid q, 1≤k≤n/21 \le k \le n/2Theorem 4.11
oddn∣(q−1)n \mid(q-1), 1≤k≤(n−1)/21 \le k \le(n-1)/2Theorem 4.12
odd(n+m)∣q(n+m) \mid q, 1≤k≤(n−m)/21 \le k \le(n-m)/2, mm is an integerTheorem 4.13
odd(n+m)∣(q−1)(n+m) \mid(q-1), 1≤k≤(n−m−1)/21 \le k \le(n-m-1)/2, mm is an integerTheorem 4.13
q≡1(mod4)q \equiv1 \pmod{4}(n−1)∣q(n-1) \mid q, n<q+1n<q+1, 1≤k≤n/21 \le k \le n/2Theorem 4.15

Table 1. qq-ary self-orthogonal MDS codes of length nn and dimension kk

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 GG and nn distinct rational places P1,…,PnP_1,\ldots,P_n such that Pi∉Supp⁡(G)P_i \notin\operatorname{Supp}(G). Put D=∑i=1nPiD=\sum_{i=1}^{n}P_i and consider the function code CL(D,G,u)C_L(D,G,\mathbf{u}) for a vector u=(u1,…,un)∈(Fq∗)n\mathbf{u}=(u_1,\ldots,u_n)\in(\mathbb{F}_q^*)^n. Then the dual code of CL(D,G,u)C_L(D,G,\mathbf{u}) is the differential code CΩ(D,G,u−1)C_\Omega(D,G,\mathbf{u}^{-1}), where u−1=(u1−1,…,un−1)\mathbf{u}^{-1}=(u_1^{-1},\ldots,u_n^{-1}). Furthermore, if η\eta is a differential satisfying νPi(η)=−1\nu_{P_i}(\eta)=-1 for all 1≤i≤n1\le i\le n, then the dual code CΩ(D,G,u−1)C_\Omega(D,G,\mathbf{u}^{-1}) of CL(D,G,u)C_L(D,G,\mathbf{u}) is CL(D,D−G+(η),u−1∗res⁡(η))C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta)), where res⁡(η)=(res⁡P1(η),…,res⁡Pn(η))\operatorname{res}(\eta)=(\operatorname{res}_{P_1}(\eta),\ldots,\operatorname{res}_{P_n}(\eta)). Thus, by choosing a suitable differential η\eta, one obtains CL(D,G,u)⊆CL(D,D−G+(η),u−1∗res⁡(η))C_L(D,G,\mathbf{u})\subseteq C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta)). 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 qq be a prime power and let Fq\mathbb{F}_q denote the finite field with qq elements. A qq-ary [n,k,d][n,k,d]-linear code CC is an Fq\mathbb{F}_q-subspace of Fqn\mathbb{F}_q^n of dimension kk with minimum distance dd. The well-known Singleton bound says that d+k≤n+1d+k\leq n+1. A qq-ary [n,k,d][n,k,d]-linear code is called Maximum Distance Separable (MDS for short) if k+d=n+1k+d=n+1.

The Main MDS Conjecture states: for a nontrivial qq-ary linear [n,k][n,k] MDS code with 1<k<n−11<k<n-1, the code length nn is at most q+1q+1, unless qq is even and k=3k=3 or k=q−1k=q-1, in which case n≤q+2n\leq q+2.

The dual code C⊥C^\perp of CC is given by {u∈Fqn:⟨u,c⟩=0 for any c∈C}\{\mathbf{u}\in\mathbb{F}_q^n:\langle\mathbf{u},\mathbf{c}\rangle=0\text{ for any }\mathbf{c}\in C\}, where ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle stands for the Euclidean inner product. CC is called self-orthogonal and dual, respectively, if C⊆C⊥C\subseteq C^\perp and C=C⊥C=C^\perp, respectively.

A qq-ary [n,k,d][n,k,d]-linear code CC is called self-orthogonal MDS (self-dual MDS, respectively) if CC 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 qq-ary [n,k,d][n,k,d]-linear code over Fq\mathbb{F}_q. Then, there exits an [n−r,k−r,d][n-r,k-r,d]-linear code over Fq\mathbb{F}_q for any 1≤r≤k−11\leq r\leq 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 FF be a function field with the full constant field Fq\mathbb{F}_q. In case there is no confusion, we simply use gg to denote the genus g(F)g(F).

Let PF\mathbb{P}_F be the set of places. A place PP on FF is called rational if the degree PP is 11. A divisor GG of FF is a formal sum G=∑P∈PFnPPG=\sum_{P\in\mathbb{P}_F}n_P P, where nPn_P are integers and almost all nPn_P are equal to zero. GG is called effective if nP≥0n_P\geq0 for all P∈PFP\in\mathbb{P}_F. The degree deg⁡(G)\deg(G) of GG is defined by deg⁡(G)=∑P∈PFnPdeg⁡(P)\deg(G)=\sum_{P\in\mathbb{P}_F}n_P\deg(P).

The support of GG, denoted by Supp⁡(G)\operatorname{Supp}(G), is defined to be the set {P∈PF:nP≠0}\{P\in\mathbb{P}_F:n_P\neq0\}.

For a point PP, we denote by νP\nu_P the normalized discrete valuation of PP. For a nonzero function xx in FF, one can define a principal divisor (x):=∑Q∈PFνQ(x)Q(x):=\sum_{Q\in\mathbb{P}_F}\nu_Q(x)Q. It is a well-known fact that the degree of (x)(x) is zero. The zero divisor and pole divisor of xx are defined to be (x)0:=∑P∈PF,νP(x)>0νP(x)P(x)_0:=\sum_{P\in\mathbb{P}_F,\nu_P(x)>0}\nu_P(x)P and (x)∞:=−∑P∈PF,νP(x)<0νP(x)P(x)_\infty:=-\sum_{P\in\mathbb{P}_F,\nu_P(x)<0}\nu_P(x)P, respectively.

For a rational place PP, there exists a function tP∈Ft_P\in F such that νP(tP)=1\nu_P(t_P)=1. It is called a local parameter at PP. A local parameter is not unique. For a nonzero function f∈Ff\in F with νP(f)=v∈Z\nu_P(f)=v\in\mathbb{Z}, let av=(tP−vf)(P)∈Fqa_v=(t_P^{-v}f)(P)\in\mathbb{F}_q. Then we have νP(tP−vf−av)≥1\nu_P(t_P^{-v}f-a_v)\geq1, i.e., νP(((tP−vf)−av)/tP)≥0\nu_P(((t_P^{-v}f)-a_v)/t_P)\geq0. Put ((tP−vf−av)/tP)(P)=av+1∈Fq((t_P^{-v}f-a_v)/t_P)(P)=a_{v+1}\in\mathbb{F}_q, then we have νP((tP−vf−av)/tP−av+1)≥1\nu_P((t_P^{-v}f-a_v)/t_P-a_{v+1})\geq1, i.e., νP((tP−vf−av−av+1tP)/tP2)≥0\nu_P((t_P^{-v}f-a_v-a_{v+1}t_P)/t_P^2)\geq0. Put (tP−vf−av−av+1tP)/tP2)(P)=av+2∈Fq(t_P^{-v}f-a_v-a_{v+1}t_P)/t_P^2)(P)=a_{v+2}\in\mathbb{F}_q. Continue in this fashion, we get a sequence {ai}i=v∞\{a_i\}_{i=v}^{\infty} of elements in Fq\mathbb{F}_q such that

νP(tP−vf−∑i=vmaitPi−v)≥m+1−v(1)\nu_P\left(t_P^{-v}f-\sum_{i=v}^{m}a_i t_P^{i-v}\right)\ge m+1-v \tag*{(1)}

for all m≥vm\ge v. We denote by f(i)(P)f^{(i)}(P) the coefficient aia_i for all i≥vi\ge v. It is clear that f(0)(P)=f(P)f^{(0)}(P)=f(P) does not depend on choice of tPt_P. On the other hand, f(i)(P)f^{(i)}(P) depends on choice of tPt_P for i≠0i\ne0. Note that if PP is rational, then all aia_i are elements of Fq\mathbb{F}_q. The series ∑i=v∞aitPi−v\sum_{i=v}^{\infty}a_i t_P^{i-v} is called a local expansion of ff at PP.

Denote by ΩF\Omega_F the set of differentials of FF. Then ΩF\Omega_F forms a one-dimensional space over FF. It is well-known that dtPdt_P is not 00 for any place PP, where tPt_P is a local parameter at PP. Thus, every differential can be written as y dtPy\,dt_P for some y∈Fy\in F. For a differential ω∈ΩF\omega\in\Omega_F and a point PP, write ω=f dtP\omega=f\,dt_P, we define the evaluation of ω\omega at PP by νP(f)\nu_P(f). The divisor (ω)(\omega) is defined to be ∑P∈PFνP(ω)P\sum_{P\in P_F}\nu_P(\omega)P. It is called a canonical divisor and has degree 2g−22g-2. It is clear that all canonical divisors are equivalent.

For a rational place PP, assume that ff has a local expansion ∑i=v∞avtPi\sum_{i=v}^{\infty}a_vt_P^i, define the residue of ω\omega at PP to be a−1a_{-1} if v<0v<0; and 00 if v≥0v\ge0, denoted by res⁡P(ω)\operatorname{res}_P(\omega). It is easy to verify that res⁡P(ω)\operatorname{res}_P(\omega) is independent of choice of the local parameter tPt_P.

For a rational divisor GG, define ΩF(G)\Omega_F(G) to be the set

{ω≠0∈ΩF:(ω)≥G}∪{0}.(2)\{\omega\ne0\in\Omega_F:(\omega)\ge G\}\cup\{0\}. \tag*{(2)}

Then ΩF(G)\Omega_F(G) is a finitely dimensional space over Fq\mathbb{F}_q and its dimension, denoted by i(G)i(G).

Now for a rational divisor GG, one can define the Riemann–Roch space L(G)\mathcal{L}(G) associated with GG by

L(G):={x∈F∗:(x)+G≥0}∪{0}.(3)\mathcal{L}(G):=\{x\in F^*:(x)+G\ge0\}\cup\{0\}. \tag*{(3)}

Then L(G)\mathcal{L}(G) is a finitely dimensional space over Fq\mathbb{F}_q and its dimension is denoted by ℓ(G)\ell(G). Then for any canonical divisor W=(ω)W=(\omega), we have the following Fq\mathbb{F}_q-isomorphism

L(W−G)→ΩF(G);x↦xω.(4)\mathcal{L}(W-G)\to\Omega_F(G);\quad x\mapsto x\omega. \tag*{(4)}

The Riemann–Roch theorem states that

ℓ(G)=deg⁡(G)−g+1+ℓ(W−G).(5)\ell(G)=\deg(G)-g+1+\ell(W-G). \tag*{(5)}

Hence, we have ℓ(G)=deg⁡(G)−g+1\ell(G)=\deg(G)-g+1, and the equality holds if deg⁡(G)≥2g−1\deg(G)\ge2g-1 as ℓ(W−G)=0\ell(W-G)=0 in this case.

Now let P1,…,PnP_1,\ldots,P_n be nn pairwise distinct rational points. Put D=∑i=1nPiD=\sum_{i=1}^{n}P_i. Let GG be a rational divisor with Supp⁡(G)∩Supp⁡(D)=∅\operatorname{Supp}(G)\cap\operatorname{Supp}(D)=\varnothing. For an vector u=(u1,…,un)∈(Fq∗)n\mathbf{u}=(u_1,\ldots,u_n)\in(\mathbb{F}_q^*)^n, define the following generalized functional code

CL(D,G,u)={(u1f(P1),…,unf(Pn)):f∈L(G)},C_{\mathcal{L}}(D,G,\mathbf{u})=\{(u_1f(P_1),\ldots,u_nf(P_n)):f\in\mathcal{L}(G)\},

and the differential code

CΩ(D,G,u)={(u1res⁡P1(ω),…,unres⁡Pn(ω)):ω∈Ω(G−D)}.C_{\Omega}(D,G,\mathbf{u})=\{(u_1\operatorname{res}_{P_1}(\omega),\ldots,u_n\operatorname{res}_{P_n}(\omega)):\omega\in\Omega(G-D)\}.

These two codes are called generalized Goppa geometric codes. The dual code of CL(D,G,1)C_L(D,G,\mathbf{1}) is the code CΩ(D,G,1)C_\Omega(D,G,\mathbf{1}), where 1\mathbf{1} is the all-one vector. Furthermore, the Fq\mathbb{F}_q-dimension of CΩ(D,G,u)C_\Omega(D,G,\mathbf{u}) is ℓ(G)\ell(G) if 0≤deg⁡(G)<n0 \le\deg(G) < n.

Rational function fields and generalized Reed-Solomon codes

In this section, we assume that FF is the rational function field Fq(x)\mathbb{F}_q(x), where xx is a transcendental element over Fq\mathbb{F}_q. Hence, the genus of FF is 0. Furthermore, every place uniquely correspondences a monic irreducible polynomial or 1/x1/x.

Let r,s≥1r,s \ge1 be integers. A rational place is either the zero of x−αx-\alpha for some α∈Fq\alpha\in\mathbb{F}_q or the pole of xx, i.e., the zero of 1/x1/x. Denote by PαP_\alpha the zero of x−αx-\alpha. We also denote by P∞P_\infty the pole of xx. Thus, if GG is a divisor

∑i=1raiPi−∑j=1sbjQj+mP∞(6)\sum_{i=1}^{r} a_i P_i-\sum_{j=1}^{s} b_j Q_j+mP_\infty \tag*{(6)}

with ai,bj>0a_i,b_j>0 and deg⁡(G)=∑i=1raideg⁡(Pi)−∑j=1sbjdeg⁡(Qj)+m≥0\deg(G)=\sum_{i=1}^{r}a_i\deg(P_i)-\sum_{j=1}^{s}b_j\deg(Q_j)+m\ge0, where PiP_i and QjQ_j correspondences to the monic irreducible polynomials pi(x)p_i(x) and qj(x)q_j(x), respectively. Then we can deduce from the definition that the Riemann-Roch space L(G)\mathcal{L}(G) is

L(G)={∏j=1sqj(x)bj∏i=1rpi(x)aif(x):f(x)∈Fq[x]≤deg⁡(G)}.\mathcal{L}(G)=\left\{\frac{\prod_{j=1}^{s}q_j(x)^{b_j}}{\prod_{i=1}^{r}p_i(x)^{a_i}}f(x):f(x)\in\mathbb{F}_q[x]_{\le\deg(G)}\right\}.

If GG is a divisor of degree k−1k-1 with k≥1k\ge1, we have by the Riemann-Roch theorem that ℓ(G)=deg⁡(G)+1=k\ell(G)=\deg(G)+1=k. In particular, we have

L((k−1)P∞)={f(x)∈Fq[x]:deg⁡(f)<k}.\mathcal{L}((k-1)P_\infty)=\{f(x)\in\mathbb{F}_q[x]:\deg(f)<k\}.

Let α1,…,αn\alpha_1,\ldots,\alpha_n be pairwise distinct elements. Then the functional code

CL(D,(k−1)P∞,u)={(u1f(Pα1),…,unf(Pαn)):f∈L((k−1)P∞)}={(u1f(α1),…,unf(αn)):f∈Fq[x]<k}.\begin{aligned} C_L(D,(k-1)P_\infty,\mathbf{u})=\{(u_1f(P_{\alpha_1}),\ldots,u_nf(P_{\alpha_n})):f\in\mathcal{L}((k-1)P_\infty)\} \\ &=\{(u_1f(\alpha_1),\ldots,u_nf(\alpha_n)):f\in\mathbb{F}_q[x]_{<k}\}. \end{aligned}

is a generalized Reed-Solomon (GRS) code, where D=∑i=1nPαiD=\sum_{i=1}^{n}P_{\alpha_i} and u∈(Fq∗)n\mathbf{u}\in(\mathbb{F}_q^*)^n.

Let us now consider an arbitrary divisor GG given in (6). Let α1,…,αn\alpha_1,\ldots,\alpha_n be pairwise distinct elements satisfying Supp⁡(G)∩Supp⁡(D)=∅\operatorname{Supp}(G)\cap\operatorname{Supp}(D)=\varnothing, where D=∑i=1nPαiD=\sum_{i=1}^{n}P_{\alpha_i}. Then for u=(u1,…,un)∈(Fq∗)n\mathbf{u}=(u_1,\ldots,u_n)\in(\mathbb{F}_q^*)^n, the functional code

CL(D,G,u)={(u1f(Pα1),…,unf(Pαn)):f∈L(G)}={(v1u1h(α1),…,vnunh(αn)):h∈Fq[x]≤deg⁡(G)}.\begin{aligned} C_L(D,G,\mathbf{u})=\{(u_1f(P_{\alpha_1}),\ldots,u_nf(P_{\alpha_n})):f\in\mathcal{L}(G)\} \\ &=\{(v_1u_1h(\alpha_1),\ldots,v_nu_nh(\alpha_n)):h\in\mathbb{F}_q[x]_{\le\deg(G)}\}. \end{aligned}

is a GRS code, where vi=∏j=1sqj(αi)bj∏i=1rpi(αi)aiv_i=\dfrac{\prod_{j=1}^{s}q_j(\alpha_i)^{b_j}}{\prod_{i=1}^{r}p_i(\alpha_i)^{a_i}}.

Finally, we consider consider an arbitrary divisor GG with m=0m=0 and deg⁡(G)=k−1\deg(G)=k-1 given in (6). Let α1,…,αn−1\alpha_1,\ldots,\alpha_{n-1} be pairwise distinct elements satisfying Supp⁡(G)∩Supp⁡(D)=∅\operatorname{Supp}(G)\cap\operatorname{Supp}(D)=\varnothing, where D=∑i=1n−1Pαi+PnD=\sum_{i=1}^{n-1}P_{\alpha_i}+P_n with Pn=P∞P_n=P_\infty. Then for u=(u1,…,un)∈(Fq∗)n\mathbf{u}=(u_1,\ldots,u_n)\in(\mathbb{F}_q^*)^n, the functional code

CL(D,G,u)={(u1f(Pα1),…,un−1f(Pαn−1),unf(Pn)):f∈L(G)}={(u1v1h(Pα1),…,vn−1un−1h(Pαn−1),unhk−1):h∈Fq[x]<k}.\begin{aligned} C_L(D,G,\mathbf{u})=\{(u_1f(P_{\alpha_1}),\ldots,u_{n-1}f(P_{\alpha_{n-1}}),u_nf(P_n)):f\in\mathcal{L}(G)\} \\ &=\{(u_1v_1h(P_{\alpha_1}),\ldots,v_{n-1}u_{n-1}h(P_{\alpha_{n-1}}),u_nh_{k-1}):h\in\mathbb{F}_q[x]_{<k}\}. \end{aligned}

is an extended GRS code. Note that h(P∞)=fk−1h(P_{\infty}) = f_{k-1}, where hk−1h_{k-1} is the coefficient of xk−1x^{k-1} of h(x)h(x) and vi=∏j=1sqj(αi)bj∏i=1rpi(αi)aiv_i = \frac{\prod_{j=1}^{s}q_j(\alpha_i)^{b_j}}{\prod_{i=1}^{r}p_i(\alpha_i)^{a_i}}.

A framework of construction

In this section, we establish the framework of our construction scheme.

Lemma 3.1. For a vector u∈(Fq∗)n\mathbf{u} \in(\mathbb{F}_q^*)^n, the dual code CL⊥(D,G,u)C_L^\perp(D,G,\mathbf{u}) of CL(D,G,u)C_L(D,G,\mathbf{u}) is CΩ(D,G,u−1)C_\Omega(D,G,\mathbf{u}^{-1}), where where u−1=(u1−1,…,un−1)\mathbf{u}^{-1}=(u_1^{-1},\ldots,u_n^{-1}).

Proof. This follows from the fact that the dual code CL⊥(D,G,1)C_L^\perp(D,G,\mathbf{1}) of CL(D,G,1)C_L(D,G,\mathbf{1}) is CΩ(D,G,1)C_\Omega(D,G,\mathbf{1}). □

Lemma 3.2. If η\eta is a differential satisfying νPi(η)=−1\nu_{P_i}(\eta)=-1 for all 1≤i≤n1\leq i\leq n, then the dual code CL⊥(D,G,u)C_L^\perp(D,G,\mathbf{u}) of CL(D,G,u)C_L(D,G,\mathbf{u}) is CL(D,D−G+(η),u−1∗res⁡(η))C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta)), where res⁡(η)=(res⁡P1(η),…,res⁡Pn(η))\operatorname{res}(\eta)=(\operatorname{res}_{P_1}(\eta),\ldots,\operatorname{res}_{P_n}(\eta)).

Proof. By Lemma 3.1, it is sufficient to show that CL(D,D−G+(η),u−1∗res⁡(η))C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta)) is equal to CΩ(D,G,u−1)C_\Omega(D,G,\mathbf{u}^{-1}). As νPi(η)=−1\nu_{P_i}(\eta)=-1 for all 1≤i≤n1\leq i\leq n, we have supp⁡(D)∩supp⁡(D−G+(η))=∅\operatorname{supp}(D)\cap\operatorname{supp}(D-G+(\eta))=\varnothing. Thus, the code CL(D,D−G+(η),u−1∗res⁡(η))C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta)) is well defined. For any (h(P1)u1−1res⁡P1(η),…,h(Pn)un−1res⁡Pn(η))∈CL(D,D−G+(η),u−1∗res⁡(η))(h(P_1)u_1^{-1}\operatorname{res}_{P_1}(\eta),\ldots,h(P_n)u_n^{-1}\operatorname{res}_{P_n}(\eta))\in C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta)) with h∈L(D−G+(η))h\in\mathcal{L}(D-G+(\eta)), we have

(h(P1)u1−1res⁡P1(η),…,h(Pn)un−1res⁡Pn(η))=(u1−1res⁡P1(hη),…,un−1res⁡Pn(hη))∈CΩ(D,G,u−1).(h(P_1)u_1^{-1}\operatorname{res}_{P_1}(\eta),\ldots,h(P_n)u_n^{-1}\operatorname{res}_{P_n}(\eta))=(u_1^{-1}\operatorname{res}_{P_1}(h\eta),\ldots,u_n^{-1}\operatorname{res}_{P_n}(h\eta))\in C_\Omega(D,G,\mathbf{u}^{-1}).

The inclusion in the above display follows from fact that hη∈Ω(G−D)h\eta\in\Omega(G-D). This implies that CL(D,D−G+(η),u−1∗res⁡(η))⊆CΩ(D,G,u−1)C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta))\subseteq C_\Omega(D,G,\mathbf{u}^{-1}). On the other hand, by the isomorphism given in (4), every element of Ω(G−D)\Omega(G-D) has the form hηh\eta for some h∈L(D−G+(η))h\in\mathcal{L}(D-G+(\eta)). Hence, we must have CL(D,D−G+(η),u−1∗res⁡(η))=CΩ(D,G,u−1)C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta))=C_\Omega(D,G,\mathbf{u}^{-1}). □

Theorem 3.3. If there exists a differential η\eta and a vector u=(u1,…,un)∈(Fq∗)n\mathbf{u}=(u_1,\ldots,u_n)\in(\mathbb{F}_q^*)^n satisfying

(i) νPi(η)=−1\nu_{P_i}(\eta)=-1 for all 1≤i≤n1\leq i\leq n;

(ii) u2=res⁡(η)\mathbf{u}^2=\operatorname{res}(\eta), where u2=(u12,…,un2)\mathbf{u}^2=(u_1^2,\ldots,u_n^2); and

(iii) D+(η)≥2GD+(\eta)\geq2G,

then the code CL(D,G,u)C_L(D,G,\mathbf{u}) is self-orthogonal.

Proof. As u2=res⁡(η)\mathbf{u}^2=\operatorname{res}(\eta), we have u−1∗res⁡(η)=u\mathbf{u}^{-1}*\operatorname{res}(\eta)=\mathbf{u}. Thus, we have CL(D,D−G+(η),u−1∗res⁡(η))=CL(D,D−G+(η),u)C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta))=C_L(D,D-G+(\eta),\mathbf{u}). Since D+(η)≥2GD+(\eta)\geq2G, we further have CL(D,G,u)⊆CL(D,D−G+(η),u)C_L(D,G,\mathbf{u})\subseteq C_L(D,D-G+(\eta),\mathbf{u}). This gives CL(D,G,u)⊆CL(D,D−G+(η),u−1∗res⁡(η))C_L(D,G,\mathbf{u})\subseteq C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta)). Now the desired result follows from Lemma 3.2 showing that the dual of CL(D,G,u)C_L(D,G,\mathbf{u}) is CL(D,D−G+(η),u−1∗res⁡(η))C_L(D,D-G+(\eta),\mathbf{u}^{-1}*\operatorname{res}(\eta)). □

Instantiation

In this section, we study the case of rational function field, i.e, F=Fq(x)F=\mathbb{F}_q(x) and conduct discussions separately for even and odd values of qq.

Lemma 4.1. For a nonzero function ff in FF, the divisor (f dx)(f\,\mathrm{d}x) is equal to (f)−2P∞(f)-2P_{\infty}.

Proof. For any place PP corresponding to a monic irreducible polynomial p(x)p(x), p(x)p(x) is a local parameter at PP. Thus, we have

νP(fdx)=νP(f(x)p′(x)d(p(x)))=νP(f(x)p′(x))=νP(f).\nu_P(fdx)=\nu_P\left(\frac{f(x)}{p'(x)}d(p(x))\right)=\nu_P\left(\frac{f(x)}{p'(x)}\right)=\nu_P(f).

As for P∞P_\infty, 1x\frac{1}{x} is a local parameter. Thus, we have

νP∞(fdx)=νP∞(−x2fd(1x))=νP∞(f)−2P∞.\nu_{P_\infty}(fdx)=\nu_{P_\infty}\left(-x^2f d\left(\frac{1}{x}\right)\right)=\nu_{P_\infty}(f)-2P_\infty.

The desired result follows. □

q is even

In this subsection, we consider qq-ary self-orthogonal MDS codes when qq is even.

Theorem 4.2. For any n≤qn\leq q and k≤n/2k\leq n/2, there exists a qq-ary [n,k][n,k] self-orthogonal MDS code.

Proof. Let α1,…,αn\alpha_1,\ldots,\alpha_n be pairwise distinct elements of Fq\mathbb{F}_q. Let PiP_i be the zero of x−αix-\alpha_i. Let DD be the divisor ∑i=1nPi\sum_{i=1}^n P_i. Let GG be the divisor (k−1)P∞(k-1)P_\infty. Consider the differential η=dx∏i=1n(x−αi)\eta=\frac{dx}{\prod_{i=1}^n(x-\alpha_i)}. Then (η)=−D+nP∞−2P∞=−D+(n−2)P∞(\eta)=-D+nP_\infty-2P_\infty=-D+(n-2)P_\infty. Thus, νPi(η)=−1\nu_{P_i}(\eta)=-1 and D−G+(η)=D−(k−1)P∞+(n−2)P∞−D=(n−k−1)P∞≥(k−2)P∞=−GD-G+(\eta)=D-(k-1)P_\infty+(n-2)P_\infty-D=(n-k-1)P_\infty\geq(k-2)P_\infty=-G as k≤n/2k\leq n/2. As every element of Fq\mathbb{F}_q is a square, there exists a vector u2=res⁡(η)\mathbf{u}^2=\operatorname{res}(\eta). Since νPi(η)=−1\nu_{P_i}(\eta)=-1, res⁡Pi(η)\operatorname{res}_{P_i}(\eta) is nonzero. Hence, u\mathbf{u} is a vector in (Fq)n(\mathbb{F}_q)^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\alpha_1,\ldots,\alpha_n be pairwise distinct elements of Fq\mathbb{F}_q with n≤qn\leq q. Consider the GRS code RS⁡k(α,u)\operatorname{RS}_k(\boldsymbol{\alpha},\mathbf{u}). Its dual code is RS⁡n−k(α,v)\operatorname{RS}_{n-k}(\boldsymbol{\alpha},\mathbf{v}), where v=(v1,…,vn)\mathbf{v}=(v_1,\ldots,v_n) is a nonzero solution of the equation

\begin{pmatrix} 1 & 1 & \cdots& 1\\ \alpha_1 & \alpha_2 & \cdots& \alpha_n\\ \alpha_1^2 & \alpha_2^2 & \cdots& \alpha_n^2\\ \vdots& \vdots& \ddots& \vdots\\ \alpha_1^{n-2} & \alpha_2^{n-2} & \cdots& \alpha_n^{n-2} \end{pmatrix} \begin{pmatrix} u_1x_1\\ u_2x_2\\ u_3x_3\\ \vdots\\ u_nx_n \end{pmatrix} =\mathbf{0}. \tag*{(7)}\end{pmatrix}

If k≤n/2k\leq n/2 and v=u\mathbf{v}=\mathbf{u}, i.e., u2\mathbf{u}^2 is a solution of

\begin{pmatrix} 1 & 1 & \cdots& 1\\ \alpha_1 & \alpha_2 & \cdots& \alpha_n\\ \alpha_1^2 & \alpha_2^2 & \cdots& \alpha_n^2\\ \vdots& \vdots& \ddots& \vdots\\ \alpha_1^{n-2} & \alpha_2^{n-2} & \cdots& \alpha_n^{n-2} \end{pmatrix} \begin{pmatrix} y_1\\ y_2\\ y_3\\ \vdots\\ y_n \end{pmatrix} =\mathbf{0}, \tag*{(8)}\end{pmatrix}

then RS⁡k⊥(α,u)=RS⁡n−k(α,v)=RS⁡n−k(α,u)⊇RS⁡k(α,u)\operatorname{RS}_k^\perp(\boldsymbol{\alpha},\mathbf{u})=\operatorname{RS}_{n-k}(\boldsymbol{\alpha},\mathbf{v})=\operatorname{RS}_{n-k}(\boldsymbol{\alpha},\mathbf{u})\supseteq\operatorname{RS}_k(\boldsymbol{\alpha},\mathbf{u}), i.e., RS⁡k(α,u)\operatorname{RS}_k(\boldsymbol{\alpha},\mathbf{u}) is self-orthogonal. To see that the code RS⁡k(α,u)\operatorname{RS}_k(\boldsymbol{\alpha},\mathbf{u}) coincides with the code CL(D,(k−1)P∞,u)\mathcal{C}_{L}(\mathcal{D},(k-1)P_\infty,\mathbf{u}) given in Theorem 4.2, we need to show that res⁡(η)\operatorname{res}(\eta) is a solution of (8). Note that the solution of (8) is (1∏j≠1(α1−αj),…,1∏j≠n(αn−αj))\left(\frac{1}{\prod_{j\neq1}(\alpha_1-\alpha_j)},\ldots,\frac{1}{\prod_{j\neq n}(\alpha_n-\alpha_j)}\right). Since η=1x−αi×1∏j≠i(x−αj)d(x−αj)\eta= \frac{1}{x-\alpha_i} \times\frac{1}{\prod_{j\ne i}(x-\alpha_j)}d(x-\alpha_j), we have res⁡Pi(η)=1∏j≠i(αi−αj)\operatorname{res}_{P_i}(\eta) = \frac{1}{\prod_{j\ne i}(\alpha_i-\alpha_j)}.

Then, we investigate a self-orthogonal MDS code when the length n=q+1n=q+1.

Theorem 4.4. For any 1≤k≤q/2−11 \le k \le q/2-1, there exists a qq-ary [q+1,k][q+1,k] self-orthogonal MDS code.

Proof. Let α1,…,αq\alpha_1,\ldots,\alpha_q be pairwise distinct elements of Fq\mathbb{F}_q. Let PiP_i be the zero of x−αix-\alpha_i for 1≤i≤q1 \le i \le q. Let PnP_n be the pole P∞P_\infty of xx. Let DD be the divisor ∑i=1nPi\sum_{i=1}^{n}P_i. Let a(x)∈Fq[x]a(x)\in\mathbb{F}_q[x] be an irreducible polynomial of degree q2+2≥3\frac{q}{2}+2\ge3 and let b(x)∈Fq[x]b(x)\in\mathbb{F}_q[x] be an irreducible polynomial of degree q2+2−(k−1)≥3\frac{q}{2}+2-(k-1)\ge3. Let c(x)c(x) be an irreducible polynomial of degree (q−1)−2(k−1)≥3(q-1)-2(k-1)\ge3. Consider the differential η=a2(x)c(x)b2(x)(xq−x)dx\eta=\frac{a^2(x)c(x)}{b^2(x)(x^q-x)}dx. Then

(η)=2A+C−2B−∑i=1nPi+(2deg⁡(b(x))−2deg⁡(a(x)−deg⁡(c(x))))P∞+(q−2)P∞(\eta)=2A+C-2B-\sum_{i=1}^{n}P_i+\left(2\deg(b(x))-2\deg(a(x)-\deg(c(x)))\right)P_\infty+(q-2)P_\infty

=2A+C−2B−D=2A+C-2B-D, where AA, BB, CC are the divisors satisfying (a(x))=A−deg⁡(a(x))P∞(a(x))=A-\deg(a(x))P_\infty, (b(x))=B−deg⁡(b(x))P∞(b(x))=B-\deg(b(x))P_\infty and (c(x))=C−deg⁡(c(x))P∞(c(x))=C-\deg(c(x))P_\infty. Put G=A−BG=A-B, then deg⁡(G)=k−1\deg(G)=k-1. Thus, CL(D,G)C_L(D,G) is a qq-ary [n,k][n,k]-MDS code. As νPi(η)=−1\nu_{P_i}(\eta)=-1 and D−G+(η)=D−G+2A+C−2B−D=A−B+C≥A−B=GD-G+(\eta)=D-G+2A+C-2B-D=A-B+C\ge A-B=G. As every element of Fq\mathbb{F}_q is a square, there exists a vector u\mathbf{u} satisfying u2=res⁡(η)\mathbf{u}^2=\operatorname{res}(\eta). Since νPi(η)=−1\nu_{P_i}(\eta)=-1, res⁡Pi(η)\operatorname{res}_{P_i}(\eta) is nonzero. Hence, u\mathbf{u} is a vector in (Fq∗)n(\mathbb{F}_q^*)^n. The desired result follows from Theorem 3.3. □\square

The above two theorems completely solves existence of qq-ary self-orthogonal MDS codes for codes of length up to q+1q+1 except for the case where code length is q+1q+1 and dimension is q/2q/2. The following result shows nonexistence of [q+1,q/2][q+1,q/2]-orthogonal MDS codes under the conjecture of the Main MDS conjecture. Before proving this nonexistence for arbitrary qq, let us show that it is true for q=2q=2 and 44.

Proposition 4.5. There are no qq-ary [q+1,q/2][q+1,q/2] self-orthogonal MDS codes for q=2q=2 and 44.

Proof. If q=2q=2, a binary [q+1,q/2][q+1,q/2] MDS code is a binary [3,1][3,1] MDS code. Thus, the distance of this code is 3 and hence the code must be {(000),(111)}\{(000),(111)\}. However, this code is not self-orthogonal.

Then, we focus on q=4q=4. Suppose that there were a 4-ary [5,2,4][5,2,4] self-orthogonal MDS code CC. Assume that two vectors (1,0,α1,α2,α3)(1,0,\alpha_1,\alpha_2,\alpha_3) and (0,1,β1,β2,β3)(0,1,\beta_1,\beta_2,\beta_3) form a systematic generator matrix GG of CC such that

(10α1α2α301β1β2β3)\begin{pmatrix} 1 & 0 & \alpha_1 & \alpha_2 & \alpha_3 \\ 0 & 1 & \beta_1 & \beta_2 & \beta_3 \end{pmatrix}

Thus, αi≠0\alpha_i\ne0 and βi≠0\beta_i\ne0 for all 1≤i≤31\le i\le3. Since the inner product of (1,0,α1,α2,α3)(1,0,\alpha_1,\alpha_2,\alpha_3) with itself is 0, we get 1+α12+α22+α32=01+\alpha_1^2+\alpha_2^2+\alpha_3^2=0, i.e., α1+α2+α3=1\alpha_1+\alpha_2+\alpha_3=1. Similarly, β1+β2+β3=1\beta_1+\beta_2+\beta_3=1. This also implies that the all-one vector (11111)(11111) belongs to C⊥C^\perp. Since 1+α+(α+1)=01+\alpha+(\alpha+1)=0, it is clear that {α1,α2,α3}={1,α,α+1}\{\alpha_1,\alpha_2,\alpha_3\}=\{1,\alpha,\alpha+1\}, where α\alpha is a root of x2+x+1x^2+x+1. This implies that two of α1,α2,α3\alpha_1,\alpha_2,\alpha_3 must be equal. Without loss of generality, we may assume that α1=α2\alpha_1=\alpha_2, then we must have α3=1\alpha_3=1 as α1+α2+α3=1\alpha_1+\alpha_2+\alpha_3=1. Hence, (1,0,α1,α2,α3)=(1,0,a,a,1)(1,0,\alpha_1,\alpha_2,\alpha_3)=(1,0,a,a,1). After scaling, the codeword (0,1,β1,β2,β3)(0,1,\beta_1,\beta_2,\beta_3) becomes (0,β3−1,u,v,1)(0,\beta_3^{-1},u,v,1) for some nonzero elements u,v∈F4u,v\in\mathbb{F}_4. Thus, we have ua+va+1=0ua+va+1=0, i.e., u+v=a−1u+v=a^{-1}. As two of u,v,1u,v,1 are equal, if u=vu=v the codeword

(1,0,a,a,1)−u−1a(0,β3−1,u,u,1)=(1,0,a,a,1)−(0,u−1aβ3−1,a,a,u−1a)(1,0,a,a,1)-u^{-1}a(0,\beta_3^{-1},u,u,1)=(1,0,a,a,1)-(0,u^{-1}a\beta_3^{-1},a,a,u^{-1}a)

would be Hamming weight at most 3. If u≠vu\ne v, we may assume that u=1u=1 and hence v=1+a−1=av=1+a^{-1}=a. This gives a contradiction as the codeword

(1,0,a,a,1)−(0,β3−1,1,a,1)(1,0,a,a,1)-(0,\beta_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 qq-ary [q+1,q/2,q/2+2][q+1,q/2,q/2+2] self-orthogonal MDS codes for even qq.

Proof. By Proposition 4.5, we can assume that q≥8q\ge8.

Suppose there were a qq-ary [q+1,q/2][q+1,q/2] self-orthogonal MDS code C\mathcal{C}. Then C⊥\mathcal{C}^{\perp} is a qq-ary [q+1,q/2+1][q+1,q/2+1] MDS code. Choose a vector c∈C⊥∖C\mathbf{c}\in\mathcal{C}^{\perp}\setminus\mathcal{C}. Let C1\mathcal{C}_1 be the qq-ary [q+2,q/2,q/2+2][q+2,q/2,q/2+2] code obtaining from C\mathcal{C} by adding 0 to every codeword of C\mathcal{C} such that

C1={(u,0):u∈C}⊆Fqq+2.\mathcal{C}_1=\{(\mathbf{u},0):\mathbf{u}\in\mathcal{C}\}\subseteq\mathbb{F}_q^{q+2}.

then we have dim⁡(C1)=dim⁡(C)=q/2\dim(\mathcal{C}_1)=\dim(\mathcal{C})=q/2. Let A\mathcal{A} be the code spanned by C1\mathcal{C}_1 and v=(c,1)\mathbf{v}=(\mathbf{c},1) such that

A=Span⁡{C1,v}.\mathcal{A}=\operatorname{Span}\{\mathcal{C}_1,\mathbf{v}\}.

We claim that v∉C1\mathbf{v}\notin\mathcal{C}_1. Suppose that v∈C1\mathbf{v}\in\mathcal{C}_1, there exits u∈C\mathbf{u}\in\mathcal{C} such that (c,1)=(u,0)(\mathbf{c},1)=(\mathbf{u},0), 1=0∈Fq1=0\in\mathbb{F}_q. There is a contradiction. Hence, v∉C1\mathbf{v}\notin\mathcal{C}_1. The dimension of A\mathcal{A} is dim⁡(C1)+1=q/2+1\dim(\mathcal{C}_1)+1=q/2+1. It is clear that the code A\mathcal{A} has length q+2q+2. We claim that the minimum distance of A\mathcal{A} is at least q/2+2q/2+2, i.e., A\mathcal{A} is a qq-ary [q+2,q/2+1,q/2+2][q+2,q/2+1,q/2+2]-MDS code. Indeed, assume that u′\mathbf{u}' is a nonzero codeword of A\mathcal{A}. If u′∈C1\mathbf{u}'\in\mathcal{C}_1, then wt⁡(u′)≥q/2+2\operatorname{wt}(\mathbf{u}')\ge q/2+2 as C1\mathcal{C}_1 has the minimum distance q/2+2q/2+2. If u′∉C1\mathbf{u}'\notin\mathcal{C}_1, then u′=α(c1,0)+β(c,1)\mathbf{u}'=\alpha(\mathbf{c}_1,0)+\beta(\mathbf{c},1) for some c1∈C\mathbf{c}_1\in\mathcal{C}, α∈Fq\alpha\in\mathbb{F}_q and β∈Fq∗\beta\in\mathbb{F}_q^*. As αc1+βc\alpha\mathbf{c}_1+\beta\mathbf{c} is a nonzero codeword of C⊥\mathcal{C}^{\perp}, it has weight at least q/2+1q/2+1. Hence, u′=α(c1,0)+β(c,1)\mathbf{u}'=\alpha(\mathbf{c}_1,0)+\beta(\mathbf{c},1) has weight at least q/2+2q/2+2.

In case q≥8q\ge8, for dimension of A\mathcal{A} we have q/2+1≠3q/2+1\ne3 and q−1q-1, hence there are no qq-ary [q+2,q/2+1,q/2+2][q+2,q/2+1,q/2+2]-MDS codes under the Main MDS conjecture. By Lemma 2.1, we have there are no qq-ary [q+1,q/2,q/2+2][q+1,q/2,q/2+2]-MDS codes under the Main MDS conjecture. □

By the Main MDS conjecture, we have qq-ary [q+2,3,q−1][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=4q=4.

Proposition 4.7. There do not exist any 4-ary [6,3][6,3] self-orthogonal MDS codes.

Proof. Suppose that there were such a code. Let

G:=(I3  P).G:=\left(I_3\ \ P\right).

be the systematic generator matrix, where I3I_3 is the 3×33\times3 identity matrix. Deleting the first row and first column gives a 2×52\times5 matrix G1G_1. Then the code generated by G1G_1 is a [5,2][5,2] self-orthogonal MDS code. This violates Theorem 4.6. □

q is odd

In this subsection, we investigate the existence of certain qq-ary self-orthogonal MDS codes for odd prime power qq.

Theorem 4.8. For any odd q≥3q \ge3 and any 1≤k≤(q+1)/21 \le k \le(q+1)/2 with k≠(q−1)/2k \ne(q-1)/2, there exists a qq-ary [q+1,k][q+1,k] self-orthogonal MDS code.

Proof. For q=3q=3, we need to show existence of a [4,2]3[4,2]_3 self-orthogonal MDS code. Indeed, the code generated by (1011)(1011) and (0112)(0112) is a [4,2]3[4,2]_3 self-orthogonal MDS code.

Now assume that q≥5q \ge5. Let α1,…,αq\alpha_1,\ldots,\alpha_q be pairwise distinct elements of Fq\mathbb{F}_q. Let PiP_i be the zero of x−αix-\alpha_i for 1≤i≤q1 \le i \le q. Let PnP_n be the pole P∞P_\infty of xx. Let a(x)∈Fq[x]a(x) \in\mathbb{F}_q[x] be a monic irreducible polynomial of degree k+1≥2k+1 \ge2 and let b(x)∈Fq[x]b(x) \in\mathbb{F}_q[x] be a monic irreducible polynomial of degree 2. If k=(q+1)/2k=(q+1)/2, set c(x)=1c(x)=1. If k≤(q−1)/2−1k \le(q-1)/2-1, choose c(x)c(x) to be a monic irreducible polynomial of degree (q+1)/2−k≥2(q+1)/2-k \ge2. Consider the differential η=−a2(x)c2(x)b2(x)(xq−x)dx\eta=-\frac{a^2(x)c^2(x)}{b^2(x)(x^q-x)}dx. Then, we have

(η)=2A+2C−2B−∑i=1qPi+(2deg⁡(b(x))−2deg⁡(a(x))−2deg⁡(c(x)))P∞+(q−2)P∞=2A+2C−2B−D(9)\begin{aligned} (\eta)=2A+2C-2B-\sum_{i=1}^{q}P_i+\left(2\deg(b(x))-2\deg(a(x))-2\deg(c(x))\right)P_\infty+(q-2)P_\infty\\ &=2A+2C-2B-D \tag*{(9)} \end{aligned}

where AA, BB, CC are the divisors satisfying (a(x))=A−deg⁡(a(x))P∞(a(x))=A-\deg(a(x))P_\infty, (b(x))=B−deg⁡(b(x))P∞(b(x))=B-\deg(b(x))P_\infty and (c(x))=C−deg⁡(c(x))P∞(c(x))=C-\deg(c(x))P_\infty. Let DD be the divisor ∑i=1qPi\sum_{i=1}^{q}P_i. Put G=A−BG=A-B, then deg⁡(G)=k−1\deg(G)=k-1. Thus, CL(D,G)C_L(D,G) is a qq-ary [n,k][n,k]-MDS code. As νPi(η)=−1\nu_{P_i}(\eta)=-1 and D−G+(η)=D−G+2A+2C−2B−D=A−B+2C≥A−B=GD-G+(\eta)=D-G+2A+2C-2B-D=A-B+2C \ge A-B=G from the equation (9).

For each 1≤i≤q=n−11 \le i \le q=n-1, let fi(x):=∏j≠i(x−αj)f_i(x):=\prod_{j\ne i}(x-\alpha_j). Then (x−αi)fi(x)=xq−x(x-\alpha_i)f_i(x)=x^q-x. Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=−1f_i(x)+(x-\alpha_i)f_i'(x)=-1. This gives fi(αi)=∏j≠i(αi−αj)=−1f_i(\alpha_i)=\prod_{j\ne i}(\alpha_i-\alpha_j)=-1. As η=−a2(x)c2(x)b2(x)∏j≠i(x−αj)d(x−αi)\eta=-\frac{a^2(x)c^2(x)}{b^2(x)\prod_{j\ne i}(x-\alpha_j)}d(x-\alpha_i), we have

res⁡Pi(η)=−a2(αi)c2(αi)b2(αi)∏j≠i(αi−αj)=−a2(αi)c2(αi)b2(αi)(−1)=a2(αi)c2(αi)b2(αi).\operatorname{res}_{P_i}(\eta)=-\frac{a^2(\alpha_i)c^2(\alpha_i)}{b^2(\alpha_i)\prod_{j\ne i}(\alpha_i-\alpha_j)}=-\frac{a^2(\alpha_i)c^2(\alpha_i)}{b^2(\alpha_i)(-1)}=\frac{a^2(\alpha_i)c^2(\alpha_i)}{b^2(\alpha_i)}.

Hence, res⁡Pi(η)\operatorname{res}_{P_i}(\eta) is a nonzero square in Fq\mathbb{F}_q for all 1≤i≤q=n−11 \le i \le q=n-1.

Let t=1xt=\frac{1}{x}. Then η=x2×a2(x)c2(x)b2(x)(xq−x)d(1x)=1t×a2(x)c2(x)b2(x)(xq−x)dt\eta=x^2\times\frac{a^2(x)c^2(x)}{b^2(x)(x^q-x)}d\left(\frac{1}{x}\right)=\frac{1}{t}\times\frac{a^2(x)c^2(x)}{b^2(x)(x^q-x)}dt. Thus, we have res⁡Pi(η)=1\operatorname{res}_{P_i}(\eta)=1 which is a square. In conclusion, res⁡(η)\operatorname{res}(\eta) is equal to u2\mathbf{u}^2 for some u∈(Fq∗)n\mathbf{u}\in(\mathbb{F}_q^*)^n. The desired result follows from Theorem 3.3. □\square

As in the even characteristic case, the above theorem does not yield a [q+1,(q−1)/2]q[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=3q=3 and 55 as shown below.

Proposition 4.9. There are no qq-ary [q+1,(q−1)/2][q+1,(q-1)/2] self-orthogonal MDS codes for q=3q=3 and 55.

Proof. Let q=3q=3, Suppose tht there were a [q+1,(q−1)/2]3[q+1,(q-1)/2]_3 self-orthogonal MDS, i.e., a [4,1,4]3[4,1,4]_3 self-orthogonal code. Assume that this code is generated by (α1,…,α4)(\alpha_1,\ldots,\alpha_4) with αi∈F3\alpha_i\in\mathbb{F}_3. Then, we must have αi≠0\alpha_i\ne0 and hence αi2=1\alpha_i^2=1. Thus, ∑i=14αi2=1\sum_{i=1}^{4}\alpha_i^2=1. This means that (α1,…,α4)(\alpha_1,\ldots,\alpha_4) is not orthogonal to itself. This implies that there are no qq-ary [q+1,(q−1)/2][q+1,(q-1)/2] self-orthogonal MDS codes for q=3q=3.

::: Now let q=5q=5. Suppose that there were a [6,2,5]5[6,2,5]_5 self-orthogonal MDS code CC. Let a:=(1,0,α1,…,α4)\mathbf{a}:=(1,0,\alpha_1,\ldots,\alpha_4) and b:=(0,1,β1,…,β4)\mathbf{b}:=(0,1,\beta_1,\ldots,\beta_4) form a systematic generator matrix with αi,βj∈F5\alpha_i,\beta_j\in\mathbb{F}_5. Then αi2=±1\alpha_i^2=\pm1 and βi2=±1\beta_i^2=\pm1 for all 1≤i≤41\leq i\leq4. As 12+∑i=14αi2=01^2+\sum_{i=1}^{4}\alpha_i^2=0, we must have αi2=1\alpha_i^2=1 for all 1≤i≤41\leq i\leq4. Similarly, we have have βi2=1\beta_i^2=1 for all 1≤i≤41\leq i\leq4. This means that αi=±1\alpha_i=\pm1 and βi=±1\beta_i=\pm1, 1≤i≤41\leq i\leq4. Let II be the set {i∈[4]:αi=βi}\{i\in[4]:\alpha_i=\beta_i\}, then ∣I∣≤1|I|\leq1. Otherwise, a−b\mathbf{a}-\mathbf{b} would have the Hamming weight at most 4. Let J⊆[4]∖IJ\subseteq[4]\setminus I with ∣J∣=3|J|=3 and let {ℓ}=[4]∖J\{\ell\}=[4]\setminus J. Then the inner product ⟨a,b⟩=∑i=14αiβi=∑i∈Jαiβi+αℓβℓ=−3+1=−2\langle\mathbf{a},\mathbf{b}\rangle=\sum_{i=1}^{4}\alpha_i\beta_i=\sum_{i\in J}\alpha_i\beta_i+\alpha_\ell\beta_\ell=-3+1=-2 or −3−1=1-3-1=1. In any case, a\mathbf{a} and b\mathbf{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 qq-ary [q+1,(q−1)/2][q+1,(q-1)/2] self-orthogonal MDS codes contained in a qq-ary [q+1,(q+1)/2][q+1,(q+1)/2] self-dual MDS code.

Proof. Let CC be a qq-ary [q+1,(q+1)/2][q+1,(q+1)/2] self-dual MDS code. Suppose there were a subcode AA of CC that is a qq-ary [q+1,(q−1)/2][q+1,(q-1)/2] self-orthogonal MDS code. Let {c1,…,c(q−1)/2}\{c_1,\ldots,c_{(q-1)/2}\} be an Fq\mathbb{F}_q-basis of AA. Extend this basis to an Fq\mathbb{F}_q basis {c1,…,c(q−1)/2,c(q+1)/2}\{c_1,\ldots,c_{(q-1)/2},c_{(q+1)/2}\} of CC. Then the code generated by {(0,c1),…,(0,c(q−1)/2),(1,c(q+1)/2)}\{(0,c_1),\ldots,(0,c_{(q-1)/2}),(1,c_{(q+1)/2})\} is a qq-ary [q+2,(q+1)/2][q+2,(q+1)/2]-MDS code. This is contradictory to the Main MDS conjecture. □

:::

In the following we show that if qq is divisible by the code length nn and the dimension satisfies k≤n/2k\leq n/2, then there exists a self-orthogonal MDS code.

Theorem 4.11. Let n∣qn\mid q, then for any 1≤k≤n/21\leq k\leq n/2, there exists a qq-ary [n,k][n,k] self-orthogonal MDS code.

Proof. Let q=pℓq=p^\ell, where pp is a prime and ℓ\ell is an integer with ℓ≥1\ell\geq1. Choose an Fp\mathbb{F}_p-subspace VV of Fq\mathbb{F}_q with ∣V∣=n|V|=n and label the elements of VV by V={α1,…,αn}V=\{\alpha_1,\ldots,\alpha_n\}. Then, we have the Fp\mathbb{F}_p-linearized polynomial fV(x):=∏i=1n(x−αi)f_V(x):=\prod_{i=1}^{n}(x-\alpha_i). Let β\beta be the coefficient of xx in fV(x)f_V(x). Then the derivative fV′(x)f'_V(x) is equal to β\beta.

Let DD be the divisor ∑i=1nPi\sum_{i=1}^{n}P_i and let G=(k−1)P∞G=(k-1)P_\infty. Consider the differential η=fV(x)fV′(x)dx\eta=\frac{f_V(x)}{f'_V(x)}dx. Then (η)=−D+(n−2)P∞(\eta)=-D+(n-2)P_\infty. Thus, D−G+(η)=D−(k−1)P∞−D+(n−2)P∞=(n−k−1)P∞≥(k−1)P∞=GD-G+(\eta)=D-(k-1)P_\infty-D+(n-2)P_\infty=(n-k-1)P_\infty\geq(k-1)P_\infty=G. So, we have D+(η)≥2GD+(\eta)\geq2G.

For each 1≤i≤n1\leq i\leq n, let fi(x):=∏j≠i(x−αj)f_i(x):=\prod_{j\neq i}(x-\alpha_j). Then (x−αi)fi(x)=fV(x)(x-\alpha_i)f_i(x)=f_V(x). Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=fV′(x)=βf_i(x)+(x-\alpha_i)f'_i(x)=f'_V(x)=\beta. This gives fi(αi)=βf_i(\alpha_i)=\beta. As η=1x−αi×β∏j≠i(x−αj)d(x−αi)\eta=\frac{1}{x-\alpha_i}\times\frac{\beta}{\prod_{j\neq i}(x-\alpha_j)}d(x-\alpha_i), we have res⁡Pi=β∏j≠i(αi−αj)=βfi(αi)=1\operatorname{res}_{P_i}=\frac{\beta}{\prod_{j\neq i}(\alpha_i-\alpha_j)}=\frac{\beta}{f_i(\alpha_i)}=1. Hence, res⁡Pi\operatorname{res}_{P_i} is a nonzero square in Fq\mathbb{F}_q for all 1≤i≤n1\leq i\leq n. Hence, res⁡(η)\operatorname{res}(\eta) is equal to u2\mathbf{u}^2 for some u∈(Fq∗)n\mathbf{u}\in(\mathbb{F}_q^*)^n. Finally, by Theorem 3.3 the code CL(D,G,u)C_L(D,G,\mathbf{u}) is a qq-ary [n,k][n,k] self-orthogonal MDS code. □

Furthermore, we consider the case where nn divides q−1q-1.

Theorem 4.12. Let n∣(q−1)n\mid(q-1), then for any 1≤k≤(n−1)/21\leq k\leq(n-1)/2, there exists a qq-ary [n,k][n,k] self-orthogonal MDS code.

Proof. Let VV be a multiplicative subgroup of size nn in Fq∗\mathbb{F}_q^* and label the elements of VV by {α1,…,αn}\{\alpha_1,\ldots,\alpha_n\}. Then xn−1=∏i=1n(x−αi)x^n-1=\prod_{i=1}^{n}(x-\alpha_i). Let DD be the divisor ∑i=1nPi\sum_{i=1}^{n} P_i and let G=kP0−P∞G = kP_0 - P_\infty, where P0P_0 is the zero of xx. Consider the differential η=nxn−1xn−1dx\eta= \frac{nx^{n-1}}{x^n-1}dx. Then (η)=(n−1)P0−D+(n−(n−1)−2)P∞=(n−1)P0−D−P∞(\eta) = (n-1)P_0-D+(n-(n-1)-2)P_\infty= (n-1)P_0-D-P_\infty. Thus, D−G+(η)=D−kP0+P∞+(n−1)P0−D−P∞=(n−1−k)P0≥(k+1)P0≥kP0−P∞=GD-G+(\eta) = D-kP_0+P_\infty+(n-1)P_0-D-P_\infty= (n-1-k)P_0 \ge(k+1)P_0 \ge kP_0-P_\infty= G.

For each 1≤i≤n1 \le i \le n, let fi(x):=∏j≠i(x−αj)f_i(x) := \prod_{j\ne i}(x-\alpha_j). Then (x−αi)fi(x)=xn−1(x-\alpha_i)f_i(x)=x^n-1. Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=nxn−1f_i(x)+(x-\alpha_i)f_i'(x)=nx^{n-1}. This gives fi(αi)=nαin−1f_i(\alpha_i)=n\alpha_i^{n-1}. As η=1x−αi×nxn−1∏j≠i(x−αj)d(x−αi)\eta=\frac{1}{x-\alpha_i}\times\frac{nx^{n-1}}{\prod_{j\ne i}(x-\alpha_j)}d(x-\alpha_i), we have res⁡Pi(η)=nαin−1∏j≠i(αi−αj)=1\operatorname{res}_{P_i}(\eta)=\frac{n\alpha_i^{n-1}}{\prod_{j\ne i}(\alpha_i-\alpha_j)}=1. Hence, res⁡Pi\operatorname{res}_{P_i} is a nonzero square in Fq\mathbb{F}_q for all 1≤i≤n1\le i\le n, i.e., res⁡(η)\operatorname{res}(\eta) is equal to u2\mathbf{u}^2 for some u∈(Fq∗)n\mathbf{u}\in(\mathbb{F}_q^*)^n. By Theorem 3.3 the code CL(D,G,u)C_L(D,G,\mathbf{u}) is a qq-ary [n,k][n,k] self-orthogonal MDS code.

Theorem 4.11 completely solves the existence problem of self-orthogonal MDS code if n∣(q−1)n|(q-1) except for the case where nn is even and k=n/2k=n/2. It was shown in [17] that when q≡3(mod4)q\equiv3\pmod{4}, the necessary and sufficient condition for the existence of Euclidean self-dual codes over Fq\mathbb{F}_q is 4∣n4|n. Thus, when n∣(q−1)n|(q-1) and q≡3(mod4)q\equiv3\pmod{4}, we must have 4∤n4\nmid n. This implies that there exist no [n,n/2,n/2+1][n,n/2,n/2+1] self-dual MDS codes over Fq\mathbb{F}_q when n∣(q−1)n|(q-1) and q≡3(mod4)q\equiv3\pmod{4}. Furthermore, it was shown in [21] that there exist qq-ary self-dual MDS codes if q≡1(mod4)q\equiv1\pmod{4} and n∣(q−1)n|(q-1) with n<q−1n<q-1. Thus, the only remaining unsolved case for n∣(q−1)n|(q-1) is whether there are qq-ary self-dual MDS codes for q≡1(mod4)q\equiv1\pmod{4} and n=q−1n=q-1. This case is more complicated. For instance, there exist no qq-ary self-dual MDS codes of length q−1q-1 for q=5,13q=5,13 etc, while there are indeed qq-ary self-dual MDS codes of length q−1q-1 for q=9q=9 (see [5]).

Theorem 4.13. There exists a qq-ary [n,k][n,k] self-orthogonal MDS code if k,nk,n satisfies

(i) (n+m)∣q(n+m)|q and 1≤k≤(n−m)/21\le k\le(n-m)/2; or

(ii) (n+m)∣(q−1)(n+m)|(q-1) and 1≤k≤(n−m−1)/21\le k\le(n-m-1)/2.

Proof. Assume that (n+m)∣q(n+m)|q. Let q=pℓq=p^\ell for a prime pp and an integer ℓ≥1\ell\ge1. Choose an Fq\mathbb{F}_q subspace VV of Fq\mathbb{F}_q with ∣V∣=n+m|V|=n+m and label the elements of VV by V={α1,…,αn,β1,…,βm}V=\{\alpha_1,\ldots,\alpha_n,\beta_1,\ldots,\beta_m\}. Then we have the Fp\mathbb{F}_p-linearized polynomial fV(x):=∏i=1n(x−αi)∏j=1m(x−βj)f_V(x):=\prod_{i=1}^{n}(x-\alpha_i)\prod_{j=1}^{m}(x-\beta_j). Let β\beta is the coefficient of xx of fV(x)f_V(x). Then the derivative fV′(x)f_V'(x) is equal to β\beta.

Let DD be the divisor ∑i=1nPi\sum_{i=1}^{n}P_i and let G=(k+m−1)P∞−∑j=1mPβjG=(k+m-1)P_\infty-\sum_{j=1}^{m}P_{\beta_j}. Consider the differential η=βfV(x)dx\eta=\frac{\beta}{f_V(x)}dx. Then (η)=−D−∑j=1mPβj+(n+m−2)P∞(\eta)=-D-\sum_{j=1}^{m}P_{\beta_j}+(n+m-2)P_\infty. 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=GD-G+(\eta)=D-(k+m-1)P_\infty+\sum_{j=1}^{m}P_{\beta_j}-D-\sum_{j=1}^{m}P_{\beta_j}+(n+m-2)P_\infty=(n-k-1)P_\infty\ge(k+m-1)P_\infty-\sum_{j=1}^{m}P_{\beta_j}=G since k≤(n−m)/2k\le(n-m)/2.

For each 1≤i≤n1\le i\le n, let fi(x):=1x−αifV(x)f_i(x):=\frac{1}{x-\alpha_i}f_V(x). Then (x−αi)fi(x)=fV(x)(x-\alpha_i)f_i(x)=f_V(x). Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=fV′(x)=βf_i(x)+(x-\alpha_i)f_i'(x)=f_V'(x)=\beta. This gives fi(αi)=βf_i(\alpha_i)=\beta. As η=1x−αi×β∏j≠i(x−αj)∏j=1m(x−βj)d(x−αi)\eta=\frac{1}{x-\alpha_i}\times\frac{\beta}{\prod_{j\ne i}(x-\alpha_j)\prod_{j=1}^{m}(x-\beta_j)}d(x-\alpha_i), we have res⁡Pi(η)=β∏j≠i(αi−αj)∏j=1m(αi−βj)=1\operatorname{res}_{P_i}(\eta)=\frac{\beta}{\prod_{j\ne i}(\alpha_i-\alpha_j)\prod_{j=1}^{m}(\alpha_i-\beta_j)}=1. Hence, res⁡Pi(η)\operatorname{res}_{P_i}(\eta) is a nonzero square in Fq\mathbb{F}_q for all 1≤i≤n1\le i\le n. This means that res⁡(η)\operatorname{res}(\eta) is equal to u2\mathbf{u}^2 for some u∈(Fq∗)n\mathbf{u}\in(\mathbb{F}_q^*)^n. Finally, by Theorem 3.3 the code CL(D,G,u)C_L(D,G,\mathbf{u}) is a qq-ary [n,k][n,k] self-orthogonal MDS code. Now assume that (n+m)∣(q−1)(n+m)\mid(q-1). Let VV be a multiplicative subgroup of Fq∗\mathbb{F}_q^* and label the elements of VV by {α1,…,αn,β1,…,βm}\{\alpha_1,\ldots,\alpha_n,\beta_1,\ldots,\beta_m\}. Then xn+m−1=∏i=1n(x−αi)∏j=1m(x−βj)x^{n+m}-1=\prod_{i=1}^{n}(x-\alpha_i)\prod_{j=1}^{m}(x-\beta_j).

Let DD be the divisor ∑i=1nPi\sum_{i=1}^{n}P_i and let G=(k+m)P0−∑j=1mPβj−P∞G=(k+m)P_0-\sum_{j=1}^{m}P_{\beta_j}-P_\infty, where P0P_0 is the zero of xx. Consider the differential η=(n+m)xn+m−1xn+m−1dx\eta=\frac{(n+m)x^{n+m-1}}{x^{n+m}-1}dx. Then (η)=−D−∑j=1mPβj+(n+m−1)P0−P∞(\eta)=-D-\sum_{j=1}^{m}P_{\beta_j}+(n+m-1)P_0-P_\infty. 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∞=GD-G+(\eta)=D-(k+m)P_0+\sum_{j=1}^{m}P_{\beta_j}+P_\infty-D-\sum_{j=1}^{m}P_{\beta_j}+(n+m-1)P_0-P_\infty=(n-k-1)P_0\geq(k+m)P_0-\sum_{j=1}^{m}P_{\beta_j}-P_\infty=G.

For each 1≤i≤n1\leq i\leq n, let fi(x):=1x−αi(xn+m−1)=∏j≠i(x−αj)∏j=1m(x−βj)f_i(x):=\frac{1}{x-\alpha_i}(x^{n+m}-1)=\prod_{j\neq i}(x-\alpha_j)\prod_{j=1}^{m}(x-\beta_j). Then (x−αi)fi(x)=xn+m−1(x-\alpha_i)f_i(x)=x^{n+m}-1. Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=(n+m)xm+n−1f_i(x)+(x-\alpha_i)f_i'(x)=(n+m)x^{m+n-1}. This gives fi(αi)=(n+m)αim+n−1f_i(\alpha_i)=(n+m)\alpha_i^{m+n-1}. As η=(n+m)xn+m−1x−αi1fi(x)d(x−αi)\eta=\frac{(n+m)x^{n+m-1}}{x-\alpha_i}\frac{1}{f_i(x)}d(x-\alpha_i), we have res⁡Pi(η)=(m+n)αim+n−1fi(αi)=1\operatorname{res}_{P_i}(\eta)=\frac{(m+n)\alpha_i^{m+n-1}}{f_i(\alpha_i)}=1. Hence, res⁡Pi(η)\operatorname{res}_{P_i}(\eta) is a nonzero square in Fq\mathbb{F}_q for all 1≤i≤q=n1\leq i\leq q=n. This means that res⁡(η)\operatorname{res}(\eta) is equal to u2u^2 for some u∈(Fq∗)n\mathbf{u}\in(\mathbb{F}_q^*)^n. Finally, by Theorem 3.3 the code CL(D,G,u)C_L(D,G,\mathbf{u}) is a qq-ary [n,k][n,k] self-orthogonal MDS code.

Lemma 4.14. Assume that q≡1(mod4)q\equiv1\pmod{4}. Let pp be the characteristic of Fq\mathbb{F}_q. Let VV be an Fp\mathbb{F}_p-subspace of Fq\mathbb{F}_q. Then the coefficient of xx of fV(x)=∏α∈V(x−α)f_V(x)=\prod_{\alpha\in V}(x-\alpha) is a square of Fq\mathbb{F}_q.

Proof. We prove this by induction on the Fp\mathbb{F}_p-dimension of VV.

For dim⁡Fq(V)=1\dim_{\mathbb{F}_q}(V)=1, we have that VV is spanned by a nonzero element γ∈Fq\gamma\in\mathbb{F}_q. Thus, fV(x)=∏λ∈Fp(x−λγ)=xp−γp−1xf_V(x)=\prod_{\lambda\in\mathbb{F}_p}(x-\lambda\gamma)=x^p-\gamma^{p-1}x. As −1-1 is a square under the condition that q≡1(mod4)q\equiv1\pmod{4} and p−1p-1 is even, −γp−1-\gamma^{p-1} is a square.

Suppose that it is true for ℓ−1\ell-1 for ℓ≥2\ell\geq2. Let dim⁡Fq(V)=ℓ\dim_{\mathbb{F}_q}(V)=\ell. Write VV as a direct sum of Fp\mathbb{F}_p-vector space UU of dimension ℓ−1\ell-1 and Fp\mathbb{F}_p-vector space WW of dimension 11. Assume that WW is spanned by β∈Fq∖U\beta\in\mathbb{F}_q\setminus U. Then we have

fV(x)=∏λ∈Fp∏α∈V(x−α+λγ)=∏λ∈FpfU(x+λβ)=∏λ∈Fp(fU(x)+λfU(β))=fU(x)p−fU(β)p−1fU(x).\begin{aligned} f_V(x)&=\prod_{\lambda\in\mathbb{F}_p}\prod_{\alpha\in V}(x-\alpha+\lambda\gamma)=\prod_{\lambda\in\mathbb{F}_p}f_U(x+\lambda\beta)\\ &=\prod_{\lambda\in\mathbb{F}_p}(f_U(x)+\lambda f_U(\beta))=f_U(x)^p-f_U(\beta)^{p-1}f_U(x). \end{aligned}

This implies that the coefficient of xx in fV(x)f_V(x) is equal to the product of −fU(β)p−1-f_U(\beta)^{p-1} with the coefficient of xx in fU(x)f_U(x). Hence, it is a square by induction. The proof is completed.

Theorem 4.15

Theorem 4.15. Assume that q≡1(mod4)q\equiv1\pmod{4}. Let (n−1)∣q(n-1)\mid q and n<q+1n<q+1, then for any 1≤k≤n/21\leq k\leq n/2, there exists a qq-ary [n,k][n,k] self-orthogonal MDS code.

Proof. Let q=pℓq=p^\ell for a prime pp and an integer ℓ≥1\ell\geq1. Choose an Fp\mathbb{F}_p subspace VV of Fq\mathbb{F}_q with ∣V∣=n−1|V|=n-1 and label the elements of VV by V={α1,…,αn−1}V=\{\alpha_1,\ldots,\alpha_{n-1}\}. Then we have the Fp\mathbb{F}_p-linearized polynomial fV(x):=∏i=1n−1(x−αi)f_V(x):=\prod_{i=1}^{n-1}(x-\alpha_i). Let β\beta is the coefficient of xx in fV(x)f_V(x). Then the derivative fV′(x)f_V'(x) is equal to β\beta. Choose γ∈Fq∖V\gamma\in\mathbb{F}_q\setminus V (this is possible since n−1<qn-1<q). Let DD be the divisor P∞+∑i=1n−1PiP_{\infty}+\sum_{i=1}^{n-1}P_i. Let G=(k−1)PγG=(k-1)P_{\gamma}. Consider the differential η=(x−γ)n−2fV(x)dx\eta=\frac{(x-\gamma)^{n-2}}{f_V(x)}dx. Then (η)=−D+(n−2)Pγ(\eta)=-D+(n-2)P_{\gamma}. Thus, D−G+(η)=D−(k−1)Pγ−D+(n−2)Pγ=(n−k−1)Pγ≥(k−1)Pγ=GD-G+(\eta)=D-(k-1)P_{\gamma}-D+(n-2)P_{\gamma}=(n-k-1)P_{\gamma}\geq(k-1)P_{\gamma}=G.

For each 1≤i≤n−11\leq i\leq n-1, let fi(x):=∏j≠i(x−αj)f_i(x):=\prod_{j\neq i}(x-\alpha_j). Then (x−αi)fi(x)=fV(x)(x-\alpha_i)f_i(x)=f_V(x). Taking the derivatives for the both sides gives fi(x)+(x−αi)fi′(x)=fV′(x)=βf_i(x)+(x-\alpha_i)f_i'(x)=f_V'(x)=\beta. This gives fi(αi)=βf_i(\alpha_i)=\beta. As η=1x−αi×(x−γ)n−2∏j≠i(x−αj)d(x−αi)\eta=\frac{1}{x-\alpha_i}\times\frac{(x-\gamma)^{n-2}}{\prod_{j\neq i}(x-\alpha_j)}d(x-\alpha_i), we have res⁡Pi(η)=(αi−γ)n−2∏j≠i(αi−αj)=(αi−γ)n−2β\operatorname{res}_{P_i}(\eta)=\frac{(\alpha_i-\gamma)^{n-2}}{\prod_{j\neq i}(\alpha_i-\alpha_j)}=\frac{(\alpha_i-\gamma)^{n-2}}{\beta}. Since nn is even and β\beta is a square, thus res⁡Pi(η)\operatorname{res}_{P_i}(\eta) is a nonzero square in Fq\mathbb{F}_q for all 1≤i≤n−11\leq i\leq n-1. Furthermore, res⁡P∞(η)=−1\operatorname{res}_{P_{\infty}}(\eta)=-1. Hence, res⁡(η)\operatorname{res}(\eta) is equal to u2\mathbf{u}^2 for some u∈(Fq∗)n\mathbf{u}\in(\mathbb{F}_q^*)^n. Finally, by Theorem 3.3 the code CL(D,G,u)C_L(D,G,\mathbf{u}) is a qq-ary [n,k][n,k] self-orthogonal MDS code. □

National Key Laboratory of Wireless Communications, University of Electronic Science and Technology of China, Chengdu, China

Email address: [email protected]

References

  1. [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. [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. [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. [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. [5]M. Grassl and T. A. Gulliver, ”On self-dual MDS codes,” in Proc. of ISIT, pp. 1954-1957, 2008.DOI
  6. [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. [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. [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. [9]M. Harada and H. Kharaghani, ”Orthogonal designs and MDS Euclidean self-dual codes,” Australas. J. Combin., vol. 35, pp. 57-67, 2006.
  10. [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. [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. [12]J. L. Kim and Y. Lee, ”MDS Euclidean self-dual codes,” in Proc. of ISIT, pp. 1872-1877, 2004.DOI
  13. [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. [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. [15]S. Ling and C. Xing, ”Coding Theory: A First Course”, Cambridge University Press, 2004.DOI
  16. [16]H. Niederreiter and C.P. Xing, Rational Points on Curves over Finite Fields: Theory and Applications, LMS 285, Cambridge, 2001.
  17. [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. [18]H. Stichtenoth, Algebraic Function Fields and Codes, Graduate Texts in Mathematics 254, Springer Verlag, 2009.DOI
  19. [19]M. A. Tsfasman and S.G. Vlăduţ, Algebraic-Geometric Codes, Dordrecht, The Netherlands: Kluwer, 1991.DOI
  20. [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. [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. [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. [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

Paper details

vlnc:W_zt32yrwy
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC0-1.0
Usage

views · 8

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents