A class of constacyclic codes over Fpm[u,v]uk,v2,uvvu

Youssef Ahendouz1, Ismail Akharraz1
1Mathematical and Informatics Engineering Laboratory Ibn Zohr University – Morocco

Abstract

Let p be a prime number, and let k and m be positive integers with k2. This paper studies the algebraic structure of λ-constacyclic codes of arbitrary length over the finite commutative ring R=Fpm[u,v]uk,v2,uvvu, where λ is a unit in R given by λ=i=0k1λiui+vi=0k1λiui, with λi,λiFpm and λ0,λ10. We provide a complete classification of these constacyclic codes, determine their dual structures, and compute their Hamming distances when the code length is ps.

Keywords: constacyclic codes, codes over rings, dual code, Hamming distance

1. Introduction

Constacyclic codes play a crucial role in the theory of error-correcting codes, serving as a natural extension of cyclic codes, which are among the most extensively studied code types. Let R be a finite commutative ring, and let λ be a unit in R. A λ-constacyclic code of length n over the ring R can be represented as an ideal in the quotient ring R[x]xnλ. This representation underscores the significance of constacyclic codes over rings as an important class of linear codes due to their rich algebraic structure.

In recent years, there has been a growing research interest in the study of constacyclic codes. However, the general classification of constacyclic codes remains a challenging task. To date, only a limited number of cases with specific lengths and defined over certain rings have been classified. Let R be a commutative ring. Dinh and López-Permouth [18] studied the structures of cyclic and negacyclic codes of length n when n is not divisible by the characteristic of the residue field R¯. Moreover, Cao [4] investigated the algebraic structure of (1+wγ)-constacyclic codes of arbitrary length over a finite commutative chain ring R, where wR×.

An important example of a finite ring is R=Fpm[u]uk=Fpm+uFpm++uk1Fpm. The structure of constacyclic codes over Fpm[u]uk has been extensively studied in the literature. For k=2, significant research has been devoted to cyclic and constacyclic codes of length n over the ring Fpm+uFpm for various prime numbers p and positive integers n (cf. [10,11,15,8,14,2]). For k3, Kai et al. [20] investigated (1+λu)-constacyclic codes of arbitrary length over Fp[u]uk, where λFp×. Subsequently, Cao et al. [6,5] studied (δ+αu2)-constacyclic codes of arbitrary length over Fpm[u]uk, focusing on the case where k is an even integer and δ,αFpm×. Sobhani [23] determined the structure of (δ+αu2)-constacyclic codes of length ps over Fpm[u]u3, where δ,αFpm×. Moreover, Mahmoodi and Sobhani [21] provided a complete classification of (1+αu2)-constacyclic codes of length ps over Fpm[u]u4, where αFpm×.

Another important ring is R=Fpm[u,v]u2,v2,uvvu, which is local but not a chain ring, with units of the form λ1=α,λ2=α+δ1uv,λ3=α+γv+δuv,λ4=α+βu+δuv,λ5=α+βu+γv+δuv, where α,β,γ,δ1Fpm and δFpm.

Dinh et al. [16] determined the algebraic structures of all constacyclic codes of length ps over R, except for the λ2-constacyclic codes, later studied in [12]. For p=2, Dinh et al. [17] classified all self-dual λ-constacyclic codes of length 2s over R corresponding to the units λ3,λ4, and λ5. In our recent paper [1], we investigated the structure and duals of λ-constacyclic codes of length 2ps over R for the units λ3,λ4, and λ5. Motivated by this, we aim to extend our previous results by classifying λ-constacyclic codes of arbitrary length over Ru,v=Fpm[u,v]uk,v2,uvvu, with k2, and λ given by λ=i=0k1λiui+vi=0k1λiui, where λi,λiFpm and λ0,λ10.

The paper is structured as follows. Section 2 introduces essential preliminaries on finite rings and fundamental concepts in constacyclic codes. Section 3 establishes a decomposition of each λ-constacyclic code of arbitrary length over Ru,v as a direct sum of ideals over certain rings. These rings are further examined in Section 4, where their ideals are classified into four types. Section 5 investigates the structure of dual λ-constacyclic codes of arbitrary length over over Ru,v. Finally, Section 6 determines their Hamming distance when the code length is ps.

2. Preliminaries

In this paper, all rings considered are associative and commutative. An ideal I of a ring R is called principal if it is generated by a single element. A ring R is a principal ideal ring if each of its ideals is principal. A ring R is called local if it has a unique maximal ideal. A chain ring is a ring whose ideals are totally ordered by inclusion. A ring R is said to be Frobenius if RJ(R) is isomorphic (as an R-module) to soc(R), where J(R) denotes the Jacobson radical of R and soc(R) its socle.

Let R be a finite local commutative ring with maximal ideal M and residue field R¯=RM. For any polynomial f(x)R[x], we denote by f¯(x) the polynomial in R¯[x] obtained by reducing each coefficient of f(x) modulo M. Two polynomials f1(x),f2(x)R[x] are said to be coprime if there exist polynomials g1(x),g2(x)R[x] such that f1(x)g1(x)+f2(x)g2(x)=1.

A polynomial f(x)R[x] is said to be regular if it is not a zero divisor; equivalently, f¯(x)0 in R¯[x] (see [22]).

The following result is a well-known property of finite commutative chain rings.

