Recently, a particular type of defining set is being used to get Lee-weight distribution over a particular type of ring. However, little work has been done on mixed alphabets. Therefore, in Section 3, we investigate the Lee-weight distributions associated with various kinds of defining sets, labelled A to J, for code constructions over the mixed-alphabet ring R=Z2αZ4β, where α and β are positive finite integers. Using Parseval's identity, we determine the cardinalities of the defining sets A to J. We further establish several new results concerning 2-Lee-weight and 3-Lee-weight distributions.
Introduction
Research on Z2Z4-additive codes starts in late 1990s. In 2001, Borges et al. [1] began systematic study of additive codes over mixed alphabets Z2Z4 (see [1]) and later in 2007, they developed its different algebraic properties including duality and their polynomial representations and extended their work using poset (see [5]). Zonbing et al. [2] introduced new family of quaternary codes Ck1,k2δ for δ=1,2,3 which gives two lee weight codes. In [3], Wu et al. explored four Lee weight quaternary code and established two infinite families of new kinds. Bilal et al. [4] introduced codes of the type (α,β;γ,δ;κ) which is a family of Z2Z4-additive code and it is useful to further study additive codes over mixed alphabets of Z2 and Z4. Again duality and weight enumerator for mixed alphabet were studied by Borges et al. [6] and establishes characterization results for self-dual mixed-alphabet codes. In [7], Geng et al. also employed a Gray map over mixed alphabets and investigated weight enumerators, thereby extending several existing results and later their works were extended by Liu et al. [10] for two and three Lee weight codes over non chain rings and they explicitly determined the Lee weight distributions of the constructed codes using Gauss sums over finite fields. Kumar et al. [8] got few weight codes using defining set D={a+ub∈Rm∗:tr(a2+ub2)=0}. In [9], Wang et al. uses the general defining-set construction D={d1,d2,…,dn}⊆GR(4,m)∖{0}, with the associated code CD={(Tr(xd))d∈D:x∈GR(4,m)}, where Tr:GR(4,m)→Z4 is the Galois-ring trace.
The motivation of our work is mainly from the existing literatures on Lee weight distributions, trace codes, few weight codes and mixed alphabet. We organizes and investigated different types of defining sets within a unified framework for the mixed alphabet Z2αZ4β for finite value of α and β. Different choices of defining sets influences the Lee weight distributions and the resulting properties. We organizes our work in 6 sections. In section 1, we establishes our motivation of works over mixed alphabet. § 1 gives some basics definitions that we have used. In § 2, we studied A to J various kinds of defining sets for codes over the mixed alphabet with their useful results on Parseval identity. In § 3, and section 5, we establishes new kind of result on 2-Lee weight distribution and 3-Lee weight distribution codes of Z2Z4 additive codes respectively. In § 5, we gave a conclusion.
For convenience, we list the notations used in this paper as follows:
C∗ the set of nonzero complex numbers,
R the mixed ring Z2αZ4β, where α and β are finite integers,
D any defining set from A to J,
CD the code corresponding to the defining set D,
CD(u) the codeword associated with the vector u,
u⋅t the inner product associated with the mixed-alphabet structure,
WL(u) the Lee-weight of the vector u,
dL(C) the minimum Lee distance of the code C,
Φ(u) the Gray image of the vector u,
WH(u) the Hamming weight of the vector u,
HD(u) the character sum associated with the defining set D and the vector u,
HDc(u) the character sum associated with the complement of D,
∣u∣ the cardinality of the support of the vector u,
N the length of the binary Gray image,
Im(T) the image of the linear operator T,
W the cardinality of the defining set D,
F(u)WL(CD(u)).
preliminaries
A subset C⊆Z2αZ4β is called a Z2Z4-additive code if u+v∈C for u,v∈C. We will take the length of the code C as n=α+2β in general. The additive code C is called polycyclic, if there exists two vectors say (c0,c1,…,cα−1)∈Z2α, (c0′,c1′,…,cβ−1′)∈Z4β and such that for any codeword (v∣w)=(v0,v1,…,vα−1∣w0,w1,…,wβ−1)∈C, its poly-shift T(v∣w)=((0,v0,v1,…,vα−2)+vα−1(c0,c1,…,cα−1)∣(0,w0,w1,…,wβ−2)+wβ−1(c0′,c1′,…,cβ−1′))∈C. For a vector u=(x1,x2,…,xα∣y1,y2,…,yβ)∈Z2αZ4β, the standard Gray map from Z2αZ4β to Z2α+2β is Φ(u)=(x1,x2,…,xα∣ϕ(y1),ϕ(y2),…,ϕ(yβ)), where ϕ is defined from Z4 to Z22 as ϕ(0)=(0,0),ϕ(1)=(0,1),ϕ(2)=(1,1),ϕ(3)=(1,0). One can verify that the Gray map defined here forms an equivalent relation. And Lee-weight of a vector in Z2αZ4β is defined as WL(u)=WH(Φ(u)), where WH is defined as Hamming weight of the vector in Z2α+2β. Assume that D be the defining set for the Z2Z4-additive code, then we define a additive code as CD={CD(u)=(u⋅t)t∈D∣u∈Z2αZ4β}, where u⋅t=∑i=1αuiti(mod2)+∑j=α+1α+βuα+jtα+j(mod4) for u=(u1,u2,…,uα∣uα+1,…,uα+β), t=(t1,t2,…,tα∣tα+1,…,tα+β). We will explore defining sets from A to J. Here, the Lee-weight of the codeword c=(c1,…,cα∣cα+1,…,cα+β)∈CD is defined as
Let v=(v1,v2,…,vn)∈Z2αZ4β, then support denoted by supp(v) is defined by the set of non zero coordinate positions. The Hamming weight WH(v) of v is defined by the size of supp(v).
Lemma 2.1. For every x∈R, the Gray map Φ preserves Lee-weight, that is,
WH(Φ(x))=WL(x),
where WH denotes the Hamming weight on F2α+2β and WL denotes the Lee-weight on Z2αZ4β.
Proof. Let
x=(a1,…,aα,b1,…,bβ)∈R.
By the definition of Φ,
WH(Φ(x))=i=1∑αWH(ai)+j=1∑βWH(ϕ(bj)).
Since WH(ai)=WL(ai) for ai∈Z2 and WH(ϕ(bj))=WL(bj) for every bj∈Z4, we obtain
WH(Φ(x))=i=1∑αWL(ai)+j=1∑βWL(bj)=WL(x).
Hence the result follows. □
Definition 2.1. Let R=Z2αZ4β, and q is an odd positive integer. For each t=(x1,…,xα,y1,…,yβ)∈R, the q-cyclotomic coset generated by t is defined as
Ct(q)={qjt:j=0,1,2,…},
where qjt=(qjx1,…,qjxα,qjy1,…,qjyβ), with the first α coordinates computed modulo 2 and the remaining β coordinates computed modulo 4.
Let R=Z2α×Z4β and choose q=3 and consider the element t=(1,0,1,2)∈R, then, the 3-cyclotomic coset generated by t is
Ct(3)={t,3t,32t,…}.
where multiplication is performed coordinatewise, modulo 2 in the first two coordinates and modulo 4 in the last two coordinates. We have 3t=(3,0,3,6)≡(1,0,3,2) (mod (2,2,4,4)), and 32t=3(1,0,3,2)=(3,0,9,6)≡(1,0,1,2) (mod (2,2,4,4)). Therefore, C(1,0,1,2)(3)={(1,0,1,2),(1,0,3,2)}. Hence, the cardinality of this cyclotomic coset is 2.
Various Defining Sets and Generating Functions for R
We investigate the following defining sets in detail and establish new results concerning their Lee-weight distributions:
A. Dt={w∈Z2αZ4β∣WL(w)=t}.
B. Dt1,t2={w∈Z2αZ4β∣t1≤WL(w)≤t2}.
C. DU=⋃Di, where Di={w∈Z2αZ4β∣WL(w)=i}.
D. Dt={w∈Z2αZ4β∣∣supp(w)∣=t}, where supp(w)={i∣wi=0}.
E. DTr={w∈Z2αZ4β∣Trm(aw)=0}, where Trm(w)=∑j=0m−1(x2j+2y2j).
F. DQ={w∈Z2αZ4β∣Q(w)=0}, where Q(w) is quadratic form.
G. Dcl={ξi∈Z224β:i∈T}, where T is finite union of q-cyclotomic cosets.
H. Dinn={w∈Z2αZ4β∣w⋅u=0,∀u∈Z2αZ4β}, where w⋅u=2∑i=1αwiui+∑j=1βwα+juα+j(mod4).
I. Dv=v+H, H⊆Z2αZ4β, produces non-linear codes if v=0.
J. Ds={w=(x,y)∈Z2αZ4β∣supp(x)⊆supp(y)}, x∈Z2α, y∈Z4β.
Note: The above defining sets are subsets of Z2αZ4β.
Similar to the generating set for binary code [5], we can extend generating set for Z2αZ4β as follows:
Let us define map
χu:R⟶C∗,χu(t)=iu⋅t,
which is an additive character of R, where R=Z2αZ4β. Equivalently,
χu(t)=j=1∏α(−1)ujtjj=α+1∏α+βiujtj.
For a subset D⊆R, define the associated character sum by
For uj∈Z2 for 1≤j≤α and uj∈Z4 for α+1≤j≤α+β, we have
1+(−1)uj={2,0,uj=0,uj=1,
and
1+iuj+i2uj+i3uj={4,0,uj=0,uj=0.
Consequently,
HR(u)={2α4β,0,u=0,u=0.
In particular, for every u=0, HDc(u)=−HD(u).
Lemma 3.1 (Parseval identity). Let R=Z2αZ4β and let D⊆R. For u∈R, define HD(u)=∑t∈Diu⋅t, where u⋅t=2∑j=1αujtj(mod2)+∑j=α+1α+βujtj(mod4). Then
Since D=−D, for every t∈D, we also have −t∈D. Moreover,
iu⋅(−t)=i−u⋅t=iu⋅t.
Thus, the terms in HD(u) occur in conjugate pairs, and consequently
HD(u)∈R.
Hence,
Re(HD(u))=HD(u),
and therefore
WL(CD(u))=∣D∣−HD(u).
Equivalently,
HD(u)=∣D∣−WL(CD(u)).
By Lemma 3.1 (Parseval identity),
u∈R∑∣HD(u)∣2=2α4β∣D∣.
Since HD(u) is real, we obtain
u∈R∑(∣D∣−WL(CD(u)))2=2α4β∣D∣.
Finally, grouping the elements u∈R according to the Lee-weight
w=WL(CD(u)),
and denoting by Aw the number of codewords of Lee-weight w, we obtain
w∑Aw(∣D∣−w)2=2α4β∣D∣.
This completes the proof. □
Proposition 3.1. Let R=Z2αZ4β and
Dt={w∈R:∣supp(w)∣=t},
where supp(w) denotes the set of nonzero coordinates of w. Define
HDt(u)=w∈Dt∑iw⋅u,u∈R,
where i=−1 and w⋅u is the standard Z2Z4 inner product. Then
u∈R∑∣HDt(u)∣2=2α4βr=0∑t(rα)(t−rβ)3t−r.
Proof. By Parseval’s identity for characters on R, we have
u∈R∑∣HDt(u)∣2=∣R∣∣Dt∣.
Since ∣R∣=2α4β, it remains to determine the cardinality of Dt. Suppose that exactly r of the t nonzero coordinates belong to the Z2 component. The remaining t−r nonzero coordinates belong to the Z4 component. We may choose these coordinates in
(rα)(t−rβ)
ways. Each nonzero coordinate in Z2 has one possible value, whereas each nonzero coordinate in Z4 has three possible values. Consequently,
∣Dt∣=r=0∑t(rα)(t−rβ)3t−r.
Substituting this expression into Parseval’s identity yields
u∈R∑∣HDt(u)∣2=2α4βr=0∑t(rα)(t−rβ)3t−r.
This completes the proof.
Theorem 3.2 (Lee-weight distribution using defining sets A, B and C). Let
N=α+2β.
For t≥0, if we take D as Dt, Dt1,t2 and DU as defined in A., B. and C. respectively, then
WL(CD(u))=∣D∣−HD(u),
and, if AwD denotes the number of codewords of Lee-weight of w in CD, then
Proof. For an element w=(w1,…,wα+β)∈Z2αZ4β, each binary coordinate contributes either 0 or 1 to the Lee-weight. Each Z4 coordinate contributes 0, 1, or 2, with one element of weight 0, two elements of weight 1, and one element of weight 2. Hence the Lee-weight enumerator of R is
(1+x)α(1+2x+x2)β.
Since
1+2x+x2=(1+x)2,
we obtain
(1+x)α(1+2x+x2)β=(1+x)α+2β=(1+x)N.
Therefore, the coefficient of xt is
∣Dt∣=(tN).
Since the sets Dt are pairwise disjoint,
Dt1,t2=t=t1⋃t2Dt,
and consequently
∣Dt1,t2∣=t=t1∑t2∣Dt∣=t=t1∑t2(tN).
Similarly,
∣DU∣=i∈U∑∣Di∣=i∈U∑(iN).
Next, observe that
WL(−w)=WL(w)
for every w∈R. Hence
Dt=−Dt,Dt1,t2=−Dt1,t2,DU=−DU.
Thus, for any of these defining sets D, the terms corresponding to w and −w in HD(u) are complex conjugates. Hence HD(u)∈R.
Grouping the elements u∈R according to the Lee weight of CD(u) gives
w∑AwD(∣D∣−w)2=2α4β∣D∣.
Substituting the explicit expressions for ∣Dt∣, ∣Dt1,t2∣, and ∣DU∣ yields the three stated identities. □
Example 1. Let α=1 and β=1. Then R=Z2×Z4 and N=3. For t=(x,y)∈R, define the Lee weight by WL(t)=x+wL(y), where wL denotes the Lee weight in Z4. The mixed inner product is given by u⋅t=2ax(mod2)+by(mod4), where u=(a,b)∈R.
Case 1. Take D1={t∈R:WL(t)=1}. Then D1={(0,1),(0,3),(1,0)} and ∣D1∣=(13)=3. The corresponding codeword is CD1(u)=(b,3b,2a). The Lee-weight distribution of CD1 is given by
Therefore u⋅t∈{0,2}. As, WL(0)=0, WL(2)=2 in Z4, we have
WL(CD(u))=2×∣{t∈D:u⋅t=2}∣.
Consider,
Φu(t)=(x⋅a)+i∈supp(y)∑bi(mod2),
then
u⋅t={2,0,Φu(t)=1,Φu(t)=0.
Again for fixed y, there are 2k possible values of x and a⋅x takes values 0 and 1 equally. So, Φu(t)=0 and 1 each occurs 2k−1 times. Summing over all y, half of D give value 0 and half give value 2. Hence
WL(CD(u))={0,∣D∣,u=0,u=0
Theorem 4.1. Let R=Z2αZ4β, and let k be an integer satisfying 1≤k≤β. Define
Let CDk be the code associated with Dk, defined as in the preliminary section. Then CDk is a 2-Lee-weight code.
Proof. By the definition of Dk, every element d=(x,y)∈Dk satisfies
supp(x)⊆supp(y),∣supp(y)∣=k,
and yj∈{0,2} for all 1≤j≤β. Therefore, Dk satisfies the hypotheses of Lemma 4.1. Applying Lemma 4.1, the associated code CDk is a 2-Lee-weight code. Hence the theorem follows.
Example 2. Take α=2,β=3,k=2 so that D={(x,y)∣supp(x)⊆supp(y),yi∈{0,2},∣supp(y)∣=2}. Choose y∈Z43 so that exactly two positions are non zero. So possible supports are {1,2}, {1,3} and {2,3}. So for each supports corresponding values of y are (2,2,0),(2,0,2) and (0,2,2) respectively. As supp(x)⊆supp(y), ∣supp(y)∣=2, we can choose x∈Z23 and x can have 1's only in those non zero positions. So, x has 4 choices. Hence ∣D∣=4×3=12. In general, we can extend the cardinality of defining set of D as (kn)2k, if β=n and ∣supp(y)∣=k. For our particular choice of α,β and k, WL(CD(u))∈{0,12}. Since u⋅t∈{0,2}, for v∈Z22Z43, the product (u⋅t)(v⋅t)∈{0,4}≡0(mod4). Therefore in this case CD⊆CD⊥.
Proposition 4.1. Let D be a nonempty subset of R=Z2αZ4β, and let CD be the code defined by
CD={ca=(a⋅d)d∈D:a∈R},
where
a⋅d=2i=1∑αaidi+j=1∑βaα+jdα+j(mod4).
Suppose that the Lee-weight enumerator of CD is
WCD(z)=1+Aw1zw1+Aw2zw2,
where 0<w1<w2 and Aw1,Aw2>0. Then CD is a 2-Lee-weight code with nonzero Lee weights w1 and w2.
Proof. By definition, the Lee-weight enumerator of CD is
WCD(z)=c∈CD∑zWL(c),(1)
where WL(c) denotes the Lee weight of the codeword c. The constant term 1 corresponds to the zero codeword. Since Aw1>0 and Aw2>0, there exist nonzero codewords of Lee-weights w1 and w2, respectively. Moreover, the assumed form of the weight enumerator shows that no other nonzero Lee weights occur in CD. Hence, CD has exactly two distinct nonzero Lee-weights, namely w1 and w2. Therefore, CD is a 2-Lee-weight code.
3-Lee Weight Distribution of Z2Z4 Additive Codes
For our convenient we redefine our weight function as
F(u)=WL(CD(u))=t∈D∑WL(u⋅t).
For each k∈Z4, define Nk(u)=∣{t∈D∣u⋅t=k}∣. Then
F(u)=k∈Z4∑NkWL(k).
We have WL(0)=0,WL(1)=WL(3)=1,WL(2)=2 in Z4. Hence, F(u)=N1(u)+N3(u)+2N2(u). We define a reduction map Ψ:Z4→Z3 as Ψ(x)≡x(mod3).
Lemma 5.1. Let R=Z2αZ4β, a∈R∖{0} and define D={t∈R∣Ψ(a⋅t)∈S}, S⊂{0,1,2}. Then for u∈R∖{0}, the pair (N1(u)+N3(u),N2(u)) takes at most three distinct values.
Proof. Define Ak,i(u)=∣{t∈R∣u⋅t=k,Ψ(a⋅t)=i}∣. Then we can proof that
Nk(u)=i∈S∑Ak,i(u).
Using decomposition of D we can write D=D0∪D1∪D2, where Di={t∈R∣u⋅t=k,Ψ(a⋅t)=i}. Hence, we can write
Nk(u)=∣{t∈D∣u⋅t=k}∣=i∈S⋃{t∈Di∣u⋅t=k},
where all Di, i=0,1,2 are disjoint. Therefore
∣{t∈D∣u⋅t=k}∣=i∈S∑∣{t∈Di∣u⋅t=k}∣.
Hence ∣{t∈Di∣u⋅t=k}∣=Ak,i(u). Therefore, we can conclude
Nk(u)=i∈S∑Ak,i(u).
Thus
F(u)=k∈Z4∑WL(k)i∈S∑Ak,i(u).
Take lu(t)=u⋅t∈Z4,la(t)=a⋅t∈Z4 and define l:t↦(lu(t),la(t)) which is a linear map from R to Z4×Z4. The values of Ak,i(u) depends on the maps lu and la. We divide the space that contain u=0 into three disjoint classes as follows:
Class I. U1={u=0∣u⋅a=0}
Class II. U2={u=λa∣λ∈Z4∗}
Class III. U3=R∖(U1∪U2∪{0}).
We shall prove that each class produces constant values of the pair (N1(u)+N3(u),N2(u)).
Class I. Let u∈U1, i.e., u⋅a=0. For any t∈R, consider t′=t+λa,λ∈Z4. We have lu(t′)=u⋅t′+λ(u⋅a)=u⋅a=lu(t) as u⋅a=0. Hence lu(t) is constant on each coset t+⟨a⟩. Again la(t′)=a⋅t′=a⋅t+λ(a⋅a). Now Ψ(a⋅t′)=Ψ(a⋅t)+λc(mod3), where c=Ψ(a⋅a)∈Z3,λ∈Z4. If c=0, then Ψ(a⋅t′)=Ψ(a⋅t). So varying λ does not move between different Di. Hence whole orbit t+⟨a⟩ stays inside one of Di. If c=1∈Z3, then Ψ(a⋅t′) takes values r,r+1,r+2 for λ=0,1,2 respectively, where r=Ψ(a⋅t). Similarly for c=2, Ψ(a⋅t′) takes the values r,r+2,r+1 for λ=0,1,2 respectively. Hence the orbit t+⟨a⟩ intersects all three sets D0,D1,D2. Thus Ak,i(u) is constant. So, Nk(u)=∣S∣Ak,i(u). Hence (N1(u)+N3(u),N2(u))=(A1,A2), where A1 and A2 are two independent constant.
Class II. If u∈U2, i.e., u=λa and u⋅t=λ(a⋅t). If t∈Di, then Ψ(a.t)=i. Thus, u⋅t=λ(a⋅t) which depends only on i. Hence
Ak,i(u)={∣Di∣,0,k=λ(a⋅t),otherwise.
Thus
Nk(u)=i∈S∑Ak,i
depends only on sizes of Di. So we can conclude in this case (N1(u)+N3(u),N2(u))=(B1,B2), where B1 and B2 are two independent constants.
Class III. Consider u∈U3, i.e., u⋅a=0,u∈/⟨a⟩. Here lu and la are linearly independent maps. Define Φ(t)=(u⋅t,a⋅t)∈Z4×Z4. Since u and a are independent, Φ has maximal element of rank 2. Hence, we can conclude (N1(u)+N3(u),N2(u))=(C1,C2), where C1 and C2 are two independent constants.
Theorem 5.1. Let R=Z2αZ4β, a∈R∖{0}, a is fixed. Define the reduction mapping Ψ:Z4→Z3, Ψ(x)≡x(mod3). Define Di={t∈R∣Ψ(a⋅t)=i,i=0,1,2}. Let CD={CD(u)=(u⋅t)t∈D∣u∈R}, where D∈{D1,D1∪D2,D0∪D2}. Then ∣{WL(CD(u))∣u=0}∣≤3.
Proof. The partition R=D0∪D1∪D2 is well defined: Consider Φ(t)=Ψ(a⋅t), which is well defined in Z3. Define Di=Φ−1(i)={t∈R∣Φ(t)=i}. Since Φ(t)∈{0,1,2}, there exists a unique i∈{0,1,2} such that Φ(t)=i. Hence by definition of preimage, t∈Φ−1(i)=Di. Thus R⊆D0∪D1∪D2. Hence R=D0∪D1∪D2 as Di⊆R for all i. Clearly all Di's are disjoint because of equivalence relation of Φ. Define the weight function as
F(u)=WL(CD(u))=t∈D∑WL(u⋅t).
For each k∈Z4, define Nk=∣{t∈D∣u⋅t=k}∣. Then
F(u)=k∈Z4∑Nk(u)WL(u).
As WL(0)=0, WL(1)=WL(3)=1, WL(2)=2 in Z4, hence we have F(u)=N1(u)+N3(u)+2N2(u). Now using Lemma 5.1, we can conclude F(u) is completely determine by the triple N1(u)+N3(u), N2(u). Hence ∣{WL(CDu):u=0}∣≤3.
Example 3. For u=(r,s)∈R, the codeword corresponding to u is
CDu=(u⋅t)t∈D,
where inner product is defined as u⋅(x,y)=2rx+sy(mod4). Let fix a=(1,1)∈R∖{0}. For t=(x,y)∈R, the mixed product is defined by a⋅t=2x+y(mod4). Hence, Ψ(a⋅t)=Ψ(2x+y), where Ψ:Z4→Z3 is the reduction mapping given by Ψ(z)≡z(mod3). Evaluating Ψ(a⋅t) for every t∈R, we obtain the following table:
t=(x,y)
a⋅t (mod 4)
Ψ(a⋅t)
(0,0)
0
0
(0,1)
1
1
(0,2)
2
2
(0,3)
3
0
(1,0)
2
2
(1,1)
3
0
(1,2)
0
0
(1,3)
1
1
Table 1 (PDF p. 16).
Consequently, the defining sets are
D0={(0,0),(0,3),(1,1),(1,2)},
D1={(0,1),(1,3)},
D2={(0,2),(1,0)}.
Clearly, R=D0∪D1∪D2, where the three sets are pairwise disjoint. We now construct the codes for the three choices of D specified in Theorem 5.1.
Case 1:D=D1. Ordering the elements of D1 as (0,1),(1,3), we obtain
CD1(r,s)=(s,2r+3s)(mod4).
Therefore, CD1={(s,2r+3s):r∈Z2,s∈Z4}. The Lee weights of the nonzero codewords are given by
u
CD1u
WL(CD1u)
(0,1)
(1,3)
2
(0,2)
(2,2)
4
(0,3)
(3,1)
2
(1,0)
(0,2)
2
(1,1)
(1,1)
2
(1,2)
(2,0)
2
(1,3)
(3,3)
2
Table 2 (PDF p. 16).
Thus,
{WL(CD1u):u∈R∖{0}}={2,4},
and consequently,
{WL(CD1u):u=0}=2≤3.
Case 2:D=D1∪D2. Ordering the elements as (0,1),(1,3),(0,2),(1,0), we obtain
CD1∪D2(r,s)=(s,2r+3s,2s,2r)(mod4).
Hence,
CD1∪D2={(s,2r+3s,2s,2r):r∈Z2,s∈Z4}.
Case 3:D=D0∪D2. Ordering the elements as (0,0),(0,3),(1,1),(1,2),(0,2),(1,0), we obtain
CD0∪D2(r,s)=(0,3s,2r+s,2r+2s,2s,2r)(mod4).
Consequently,
CD0∪D2={(0,3s,2r+s,2r+2s,2s,2r):r∈Z2,s∈Z4}.
Thus, the defining sets and corresponding codes have been constructed explicitly for all three choices of D in Theorem 5.1. In particular, the Lee-weight calculation for D=D1 verifies the asserted bound in this case.
Defining set
Elements of D
Lee weights
No. of distinct weights
D1
{(0,1),(1,3)}
{2,4}
2
D1∪D2
{(0,1),(1,3),(0,2),(1,0)}
{4,6}
2
D0∪D2
{(0,0),(0,3),(1,1),(1,2),(0,2),(1,0)}
{4,6}
2
Table 2 (PDF p. 17). Defining sets and Lee-weight distributions for R=Z2×Z4, where a=(1,1).
Definition 5.1. Let Sα is symmetric group of α elements from Z2 and Sβ be symmetric group of β elements from Z4. Define group under composition operation to be the collection of all maps of the form g(x1,x2,…,xα∣y1,y2,…,yβ)=(xσ(1),…,xσ(α)∣ϵ1yτ(1),…,ϵβyτ(β)) on R=Z2αZ4β, where σ∈Sα, τ∈Sβ and ϵj∈{1,−1}⊆Z4, ∀j∈[1,β].
Theorem 5.2. Let R=Z2αZ4β and {1,2,…,α+β}=S1∪S2 a disjoint partition. Take D0={0}, D1={t∈R∣supp(t)∈S1} and D2={t∈R∣supp(t)∈S2}. For D∈{D1,D1∪D2} and code CD={CD(u)=(u⋅t)t∈D∣u∈R}, the Lee function depends only on supp(u). Moreover, if the partition S1,S2 induces exactly three distinct interaction numbers, then CD is a three Lee weight code.
Proof. We have u⋅t=2(u1⋅x)+u2⋅y for u=(u1,u2),t=(x,y)∈R. Consider, supp(u)∩supp(t)=ϕ which gives u⋅t=0. Thus u⋅t depends only on co-ordinates belonging to supp(u)∩supp(t). Hence consequently, WL(u⋅t) also depends only on the intersection pattern between supp(u) and supp(t) which is invariant under purmutation. Let G be the group generated by transformations, then g(Di)=Di,∀g∈G. Consider u,v∈R satisfying ∣supp(u)∣=∣supp(v)∣, then we can have a one to one corresponding g∈G such that g(u)=v. Now
F(v)=t∈D∑WL(v⋅t)=t∈D∑WL(g(u)⋅t)
Now g(u)⋅t=u⋅g−1(t) (using invariance of the inner product under G). Therefore
F(v)=t∈D∑WL(u⋅g−1(t))
Since g(D)=D, changing variable s=g−1(t) gives
F(v)=s∈D∑WL(u⋅s)=F(u).
Therefore F(u) depends only on ∣supp(u)∣.
For fixed u, consider I(u,t)=∣supp(u)∩supp(t)∣ and F(u) depends on the possible values of I(u,t). Here, the partition S1∪S2 which induces exactly there possible intersection values namely A∩S1=A, or A∩S2=A or A=(A∩S1)∪(A∩S2) respectively for A∈R. Thus I(u,t)∈{A∩S1,A∩S2,(A∩S1)∪(A∩S2)}. Hence we can conclude F(u) takes exactly three distinct values as u=0. Hence CD is a three Lee-weight code.
Example 4. Let R=Z22Z42, and consider the partition S1={1,2} and S2={3,4} of the positional set {1,2,3,4}. Let D=D1∪D2, where Di={t∈R∣supp(t)∈Si}. Then we have ∣D1∣=3 and ∣D2∣=15 and as Di′ are disjoint, so ∣D∣=18. For u=0∈R, use CD(u)=(u⋅t)t∈D, where u⋅t=2(u1t1+u2t2)+u3t3(mod4) for t=(t1,t2,t3,t4)∈R. The Lee weight of CD(u) depends only on the support type (∣supp(u)∩S1∣,∣supp(u)∩S2∣). The resulting Lee-weight distribution is as follows:
wL
0
4
16
20
AwL
1
3
15
45
Table 3. Lee-weight distribution of CD
WCD(z)=1+3z4+15z16+45z20
and CD is a three Lee-weight code.
Conclusion remarks
In this paper, we investigate various kinds of defining sets, labelled A to J, for codes over the mixed-alphabet space Z2αZ4β, with particular emphasis on their Lee-weight distributions and associated Parseval identities. We establish a general formula for the Lee-weight distribution associated with each of the considered defining sets. Furthermore, the corresponding Parseval identities have been derived, providing a unified framework for studying the weight distributions of these codes. In particular, we establish new theorems concerning the construction and characterization of codes with 2-Lee-weight and 3-Lee-weight distributions. These results extend the existing approaches to the study of defining-set constructions and provide useful algebraic tools for investigating the structural properties of codes over mixed alphabets.
There are several interesting directions for future research. One promising direction is to investigate the construction of optimal and quantum error-correcting codes by exploiting the defining sets and weight-distribution results developed in this paper, together with other suitable algebraic techniques. Moreover, the present study is restricted to the mixed-alphabet space Z2αZ4β. It would therefore be worthwhile to extend the proposed framework to mixed-alphabet structures involving more than two alphabets and to explore suitable generalizations of the defining sets considered in this work. Such investigations may lead to new classes of few-weight codes and potentially contribute to the construction of optimal binary and quantum codes. The above defining sets also can be use to extend the work presented in [11].
References
[1]J. Borges, J. Rifà, J. M. Pujol, The structure of Z₂Z₄ additive codes. IEEE Transactions on Information Theory, 53(10), 3877–3891, 2007.
[2]L. Zongbing, K. Cheng, The Lee-weight distributions of a class of quaternary codes. IEEE Access, 11, 60950-60956, 2023.DOI
[3]Y. Wu, C. Li, L. Zhang and F. Xiao, Quaternary Codes and Their Binary Images. IEEE Transactions on Information Theory, 70(7), 4759-4768, 2024.arxiv.org/abs/2401.12486
[4]M. Bilal, J. Borges, S. T. Dougherty, C. F. Córdoba, Optimal codes over Z₂ × Z₄. Jornadas de Matemática Discreta y Algorítmica, 131-139, 2010.
[5]J. Y. Hyun, H. K. Kim, Y. Wu and Q. Yue, Optimal minimal linear codes from posets, Designs, Codes and Cryptography, 88, 2475-2492, 2020.arxiv.org/abs/2008.07212
[6]J. Borges, S. T. Dougherty, C. F. Fernández-Córdoba, Characterization and constructions of self-dual codes over Z₂ × Z₄. Advances in Mathematics of Communications, 6(3), 287–303, 2012.
[7]J. Geng, H. Wu, P. Solé, On one Lee-weight and two Lee weight Z₂Z₄[u] additive codes and their constructions. Advances in Mathematics of Communications, 17(5), 1196–1209, 2023.
[8]P. Kumar, N. M. Khan, Five Lee-weight linear codes over F_q + uF_q. Advances in Mathematics of Communications, 19(5), 1417–1432, 2025.arxiv.org/abs/2406.18307
[9]Z. Wang, N. Li, X. Zeng, X. Tang, Trace codes over Z₄ and their Lee-weight distributions. IEEE Transactions on Information Theory, 72(2), 1051–1066, 2026.
[10]Y. Liu, M. Shi, P. Solé, Two weight and three weight codes from trace codes over F_p+uF_p+vF_p+uvF_p. Discrete Mathematics, 341(2), 350–357, 2018.
[11]S. Das, M. K. Patel and B. Singh, Quantum codes from (α₁+uα₂+uα₃+uα₄)-constacyclic codes over the non-chain ring F_q+uF_q+vF_q+uvF_q with q is a square of prime p. Contemporary Mathematics, CONM17120 (Preprint).