New families of additive non-RS MDS codes and ACD codes from twisted Reed-Solomon codes
Xia Li, Yu Wang, Yansheng Wu
XIA LI, YU WANG, AND YANSHENG WU
ABSTRACT. Additive codes generalize linear codes and play an important role in the construction of quantum codes. As generalizations of linear MDS codes, additive MDS codes have received much research attention. As an important subclass of additive codes, ACD codes are widely used for quantum error correction. In this paper, we study single-twist additive generalized twisted Reed-Solomon (GTRS) codes over finite fields. We derive necessary and sufficient conditions for these codes to be MDS for arbitrary hook and twist parameters. Then we employ Schur squares to prove that such additive MDS codes are not monomially equivalent to additive Reed-Solomon codes. We also identify a class of additive GTRS codes whose duals remain additive GTRS codes, and show that, for all sufficiently large prime powers q whose characteristic avoids a finite set, such GTRS codes yield ACD codes.
1. INTRODUCTION
Maximum distance separable (MDS) codes are optimal block codes that satisfy the equality condition of the Singleton bound. The Hamming distance quantifies the error-detection and error-correction performance of error-correcting codes. MDS codes meet the Singleton bound with equality and attain the largest possible minimum distance for fixed length and code size. Singleton [8] originally proposed and investigated MDS codes, motivated by their utility for constructing large constant-weight binary codes with considerable Hamming distances. Reed and Solomon [9] developed generalized Reed-Solomon (GRS) codes, the most extensively researched linear MDS code family to date. Relying on strong burst error correction ability, GRS codes guarantee stable data transmission for optical discs and digital audio tapes. In addition, they serve as fundamental building blocks for DNA error correction codes [10, 11] and locally recoverable codes deployed in distributed storage systems [12, 13]. Besides GRS codes, there are other well-known constructions of linear MDS codes with the help of n-arcs in projective geometry [14, 15] and circulant Cauchy matrices [16]. MDS codes find practical uses in network coding, cryptography, data storage and quantum mechanics and they are closely connected with n-arcs and orthogonal arrays, motivating abundant studies on their constructions [5, 17, 18, 19, 20].
Additive codes generalize linear codes over finite fields, maintaining favorable algebraic structures despite being nonlinear objects and can be completely described in terms of a basis.
2010 Mathematics Subject Classification. 94B05.
Key words and phrases. Additive codes, additive MDS codes, ACD codes, twisted Reed-Solomon codes.
Xia Li is with College of Science, Nanjing University of Posts and Telecommunications, Hubei Key Laboratory of Applied Mathematics (Hubei University), Nanjing, 211100, P. R. China (e-mail: lixia4675601@163.com).
Yu Wang is with College of Science, Nanjing University of Posts and Telecommunications, Nanjing, 211100, P. R. China (e-mail: 2225075357@qq.com).
Yansheng Wu is with School of Computer Science, Nanjing University of Posts and Telecommunications, Nanjing, 211100, P. R. China (e-mail: yanshengwu@njupt.edu.cn).
The work of Xia Li was supported by National Natural Science Foundation of China (No. 12301668) and Open Foundation of Hubei Key Laboratory of Applied Mathematics (Hubei University). The work of Yansheng Wu was supported in part by the National Natural Science Foundation of China under Grant 62372247 and Grant 12101326, and in part by China Postdoctoral Science Foundation, under Grant 2023M740958.
LI, WANG, AND WU
Calderbank et al. [20] first investigated F2-additive codes over F4 as well as their duals with respect to the trace bilinear form, and further adopted these codes to construct quantum stabilizer codes. Bierbrauer and Edel later generalized the above theoretical framework to arbitrary finite fields [21]. Recently, Shi et al. [22] pointed out that designing orthogonal direct-sum masking schemes only requires the additivity and complementarity of codes rather than linearity. Such masking schemes are widely adopted to defend sensitive information against side-channel attacks (SCA) and fault injection attacks (FIA). Accordingly, additive codes possessing complementary duals (ACD codes) can serve as countermeasures against both passive and active side-channel analysis in embedded cryptosystems. Driven by this practical motivation, Shi et al. [22] investigated F2-additive complementary dual codes over F4, and constructed F4-valued ACD codes from binary codes via the standard trace bilinear form as well as the Hermitian trace bilinear form. In another recent work, Choi et al. [23] provided methods to construct ACD codes over finite fields. They also listed some ACD codes with good parameters over F4, F8 and F9, and identified some MDS ACD codes among these codes.
In a recent work, Beelen et al. [24] introduced and studied twisted Reed-Solomon (TRS) codes with one twist as a natural generalization of RS codes and showed that these codes are not MDS in general, and characterized two MDS subclasses of single-twist TRS codes. In another study [25], the authors pointed out that the dual codes of ordinary TRS codes usually do not belong to the TRS family, but a special type of TRS codes is closed under the dual operation; additionally, a kind of TRS codes can resist Sidelnikov-Shestakov and Wieschebrink attacks against the McEliece cryptosystem. Subsequently, Beelen et al. [5] generalized single-twist TRS codes to TRS codes with ℓ twists, constructed multiple MDS TRS subfamilies, and proved that plenty of TRS codes are not monomially equivalent to classical RS codes. Furthermore, Liu and Liu [19] put forward construction approaches for MDS LCD codes over finite fields by virtue of generalized twisted Reed-Solomon (GTRS) codes equipped with ℓ twists.
Huffman extended the Singleton-type bound for additive codes in subsequent research in [3]. As optimal codes achieving this bound, additive MDS codes correspond to geometric structures such as pseudo-arcs [26] and serve as fundamental building blocks for quantum stabilizer codes [27]. Ball et al. [28] proved that any Fq-additive MDS code with length n and additive dimension 2k over Fq2 is linear over Fq2 under certain premises. In recent work, Yadav and Sharma [2] investigated new additive codes from generalized twisted Reed-Solomon codes (GTRS codes) and they obtained the necessary and sufficient conditions for the code to be MDS when t=1 and 0≤h≤k−1. Jiayu Ma et al. [1] derived the necessary and sufficient conditions for the code to be MDS when t=2 and h=k−1. Thus, this paper focuses on constructing additive MDS codes via additive GTRS codes for general h and t.
This paper is organized as follows. In Section 2, we introduce the necessary foundational notions to derive our main results, which consist of additive codes, their Singleton bound, additive GRS code, additive GTRS code and the Schur product. In Section 3, we construct a new class of additive non-RS MDS codes from twisted Reed-Solomon codes. We also identify a class of additive GTRS codes whose duals remain additive GTRS codes. In Section 4, we provide a construction for ACD codes based on additive GTRS codes. In Section 5, we present a brief conclusion.
2. PRELIMINARY
In this section, we list basic definitions needed for proving our main results. Let q be a prime power, r≥2 an integer and n denote a positive integer. The set Fqrn consisting of all n-dimensional tuples with entries taken from Fqr forms a vector space of dimension nr over the ground field Fq. The vector space operations here refer to component-wise addition together with scalar multiplication where scalars are selected from Fq. Two additive codes of length n over Fqr are said to be monomially equivalent if a generator matrix of one code can be obtained from the generator matrix of the other code by post-multiplying it with an n×n monomial matrix over Fqr. It is a standard property that monomially equivalent codes possess identical triple parameters n,k,d.
An Fq-additive code C of length n over the extension field Fqr is defined as an Fq-linear subspace embedded inside the ambient space Fqrn. Throughout the subsequent discussion, we write “additive code” for Fq-additive code over Fqr. We write dimFq(C) to represent the dimension of the code subspace when viewed as a linear space over Fq. Correspondingly, a generator matrix for C is a matrix with entries in Fqr, whose rows form an Fq-basis of C. For any nonzero codeword c∈C, wH(c) stands for its Hamming weight, namely the number of nonzero coordinates contained in the vector c. Based on this definition of weight, the minimum Hamming distance of code C is defined as
dH(C)=min{wH(c)∣c∈C,c=0}.
If an additive code satisfies dimFqC=k and its minimum Hamming distance equals d, we call such a code an additive [n,k,d] code over Fqr.
The trace inner product on Fqrn is defined as the mapping
⟨u,v⟩=i=1∑nTr(uivi)
for arbitrary vectors u=(u1,u2,…,un), v=(v1,v2,…,vn)∈Fqrn, where Tr stands for the standard trace mapping from Fqr to Fq. According to Lemma 1 in Huffman [3], this trace inner product is a symmetric and non-degenerate bilinear form over Fqrn. Given an additive code C with length n over Fqr, its dual code C⊥ is defined by
C⊥={u∈Fqrn∣⟨u,c⟩=0,∀c∈C}.
It can be verified that C⊥ is also an Fq-linear subspace of Fqrn, so it forms another additive code. The generator matrix of C⊥ is referred to as the parity-check matrix of the original code C. From Proposition 2.4 in reference [4], we have
dimFq(C)+dimFq(C⊥)=nr.
We say an additive code C is an additive complementary dual (ACD) code when the intersection of C and its dual space only contains the zero vector, i.e., C∩C⊥={0}.
We then present the Singleton bound for additive codes from [3].
Lemma 2.1. Suppose C is an additive-[n, k, d] code defined over Fqr, then the inequality
d≤n−⌈rk⌉+1
holds, where the symbol ⌈⋅⌉ stands for the ceiling function.
We name C an additive MDS code when its minimum distance satisfies d=n−⌈rk⌉+1.
Correspondingly, C is referred to as an additive almost MDS code provided d=n−⌈rk⌉.
We fix a notation for element-wise trace operation on matrices for the whole paper. Given an m×ℓ matrix A defined over Fqr, let its (i,j)-th entry be ai,j. We use Tr(A) to represent an m×ℓ matrix with entries in Fq, where the (i,j)-th entry equals Tr(ai,j) for all 1≤i≤m, 1≤j≤ℓ. It should be emphasized that this matrix trace operation is different from the standard matrix trace in linear algebra.
Suppose an additive code C over Fqr has generator matrix G and parity-check matrix H. The identity Tr(GH⊤)=0 holds necessarily. We write A⊤ for the transpose of matrix A.
LI, WANG, AND WU
Lemma 2.2. ([2]) Let C be an additive code of length n over Fqr with a generator matrix G. Then the code C is ACD if and only if the matrix Tr(GG⊤) is non-singular.
To define additive GRS codes, let n,k and r≥2 be integers satisfying 1≤k≤nr. Let α=(α1,α2,…,αn)∈Fqrn and v=(v1,v2,…,vn)∈(Fqr∗)n, where α1,α2,…,αn are distinct. Consider the evaluation map Eα,v:Fq[x]<k→Fqrn, defined as
One can easily see that Eα,v is an Fq-linear vector space homomorphism, and hence its image Eα,v(Fq[x]<k) is an Fq-linear subspace of Fqrn. The additive generalized Reed-Solomon (additive GRS) code of length n over Fqr with evaluation points α1,α2,…,αn and column multipliers v1,v2,…,vn is defined as
In particular, when v=(1,1,…,1), this code is referred to as an additive RS code, i.e., ARSk(α). Note that the evaluation map Eα,v is not always injective under the mere assumption that αi are distinct. When the map Eα,v is injective, the code ARSk(α,v) has Fq-dimension exactly k.
In this paper the injectivity is never an issue: whenever we use the code ARSk(α,v) or the code Tk(α,v,t,h,η), the evaluation points α1,…,αn lie in pairwise distinct full-degree Frobenius orbits and k≤nr, so that the nr elements αiqj are pairwise distinct and a nonzero polynomial of degree less than nr over Fq cannot vanish at all of them.
Linear GTRS codes are well-known constructions for non-RS MDS codes. In parallel with this framework, we introduce the definition of additive GTRS codes. Let ℓ be a positive integer, pick
where every pair (hj,tj) is mutually distinct for 1≤j≤ℓ. Let η=(η1,η2,…,ηℓ)∈Fqℓ. Here ℓ represents the total number of twist terms, t is the twist parameter vector, h denotes the hook vector, and η corresponds to the coefficient vector of twisted monomials. Define this polynomial subspace as
By Lemma 1 of Beelen [5], we see that the set Pn,k(t,h,η) is a k-dimensional subspace of Fq[x] over Fq with a basis set {p0(x),p1(x),…,pk−1(x)}, where
pi(x)=xi+j=1hj=i∑ℓηjxk−1+tjfor0≤i≤k−1.
Based on the above polynomial set, additive GTRS codes of length n over Fqr with ℓ twists and evaluation points α are defined by
If we take v=(1,1,…,1), the resulting code is named an additive TRS code and marked with the notation Tk(α,t,h,η).
Definition 2.1. Given two arbitrary vectors x=(x1,x2,…,xn) and y=(y1,y2,…,yn) belonging to the vector space Fqrn, their Schur product is formulated component-wise as:
x⋆y=(x1y1,x2y2,…,xnyn).
Consider two additive codes C1, C2 which are subsets embedded in Fqn. The Schur product space generated by C1 and C2 is constructed by taking the Fq-linear span of all component-wise Schur products computed from codewords picked separately from C1 and C2, whose mathematical expression is written as
C1⋆C2:=spanFq{c1⋆c2∣c1∈C1,c2∈C2}.
Lemma 2.3. ([2])
(1) If C is an additive code of length n and dimension k over Fqr, then the dimension of its Schur square C2 satisfies dimFq(C2)≤min{nr,2k(k+1)}.
(2) If C and D are two monomially equivalent additive codes over Fqr, then dimFq(C2)=dimFq(D2).
Lemma 2.4. ([2]) Let n,k and r≥2 be positive integers satisfying 1≤k≤nr. Let α=(α1,α2,…,αn)∈Fqrn, where no two elements among α1,α2,…,αn form a conjugate pair over Fq and each αi has exactly r distinct conjugates over Fq. We have
dimFq(ARSk(α,1)2)=min{nr,2k−1}.
Lemma 2.5. Let C⊆Fqrn be an additive code satisfying dimFq(C)≤2nr. If dimFq(C2)=2dimFq(C)−1, then C is not monomially equivalent to the additive RS code ARSk(α,1), where no two elements among α1,α2,…,αn form a conjugate pair over Fq and each αi has exactly r distinct conjugates over Fq.
Proof. Assume to the contrary that C is monomially equivalent to the additive RS code ARSk(α,1). Let k=dimFq(C). From the known condition k≤2nr, we get 2k−1≤nr−1. According to lemma 2.4,
dimFq(ARSk(α,1)2)=2k−1.
Lemma 2.3 part (b) tells us that monomial equivalent codes have the same dimension for their Schur squares. Hence dimFq(C2)=2k−1. However, our given condition is dimFq(C2)=2k−1. This leads to a contradiction. Thus, C is not monomially equivalent to ARSk(α,1).
Suppose I={i1,i2,…,iℓ}⊆Z is a finite set of integers ordered as i1<i2<⋯<iℓ. We call I an arithmetic progression if the gap ij−ij−1 between adjacent numbers remains unchanged for every integer j satisfying 2≤j≤ℓ. Otherwise, I is called a non-arithmetic progression. Notice that any set with one or two elements is automatically an arithmetic progression.
Let I be an integer set with ℓ elements. Its sumset is defined by
I+I={a+b∣a,b∈I}.
Lemma 2.6. ([6]) Let I be a set with l integers. Then ∣I+I∣≥2l−1. Moreover, if I is a set with l integers such that ∣I+I∣=2l−1, then I is an arithmetic progression. It implies that the cardinality of I+I is no less than 2l for any non-arithmetic progression I.
Definition 2.2. Let n, k and r≥2 be integers with 1≤k<nr. Let ℓ≥1 be an arbitrary integer, and take t=(t1,t2,…,tℓ)∈{1,2,…,nr−k}ℓ, h=(h1,h2,…,hℓ)∈{0,1,2,…,k−1}ℓ, such that all pairs (h1,t1),(h2,t2),…,(hℓ,tℓ) are mutually distinct. Let η=(η1,η2,…,ηℓ)∈(Fq∗)ℓ. Define the degree set
Lemma 2.7. ([2]) Let n, k and r≥2 be positive integers satisfying 1≤k<nr. Let α=(α1,α2,…,αn)∈Fqrn, where no two elements among α1,α2,…,αn form a conjugate pair over Fq and each αi has exactly r distinct conjugates over Fq. Let t=(t1,t2,…,tℓ)∈{1,2,…,nr−k}ℓ and h=(h1,h2,…,hℓ)∈{0,1,2,…,k−1}ℓ be such that the pairs (h1,t1),(h2,t2),…,(hℓ,tℓ) are distinct, and let η=(η1,η2,…,ηℓ)∈(Fq∗)ℓ. Then
dimFq(Tk(α,t,h,η)2)≥Fn,k(t,h,η).
Throughout this paper, we fix v=(1,1,…,1) and ℓ=1 by default.
Let B be the complete set of representatives of all full-degree Frobenius orbits in Fqr over Fq. That is, any two distinct elements in B are not conjugate over Fq, and each element in B has exactly r distinct conjugates over Fq. The cardinality formula of such a set B has been derived in reference [7], written as
∣B∣=r1d∣r∑μ(d)qdr.
Here μ(⋅) stands for the Möbius function defined on positive integers, whose explicit rule is given below:
3. ADDITIVE MDS CODES FROM ADDITIVE GTRS CODES OVER FINITE FIELDS
In this section, for ℓ=1, 1≤t≤nr−k and 0≤h≤k−1, we prove that the code Tk(α,t,h,η) is not monomially equivalent to an additive RS code of the same length and dimension. Then we present a construction of additive MDS codes from GTRS codes in this range of parameters.
Theorem 3.1. Let q be a prime power and n,k,t and r≥2 be positive integers such that n≤∣B∣, 3≤k<2nr+1−t, 1≤t≤nr−k, h∈{0,1,2,…,k−1}, η∈Fq∗. Let α=(α1,α2,…,αn)∈Fqrn, where no two elements among α1,α2,…,αn form a conjugate pair over Fq and each αi has exactly r distinct conjugates over Fq. Then we have dimFq(Tk(α,t,h,η)2)≥2k. Furthermore, the code Tk(α,t,h,η) is not monomially equivalent to an additive RS code ARSk(α,1).
Proof. The case when t=1 has been proved in Theorem 6.2 in [2]. Next, when t≥2, we have pi(x)=xi, i∈{0,1,2,…,k−1}∖{h} and ph(x)=xh+ηxk−1+t. The degree set Dn,k(t,h,η) is {0,1,2,…,k−1}∖{h}∪{k−1+t}. Since k<2nr+1−t, we have 2(k−1+t)<nr, which guarantees that all degrees in the Schur square are strictly less than nr. When (k,t,h)=(3,2,1), then Dn,k(t,h,η)={0,2,4} is an arithmetic progression, then we handle this exceptional case directly. The basis polynomials are p0(x)=1, p1(x)=x+ηx4, p2(x)=x2. The six Schur products
are linearly independent over Fq. Hence dimFq(Tk(α,t,h,η)2)≥6=2k. In all remaining cases, the degree set is not an arithmetic progression and we have ∣Fn,k(t,h,η)∣≥2k by Lemma 2.6. By Lemma 2.7, dimFq(Tk(α,t,h,η)2)≥2k. Then by Lemma 2.5, we derive that the code Tk(α,t,h,η) is not monomially equivalent to an additive RS code ARSk(α,1).
Lemma 3.1. ([2]) Let α=(α1,α2,…,αn)∈Fqrn, where no two elements among α1,α2,…,αn form a conjugate pair over Fq and each αi has exactly r distinct conjugates over Fq. Then for 1≤k≤nr, the code ARSk(α) is an additive MDS code of length n and dimension k over Fqr.
Lemma 3.2. Suppose we have the following recurrence relation:
We aim to show that the right-hand side of Equation (1) coincides with the right-hand side of Equation (2). Denote the right-hand side of Equation (1) as Sj. When l1=j, we have λ=1, which yields
(−1)1l1=j∑fM−l1=−fM−j.
For the scenario l1=j−s with 1≤s≤j−1, we have λ≥2 and l2+⋯+lλ=s. Since li≥1, we deduce the bound λ−1≤s, or equivalently λ≤s+1. Then we have
where the inner sum runs over all ordered λ-tuples (l1,…,lλ) of positive integers summing to j; when m=0 this simply reads c(x)=c0=1. We emphasize that the coefficients fi and ci depend on both the subset I and the evaluation vector α. For brevity, we define the notation Ps(I) as the logical condition given by
Theorem 3.2. Let q be a prime power and n,k,t and r≥2 be positive integers such that n≤∣B∣, 1≤k<nr, 1≤t≤nr−k, h∈{0,1,2,…,k−1}, η∈Fq∗. Let k=ar+b, t=ur+v, where 0≤b,v≤r−1, and let
Let α=(α1,α2,…,αn)∈Fqn, where no two elements among α1,α2,…,αn form a conjugate pair over Fq and each αi has exactly r distinct conjugates over Fq. Then the code Tk(α,t,h,η) is an additive MDS code if and only if (η,α)∈/Λ, where
with M=(a+s)r and 0≤i1≤m, 0≤i2≤M, where m and Ps(I) are as in the Notation preceding this theorem. When S=∅, which happens exactly when b=0 and 1≤t≤r−b, we have Λ=∅ and the code Tk(α,t,h,η) is an additive MDS code for every η∈Fq∗.
Proof. The code Tk(α,t,h,η) has dimension k over Fq. By the Singleton bound for additive codes, we know that d≤n−⌈rk⌉+1. Since
we have Tk(α,t,h,η)⊆ARSk+t(α). The code ARSk+t(α) is an additive MDS code by Lemma 3.1, i.e. the minimum distance of ARSk+t(α) is n−⌈rk+t⌉+1. Thus
Comparing these intervals with the Singleton bound n−⌈k/r⌉+1, we see that in each of the four cases the code fails to be MDS if and only if d=n−(a+s) for some s∈S; this is the only point at which the four cases are distinguished, and the argument below is uniform in s∈S.
In the degenerate case S=∅, which occurs exactly when b=0, u=0 and 1≤b+v≤r, no such s exists, and the interval for d in the third line reduces to the single value d=n−a, which coincides with the Singleton bound n−⌈k/r⌉+1=n−(a+1)+1=n−a. Hence d attains the Singleton bound, the code is MDS, and correspondingly Λ=∅: no value of η has to be excluded. So there is nothing to prove in this case.
Fix s∈S and suppose that the code Tk(α,t,h,η) is not an MDS code, so that d=n−(a+s) for this s. Choose a minimum-weight codeword with exactly a+s zero components; it corresponds to a nonzero twisted polynomial
There exists a subset I⊆{1,2,…,n} with ∣I∣=a+s such that g(αi)=0 for all i∈I. Since g(x)∈Fq[x], all conjugates of a root αi are also roots, yielding (a+s)r pairwise distinct roots in total. Thus, we have g(αiqj)=0 for all i∈I and 0≤j≤r−1, which means that g(x) has at least (a+s)r=k+sr−b roots. Let M=(a+s)r=k+sr−b.
Two elementary inequalities, used below, hold for every s∈S.
M≥k, that is, sr≥b. If b=0 this is immediate; if b=0, then s≥1 by the definition of S, hence sr−b≥r−(r−1)>0.
m=(k−1+t)−M=(u−s)r+(b+v)−1≥0. Indeed: if b=0, v=0, then s≤u−1 and m≥r−1; if b=0, v=0, then s≤u and m≥v−1≥0; if b=0 and 1≤b+v≤r, then s≤u and m≥b+v−1≥0; if b=0 and r+1≤b+v≤2r−2, then s≤u+1 and m≥b+v−r−1≥0.
In particular M≤k−1+t.
Since g(x) has degree at most k−1+t and vanishes at the M distinct points αiqj with M≥k, we conclude that ah=0. If ah=0, then degg(x)≤k−1<M, which forces g(x)≡0, contradicting that the codeword is nonzero. Hence ah=0 and degg(x)=k−1+t.
Let
fI(x)=i∈I∏j=0∏r−1(x−αiqj)=i=0∑Mfixi∈Fq[x],
where fi is the coefficient of xi in fI(x) and fM=1. Since fI is a product of pairwise distinct minimal polynomials over Fq and g∈Fq[x] vanishes at all its roots, fI divides g(x) in Fq[x]. Let m=(k−1+t)−M, then m=(k−1+t)−(k+sr−b)=t−sr−1+b=(u−s)r+b+v−1≥0, and we may write g(x)=ηahc(x)fI(x), where
c(x)=i=0∑t−sr−1+bcixi=i=0∑mcixi∈Fq[x],
where ci is the coefficient of xi in c(x) and ct−sr−1+b=cm=1. Similarly, we write g(x)=∑i=0k−1+tgixi∈Fq[x], where gi is the coefficient of xi in g(x) and gk−1+t=ηah.
Since g(x)∈Pn,k(t,h,η), its coefficients satisfy
gk−1+t=ηgh,andgj=0forallk≤j≤k+t−2,
the second condition being empty when t=1. By expanding g(x)=ηahc(x)fI(x) and comparing the coefficients on the two sides, these conditions become the following equations:
where ci=0 whenever i<0 or i>m and fi=0 whenever i<0 or i>M. Here (3.2) contains the m equations indexed by M≤j≤k+t−2 and is empty when m=0, while (3.3) contains the M−k=sr−b equations indexed by k≤j≤M−1 and is empty when M=k; together they account for all k≤j≤k+t−2.
Equation (3.2) can be transformed into the following matrix form:
As all diagonal entries of the lower triangular coefficient matrix equal 1, its determinant is 1, which guarantees a unique solution for c0,c1,…,cm−1, which can be solved sequentially via forward substitution, i.e.
where the inner sum is over all ordered λ-tuples (l1,…,lλ) of positive integers summing to j. This reveals that ci can be expressed as a polynomial in terms of fi.
and by Vieta's formulas, fM−j=(−1)jej, where ej denotes the j-th elementary symmetric sum evaluated over all αi together with their Fq-conjugates, i∈I, ∣I∣=a+s and 1≤j≤M. In other words, once all αi are given, all fi can be uniquely determined, which further yields all coefficients ci. Therefore, we assume in the following that all ci and fi are known quantities.
The conditions imposed by the remaining equations in (3.3) depend only on the set I and are denoted by Ps(I); by definition Ps(I) is the conjunction of the equations
i1+i2=j∑ci1fi2=0,k≤j≤M−1.
When M=k, that is when s=0, this range is empty and Ps(I) holds vacuously.
The equation (3.1) becomes η−1=∑i1+i2=hci1fi2∈Fq∗.
then define c(x)=∑i=0mcixi∈Fq[x]. Define g(x)=ηc(x)fI(x), then a direct verification gives gk−1+t=ηgh, gk=gk+1=⋯=gk+t−2=0 and gk−1+t=η, which means that 0=g(x)∈Pn,k(t,h,η). The twisted polynomial corresponds to a codeword cg=(g(α1),g(α2),…,g(αn)). Since g(x) has ∣I∣=a+s zeros in {α1,α2,…,αn}, i.e. cg has at least a+s zero components, we have
d≤wtH(cg)≤n−(a+s).
If b=0, then s≥0 and ⌈k/r⌉=a, hence d≤n−a<n−a+1. If b=0, then s≥1 and ⌈k/r⌉=a+1, hence d≤n−a−1<n−a. In both cases d is strictly smaller than the Singleton bound n−⌈k/r⌉+1, which implies that the code is not an MDS code.
Remark 3.1. In [1], J. Ma et al. establish necessary and sufficient conditions for the code Tk(α,t,h,η) to be additive MDS code with t=2 and h=k−1. In [2], Yadav and Sharma establish necessary and sufficient conditions for the code Tk(α,t,h,η) to be additive MDS code with t=1 and 0≤h≤k−1. Our results include both scenarios.
The following two examples illustrate the above theorem when t = 3 and t = 4.
Example 3.1. Let t=3, q=16, r=3, n=8, k=8 and h=7. Let z be a primitive element of F16, and let g be a primitive element of F4096. Let α=(g1163,g1158,g2029,g1240,g1639,g119,g2252,g1531)∈F40968. A Magma computation gives that Λ=Λ1, where Λ1 denotes
Then let η=z8∈F16 and η−1=z7, i.e. (η,α)∈/Λ. From Theorem 3.2 we know that T8(α,3,7,z8) is an additive [8,8,6]-code over F4096, and hence it is an additive MDS code.
Example 3.2. Let t=4, q=16, r=2, n=6, k=6 and h=5. Let z be a primitive element of F16, and let g be a primitive element of F256. Let α=(g157,g125,g90,g140,g58,g143)∈F2566.
LI, WANG, AND WU
A Magma computation gives that Λ=Λ0∪Λ1, where Λ0 denotes
Then let η=z9∈F16 and η−1=z6, i.e. (η,α)∈/Λ. From Theorem 3.2 we know that T6(α,4,5,z9) is an additive [6,6,4]-code over F256, and hence it is an additive MDS code.
In general, the dual code of an additive GTRS code fails to be an additive GTRS code. Nevertheless, under certain conditions, we identify a class of additive GTRS codes, whose dual codes are also additive GTRS codes, where h=k−1.
Lemma 3.3. Let r1,r2,…,rN be pairwise distinct elements. Define the polynomial
P(X)=t=1∏N(X−rt).
Then for every integer 0≤m≤N−2, we have
t=1∑NP′(rt)rtm=0.
Proof. Consider the polynomial f(X)=Xm. The Lagrange interpolation polynomial of f(X) at the nodes r1,r2,…,rN is given by
L(X)=t=1∑N(X−rt)P′(rt)rtm⋅P(X).
It is clear that degL≤N−1, and L(rk)=rkm for 1≤k≤N. Set Q(X)=Xm−L(X). Then Q(rk)=0 for 1≤k≤N, which means that Q(X) has N distinct roots. Since degQ≤N−1, Q(X)≡0. Consequently,
Xm=L(X)=t=1∑N(X−rt)P′(rt)rtm⋅P(X).
Comparing the coefficients of XN−1 on both sides: each term X−rtP(X) is monic of degree N−1, so the right-hand side contributes ∑t=1NP′(rt)rtm; the left-hand side has no XN−1 term since m≤N−2, we have
t=1∑NP′(rt)rtm=0,0≤m≤N−2.
Lemma 3.4. Let n≤∣B∣, α=(α1,α2,…,αn)∈Fqrn, where no two elements among α1,α2,…,αn form a conjugate pair over Fq, and each αi has exactly r distinct conjugates over Fq. Let N=nr. Denote all αi and their conjugates by r1,r2,…,rN, and define the polynomial
P(X)=t=1∏N(X−rt).
Since the roots rt are pairwise distinct, we have P′(αi)=0. Let u=(u1,u2,…,un)∈Fqrn with ui=P′(αi)1. Define
Sm=i=1∑nTr(uiαim)=i=1∑nTr(P′(αi)αim).
Then
Sm=0,0≤m≤nr−2andSnr−1=1.
Proof. By Lemma 3.3, for any integer 0≤m≤N−2, we have
t=1∑NP′(rt)rtm=0.
For each i, let the conjugacy class of αi be
Conj(αi)={αi,αiq,αiq2,…,αiqr−1}.
We partition the summation over all nodes by conjugacy classes, which yields
i=1∑nr∈Conj(αi)∑P′(r)rm=0.
Since the set of roots of P(X) is closed under the Frobenius automorphism, we have P(X)∈Fq[x] and then P′(X)∈Fq[x]. For any polynomial M(X)∈Fq[X], the Frobenius map satisfies (M(X))^q^s = M(X^{q^s}), then we have
(P′(X))qs=P′(Xqs).
Substituting X=αi, we obtain
(P′(αi))qs=P′(αiqs),0≤s≤r−1.
Using this automorphism property, we expand the trace term:
We derive this directly using the same Lagrange interpolation identity as in the proof of Lemma 3.3. Taking f(X)=XN−1, since deg(f)=N−1<N, the Lagrange interpolation formula yields:
XN−1=t=1∑N(X−rt)P′(rt)rtN−1P(X),
where P(X)=∏t=1N(X−rt). Since X−rtP(X) is a monic polynomial of degree N−1, comparing the coefficients of XN−1 on both sides gives:
1=t=1∑NP′(rt)rtN−1.
By the definition of Sm, the right-hand side is exactly SN−1. Hence, Snr−1=1.
We next present a construction of additive codes such that both the code and its dual are additive GTRS codes. We consider the case when v=(1,1,…,1).
Theorem 3.3. Let q be a prime power and n,k,t and r≥2 be positive integers such that n≤∣B∣, 1≤k≤nr−1, 1≤t≤nr−k, h=k−1, η∈Fq∗. Let α=(α1,α2,…,αn)∈Fqn, where no two elements among α1,α2,…,αn form a conjugate pair over Fq and each αi has exactly r distinct conjugates over Fq. Let u=(u1,u2,…,un)∈(Fq∗)n with ui=P′(αi)1, where P(x) = \prod_{i=1}^n \prod_{s=0}^{r-1} (x - \alpha_i^q^s). Define K=nr−k, Sm=∑i=1nTr(P′(αi)αim) for any integer m≥0 and D=Snr−1+ηSnr−1+t.
(a) If D=0,
Tk(α,1,t,k−1,η)⊥=Tnr−k(α,u,t′,h′,η′),
where 1 is all-one vector, t′=(1,1,…,1t), h′=(K−t,K−t+1,…,K−1), η′=(−DηSnr−1,−DηSnr,⋯,−DηSnr+t−2).
• G1 (ordinary rows): corresponding to xi for 0≤i≤k−2.
• G2 (special row): corresponding to xk−1+ηxk−1+t.
Then we consider the code Tnr−k(α,u,t′,h′,η′), where t′=(1,1,…,1)t, h′={K−t,K−t+1,…,K−1} and η′={−DηSnr−1,⋯,−DηSnr+t−2}. A generator matrix for this code is
where D=Snr−1+ηSnr−1+t=0 and Snr−1=1 from Lemma 3.4. We partition its generator matrix H into two groups:
• H1 (ordinary rows): corresponding to ulxj for 0≤j≤K−t−1.
• H2 (special rows): corresponding to ul(xj+ηj′xK) for K−t≤j≤K−1. Here ηj′=−DηSnr−1+j−K+t, and D=Snr−1+ηSnr−1+t.
The K rows of H are linearly independent over Fq. Indeed, after dividing the l-th column by ul=0, which does not affect the rank, the j-th row becomes the evaluation at α of the polynomial fj=xj for 0≤j≤K−t−1 and of fj=xj+ηj′xK for K−t≤j≤K−1. Each monomial xj with 0≤j≤K−1 occurs in fj with coefficient 1 and in no other fj′. If ∑j=0K−1cjfj vanished at α1,…,αn with cj∈Fq, the resulting polynomial would have degree at most K≤nr−1 and would vanish at all nr conjugates αlqs, hence would be zero; comparing the coefficients of x0,…,xK−1 then gives c0=⋯=cK−1=0.
We verify the orthogonality Tr(GH⊤)=0 by computing the trace inner products for all four block combinations:
Case 1: Tr(G1H1⊤)=0. The (i,j)-th entry is ∑l=1nTr(αli⋅ulαlj)=Si+j. Since 0≤i≤k−2 and 0≤j≤K−t−1, we have i+j≤k−2+nr−k−t−1=nr−t−3<nr−1. By Lemma 3.4, Sm=0 for 0≤m≤nr−2. Thus, all entries vanish.
Case 2: Tr(G1H2⊤)=0. The (i,j)-th entry is ∑l=1nTr(αli⋅ul(αlj+ηj′αlK))=Si+j+ηj′Si+K. Since i≤k−2, we have i+j≤k−2+K−1=nr−3 and i+K≤k−2+K=nr−2. Thus all indices are at most nr−2, and by Lemma 3.4, all entries are zero.
Case 3: Tr(G2H1⊤)=0. The j-th entry is ∑l=1nTr((αlk−1+ηαlk−1+t)⋅ulαlj)=Sk−1+j+ηSk−1+t+j. Since 0≤j≤K−t−1, we have k−1+j≤k−1+nr−k−t−1=nr−t−2<nr−2, and k−1+t+j≤k−1+t+nr−k−t−1=nr−2. Thus, all indices are at most nr−2, and by Lemma 3.4, all entries vanish.
Case 4: Tr(G2H2⊤)=0. The j-th entry is
l=1∑nTr((αlk−1+ηαlk−1+t)⋅ul(αlj+ηj′αlK)).
Expanding the product, we obtain four terms:
Sk−1+j+ηj′Sk−1+K+ηSk−1+t+j+ηηj′Sk−1+t+K.
LI, WANG, AND WU
Since k−1+K=nr−1, k−1+t+K=nr−1+t, and noting that Sm=0 for all m≤nr−2, the first term Sk−1+j vanishes because k−1+j≤nr−2. The remaining terms are:
• H1 (ordinary rows): corresponding to ulxi for 0≤i≤K−t−1.
• H2 (special rows): corresponding to ul(Si−K+t+nrxK−t−xi+1) for K−t≤i≤K−2.
• H3 (the last row): corresponding to ulxK.
The K rows of H are linearly independent over Fq. Indeed, after dividing the l-th column by ul=0, the rows are the evaluations at α of the polynomials xi with 0≤i≤K−t−1, of Si−K+t+nrxK−t−xi+1 with K−t≤i≤K−2, and of xK. The monomials x0,…,xK−t−1, xK−t+1,…,xK−1 and xK are K distinct monomials, and each of them occurs with a nonzero coefficient in exactly one of these polynomials. A linear relation among the rows would therefore produce a polynomial of degree at most K≤nr−1 vanishing at the nr conjugates αlqs; this polynomial is zero, and comparing the coefficients of those K monomials forces all coefficients of the relation to vanish.
Note that the Fq-dimension of Lnr−k is exactly (K−t)+(t−1)+1=K=nr−k. We verify the orthogonality Tr(GH⊤)=0 by computing the trace inner products for the block combinations of G and H:
Case 1: Tr(G1H1⊤)=0 and Tr(G1H3⊤)=0. For G1 (corresponding to xj for 0≤j≤k−2), the entries are Sj+i for H1 and Sj+K for H3. Since i≤K−t−1 and j≤k−2, both j+i≤nr−t−3 and j+K≤nr−2. By Lemma 3.4, all terms vanish.
Case 2: Tr(G1H2⊤)=0. The (j,i)-th entry is Tr(xj⋅ul(Si−K+t+nrxK−t−xi+1))=Si−K+t+nrSj+K−t−Sj+i+1. Since j≤k−2 and i≤K−2, we have j+K−t≤nr−t−2 and j+i+1≤nr−3. By Lemma 3.4, all entries are zero.
Case 3: Tr(G2H1⊤)=0. For G2 (corresponding to xk−1+ηxk−1+t), the i-th entry is Sk−1+i+ηSk−1+t+i. Since i≤K−t−1, the maximum indices are nr−t−2 and nr−2, so all entries vanish.
Case 4: Tr(G2H2⊤)=0. The i-th entry (K−t≤i≤K−2) is:
Since k−1+K−t=nr−t−1 and k−1+t+K−t=nr−1, and noting that t≥1⟹Snr−t−1=0, Snr−1=1, the first two terms reduce to ηSi−K+t+nr. Observe that the index i−K+t+nr=i−(nr−k)+t+nr=k+t+i. Substituting this yields:
ηSk+t+i−Sk+i−ηSk+t+i=−Sk+i.
Since i≤K−2=nr−k−2, we have k+i≤nr−2, so Sk+i=0. Thus, this block vanishes.
Case 5: Tr(G2H3⊤)=0. The entry is Tr((xk−1+ηxk−1+t)⋅ulxK)=Sk−1+K+ηSk−1+t+K. Since k−1+K=nr−1 and k−1+t+K=nr−1+t, this is exactly Snr−1+ηSnr−1+t=D. Because we are in the case D=0, this entry is zero.
Combining all cases, we have Tr(GH⊤)=0. Since the sum of their Fq-dimensions is k+(nr−k)=nr, they are duals.
Remark 3.2. Note that ηj′ may be zero. If ηj′=0, the corresponding twist term vanishes, and the dual code degenerates to a GTRS code with fewer twists, where the j-th components of the twist vector t′, hook vector h′, and coefficient vector η′ are synchronously deleted. This does not affect the orthogonality.
The following example illustrates the above theorem.
Example 3.3. Let t=4, q=16, r=2, n=8, k=8, h=7, then K=8. Let z be a primitive element of F16, and let g be a primitive element of F256. Let η=z5 and α=(g,g18,g35,g52,g69,g86,g103,g120)∈F2568. From Theorem 3.3 we have D=z=0, t′=(1,1,1,1), h′={4,5,6,7}, η′={z4,z4,z2,z11} and u=(g112,g88,g,g54,g85,g19,g153,g44). Using Magma, we have T8(α,1,4,7,z5)⊥=T8(α,u,t′,h′,η′), where 1 is all-one vector. Both codes are additive GTRS codes.
4. ACD CODES FROM ADDITIVE GTRS CODES OVER FINITE FIELDS
In this section we present a construction of ACD codes from GTRS codes.
Theorem 4.1. Let q be a prime power and n,k,t and r≥2 be positive integers such that n≤∣B∣, 3≤k≤nr−1, 1≤t≤nr−k, h=k−1, η∈Fq∗. Let α=(α1,α2,…,αn)∈Fqrn, where no two elements among α1,α2,…,αn form a conjugate pair over Fq and each αi has exactly r distinct conjugates over Fq. Denote Tm=∑i=1nTr(αim)∈Fq, A=(Ti+j)0≤i,j≤k−2 and suppose det(A)=0, w=(Tk−1+ηTk−1+t,Tk+ηTk+t,…,T2k−3+ηT2k−3+t)⊤ and Δ=T2k−2+2ηT2k−2+t+η2T2k−2+2t−w⊤A−1w. Then Tk(α,1,t,k−1,η) is an ACD code if and only if Δ=0.
Proof. Let G be the generator matrix of Tk(α,1,t,k−1,η)
Since the submatrix A is invertible, the inverse matrix A−1 exists. We perform block elementary row elimination by multiplying a block lower triangular matrix on the left:
(Ik−1−w⊤A−101)(Aw⊤wd)=(A0wd−w⊤A−1w),
where Ik−1 denotes the (k−1)-order identity matrix.
Then
det(M)=det(A)⋅(d−w⊤A−1w).
Let Δ=d−w⊤A−1w=T2k−2+2ηT2k−2+t+η2T2k−2+2t−w⊤A−1w. If det(A)=0 and the Schur complement Δ=0, then det(M)=0. Combined with Lemma 2.2, the code Tk(α,1,t,k−1,η) is an ACD code.
Conversely, if Tk(α,1,t,k−1,η) is an ACD code, then det(M)=0. Since det(A)=0, we immediately have Δ=0.
Next, we prove the existence of the evaluation points α such that the matrix A in Theorem 4.1 is invertible and Δ=0.
Remark 4.1. Let Tm=∑i=1nTr(αim) and A=(Ti+j)0≤i,j≤k−2, where α=(α1,α2,…,αn)∈Fqrn.
Let w0=(Tk−1,Tk,…,T2k−3)⊤ and C0=(T2k−2−w0⊤A−1w0) when the matrix A is invertible.
Let B0=(Ti+j)0≤i,j≤k−1 be the k×k Hankel matrix obtained from A by adjoining the row and the column indexed by k−1. By applying the Schur complement formula to the block partition of B0:
det(B0)=det(A)(T2k−2−w0⊤A−1w0)=det(A)C0.
Lemma 4.1. Fix positive integers n,r,k with r≥2 and k≤nr, and let N=nr. Then for every sufficiently large prime power q (allowing the exclusion of finitely many characteristics), there exist α1,…,αn∈Fqr such that no two elements among α1,α2,…,αn form a conjugate pair over Fq, each αi has exactly r distinct conjugates over Fq, and
det(A)=0anddet(B0)=0,
where A=(Ti+j)0≤i,j≤k−2, B0=(Ti+j)0≤i,j≤k−1 and Tm=∑i=1nTr(αim).
Proof. Let s=k−1. Assume that the conjugacy orbits of α1,…,αn are pairwise disjoint and denote
Define the s×N matrix V=(βℓi)0≤i≤s−1,1≤ℓ≤N and the (s+1)×N matrix U=(βℓi)0≤i≤s,1≤ℓ≤N. By direct computation we have
A=VV⊤,B0=UU⊤.
Note that over a finite field one cannot deduce that VV⊤ or UU⊤ is invertible merely from the fact that V and U have full row rank. We therefore employ the polynomial counting method.
Temporarily treat β1,…,βN as independent indeterminates, and define
We first prove that DA and DB are nonzero polynomials with integer coefficients.
In the real number field, choose mutually distinct positive real numbers 0<β1<β2<⋯<βN. Since N≥s+1, the first s+1 columns of U form an (s+1)×(s+1) Vandermonde matrix whose determinant is ∏1≤i<j≤s+1(βj−βi)=0; hence rankRU=s+1. For any nonzero column vector x∈Rs+1 we then have x⊤UU⊤x=∥U⊤x∥2>0, so UU⊤ is positive definite over R and
DB(β1,⋯,βN)=det(UU⊤)>0.
The same argument applied to V gives DA(β1,…,βN)=det(VV⊤)>0. This shows that DA and DB are nonzero polynomials with integer coefficients.
Since each power sum ∑ℓ=1Nβℓm is a symmetric polynomial in β1,…,βN, both DA and DB are symmetric polynomials. Consider the monic polynomial
F(X)=ℓ=1∏N(X−βℓ)=XN+c1XN−1+⋯+cN.
By the fundamental theorem of symmetric polynomials, there exist nonzero polynomials
Let dA and dB be their total degrees; both depend only on N=nr and s=k−1, hence only on n,r,k, but not on q. Since PAPB is a nonzero polynomial with integer coefficients, only finitely many primes p satisfy PAPB≡0(modp). We fix a characteristic p outside this finite set and from now on take q=pf for some integer f≥1.
LI, WANG, AND WU
Let Iq(r) denote the number of monic irreducible polynomials of degree r in Fq[X]. It is known that
Iq(r)=r1e∣r∑μ(e)qr/e=rqr+O(qr/2)
as q→∞ with r fixed. Hence, for all sufficiently large prime powers q of characteristics outside a finite set, Iq(r)≥n, and the number of monic polynomials of degree N which are products of n distinct monic irreducible polynomials of degree r satisfies
(nIq(r))=n!rnqN+O(qN−1)≥cqN
for some constant c>0 independent of q, where one may take c=2n!rn1 for q large enough; in particular c depends only on n and r, not on q. Likewise, the number Iq(r) exceeds n as soon as q is larger than a bound depending only on n and r. Every such F is squarefree and has exactly n distinct irreducible factors of degree r. Moreover, the coefficient vector (c1,…,cN) determines F uniquely, so distinct such polynomials give distinct points of FqN.
Since PAPB=0 over Fq and deg(PAPB)=dA+dB, the Schwartz-Zippel root estimate over finite fields yields
For q sufficiently large such that cqN>(dA+dB)qN−1, that is q>cdA+dB, not all admissible coefficient vectors lie in the zero set of PAPB. Therefore, there exists an admissible polynomial F(X)=f1(X)⋯fn(X) with
PA(c1,…,cN)=0andPB(c1,…,cN)=0.
For each i, choose a root αi of fi(X) in Fqr. Since fi is irreducible over Fq of degree r, we have [Fq(αi):Fq]=r, so αi has exactly r distinct conjugates αi,αiq,…,αiqr−1. Since f1,…,fn are pairwise distinct, the Frobenius orbits of distinct αi are disjoint; in other words, for i=j the elements αi and αj are not conjugates over Fq. Finally, {β1,…,βN} is precisely the union of these orbits, and hence
Corollary 4.1. Fix positive integers n,r,k,t with r≥2, 3≤k≤nr−1, and 1≤t≤nr−k. For every sufficiently large prime power q (q≥4) whose characteristic avoids a finite set, there exist α1,…,αn∈Fqr lying in pairwise distinct full-degree Frobenius orbits and an η∈Fq∗ such that Tk(α,1,t,k−1,η) is an ACD code.
Proof. By Lemma 4.1, there exist α1,…,αn∈Fqr lying in pairwise distinct full-degree Frobenius orbits s.t. det(A)=0, det(B0)=0. Since det(B0)=det(A)C0, C0 is nonzero. We expand Δ in powers of η. Recall that
Define constants C0,C1,C2∈Fq as above, we have Δ(η)=C2η2+C1η+C0, where C0,C1,C2 and Δ(η) depend on the evaluation points α. Since C0 is nonzero, Δ is not the zero polynomial. Since Δ is a nonzero polynomial of degree at most two and ∣Fq∗∣=q−1≥3, one may choose η∈Fq∗ outside its set of roots. The conclusion then follows from Theorem 4.1.
The following example illustrates the above theorem.
Example 4.1. Let t=3, q=25, r=2, n=10, k=12, h=11. Let z be a primitive element of F25, and let g be a primitive element of F625. Let α=(g190,g320,g248,g239,g134,g114,g19,g262,g11,g224)∈F62510, then det(A)=z9=0. Using Magma, we have Δ(η)=z4η2+z17η+z14 and Δ(η)=0 when η=4 or η=z22 (here z12=−1=4 in F25). Let η=z5, we have Δ(η)=0. From Theorem 4.1, we have T12(α,1,3,11,z5) is an ACD code.
Remark 4.2. For 0≤h≤k−1, swapping the (h+1)-th row with the last row and simultaneously swapping the (h+1)-th column with the last column of Tr(GG⊤) restores the block structure in Theorem 4.1. Hence, the existing proof method may be adapted.
Next, we present a construction of additive MDS ACD code from additive GTRS code.
Theorem 4.2. Let q be a prime power and n,k,t and r≥2 be positive integers such that n≤∣B∣, 3≤k<nr, 1≤t≤nr−k, h=k−1, η∈Fq∗. Let k=ar+b, t=ur+v, where 0≤b,v≤r−1, and let S be as in Theorem 3.2. Let α=(α1,α2,…,αn)∈Fqrn, where no two elements among α1,α2,…,αn form a conjugate pair over Fq and each αi has exactly r distinct conjugates over Fq. Denote Tm=∑i=1nTr(αim)∈Fq, A=(Ti+j)0≤i,j≤k−2 and suppose det(A)=0, w=(Tk−1+ηTk−1+t,Tk+ηTk+t,…,T2k−3+ηT2k−3+t)⊤ and Δ=T2k−2+2ηT2k−2+t+η2T2k−2+2t−w⊤A−1w. If (η,α)∈/Λ and Δ=0, then the code Tk(α,1,t,k−1,η) is an additive MDS ACD code, where
with M=(a+s)r and 0≤i1≤m, 0≤i2≤M, where M, m and Ps(I) are as in the Notation of Section 3. When S=∅, we have Λ=∅, and the code Tk(α,1,t,k−1,η) is an additive MDS ACD code for every η∈Fq∗ with Δ=0.
Proof. The MDS property follows from Theorem 3.2, while the ACD property follows from Theorem 4.1 because det(A)=0 and Δ=0.
LI, WANG, AND WU
Example 4.2. Let t=3, q=25, r=2, n=10, k=9 and h=8. Let z be a primitive element of F25, and let g be a primitive element of F625. Let α=(g287,g235,g80,g20,g394,g295,g147,g397,g62,g58)∈F62510. Using Magma, we have Λ=Λ1, where Λ1 denotes
then det(A)=z19=0. Using Magma, we have Δ(η)=z17η2+z9 and Δ(η)=0 when η=z2 or η=z14. Then let η=z12∈F25 and η−1=z12, i.e. (η,α)∈/Λ and Δ(η)=0. From Theorem 4.2 we know that T9(α,3,8,z12) is an additive [10, 9, 6]-code over F625, and hence it is an additive MDS ACD code.
Remark 4.3. Similar to Remark 4.2, by applying the same row and column permutations to the matrix, the proof method of Theorem 4.2 can be adapted for general h.
5. CONCLUSION
In this paper, we have constructed new additive non-RS MDS codes using twisted Reed-Solomon codes, and we have established necessary and sufficient conditions for them to be MDS. We have also obtained a family of additive GTRS codes whose duals are still additive GTRS codes, and have established a construction of ACD codes by virtue of these GTRS codes.
REFERENCES
[1] J. Ma, J. Liu, Y. Ding, New families of additive non-Reed-Solomon MDS codes, Finite Fields Appl. 113 (2026) 102829.
[2] M. Yadav, A. Sharma, Some new classes of additive MDS and almost MDS codes over finite fields, Finite Fields Appl. 95 (2024) 102394.
[3] W.C. Huffman, On the theory of Fq-linear Fqt-codes, Adv. Math. Commun. 7 (3) (2013) 349–378.
[4] L.C. Grove, Classical Groups and Geometric Algebra, Amer. Math. Soc., Providence, Rhode Island, 2008.
[5] P. Beelen, S. Puchinger, J. Rosenkilde, Twisted Reed-Solomon codes, IEEE Trans. Inf. Theory 68 (5) (2022) 3047–3061.
[6] M.B. Nathanson, Additive Number Theory: Inverse Problems and the Geometry of Sumsets, Springer, New York, 1996.
[7] R. Lidl, H. Niederreiter, Finite Fields, Cambridge University Press, 1996.
[8] R. Singleton, Maximum distance q-nary codes, IEEE Trans. Inf. Theory 10 (2) (1964) 116–118.
[9] I.S. Reed, G. Solomon, Polynomial codes over certain finite fields, SIAM J. Appl. Math. 8 (2) (1960) 300–304.
[10] Y. Tang, F. Farnoud, Error-correcting codes for short tandem duplication and edit errors, IEEE Trans. Inf. Theory 68 (2) (2021) 871–880.
[11] Y. Tang, H. Lou, F. Farnoud, Error-correcting codes for short tandem duplications and at most p substitutions, in: Proc. IEEE Int. Symp. Inf. Theory, 2021, pp. 1835–1840.
[12] Z. Heng, C. Li, X. Wang, Constructions of MDS, near MDS and almost MDS codes from cyclic subgroups of Fq2∗, IEEE Trans. Inf. Theory 68 (12) (2022) 7817–7831.
[13] I. Tamo, A. Barg, A family of optimal locally recoverable codes, IEEE Trans. Inf. Theory 60 (8) (2014) 4661–4676.
[14] D. G. Glynn, A condition for arcs and MDS codes, Des. Codes Cryptogr. 58 (2011) 215–218.
[15] F. J. MacWilliams, N. J. A. Sloane, The Theory of Error-Correcting Codes, North-Holland Publishing Co., 1977.
[16] R. M. Roth, A. Lempel, On MDS codes via Cauchy matrices, IEEE Trans. Inf. Theory 35 (6) (1989) 1314–1319.
[17] S.H. Dau, W. Song, Z. Dong, C. Yuen, Balanced sparsest generator matrices for MDS codes, in: Proc. IEEE Int. Symp. Inf. Theory, 2013, pp. 1889–1893.
[18] L. Jin, Construction of MDS codes with complementary duals, IEEE Trans. Inf. Theory 63 (5) (2016) 2843–2847.
[19] H. Liu, S. Liu, Construction of MDS twisted Reed-Solomon codes and LCD MDS codes, Des. Codes Cryptogr. 89 (9) (2021) 2051–2065.
[20] A.R. Calderbank, E.M. Rains, P.M. Shor, et al., Quantum error correction via codes over GF(4), IEEE Trans. Inf. Theory 44 (4) (1998) 1369–1387.
[21] J. Bierbrauer, Y. Edel, Quantum twisted codes, J. Comb. Des. 8 (3) (2000) 174–188.
[22] M. Shi, N. Liu, J. L. Kim, P. Solé, Additive complementary dual codes over F4, Des. Codes Cryptogr. 91 (2022) 1–12.
[23] W. H. Choi, C. Güneri, J. L. Kim, F. Özbudak, Theory of additive complementary dual codes, constructions and computations, Finite Fields Appl. 92 (2023) 102303.
[24] P. Beelen, S. Puchinger, J. Rosenkilde né Nielsen, Twisted Reed-Solomon codes, in: Proc. IEEE Int. Symp. Inf. Theory, 2017, pp. 336–340.
[25] P. Beelen, M. Bossert, S. Puchinger, J. Rosenkilde, Structural properties of twisted Reed-Solomon codes with applications to cryptography, in: Proc. IEEE Int. Symp. Inf. Theory, 2018, pp. 946–950.
[26] S. Adriaensen, S. Ball, On additive MDS codes with linear projections, Finite Fields Appl. 91 (2023) 102258.
[27] A. Ketkar, A. Klappenecker, S. Kumar, et al., Nonbinary stabilizer codes over finite fields, IEEE Trans. Inf. Theory 52 (11) (2006) 4892–4914.
[28] S. Ball, G. Gamboa, M. Lavrauw, On additive MDS codes over small fields, Adv. Math. Commun. 17 (4) (2023) 828–844.