Proposition 2.1. [18] Let R be a finite commutative ring. The following conditions are equivalent:

  1. R is a local ring whose maximal ideal M is principal (i.e., M=Γ for some element ΓR).

  2. R is a local principal ideal ring.

  3. R is a chain ring whose ideals are Γi for 0it, where t is the nilpotency index of Γ.

Moreover, for each 0it, the cardinality of the ideal Γi is given by |Γi|=|RM|ti.

A linear code C of length n over a ring R is an R-submodule of Rn. Let λ be a unit in R. A linear code C of length n over R is called a λ-constacyclic code if it satisfies the following condition: (c0,c1,,cn1)C(λcn1,c0,,cn2)C.

Each codeword c=(c0,c1,,cn1)C can be represented as a polynomial c(x)=c0+c1x++cn1xn1. This identification leads us to the following proposition.

Proposition 2.2. [19] A code C of length n over R is a λ-constacyclic code if and only if C is an ideal of R[x]xnλ.

For n-tuples a=(a0,a1,,an1) and b=(b0,b1,,bn1) in Rn, their inner product is defined as ab=a0b0+a1b1++an1bn1. Two n-tuples a and b are considered orthogonal if ab=0. The dual code C of a linear code C of length n over a ring R is defined as C={aRnab=0 for all bC}.

The following proposition is well known.

Proposition 2.3. [24] Consider a linear code C of length n over a finite Frobenius ring R. Then, |C||C|=|R|n.

In general, the dual of a λ-constacyclic code satisfies the following proposition.

Proposition 2.4. [10] The dual of a λ-constacyclic code is a λ1-constacyclic code.

The annihilator of an ideal I in a ring R, denoted as A(I), is defined as A(I)={aRab=0 for all bI}.

For any polynomial f(x)=a0+a1x++alxlR[x] with al0, the reciprocal polynomial f(x) is defined as f(x)=xlf(x1)=al+al1x++a0xl.

The following proposition establishes a relationship between the dual and the annihilator of a λ-constacyclic code.

Proposition 2.5. [13] Let C be a λ-constacyclic code of length n over R, i.e., an ideal of R[x]xnλ. Then, C=A(C):={f(x)f(x)A(C)}.

Throughout this paper, we consider the rings: Ru,v=Fpm[u,v]uk,v2,uvvu,Tu=Fpm[u]uk, where p is a prime number, and m,k are positive integers. The Jacobson radical and the socle of Ru,v are given by: J(Ru,v)=u,v,soc(Ru,v)=uv.

Moreover, the quotient ring Ru,vJ(Ru,v) is isomorphic to soc(Ru,v) as an Ru,v-module via the natural isomorphism: r+J(Ru,v)ruv, for any rRu,v. Thus, Ru,v is a Frobenius ring.

Each unit in Ru,v has the form: λ=i=0k1λiui+vi=0k1λiui, which can be rewritten as: λ=λ0+γu+μv, where λi,λiFpm and λ0,λ10, with: γ=λ1+λ2u++λk1uk2,μ=λ0+λ1u++λk1uk1.

Throughout this article, we assume λ10, which ensures that γ is a unit in Tu.

Let s be a positive integer. Using the division algorithm, we write s=qsm+rs with 0rs<m. Since λ0pm=λ0, we define: θ=λ0pmrs=λ0p(qs+1)ms. It follows that θps=λ0.

Our objective is to study λ-constacyclic codes of length ηps over Ru,v, where η is an integer coprime to p. By Proposition 2.2, these codes correspond to the ideals of the ring: Rλ:=Ru,v[x]xηpsλ.

The following ring homomorphisms will be used in subsequent sections: Φ:Ru,v[x]Tu[x],f(x)f(x)modv, ¯:Ru,v[x]Fpm[x],f(x)f(x)mod(u,v).

3. Direct sum decomposition of λ-constacyclic codes over Ru,v

Since η is coprime with p, the polynomial xηθ has a unique factorization in Fpm[x]: xηθ=z1(x)z2(x)zr(x), where the factors are monic, irreducible, and pairwise coprime. Raising both sides to ps gives: xηpsλ0=z1(x)psz2(x)pszr(x)ps. Since Ru,v is a finite local ring and xηpsλ is a regular element in Ru,v[x], Hensel’s Lemma [22] ensures the existence of a unique factorization xηpsλ=ω1(x)ω2(x)ωr(x), where ω1(x),,ωr(x) are monic and pairwise coprime polynomials in Ru,v[x]. Moreover, for each i=1,,r, ωi¯(x)=zi(x)ps.

Defining ωi^(x)=xηpsλωi(x), it follows that ωi^(x) and ωi(x) are coprime. Hence, there exist polynomials li(x),li(x)Ru,v[x] such that: li(x)ωi^(x)+li(x)ωi(x)=1.

Setting ei(x)=li(x)ωi^(x), it follows from [7, Theorem 3.2] that the following properties hold:

  • The set {e1(x),e2(x),,er(x)} forms a complete system of primitive pairwise orthogonal idempotents, meaning that (1)i=1rei(x)=1,ei(x)ej(x)=0for ij,ei(x)2=ei(x).

  • The ring Rλ decomposes as Rλ=i=1rei(x)Rλ.

  • For each i, the mapping πi:Ru,v[x]ωi(x)ei(x)Rλ,πi(c(x))=ei(x)c(x), is a ring isomorphism.

As a consequence, we obtain the following theorem.

Theorem 3.1. A subset C of Rλ is an ideal if and only if C=i=1rei(x)Ii, where Ii is an ideal of Ru,v[x]ωi(x).

Thus, to classify all λ-constacyclic codes over Ru,v, we need only to study the ideals of Ru,v[x]ωi(x). To this end, for each 1it, we define:

  • ψi(x)=Φ(ωi(x)),

  • Ri=Ru,v[x]ωi(x),

  • Si=Tu[x]ψi(x),

  • z^i(x)=xηθzi(x).

Since ψi(x)=Φ(ωi(x)), the universal property of quotient rings guarantees that Φ induces a unique homomorphism Φi:RiSi, satisfying Φi(f(x)+ωi(x))=Φ(f(x))+ψi(x),f(x)Ru,v[x].

The following pairs of propositions will be used in the subsequent sections.

Proposition 3.2. The polynomial z^i(x) is a unit in Si and Ri.

Proof. It suffices to prove that z^i(x) is coprime to ωi(x) in Ru,v[x] and to ψi(x) in Tu[x].

Since z^i(x) and zi(x)ps are coprime in Fpm[x], there exist polynomials fi(x),gi(x)Fpm[x] such that fi(x)zi(x)ps+gi(x)z^i(x)=1.

Given that ωi¯(x)=zi(x)ps, we can write in Ru,v[x]: ωi(x)=zi(x)ps+uhi(x)+vhi(x), for some hi(x),hi(x)Ru,v[x]. Substituting this into the previous relation, we obtain in Ru,v[x]: (2)fi(x)ωi(x)+gi(x)z^i(x)=1+uhi(x)fi(x)+vhi(x)fi(x).

Since u and v are nilpotent in Ru,v[x], the element 1+uhi(x)fi(x)+vhi(x)fi(x) is a unit in Ru,v[x]. Consequently, ωi(x) and z^i(x) are coprime in Ru,v[x].

Now, applying Φ to Eq. (2), we get: Φ(fi(x))Φ(ωi(x))+Φ(gi(x))Φ(z^i(x))=1+uΦ(h(x)fi(x)). By definition of Φ, we have Φ(ωi(x))=ψi(x) and Φ(z^i(x))=z^i(x), leading to: Φ(fi(x))ψi(x)+Φ(gi(x))z^i(x)=1+uΦ(h(x)fi(x)).

Since u is nilpotent in Tu[x], the element 1+uΦ(hi(x)fi(x)) is a unit in Tu[x]. We conclude that ψi(x) and z^i(x) are coprime in Tu[x]. This proves that z^i(x) is a unit in both Si and Ri, completing the proof. ◻

Proposition 3.3. [3] In Si, we have the following properties:

  • zi(x)ps=u, and thus zi(x) is nilpotent with nilpotency index kps.

  • The ring Si is a chain ring with the following ideal chain: (3)Si=1zi(x)zi(x)kps1zi(x)kps=0.

  • Each ideal zi(x)j contains pdegzim(kpsj) elements, for all 0jkps.

4. The ring Ri and its ideals

In this section, we classify the ideals of the ring Ri and determine their cardinalities. We start with the following proposition.

Proposition 4.1. Let I be an ideal of the ring Ri. Then, it can be expressed as (4)I=zi(x)α+vf(x)+vJ, where 0αkps, Φi(I)=zi(x)α, and f(x) is a polynomial satisfying zi(x)α+vf(x)I. Moreover, the ideal J is defined as J={a(x)Riva(x)I}.

Proof. Let 0αkps and f(x)Ri such that Φi(I)=zi(x)α and zi(x)α+vf(x)I. Then, applying Φi, Φi(zi(x)α+vf(x))=zi(x)α.

For any g(x)I, there exists h(x)Si such that Φi(g(x))=h(x)zi(x)α. By surjectivity of Φi, there exists h(x)Ri satisfying Φi(h(x))=h(x). Thus, we obtain Φi(g(x))=Φi(h(x))Φi(zi(x)α+vf(x)), which implies that g(x)h(x)(zi(x)α+vf(x))ker(Φi)I.

Consequently, we deduce Izi(x)α+vf(x)+ker(Φi)I.

Finally, since ker(Φi)=vRi, it follows that I=zi(x)α+vf(x)+vJ. ◻

The following theorem provides a complete classification of the distinct ideals of the ring Ri.

Theorem 4.2. The distinct ideals of Ri are classified as follows:

  • Type 1: The trivial ideals 0 and 1.

  • Type 2: Ideals of the form vzi(x)α, where 0αkps1.

  • Type 3: Ideals of the form zi(x)α+vzi(x)βg(x), where 1αkps1, 0β<Υ, and g(x) is either 0 or a unit in Si. The parameter Υ is given by: (5)Υ=min{tvzi(x)tzi(x)α+vzi(x)βg(x)}.

  • Type 4: Ideals of the form zi(x)α+vzi(x)βg(x),vzi(x)δ, where 0β<δ<Υ, and g(x) is either 0 or a unit in Si. The parameter Υ is the same as given in (5).

Proof. The Type 1 ideals are trivial. Let I be a non-trivial ideal of Ri. We consider two cases:

  • If Φi(I)={0}, then by Proposition 4.1, I can be expressed as I=vJ, where J={a(x)Riva(x)I}.

    The set Φi(J) forms an ideal of Si, implying that Φi(J)=zi(x)α for some 0αkps1. Applying Proposition 4.1 again, we obtain: J=zi(x)α+vf(x)+vK, where K={a(x)Riva(x)J} and f(x)Ri. Given that v2=0, it follows that I=vzi(x)α.

    This classifies I as Type 2.

  • If Φi(I){0}, we note that Φi(I) is a non-trivial ideal of Si, then Φi(I)=zi(x)α, for some 1αkps1. By Proposition 4.1 , the ideal I satisfies I=zi(x)α+vf(x)+vJ, where f(x)Ri and J={a(x)Riva(x)I}.

    Since vJv, it follows that Φi(vJ)={0}. As in the previous case, we have vJ=vzi(x)δ, for some 0δkps. Then I=zi(x)α+vf(x),vzi(x)δ.

    Considering Φi(f(x))Si, if Φi(f(x))0, there exists a maximal β such that Φi(f(x))zi(x)β,Φi(f(x))zi(x)β+1.

    Thus, we write Φi(f(x))=zi(x)βd(x), where d(x)Si is a unit. In Ri, we have f(x)=vh(x)orf(x)=zi(x)βd(x)+vh(x), for some h(x)Ri. Since v2=0, we deduce vf(x)=0orvf(x)=vzi(x)βd(x).

    Consequently, I=zi(x)α+vzi(x)βg(x),vzi(x)δ, where g(x) is either 0 or a unit in Si. Let Υ be as defined in Eq. (5). If δΥ, then I simplifies to zi(x)α+vzi(x)βg(x), corresponding to Type 3. Otherwise, if δ<Υ, it remains I=zi(x)α+vzi(x)βg(x),vzi(x)δ, corresponding to Type 4.

 ◻

Before computing the value of Υ, we first establish the following lemma.

Lemma 4.3. In Ri, we have zi(x)kps=kμ(z^(x)ps)1zi(x)(k1)psv.

Proof. In Rv,v[x], with all computations carried out modulo xηpsλ, we obtain: zi(x)kpsz^(x)kps=(xηpsλ0)k=(γu+μv)k=l=0k(kl)(γu)kl(μv)l=(γu)k+k(γu)k1(μv)=kμ(γu)k1v=kμ(xηpsλ0)(k1)v.

The last step is justified by the fact that the v-terms in (xηpsλ0)(k1) vanish after multiplication by v, since v2=0. On the other hand, by Proposition 3.2, z^(x) is a unit in Ri. Thus, in Ri, we obtain: zi(x)kps=kμ(z^(x)kps)1(xηpsλ0)(k1)v=kμ(z^(x)ps)1zi(x)(k1)psv. ◻

Theorem 4.4. Let I=zi(x)α+vzi(x)βg(x) and define Υ=min{tvzi(x)tI}. Then, (6)Υ={α,if h(x)=0,min{α,ε},if h(x)0. where ε=max{0lkpszi(x)kps+βαg(x)+kμ(z^(x)ps)1zi(x)(k1)pszi(x)l}.

Thus, we can write (7)zi(x)kps+βαg(x)+kμ(z^(x)ps)1zi(x)(k1)ps=zi(x)εh(x), where h(x)Si is either 0 or a unit in Si.

Proof. Consider vzi(x)tI, which is equivalent to (8)vzi(x)t=f(x)(zi(x)α+vzi(x)βg(x)), for some f(x)Ri, applying Φi yields Φi(f(x))zi(x)α=0in Si.

Since Si is a chain ring with maximal ideal zi(x) and nilpotency index kps, we obtain Φi(f(x))=zi(x)kpsαf(x), with f(x)Si. Consequently, in Ri, f(x)=zi(x)kpsαf(x)+vf(x), where f(x)Ri. Substituting this into Eq. (8), we obtain: vzi(x)t=(zi(x)kpsαf(x)+vf(x))(zi(x)α+vzi(x)βg(x)).

Expanding and using v2=0, we get: (9)vzi(x)t=zi(x)kpsf(x)+vf(x)zi(x)α+vzi(x)kpsα+βf(x)g(x).

Using Lemma 4.3, zi(x)kps=kμ(z^(x)ps)1zi(x)(k1)psv.

Replacing this in Eq. (9), we get: vzi(x)t=v(zi(x)αf(x)+(zi(x)kpsα+βg(x)+kμ(z^(x)ps)1zi(x)(k1)ps)f(x)).

Using Eq. (7), we obtain: vzi(x)t=v(zi(x)αf(x)+zi(x)εh(x)f(x)).

We now consider two cases:

  • If h(x)=0, then Υα. Since vzi(x)α=v(zi(x)α+vzi(x)βg(x))I, it follows that Υ=α.

  • If h(x)0, then Υmin{α,ε}. Conversely, we have: vzi(x)α=v(zi(x)α+vzi(x)βg(x))I, and vzi(x)ε=h(x)1zi(x)kpsα(zi(x)α+vzi(x)βg(x))I.

    Therefore, Υ=min{α,ε}.

 ◻

We now count the number of codewords in each ideal of Ri. For this, we introduce two notions: the residue and the torsion of I.

Res(I)=Φi(I),Tor(I)={c(x)Sivc(x)I}.

Clearly, Res(I) and Tor(I) are ideals of Si. By Proposition 3.3, they can be expressed as zi(x)l, where 0lkps. Now, consider the ring homomorphism T:IΦi(I),c(x)Φi(c(x)).

Since ImT=Res(I) and kerTvTor(I), the first isomorphism theorem yields (10)|I|=|Res(I)||Tor(I)|.

The following lemma, whose proof is straightforward, provides explicit expressions for Res(I) and Tor(I) for any ideal I in Ri.

Lemma 4.5. With the notation of Theorem 4.2:

  • If I=0, then Tor(I)=Res(I)=0.

  • If I=1, then Tor(I)=Res(I)=1.

  • If I=vzi(x)α is of type 2, then Tor(I)=zi(x)α and Res(I)=0.

  • If I=zi(x)α+vzi(x)βg(x) is of type 3, then Tor(I)=zi(x)Υ and Res(I)=zi(x)α.

  • If I=zi(x)α+vzi(x)βg(x),vzi(x)δ is of type 4, then Tor(I)=zi(x)δ and Res(I)=zi(x)α.

By determining Res(I) and Tor(I) in each case, we can compute the cardinalities of all ideals in Ri using Eq. (10) and Proposition 3.3.

5. Dual codes of λ-constacyclic codes over Rv,v

In this section, we focus on the dual codes of λ-constacyclic codes of length ηps over the ring Rv,v. By Theorem 3.1, C=i=1rei(x)Ii, where Ii is an ideal of Ri for 1ir. By Eq. (1), we have d(x)=i=1rei(x)d(x)A(C)c(x)C,(i=1rei(x)d(x))(i=1rei(x)c(x))=0c(x)C,(i=1rei(x)d(x)c(x))=0c(x)C,i{1,,r},ei(x)d(x)c(x)=0c(x)C,i{1,,r},d(x)c(x)=0 in Rii{1,,r},d(x)A(Ii).

Therefore, (11)A(C)=i=1rei(x)A(Ii).

Thus, by Proposition 2.5, C=A(C)=i=1rei(x)A(Ii).

We aim to determine A(I), where I is an ideal of Ri. To this end, we first establish the following three lemmas.

Lemma 5.1. Let I be an ideal of Ri. Then, |I||A(I)|=|Ri|.

Proof. Let C=j=1rej(x)Ij be an ideal of Rλ, where Ij=Iif j=i,andIj=1otherwise.

Then, by Eq. (11), we obtain A(C)=j=1rej(x)Jj, where Jj=A(I)if j=i,andJj=0otherwise.

According to Propositions 2.3 and 2.5, we have |C||A(C)|=|Rv,v|ηps. Therefore, (1jrji|Rj|)|I||A(I)|=|Rv,v|ηps.

It follows that |I||A(I)|=|Rv,v|ηps1jrji|Rj|=|Ri|. ◻

Lemma 5.2. Let I be an ideal of Ri and a,b two integers such that Res(I)=zi(x)aandTor(I)=zi(x)b. Then, we have: Res(A(I))=zi(x)kpsb,Tor(A(I))=zi(x)kpsa.

Proof. Let Res(A(I))=zi(x)a,Tor(A(I))=zi(x)b, where a and b are two integers.

Since vzi(x)bI and vzi(x)bA(I), there exist two polynomials g(x) and f(x) in Ri such that zi(x)a+vg(x)I,zi(x)a+vf(x)A(I).

By the definition of A(I), we obtain:

(12)0=vzi(x)b(zi(x)a+vf(x))=vzi(x)b+a.

Similarly, we have:

(13)0=vzi(x)b(zi(x)a+vg(x))=vzi(x)b+a.

Therefore, we necessarily have: akpsb,bkpsa.

By Lemma 5.1, |I||A(I)|=|Ri|, and by Proposition 3.3, we obtain

pm2kdegzi=|Ri|=pdegzim(kps(a+b+a+b))pm2kdegzi

It follows that: b=kpsa,a=kpsb. ◻

Lemma 5.3. With the previous notation, we have: A(I)=zi(x)kpsb+vf(x),vzi(x)kpsa.

Proof. Firstly, it is clear that vzi(x)kpsaA(I) and zi(x)kpsb+vf(x)A(I).

Now, let c(x)A(I). Then, we have Φi(c(x))Res(A(I)), which implies that there exists c0(x)Si such that: Φi(c(x))=c0(x)zi(x)kpsb=Φi(c0(x)(zi(x)kpsb+vf(x))).

Therefore, we obtain: c(x)c0(x)(zi(x)kpsb+vf(x))kerΦi.

This implies that: A(I)c(x)c0(x)(zi(x)kpsa+vf(x))=vc1(x), where c1(x)Si. Since c1(x)Tor(A(I))=zi(x)kpsa, we deduce that: c(x)zi(x)kpsb+vf(x),vzi(x)kpsa.

This shows that: A(I)=zi(x)kpsb+vf(x),vzi(x)kpsa. ◻

We now proceed to determine the annihilator of each type of ideal. For type 1 ideals, this is straightforward: if I=0, then A(I)=1; if I=1, then A(I)=0. For other types, we first identify two integers a and b such that Res(I)=zi(x)a and Tor(I)=zi(x)b, as given in Lemma 4.3. Once these values are determined, we find a polynomial f(x) satisfying zi(x)kpsb+vf(x)A(I). Finally, applying Lemma 5.3, we obtain A(I).

Proposition 5.4. If I=vzi(x)α is an ideal of type 2, then A(I)=zi(x)kpsα,v.

Proof. It is clear that zi(x)kpsαA(I). Therefore, we have A(I)=zi(x)kpsα,v◻

Proposition 5.5. If I=zi(x)α+vzi(x)βg(x) is an ideal of type 3, then:

A(I)={zi(x)kpsα, if h(x)=0,zi(x)kpsΥvzi(x)εΥh(x),vzi(x)kpsα, if h(x)0.

Proof. Since Tor(I)=zi(x)Υ, it suffices to determine a polynomial f(x)Si satisfying zi(x)kpsΥ+vf(x)A(I).

By Theorem 4.4, we have (14)0=(zi(x)kpsΥ+vf(x))(zi(x)α+vzi(x)βg(x))=zi(x)kpsΥ+α+v(zi(x)kpsΥ+βg(x)+zi(x)αf(x))=zi(x)αΥzi(x)kps+v(zi(x)kpsΥ+βg(x)+zi(x)αf(x))=v(kμ(z^(x)ps)1zi(x)(k1)ps+αΥ+zi(x)kpsΥ+βg(x)+zi(x)αf(x))=v(zi(x)αΥ+εh(x)+zi(x)αf(x)).

We now distinguish two cases:

  • If h(x)=0, then Υ=α, and Eq. (14) simplifies to 0=vzi(x)αf(x).

    In this case, choosing f(x)=0 leads to A(I)=zi(x)kpsα,vzi(x)kpsα=zi(x)kpsα.

  • If h(x)0, we take f(x)=zi(x)εΥh(x), yielding A(I)=zi(x)kpsΥvzi(x)εΥh(x),vzi(x)kpsα.

 ◻

Proposition 5.6. If I=zi(x)α+vzi(x)βg(x),vzi(x)δ, an ideal of type 4, then:

A(I)={zi(x)kpsδ,vzi(x)kpsα, if h(x)=0,zi(x)kpsδvzi(x)εδh(x),vzi(x)kpsα, if h(x)0.

Proof. Since Tor(I)=zi(x)δ, it suffices to determine a polynomial f(x)Si satisfying zi(x)kpsδ+vf(x)A(I).

Given that (zi(x)kpsδ+vf(x))(vzi(x)kpsα)=0, it suffices that (zi(x)kpsδ+vf(x))(zi(x)α+vzi(x)βg(x))=0.

By Theorem 4.4, this is equivalent to: (15)0=zi(x)kpsδ+α+v(zi(x)kpsδ+βg(x)+zi(x)αf(x))=zi(x)αδzi(x)kps+v(zi(x)kpsδ+βg(x)+zi(x)αf(x))=v(kμ(z^(x)ps)1zi(x)(k1)ps+αδ+zi(x)kpsδ+βg(x)+zi(x)αf(x))=v(zi(x)αδ+εh(x)+zi(x)αf(x)).

Then, we choose f(x)=zi(x)εδh(x) if h(x)0 and f(x)=0 if h(x)=0, resulting in:

  • If h(x)=0, A(I)=zi(x)kpsδ,vzi(x)kpsα.

  • If h(x)0, A(I)=zi(x)kpsδvzi(x)εδh(x),vzi(x)kpsα.

 ◻

We now determine A(I) for any ideal in Ri. If I is of type 1, then A(I)=0 when I=0, and A(I)=1 when I=1. For other types, we introduce the following notation: Let ϑ=max{0lkpsx(kpsε)degzih(x1)zi(x)l}.

Then, we can write x(kpsε)degzih(x1)=zi(x)ϑh(x), where h(x) is either 0 or a unit in Si.

Corollary 5.7. If I=vzi(x)α is an ideal of type 2, then A(I)=zi(x)kpsα,v.

Corollary 5.8. If I=zi(x)α+vzi(x)βg(x) is an ideal of type 3, then:

A(I)={zi(x)kpsα, if h(x)=0,zi(x)kpsΥvzi(x)εΥ+ϑh(x),vzi(x)kpsα, if h(x)0.

Proof. The result is immediate when h(x)=0. If h(x)0, we have

A(I)=zi(x)kpsΥvx(kpsΥ)degziz(x1)εΥh(x1),vzi(x)kpsα=zi(x)kpsΥvx(kpsε)degzizi(x)εΥh(x1),vzi(x)kpsα=zi(x)kpsΥvzi(x)εΥ+ϑh(x),vzi(x)kpsα. ◻

Corollary 5.9. If I=zi(x)α+vzi(x)βg(x),vzi(x)δ, an ideal of type 4, then:

A(I)={zi(x)kpsδ,vzi(x)kpsα, if h(x)=0,zi(x)kpsδvzi(x)εδ+ϑh(x),vzi(x)kpsα, if h(x)0.

Proof. It is similar to Corollary 5.8; it suffices to substitute Υ with δ◻

6. Hamming distance of λ-constacyclic codes of length ps over Ru,v

The Hamming weight of a codeword c, denoted by wtH(c), represents the number of nonzero components in the vector c. The Hamming distance between two vectors c and c, denoted by dH(c,c), is defined as wtH(cc).

For a linear code C, the Hamming distance dH(C) is given by the minimum weight among all nonzero codewords in C.

In this section, we compute the Hamming distance of λ-constacyclic codes of length ps over the ring Ru,v. We begin by establishing the structure of these codes, which can be derived from Theorem 4.2.

Corollary 6.1. λ-constacyclic codes of length ps over the ring Ru,v, i.e., ideals of Ru,v[x]xpsλ, can be classified as follows:

  • Type 1: The trivial ideals 0 and 1.

  • Type 2: Ideals of the form v(xθ)α, where 0αkps1.

  • Type 3: Ideals of the form (xθ)α+v(xθ)βg(x), where 1αkps1, 0β<Υ, and g(x) is either 0 or a unit in Tu[x]xpsλ0γu,.

  • Type 4: Ideals of the form (xθ)α+v(xθ)βg(x),v(xθ)δ, where 0β<δ<Υ, and g(x) is either 0 or a unit in Tu[x]xpsλ0γu.

Moreover, Υ={α,if h(x)=0,min{α,ε},if h(x)0.

where ε=max{0lkps(xθ)kps+βαg(x)+kμ(xθ)(k1)ps(xθ)l}.

The following lemma establishes a relationship between the Hamming distance of a λ-constacyclic code and its torsion Tor(C).

Lemma 6.2. For any λ-constacyclic code C of length ps over Ru,v, we have dH(C)=dH(Tor(C)).

Proof. We first prove that dH(C)dH(Tor(C)). Let a(x) be a nonzero polynomial in Tor(C), so that va(x)C. Since a(x) does not involve v, both a(x) and va(x) share the same nonzero coefficients, which implies wtH(va(x))=wtH(a(x))0.

Hence, we obtain dH(C)dH(Tor(C)).

To prove the reverse inequality, let f(x)C be a nonzero polynomial, and decompose it as f(x)=a(x)+vb(x), where a(x),b(x) are polynomials that do not involve v.

  • If a(x)=0, then b(x)Tor(C), leading to dH(Tor(C))wtH(f(x)).

  • If a(x)0, then va(x)=vf(x) is a nonzero element of C. Hence, a(x)Tor(C). Moreover, a(x) and va(x) share the same nonzero components, while vf(x) has more zero components than f(x). It follows that

    dH(Tor(C))wtH(a(x))=wtH(va(x))wtH(f(x)).

Thus, we conclude that dH(Tor(C))dH(C), completing the proof. ◻

The previous lemma reduces the computation of the Hamming distance of a λ-constacyclic code C of length ps over Ru,v to that of its torsion Tor(C), which corresponds to a (λ0+γv)-constacyclic code of the same length over Tu.

Let Cτ=(xθ)τ be a nonzero (λ0+γv)-constacyclic code of length ps over Tu, where 0τpsk. We distinguish two cases:

  • If 0τps(k1), then the chain of inclusions Cps(k1)CτC0=1 implies dH(Cps(k1))dH(Cτ)1.

    By Proposition 3.3, Cps(k1)=uk1. Then, dH(Cps(k1))=1, which implies that dH(Cτ)=1 for all 0τps(k1).

  • If ps(k1)+1τpsk1, writing τ=ps(k1)+ς with 1ςps1, we obtain Cτ=vk1(xθ)ς. Thus, each Cτ corresponds to the λ0-constacyclic code (xθ)ς over Fpm, multiplied by vk1, leading to dH(Cτ)=dH((xθ)ς).

The Hamming distance of constacyclic codes of length ps over Fpm is determined by the following proposition.

Proposition 6.3. [9] Let Cς=(xθ)ς be a λ0-constacyclic code of length ps over Fpm, where ς{0,1,,ps}. The Hamming distance dH(Cς) is given by dH(Cς)={1,if ς=0,ϖ+2,if ϖps1+1ς(ϖ+1)ps1,0ϖp2,(q+1)pj,if pspsj+(q1)psj1+1ςpspsj+qpsj1,1qp1,1js1,0,if ς=ps.

Thus, we establish the following theorem.

Theorem 6.4. Let C be a λ-constacyclic code of length ps over Ru,v. Then, its Hamming distance is given by dH(C)={1,if 0τps(k1) or ς=0,ϖ+2,if ϖps1+1ς(ϖ+1)ps1,0ϖp2,(q+1)pj,if pspsj+(q1)psj1+1ςpspsj+qpsj1,1qp1,1js1,0,if ς=ps, where 0τkps satisfies Tor(C)=(xθ)τ, and if τps(k1), then ς=τps(k1).

References:

  1. Y. Ahendouz and I. Akharraz. A class of constacyclic codes of length 2ps over Fpm[u,v]/u2,v2,uvvu. Gulf Journal of Mathematics, 17(2):73–90, 2024. https://doi.org/10.56947/gjom.v17i2.1918.
  2. Y. Ahendouz and I. Akharraz. On negacyclic codes of length 8ps over Fpm+uFpm. Journal of Combinatorial Mathematics and Combinatorial Computing, 122:351–359, 2024. http://dx.doi.org/10.61091/jcmcc122-29.
  3. Y. Ahendouz and I. Akharraz. Type-1 constacyclic codes of length 7ps over Fpm[u]/ue. Palestine Journal of Mathematics, 14(1):569–577, 2025.
  4. Y. Cao. On constacyclic codes over finite chain rings. Finite Fields and Their Applications, 24:124–135, 2013. https://doi.org/10.1016/j.ffa.2013.07.001.
  5. Y. Cao, H. Q. Dinh, T. Bag, and W. Yamaka. Explicit representation and enumeration of repeated-root (δ+αu2)-constacyclic codes over F2m[u]/u2k. IEEE Access, 8:55550–55562, 2020. https://doi.org/10.1109/ACCESS.2020.2981453.
  6. Y. Cao, H. Q. Dinh, F.-W. Fu, J. Gao, and S. Sriboonchitta. A class of repeated-root constacyclic codes over Fpm[u]/ue of type 2. Finite Fields and Their Applications, 55:238–267, 2019. https://doi.org/10.1016/j.ffa.2018.10.003.
  7. M. Charkani and J. Kabore. Primitive idempotents and constacyclic codes over finite chain rings. Gulf Journal of Mathematics, 8(2):55–67, 2020. https://doi.org/10.56947/gjom.v8i2.434.
  8. B. Chen, H. Q. Dinh, H. Liu, and L. Wang. Constacyclic codes of length 2ps over Fpm+uFpm. Finite Fields and Their Applications, 37:108–130, 2016. https://doi.org/10.1016/j.ffa.2015.09.006.
  9. H. Q. Dinh. On the linear ordering of some classes of negacyclic and cyclic codes and their distance distributions. Finite Fields and Their Applications, 14:22–40, 2008. https://doi.org/10.1016/j.ffa.2007.07.001.
  1. H. Q. Dinh. Constacyclic codes of length ps over Fpm+uFpm. Journal of Algebra, 324(5):940–950, 2010. https://doi.org/10.1016/j.jalgebra.2010.05.027.
  2. H. Q. Dinh. Repeated-root constacyclic codes of length 2ps. Finite Fields and Their Applications, 18:133–143, 2012. https://doi.org/10.1016/j.ffa.2011.07.003.
  3. H. Q. Dinh, T. Bag, P. K. Kewat, S. Pathak, A. K. Upadhyay, and W. Chinnakum. Constacyclic codes of length (pr,ps) over mixed alphabets. Journal of Applied Mathematics and Computing:1–26, 2021. https://doi.org/10.1007/s12190-021-01508-x.
  4. H. Q. Dinh, S. Dhompongsa, and S. Sriboonchitta. Repeated-root constacyclic codes of prime power length over Fpm[u]/ua and their duals. Discrete Mathematics, 339(6):1706–1715, 2016. https://doi.org/10.1016/j.disc.2016.01.020.
  5. H. Q. Dinh, S. Dhompongsa, and S. Sriboonchitta. On constacyclic codes of length 4ps over Fpm+uFpm. Discrete Mathematics, 340(4):832–849, 2017. https://doi.org/10.1016/j.disc.2016.11.014.
  6. H. Q. Dinh, Y. Fan, H. Liu, X. Liu, and S. Sriboonchitta. On self-dual constacyclic codes of length ps over Fpm+uFpm. Discrete Mathematics, 341(2):324–335, 2018. https://doi.org/10.1016/j.disc.2017.10.015.
  1. H. Q. Dinh, P. K. Kewat, S. Kushwaha, and W. Yamaka. On constacyclic codes of length ps over Fpm[u,v]/u2,v2,uvvu. Discrete Mathematics, 343(8):111890, 2020. https://doi.org/10.1016/j.disc.2020.111890.
  2. H. Q. Dinh, P. K. Kewat, S. Kushwaha, and W. Yamaka. Self-dual constacyclic codes of length 2s over the ring F2m[u,v]/u2,v2,uvvu. Journal of Applied Mathematics and Computing:1–29, 2022. https://doi.org/10.1007/s12190-021-01526-9.
  3. H. Q. Dinh and S. R. López-Permouth. Cyclic and negacyclic codes over finite chain rings. IEEE Transactions on Information Theory, 50(8):1728–1744, Aug. 2004. https://doi.org/10.1109/TIT.2004.831789.
  4. W. Huffman and V. Pless. Fundamentals of Error-Correcting Codes. Cambridge University Press, 2003.
  5. X. Kai, S. Zhu, and P. Li. (1+λu)-constacyclic codes over Fp[u]/um. Journal of the Franklin Institute, 347(5):751–762, 2010. https://doi.org/10.1016/j.jfranklin.2010.02.003.
  6. H. R. Mahmoodi and R. Sobhani. On some constacyclic codes over the ring Fpm[u]/u4. Discrete Mathematics, 341:3016–3122, 2018. http://dx.doi.org/10.1016/j.disc.2018.07.024.
  7. B. R. McDonald. Finite Rings with Identity, volume 28. Marcel Dekker, 1974.
  8. R. Sobhani. Complete classification of (δ+αu2)-constacyclic codes of length pk over Fpm+uFpm+u2Fpm. Finite Fields and Their Applications, 34:123–138, 2015. https://doi.org/10.1016/j.ffa.2015.01.008.
  9. J. A. Wood. Duality for modules over finite rings and applications to coding theory. American Journal of Mathematics, 121(3):555–575, 1999. https://doi.org/10.1353/ajm.1999.0024.