betaFeedback

WorksComputer Science

Various Kinds of Defining Sets over Z2αZ4β\mathbb{Z}_2^α\mathbb{Z}_4^β and their LeeLee-Weight Distributions

Abstract

Recently, a particular type of defining set is being used to get LeeLee-weight distribution over a particular type of ring. However, little work has been done on mixed alphabets. Therefore, in Section 3, we investigate the LeeLee-weight distributions associated with various kinds of defining sets, labelled A to J, for code constructions over the mixed-alphabet ring R=Z2αZ4βR=Z^α_2 Z^β_4, 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-LeeLee-weight and 3-LeeLee-weight distributions.

Introduction

Research on Z2Z4\mathbb{Z}_2\mathbb{Z}_4-additive codes starts in late 1990s. In 2001, Borges et al. [1] began systematic study of additive codes over mixed alphabets Z2Z4\mathbb{Z}_2\mathbb{Z}_4 (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δC_{k_1,k_2}^{\delta} for δ=1,2,3\delta= 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 (α,β;γ,δ;κ)(\alpha,\beta;\gamma,\delta;\kappa) which is a family of Z2Z4\mathbb{Z}_2\mathbb{Z}_4-additive code and it is useful to further study additive codes over mixed alphabets of Z2\mathbb{Z}_2 and Z4\mathbb{Z}_4. 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}D = \{a + ub \in R_m^* : \operatorname{tr}(a^2 + ub^2) = 0\}. In [9], Wang et al. uses the general defining-set construction D={d1,d2,…,dn}⊆GR⁡(4,m)∖{0}D = \{d_1,d_2,\ldots,d_n\} \subseteq\operatorname{GR}(4,m) \setminus\{0\}, with the associated code CD={(Tr⁡(xd))d∈D:x∈GR⁡(4,m)}C_D = \{(\operatorname{Tr}(xd))_{d \in D} : x \in\operatorname{GR}(4,m)\}, where Tr⁡:GR⁡(4,m)→Z4\operatorname{Tr} : \operatorname{GR}(4,m) \to\mathbb{Z}_4 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β\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta for finite value of α\alpha and β\beta. 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 22-Lee weight distribution and 33-Lee weight distribution codes of Z2Z4\mathbb{Z}_2\mathbb{Z}_4 additive codes respectively. In § 5, we gave a conclusion.

For convenience, we list the notations used in this paper as follows:

C∗\mathbb{C}^{*} the set of nonzero complex numbers,

RR the mixed ring Z2αZ4β\mathbb{Z}_2^{\alpha}\mathbb{Z}_4^{\beta}, where α\alpha and β\beta are finite integers,

DD any defining set from A to J,

CDC_D the code corresponding to the defining set DD,

CD(u)C_D(u) the codeword associated with the vector uu,

u⋅tu\cdot t the inner product associated with the mixed-alphabet structure,

WL(u)W_L(u) the Lee-weight of the vector uu,

dL(C)d_L(C) the minimum Lee distance of the code CC,

Φ(u)\Phi(u) the Gray image of the vector uu,

WH(u)W_H(u) the Hamming weight of the vector uu,

HD(u)H_D(u) the character sum associated with the defining set DD and the vector uu,

HDc(u)H_{D^c}(u) the character sum associated with the complement of DD,

∣u∣|u| the cardinality of the support of the vector uu,

NN the length of the binary Gray image,

Im⁡(T)\operatorname{Im}(T) the image of the linear operator TT,

WW the cardinality of the defining set DD,

F(u)F(u) WL(CD(u))W_L(C_D(u)).

preliminaries

A subset C⊆Z2αZ4βC \subseteq\mathbb{Z}_2^{\alpha}\mathbb{Z}_4^{\beta} is called a Z2Z4\mathbb{Z}_2\mathbb{Z}_4-additive code if u+v∈Cu+v \in C for u,v∈Cu,v \in C. We will take the length of the code CC as n=α+2βn=\alpha+2\beta in general. The additive code CC is called polycyclic, if there exists two vectors say (c0,c1,…,cα−1)∈Z2α(c_0,c_1,\ldots,c_{\alpha-1})\in\mathbb{Z}_2^{\alpha}, (c0′,c1′,…,cβ−1′)∈Z4β(c'_0,c'_1,\ldots,c'_{\beta-1})\in\mathbb{Z}_4^{\beta} and such that for any codeword (v∣w)=(v0,v1,…,vα−1∣w0,w1,…,wβ−1)∈C(v|w)=(v_0,v_1,\ldots,v_{\alpha-1}|w_0,w_1,\ldots,w_{\beta-1})\in 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′))∈CT(v|w)=((0,v_0,v_1,\ldots,v_{\alpha-2})+v_{\alpha-1}(c_0,c_1,\ldots,c_{\alpha-1})|(0,w_0,w_1,\ldots,w_{\beta-2})+w_{\beta-1}(c'_0,c'_1,\ldots,c'_{\beta-1}))\in C. For a vector u=(x1,x2,…,xα∣y1,y2,…,yβ)∈Z2αZ4βu=(x_1,x_2,\ldots,x_{\alpha}|y_1,y_2,\ldots,y_{\beta})\in\mathbb{Z}_2^{\alpha}\mathbb{Z}_4^{\beta}, the standard Gray map from Z2αZ4β\mathbb{Z}_2^{\alpha}\mathbb{Z}_4^{\beta} to Z2α+2β\mathbb{Z}_2^{\alpha+2\beta} is Φ(u)=(x1,x2,…,xα∣ϕ(y1),ϕ(y2),…,ϕ(yβ))\Phi(u)=(x_1,x_2,\ldots,x_{\alpha}|\phi(y_1),\phi(y_2),\ldots,\phi(y_{\beta})), where ϕ\phi is defined from Z4\mathbb{Z}_4 to Z22\mathbb{Z}_2^2 as ϕ(0)=(0,0),ϕ(1)=(0,1),ϕ(2)=(1,1),ϕ(3)=(1,0)\phi(0)=(0,0),\phi(1)=(0,1),\phi(2)=(1,1),\phi(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β\mathbb{Z}_2^{\alpha}\mathbb{Z}_4^{\beta} is defined as WL(u)=WH(Φ(u))W_L(u)=W_H(\Phi(u)), where WHW_H is defined as Hamming weight of the vector in Z2α+2β\mathbb{Z}_2^{\alpha+2\beta}. Assume that DD be the defining set for the Z2Z4\mathbb{Z}_2\mathbb{Z}_4-additive code, then we define a additive code as CD={CD(u)=(u⋅t)t∈D∣u∈Z2αZ4β}C_D=\{C_D(u)=(u\cdot t)_{t\in D}\mid u\in\mathbb{Z}_2^{\alpha}\mathbb{Z}_4^{\beta}\}, where u⋅t=∑i=1αuiti(mod2)+∑j=α+1α+βuα+jtα+j(mod4)u\cdot t=\sum_{i=1}^{\alpha}u_it_i\pmod2+\sum_{j=\alpha+1}^{\alpha+\beta}u_{\alpha+j}t_{\alpha+j}\pmod4 for u=(u1,u2,…,uα∣uα+1,…,uα+β)u=(u_1,u_2,\ldots,u_{\alpha}|u_{\alpha+1},\ldots,u_{\alpha+\beta}), t=(t1,t2,…,tα∣tα+1,…,tα+β)t=(t_1,t_2,\ldots,t_{\alpha}|t_{\alpha+1},\ldots,t_{\alpha+\beta}). We will explore defining sets from A to J. Here, the Lee-weight of the codeword c=(c1,…,cα∣cα+1,…,cα+β)∈CDc=(c_1,\ldots,c_\alpha\mid c_{\alpha+1},\ldots,c_{\alpha+\beta})\in C_D is defined as

WL(c)=∑j=1α1−(−1)cj2+∑j=α+1α+β(1−Re⁡(icj))=α2+β−12∑j=1α(−1)cj−Re⁡(∑j=α+1α+βicj).\begin{aligned} W_L(c)&=\sum_{j=1}^{\alpha}\frac{1-(-1)^{c_j}}{2}+\sum_{j=\alpha+1}^{\alpha+\beta}(1-\operatorname{Re}(i^{c_j}))\\ &=\frac{\alpha}{2}+\beta-\frac{1}{2}\sum_{j=1}^{\alpha}(-1)^{c_j}-\operatorname{Re}\left(\sum_{j=\alpha+1}^{\alpha+\beta}i^{c_j}\right). \end{aligned}

The Lee-weight of the code CDC_D, or equivalently its minimum Lee distance, is defined by

dL(CD)=min⁡c∈CD∖{0}wL(c).d_L(C_D)=\min_{c\in C_D\setminus\{0\}}w_L(c).

Therefore,

dL(CD)=min⁡c∈CD∖{0}{α2+β−12∑j=1α(−1)cj−Re⁡(∑j=α+1α+βicj)}.d_L(C_D)=\min_{c\in C_D\setminus\{0\}}\left\{\frac{\alpha}{2}+\beta-\frac{1}{2}\sum_{j=1}^{\alpha}(-1)^{c_j}-\operatorname{Re}\left(\sum_{j=\alpha+1}^{\alpha+\beta}i^{c_j}\right)\right\}.

Let v=(v1,v2,…,vn)∈Z2αZ4βv=(v_1,v_2,\ldots,v_n)\in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, then support denoted by supp⁡(v)\operatorname{supp}(v) is defined by the set of non zero coordinate positions. The Hamming weight WH(v)W_H(v) of vv is defined by the size of supp⁡(v)\operatorname{supp}(v).

Lemma 2.1. For every x∈Rx\in R, the Gray map Φ\Phi preserves Lee-weight, that is,

WH(Φ(x))=WL(x),W_H(\Phi(x))=W_L(x),

where WHW_H denotes the Hamming weight on F2α+2β\mathbb{F}_2^{\alpha+2\beta} and WLW_L denotes the Lee-weight on Z2αZ4β\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta.

Proof. Let

x=(a1,…,aα,b1,…,bβ)∈R.x=(a_1,\ldots,a_\alpha,b_1,\ldots,b_\beta)\in R.

By the definition of Φ\Phi,

WH(Φ(x))=∑i=1αWH(ai)+∑j=1βWH(ϕ(bj)).W_H(\Phi(x))=\sum_{i=1}^{\alpha}W_H(a_i)+\sum_{j=1}^{\beta}W_H(\phi(b_j)).

Since WH(ai)=WL(ai)W_H(a_i)=W_L(a_i) for ai∈Z2a_i\in\mathbb{Z}_2 and WH(ϕ(bj))=WL(bj)W_H(\phi(b_j))=W_L(b_j) for every bj∈Z4b_j\in\mathbb{Z}_4, we obtain

WH(Φ(x))=∑i=1αWL(ai)+∑j=1βWL(bj)=WL(x).W_H(\Phi(x))=\sum_{i=1}^{\alpha}W_L(a_i)+\sum_{j=1}^{\beta}W_L(b_j)=W_L(x).

Hence the result follows. □

Definition 2.1. Let R=Z2αZ4βR=\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, and qq is an odd positive integer. For each t=(x1,…,xα,y1,…,yβ)∈Rt=(x_1,\ldots,x_\alpha,y_1,\ldots,y_\beta)\in R, the qq-cyclotomic coset generated by tt is defined as

Ct(q)={qjt:j=0,1,2,…},C_t^{(q)}=\{q^jt:j=0,1,2,\ldots\},

where qjt=(qjx1,…,qjxα,qjy1,…,qjyβ)q^jt=(q^jx_1,\ldots,q^jx_\alpha,q^jy_1,\ldots,q^jy_\beta), with the first α\alpha coordinates computed modulo 22 and the remaining β\beta coordinates computed modulo 44.

Let R=Z2α×Z4βR = \mathbb{Z}_2^\alpha\times\mathbb{Z}_4^\beta and choose q=3q = 3 and consider the element t=(1,0,1,2)∈Rt = (1,0,1,2) \in R, then, the 3-cyclotomic coset generated by tt is

Ct(3)={t,3t,32t,…}.C_t^{(3)} = \{t,3t,3^2t,\ldots\}.

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)3t = (3,0,3,6) \equiv(1,0,3,2) (mod (2,2,4,4)(2,2,4,4)), and 32t=3(1,0,3,2)=(3,0,9,6)≡(1,0,1,2)3^2t = 3(1,0,3,2) = (3,0,9,6) \equiv(1,0,1,2) (mod (2,2,4,4)(2,2,4,4)). Therefore, C(1,0,1,2)(3)={(1,0,1,2),(1,0,3,2)}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 RR

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}D_t = \{w \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta\mid W_L(w) = t\}.

  • B. Dt1,t2={w∈Z2αZ4β∣t1≤WL(w)≤t2}D_{t_1,t_2} = \{w \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta\mid t_1 \le W_L(w) \le t_2\}.

  • C. DU=⋃DiD_U = \bigcup D_i, where Di={w∈Z2αZ4β∣WL(w)=i}D_i = \{w \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta\mid W_L(w) = i\}.

  • D. Dt={w∈Z2αZ4β∣∣supp⁡(w)∣=t}D_t = \{w \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta\mid|\operatorname{supp}(w)| = t\}, where supp⁡(w)={i∣wi≠0}\operatorname{supp}(w) = \{i \mid w_i \ne0\}.

  • E. DTr={w∈Z2αZ4β∣Tr⁡m(aw)=0}D_{T^r} = \{w \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta\mid\operatorname{Tr}^m(aw) = 0\}, where Tr⁡m(w)=∑j=0m−1(x2j+2y2j)\operatorname{Tr}^m(w) = \sum_{j=0}^{m-1}(x^{2^j} + 2y^{2^j}).

  • F. DQ={w∈Z2αZ4β∣Q(w)=0}D_Q = \{w \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta\mid Q(w) = 0\}, where Q(w)Q(w) is quadratic form.

  • G. Dcl={ξi∈Z224β:i∈T}D_{\mathrm{cl}} = \{\xi_i \in\mathbb{Z}_{2^2 4^\beta} : i \in T\}, where TT is finite union of qq-cyclotomic cosets.

  • H. Dinn={w∈Z2αZ4β∣w⋅u=0, ∀u∈Z2αZ4β}D_{\mathrm{inn}} = \{w \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta\mid w \cdot u = 0,\ \forall u \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta\}, where w⋅u=2∑i=1αwiui+∑j=1βwα+juα+j(mod4)w \cdot u = 2\sum_{i=1}^{\alpha}w_i u_i + \sum_{j=1}^{\beta}w_{\alpha+j}u_{\alpha+j}\pmod4.

  • I. Dv=v+HD_v = v + H, H⊆Z2αZ4βH \subseteq\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, produces non-linear codes if v≠0v \ne0.

  • J. Ds={w=(x,y)∈Z2αZ4β∣supp⁡(x)⊆supp⁡(y)}D_s = \{w = (x,y) \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta\mid\operatorname{supp}(x) \subseteq\operatorname{supp}(y)\}, x∈Z2αx \in\mathbb{Z}_2^\alpha, y∈Z4βy \in\mathbb{Z}_4^\beta.

Note: The above defining sets are subsets of Z2αZ4β\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta.

Similar to the generating set for binary code [5], we can extend generating set for Z2αZ4β\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta as follows:

Let us define map

χu:R⟶C∗,χu(t)=iu⋅t,\chi_u : R \longrightarrow\mathbb{C}^*, \qquad\chi_u(t) = i^{u\cdot t},

which is an additive character of RR, where R=Z2αZ4βR = \mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta. Equivalently,

χu(t)=∏j=1α(−1)ujtj∏j=α+1α+βiujtj.\chi_u(t) = \prod_{j=1}^{\alpha}(-1)^{u_jt_j}\prod_{j=\alpha+1}^{\alpha+\beta}i^{u_jt_j}.

For a subset D⊆RD \subseteq R, define the associated character sum by

HD(u)=∑t∈Dχu(t)=∑t∈D∏j=1α(−1)ujtj∏j=α+1α+βiujtj.H_D(u) = \sum_{t\in D}\chi_u(t) = \sum_{t\in D}\prod_{j=1}^{\alpha}(-1)^{u_jt_j}\prod_{j=\alpha+1}^{\alpha+\beta}i^{u_jt_j}.

We say that DD is a generating set of RR if ⟨D⟩=Z2αZ4β\langle D\rangle= \mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta. Since Dc=R∖DD^{c}=R\setminus D, we immediately have HD(u)+HDc(u)=HR(u)H_D(u)+H_{D^c}(u)=H_R(u). Now, since R=Z2αZ4βR=\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, we obtain

HR(u)=∑t∈Riu⋅t=∏j=1α(∑tj∈Z2(−1)ujtj)∏j=α+1α+β(∑tj∈Z4iujtj)\begin{aligned} H_R(u)=\sum_{t\in R}i^{u\cdot t} \\ &=\prod_{j=1}^{\alpha}\left(\sum_{t_j\in\mathbb{Z}_2}(-1)^{u_jt_j}\right)\prod_{j=\alpha+1}^{\alpha+\beta}\left(\sum_{t_j\in\mathbb{Z}_4}i^{u_jt_j}\right) \end{aligned}

Therefore,

HD(u)+HDc(u)=∏j=1α(1+(−1)uj)∏j=α+1α+β(1+iuj+i2uj+i3uj).H_D(u)+H_{D^c}(u)=\prod_{j=1}^{\alpha}(1+(-1)^{u_j})\prod_{j=\alpha+1}^{\alpha+\beta}(1+i^{u_j}+i^{2u_j}+i^{3u_j}).

For uj∈Z2u_j\in\mathbb{Z}_2 for 1≤j≤α1\leq j\leq\alpha and uj∈Z4u_j\in\mathbb{Z}_4 for α+1≤j≤α+β\alpha+1\leq j\leq\alpha+\beta, we have

1+(−1)uj={2,uj=0,0,uj=1,1+(-1)^{u_j}= \begin{cases} 2, & u_j=0,\\ 0, & u_j=1, \end{cases}

and

1+iuj+i2uj+i3uj={4,uj=0,0,uj≠0.1+i^{u_j}+i^{2u_j}+i^{3u_j}= \begin{cases} 4, & u_j=0,\\ 0, & u_j\ne0. \end{cases}

Consequently,

HR(u)={2α4β,u=0,0,u≠0.H_R(u)= \begin{cases} 2^\alpha4^\beta, & u=0,\\ 0, & u\ne0. \end{cases}

In particular, for every u≠0u\ne0, HDc(u)=−HD(u)H_{D^c}(u)=-H_D(u).

Lemma 3.1 (Parseval identity). Let R=Z2αZ4βR=\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta and let D⊆RD\subseteq R. For u∈Ru\in R, define HD(u)=∑t∈Diu⋅tH_D(u)=\sum_{t\in D}i^{u\cdot t}, where u⋅t=2∑j=1αujtj(mod2)+∑j=α+1α+βujtj(mod4)u\cdot t=2\sum_{j=1}^{\alpha}u_jt_j\pmod2+\sum_{j=\alpha+1}^{\alpha+\beta}u_jt_j\pmod4. Then

∑u∈R∣HD(u)∣2=2α4β∣D∣.\sum_{u\in R}|H_D(u)|^2=2^\alpha4^\beta|D|.

Proof. We have

∑u∈R∣HD(u)∣2=∑u∈RHD(u)HD(u)‾=∑u∈R(∑t∈Diu⋅t)(∑s∈Di−u⋅s)=∑t,s∈D∑u∈Riu⋅(t−s).\begin{aligned} \sum_{u\in R}|H_D(u)|^2=\sum_{u\in R}H_D(u)\overline{H_D(u)} \\ &=\sum_{u\in R}\left(\sum_{t\in D}i^{u\cdot t}\right)\left(\sum_{s\in D}i^{-u\cdot s}\right) \\ &=\sum_{t,s\in D}\sum_{u\in R}i^{u\cdot(t-s)}. \end{aligned}

By the orthogonality of the additive characters of RR, we have

∑u∈Riu⋅(t−s)={∣R∣,t=s,0,t≠s.\sum_{u\in R}i^{u\cdot(t-s)}= \begin{cases} |R|, & t=s,\\ 0, & t\ne s. \end{cases}

Since ∣R∣=∣Z2α∣∣Z4β∣=2α4β|R| = |\mathbb{Z}_2^\alpha||\mathbb{Z}_4^\beta| = 2^\alpha4^\beta, it follows that

∑u∈R∣HD(u)∣2=∑t,s∈D{2α4β,t=s,0,t≠s=2α4β∣D∣.\sum_{u\in R}|H_D(u)|^2 = \sum_{t,s\in D} \begin{cases} 2^\alpha4^\beta, & t=s,\\ 0, & t\ne s \end{cases} = 2^\alpha4^\beta|D|.

Hence, ∑u∈R∣HD(u)∣2=2α4β∣D∣\sum_{u\in R}|H_D(u)|^2 = 2^\alpha4^\beta|D|.

Theorem 3.1. Let R=Z2αZ4βR = \mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, and let D⊆RD \subseteq R be such that D=−DD=-D, where DD is defining set from A to J. Consider

CD={CD(u):u∈R},C_D = \{C_D(u):u\in R\},

where CD(u)=(u⋅t)t∈DC_D(u)=(u\cdot t)_{t\in D} and u⋅t=2∑j=1αujtj(mod2)+∑j=α+1α+βujtj(mod4)u\cdot t=2\sum_{j=1}^{\alpha}u_jt_j\pmod{2}+\sum_{j=\alpha+1}^{\alpha+\beta}u_jt_j\pmod{4}. Then, for every u∈Ru\in R,

WL(CD(u))=∣D∣−HD(u).\mathrm{W}_L(C_D(u))=|D|-H_D(u).

Moreover, if AwA_w denotes the number of codewords of Lee-weight ww in CDC_D, then

∑wAw(∣D∣−w)2=2α4β∣D∣.\sum_w A_w(|D|-w)^2=2^\alpha4^\beta|D|.

Proof. For x∈Z4x\in\mathbb{Z}_4, the Lee-weight can be expressed as

WL(x)=1−Re⁡(ix).\mathrm{W}_L(x)=1-\operatorname{Re}(i^x).

Indeed,

WL(0)=0,WL(1)=1,WL(2)=2,WL(3)=1,\mathrm{W}_L(0)=0,\qquad\mathrm{W}_L(1)=1,\qquad\mathrm{W}_L(2)=2,\qquad\mathrm{W}_L(3)=1,

and the above identity holds for all x∈Z4x\in\mathbb{Z}_4.

For u∈Ru\in R, we have

CD(u)=(u⋅t)t∈D.C_D(u)=(u\cdot t)_{t\in D}.

Therefore,

WL(CD(u))=∑t∈DWL(u⋅t)=∑t∈D(1−Re⁡(iu⋅t))=∣D∣−Re⁡(∑t∈Diu⋅t)=∣D∣−Re⁡(HD(u)).\begin{aligned} \mathrm{W}_L(C_D(u)) &= \sum_{t\in D}\mathrm{W}_L(u\cdot t)\\ &=\sum_{t\in D}(1-\operatorname{Re}(i^{u\cdot t}))\\ &=|D|-\operatorname{Re}\left(\sum_{t\in D}i^{u\cdot t}\right)\\ &=|D|-\operatorname{Re}(H_D(u)). \end{aligned}

Since D=−DD=-D, for every t∈Dt\in D, we also have −t∈D-t\in D. Moreover,

iu⋅(−t)=i−u⋅t=iu⋅t‾.i^{u\cdot(-t)}=i^{-u\cdot t}=\overline{i^{u\cdot t}}.

Thus, the terms in HD(u)H_D(u) occur in conjugate pairs, and consequently

HD(u)∈R.H_D(u)\in\mathbb{R}.

Hence,

Re⁡(HD(u))=HD(u),\operatorname{Re}(H_D(u))=H_D(u),

and therefore

WL(CD(u))=∣D∣−HD(u).\mathrm{W}_L(C_D(u))=|D|-H_D(u).

Equivalently,

HD(u)=∣D∣−WL⁡(CD(u)).H_D(u)=|D|-\operatorname{W_L}(C_D(u)).

By Lemma 3.1 (Parseval identity),

∑u∈R∣HD(u)∣2=2α4β∣D∣.\sum_{u\in R}|H_D(u)|^2=2^{\alpha}4^{\beta}|D|.

Since HD(u)H_D(u) is real, we obtain

∑u∈R(∣D∣−WL⁡(CD(u)))2=2α4β∣D∣.\sum_{u\in R}\left(|D|-\operatorname{W_L}(C_D(u))\right)^2=2^{\alpha}4^{\beta}|D|.

Finally, grouping the elements u∈Ru\in R according to the Lee-weight

w=WL⁡(CD(u)),w=\operatorname{W_L}(C_D(u)),

and denoting by AwA_w the number of codewords of Lee-weight ww, we obtain

∑wAw(∣D∣−w)2=2α4β∣D∣.\sum_w A_w\left(|D|-w\right)^2=2^{\alpha}4^{\beta}|D|.

This completes the proof. □

Proposition 3.1. Let R=Z2αZ4βR=\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta and

Dt={w∈R:∣supp⁡(w)∣=t},D_t=\{w\in R:|\operatorname{supp}(w)|=t\},

where supp⁡(w)\operatorname{supp}(w) denotes the set of nonzero coordinates of ww. Define

HDt(u)=∑w∈Dtiw⋅u,u∈R,H_{D_t}(u)=\sum_{w\in D_t}i^{w\cdot u},\qquad u\in R,

where i=−1i=\sqrt{-1} and w⋅uw\cdot u is the standard Z2Z4\mathbb{Z}_2\mathbb{Z}_4 inner product. Then

∑u∈R∣HDt(u)∣2=2α4β∑r=0t(αr)(βt−r)3t−r.\sum_{u\in R}|H_{D_t}(u)|^2=2^{\alpha}4^{\beta}\sum_{r=0}^{t}\binom{\alpha}{r}\binom{\beta}{t-r}3^{t-r}.

Proof. By Parseval’s identity for characters on RR, we have

∑u∈R∣HDt(u)∣2=∣R∣∣Dt∣.\sum_{u\in R}|H_{D_t}(u)|^2=|R||D_t|.

Since ∣R∣=2α4β|R|=2^{\alpha}4^{\beta}, it remains to determine the cardinality of DtD_t. Suppose that exactly rr of the tt nonzero coordinates belong to the Z2\mathbb{Z}_2 component. The remaining t−rt-r nonzero coordinates belong to the Z4\mathbb{Z}_4 component. We may choose these coordinates in

(αr)(βt−r)\binom{\alpha}{r}\binom{\beta}{t-r}

ways. Each nonzero coordinate in Z2\mathbb{Z}_2 has one possible value, whereas each nonzero coordinate in Z4\mathbb{Z}_4 has three possible values. Consequently,

∣Dt∣=∑r=0t(αr)(βt−r)3t−r.|D_t|=\sum_{r=0}^{t}\binom{\alpha}{r}\binom{\beta}{t-r}3^{t-r}.

Substituting this expression into Parseval’s identity yields

∑u∈R∣HDt(u)∣2=2α4β∑r=0t(αr)(βt−r)3t−r.\sum_{u\in R}\left|H_{D_t}(u)\right|^2=2^\alpha4^\beta\sum_{r=0}^{t}\binom{\alpha}{r}\binom{\beta}{t-r}3^{t-r}.

This completes the proof.

Theorem 3.2 (Lee-weight distribution using defining sets A, B and C). Let

N=α+2β.N=\alpha+2\beta.

For t≥0t\geq0, if we take DD as DtD_t, Dt1,t2D_{t_1,t_2} and DUD_U as defined in A., B. and C. respectively, then

WL(CD(u))=∣D∣−HD(u),W_{\mathrm{L}}(C_D(u))=|D|-H_D(u),

and, if AwDA_w^D denotes the number of codewords of Lee-weight of ww in CDC_D, then

∑wAwD(∣D∣−w)2=2α4β∣D∣.\sum_w A_w^D(|D|-w)^2=2^\alpha4^\beta|D|.

In particular,

∑wAw(t)((Nt)−w)2=2α4β(Nt),\sum_w A_w^{(t)}\left(\binom{N}{t}-w\right)^2=2^\alpha4^\beta\binom{N}{t},
∑wAw(t1,t2)(∑t=t1t2(Nt)−w)2=2α4β∑t=t1t2(Nt),\sum_w A_w^{(t_1,t_2)}\left(\sum_{t=t_1}^{t_2}\binom{N}{t}-w\right)^2=2^\alpha4^\beta\sum_{t=t_1}^{t_2}\binom{N}{t},

and

∑wAw(U)(∑i∈U(Ni)−w)2=2α4β∑i∈U(Ni).\sum_w A_w^{(U)}\left(\sum_{i\in U}\binom{N}{i}-w\right)^2=2^\alpha4^\beta\sum_{i\in U}\binom{N}{i}.

Proof. For an element w=(w1,…,wα+β)∈Z2αZ4βw=(w_1,\ldots,w_{\alpha+\beta})\in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, each binary coordinate contributes either 0 or 1 to the Lee-weight. Each Z4\mathbb{Z}_4 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 RR is

(1+x)α(1+2x+x2)β.(1+x)^\alpha(1+2x+x^2)^\beta.

Since

1+2x+x2=(1+x)2,1+2x+x^2=(1+x)^2,

we obtain

(1+x)α(1+2x+x2)β=(1+x)α+2β=(1+x)N.(1+x)^\alpha(1+2x+x^2)^\beta=(1+x)^{\alpha+2\beta}=(1+x)^N.

Therefore, the coefficient of xtx^t is

∣Dt∣=(Nt).|D_t|=\binom{N}{t}.

Since the sets DtD_t are pairwise disjoint,

Dt1,t2=⋃t=t1t2Dt,D_{t_1,t_2}=\bigcup_{t=t_1}^{t_2}D_t,

and consequently

∣Dt1,t2∣=∑t=t1t2∣Dt∣=∑t=t1t2(Nt).|D_{t_1,t_2}|=\sum_{t=t_1}^{t_2}|D_t|=\sum_{t=t_1}^{t_2}\binom{N}{t}.

Similarly,

∣DU∣=∑i∈U∣Di∣=∑i∈U(Ni).|D_U|=\sum_{i\in U}|D_i|=\sum_{i\in U}\binom{N}{i}.

Next, observe that

WL(−w)=WL(w)W_L(-w)=W_L(w)

for every w∈Rw\in R. Hence

Dt=−Dt,Dt1,t2=−Dt1,t2,DU=−DU.D_t=-D_t,\qquad D_{t_1,t_2}=-D_{t_1,t_2},\qquad D_U=-D_U.

Thus, for any of these defining sets DD, the terms corresponding to ww and −w-w in HD(u)H_D(u) are complex conjugates. Hence HD(u)∈RH_D(u)\in R.

For x∈Z4x\in\mathbb{Z}_4, we have

WL(x)=1−Re⁡(ix).W_L(x)=1-\operatorname{Re}(i^x).

Therefore,

WL(c(u))=∑w∈DWL(u⋅w)=∑w∈D(1−Re⁡(iu⋅w))=∣D∣−Re⁡(∑w∈Diu⋅w)=∣D∣−HD(u).\begin{aligned} W_L(c(u))&=\sum_{w\in D}W_L(u\cdot w)\\ &=\sum_{w\in D}(1-\operatorname{Re}(i^{u\cdot w}))\\ &=|D|-\operatorname{Re}\left(\sum_{w\in D}i^{u\cdot w}\right)\\ &=|D|-H_D(u). \end{aligned}

Consequently,

HD(u)=∣D∣−WL(c(u)).H_D(u)=|D|-W_L(c(u)).

By Lemma 3.1 (Parseval identity),

∑u∈R∣HD(u)∣2=2α4β∣D∣.\sum_{u\in R}|H_D(u)|^2=2^\alpha4^\beta|D|.

Since HD(u)H_D(u) is real, it follows that

∑u∈R(∣D∣−WL(c(u)))2=2α4β∣D∣.\sum_{u\in R}\left(|D|-W_L(c(u))\right)^2=2^\alpha4^\beta|D|.

Grouping the elements u∈Ru\in R according to the Lee weight of CD(u)C_D(u) gives

∑wAwD(∣D∣−w)2=2α4β∣D∣.\sum_w A_w^D(|D|-w)^2=2^\alpha4^\beta|D|.

Substituting the explicit expressions for ∣Dt∣|D_t|, ∣Dt1,t2∣|D_{t_1,t_2}|, and ∣DU∣|D_U| yields the three stated identities. □

Example 1. Let α=1\alpha=1 and β=1\beta=1. Then R=Z2×Z4R=\mathbb{Z}_2\times\mathbb{Z}_4 and N=3N=3. For t=(x,y)∈Rt=(x,y)\in R, define the Lee weight by WL(t)=x+wL(y)W_L(t)=x+w_L(y), where wLw_L denotes the Lee weight in Z4\mathbb{Z}_4. The mixed inner product is given by u⋅t=2ax(mod2)+by(mod4)u\cdot t=2ax\pmod2+by\pmod4, where u=(a,b)∈Ru=(a,b)\in R.

Case 1. Take D1={t∈R:WL(t)=1}D_1=\{t\in R:W_L(t)=1\}. Then D1={(0,1),(0,3),(1,0)}D_1=\{(0,1),(0,3),(1,0)\} and ∣D1∣=(31)=3|D_1|=\binom{3}{1}=3. The corresponding codeword is CD1(u)=(b,3b,2a)C_{D_1}(u)=(b,3b,2a). The Lee-weight distribution of CD1C_{D_1} is given by

Consequently,

∑wAw(1)(3−w)2=1(3)2+3(1)2+3(−1)2+1(−3)2=24=2141∣D1∣.\sum_{w} A_{w}^{(1)}(3-w)^2=1(3)^2+3(1)^2+3(-1)^2+1(-3)^2 =24 =2^1 4^1 |D_1|.

Case 2. Take D1,2={t∈R:1≤WL(t)≤2}D_{1,2}=\{t\in R:1\le W_L(t)\le2\}. Then

D1,2={(0,1),(0,2),(0,3),(1,0),(1,1),(1,3)}.D_{1,2}=\{(0,1),(0,2),(0,3),(1,0),(1,1),(1,3)\}.

Thus,

∣D1,2∣=(31)+(32)=6.|D_{1,2}|=\binom{3}{1}+\binom{3}{2}=6.

The corresponding codeword is

CD1,2(u)=(b,2b,3b,2a,2a+b,2a+3b).C_{D_{1,2}}(u)=(b,2b,3b,2a,2a+b,2a+3b).

The Lee-weight distribution is

ww068
Aw(1,2)A_w^{(1,2)}143

Table 1 (PDF p. 10).

Therefore,

∑wAw(1,2)(6−w)2=1(6)2+4(0)2+3(−2)2=48=2141∣D1,2∣.\sum_{w} A_{w}^{(1,2)}(6-w)^2=1(6)^2+4(0)^2+3(-2)^2 =48 =2^1 4^1 |D_{1,2}|.

Case 3. Take U={1,3}U=\{1,3\}. Then DU=D1∪D3D_U=D_1\cup D_3, where D3={(1,2)}D_3=\{(1,2)\}. Hence,

DU={(0,1),(0,3),(1,0),(1,2)}D_U=\{(0,1),(0,3),(1,0),(1,2)\}

and

∣DU∣=(31)+(33)=4.|D_U|=\binom{3}{1}+\binom{3}{3}=4.

The corresponding codeword is CDU(u)=(b,3b,2a,2a+2b)C_{D_U}(u)=(b,3b,2a,2a+2b). Their Lee-weight distribution is

ww048
Aw(U)A_w^{(U)}161

Table 2.

Consequently,

∑wAw(U)(4−w)2=1(4)2+6(0)2+1(−4)2=32=2141∣DU∣.\sum_{w} A_{w}^{(U)}(4-w)^2=1(4)^2+6(0)^2+1(-4)^2 =32 =2^1 4^1 |D_U|.

Thus, all three identities in Theorem 3.2 are verified for the above defining sets.

Defining setCardinalityParseval identity
DtD_t∑r=0t(αr)(βt−r)3t−r\sum_{r=0}^{t}\binom{\alpha}{r}\binom{\beta}{t-r}3^{t-r}∑u∈R∣HDt(u)∣2=∣R∣∣Dt∣\sum_{u\in R}|H_{D_t}(u)|^2=|R||D_t|
DTrD_{\mathrm{Tr}}∣R∣∣Im⁡Ta∣\frac{|R|}{|\operatorname{Im}T_a|}∑u∈R∣HDTr(u)∣2=∣R∣2∣Im⁡Ta∣\sum_{u\in R}|H_{D_{\mathrm{Tr}}}(u)|^2=\frac{|R|^2}{|\operatorname{Im}T_a|}
DQD_QNQN_Q∑u∈R∣HDQ(u)∣2=∣R∣NQ\sum_{u\in R}|H_{D_Q}(u)|^2=|R|N_Q
DclD_{\mathrm{cl}}∑j=1s∣Cj∣\sum_{j=1}^{s}|C_j|∑u∈R∣HDcl(u)∣2=∣R∣∑j=1s∣Cj∣\sum_{u\in R}|H_{D_{\mathrm{cl}}}(u)|^2=|R|\sum_{j=1}^{s}|C_j|
DinnD_{\mathrm{inn}}11∑u∈R∣HDinn(u)∣2=∣R∣\sum_{u\in R}|H_{D_{\mathrm{inn}}}(u)|^2=|R|
Dv=v+HD_v=v+H∣H∣|H|∑u∈R∣HDv(u)∣2=∣R∣∣H∣\sum_{u\in R}|H_{D_v}(u)|^2=|R||H|
DsD_s7α4β−α7^\alpha4^{\beta-\alpha}∑u∈R∣HDs(u)∣2=∣R∣7α4β−α\sum_{u\in R}|H_{D_s}(u)|^2=|R|7^\alpha4^{\beta-\alpha}

Table 1 (PDF p. 11). Parseval identities for various defining sets over Z2αZ4β\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta.

Remark 1. Table 1 represent the Parseval identities of various kinds of defining sets.

ww0246
Aw(1)A_w^{(1)}1331

Table 1.

Theorem 3.3. Let R=Z2αZ4βR=\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta and let D⊆RD\subseteq R be any defining set from A to J in section 3. Define

φD:R⟶Z4∣D∣,\varphi_D:R\longrightarrow\mathbb{Z}_4^{|D|},
u⟼cD(u)=(u⋅t)t∈D,u\longmapsto c_D(u)=(u\cdot t)_{t\in D},

Then

∣CD∣=2α+2β∣ker⁡(φD)∣.|C_D|=\frac{2^{\alpha+2\beta}}{|\ker(\varphi_D)|}.

Proof. By definition,

CD=Im⁡(φD).C_D=\operatorname{Im}(\varphi_D).

The mapping φD\varphi_D is a group homomorphism. Indeed, for any u,v∈Ru,v\in R and t∈Dt\in D, we have

φD(u+v)t=(u+v)⋅t≡u⋅t+v⋅t(mod4).\varphi_D(u+v)_t=(u+v)\cdot t\equiv u\cdot t+v\cdot t\pmod{4}.

Therefore,

φD(u+v)=φD(u)+φD(v).\varphi_D(u+v)=\varphi_D(u)+\varphi_D(v).

The kernel of φD\varphi_D is

ker⁡(φD)={u∈R:φD(u)=0}={u∈R:u⋅t=0 for all t∈D}.\begin{aligned} \ker(\varphi_D)=\{u\in R:\varphi_D(u)=0\} \\ &=\{u\in R:u\cdot t=0\text{ for all }t\in D\}. \end{aligned}

Hence, by the First Isomorphism Theorem,

R/ker⁡(φD)≅CD.R/\ker(\varphi_D)\cong C_D.

Taking cardinalities, we obtain

∣CD∣=∣R∣∣ker⁡(φD)∣|C_D| = \frac{|R|}{|\ker(\varphi_D)|}

Since

∣R∣=∣Z2α∣∣Z4β∣=2α4β=2α+2β,|R| = |\mathbb{Z}_2^\alpha| |\mathbb{Z}_4^\beta| = 2^\alpha4^\beta = 2^{\alpha+2\beta},

we obtain

∣CD∣=2α+2β∣ker⁡(φD)∣.|C_D| = \frac{2^{\alpha+2\beta}}{|\ker(\varphi_D)|}.

This completes the proof. □

2-Lee Weight Distribution of Z2Z4\mathbb{Z}_2\mathbb{Z}_4 Additive Codes

Definition 4.1. For additive code CDC_D over Z2αZ4β\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta for a defining set DD, the 2-Lee weight code is defined as

WL(u)={W,u≠0,0,u=0.W_L(u) = \begin{cases} W, & u \ne0,\\ 0, & u = 0. \end{cases}

where WW is the cardinality of DD.

Lemma 4.1. Let D={t=(x,y)∈Z2αZ4β∣supp⁡(x)⊆supp⁡(y),∣supp⁡(y)∣=k,yi∈{0,2}D = \{t = (x,y) \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta\mid\operatorname{supp}(x) \subseteq\operatorname{supp}(y), \lvert\operatorname{supp}(y)\rvert= k, y_i \in\{0,2\}, then the code CDC_D is a 2-Lee weight code.

Proof. Since yi∈{0,2}y_i \in\{0,2\}, we can write as follows

biyi={2bi,yi=2,0,yi=0.b_i y_i = \begin{cases} 2b_i, & y_i = 2,\\ 0, & y_i = 0. \end{cases}

for all i∈[1,β]i \in[1,\beta] where b=(b1,b2,…,bβ)b = (b_1,b_2,\ldots,b_\beta), y=(y1,y2,…,yβ)∈Z4βy = (y_1,y_2,\ldots,y_\beta) \in\mathbb{Z}_4^\beta. So,

b⋅y≡2∑i∈supp⁡(y)bi(mod4).b \cdot y \equiv2\sum_{i\in\operatorname{supp}(y)} b_i \pmod4.

Therefore b⋅y∈{0,2}b \cdot y \in\{0,2\}. Now for u=(a,b)∈Z2αZ4βu = (a,b) \in\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, we have

u⋅t=2(a⋅x)+b⋅y(mod4)=2((x⋅a)+∑i∈supp⁡(y)bi)(mod4).u \cdot t = 2(a\cdot x) + b\cdot y \pmod4 = 2\left((x\cdot a) + \sum_{i\in\operatorname{supp}(y)} b_i\right) \pmod4.

Therefore u⋅t∈{0,2}u\cdot t \in\{0,2\}. As, WL(0)=0W_L(0) = 0, WL(2)=2W_L(2) = 2 in Z4\mathbb{Z}_4, we have

WL(CD(u))=2×∣{t∈D:u⋅t=2}∣.W_L(C_D(u)) = 2 \times\lvert\{t \in D : u\cdot t = 2\}\rvert.

Consider,

Φu(t)=(x⋅a)+∑i∈supp⁡(y)bi(mod2),\Phi_u(t) = (x\cdot a) + \sum_{i\in\operatorname{supp}(y)} b_i \pmod2,

then

u⋅t={2,Φu(t)=1,0,Φu(t)=0.u\cdot t = \begin{cases} 2, & \Phi_u(t) = 1,\\ 0, & \Phi_u(t) = 0. \end{cases}

Again for fixed yy, there are 2k2^k possible values of xx and a⋅xa \cdot x takes values 0 and 1 equally. So, Φu(t)=0\Phi_u(t)=0 and 1 each occurs 2k−12^{k-1} times. Summing over all yy, half of DD give value 0 and half give value 2. Hence

WL(CD(u))={0,u=0,∣D∣,u≠0W_L(C_D(u)) = \begin{cases} 0, & u=0,\\ |D|, & u\ne0 \end{cases}

Theorem 4.1. Let R=Z2αZ4βR=\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, and let kk be an integer satisfying 1≤k≤β1\le k\le\beta. Define

Dk={(x,y)∈R:supp⁡(x)⊆supp⁡(y),∣supp⁡(y)∣=k,yj∈{0,2}, 1≤j≤β}.D_k=\{(x,y)\in R:\operatorname{supp}(x)\subseteq\operatorname{supp}(y),\quad |\operatorname{supp}(y)|=k,\quad y_j\in\{0,2\},\ 1\le j\le\beta\}.

Let CDkC_{D_k} be the code associated with DkD_k, defined as in the preliminary section. Then CDkC_{D_k} is a 2-Lee-weight code.

Proof. By the definition of DkD_k, every element d=(x,y)∈Dkd=(x,y)\in D_k satisfies

supp⁡(x)⊆supp⁡(y),∣supp⁡(y)∣=k,\operatorname{supp}(x)\subseteq\operatorname{supp}(y),\qquad |\operatorname{supp}(y)|=k,

and yj∈{0,2}y_j\in\{0,2\} for all 1≤j≤β1\le j\le\beta. Therefore, DkD_k satisfies the hypotheses of Lemma 4.1. Applying Lemma 4.1, the associated code CDkC_{D_k} is a 2-Lee-weight code. Hence the theorem follows.

Example 2. Take α=2,β=3,k=2\alpha=2,\beta=3,k=2 so that D={(x,y)∣supp⁡(x)⊆supp⁡(y), yi∈{0,2}, ∣supp⁡(y)∣=2}D=\{(x,y)\mid\operatorname{supp}(x)\subseteq\operatorname{supp}(y),\ y_i\in\{0,2\},\ |\operatorname{supp}(y)|=2\}. Choose y∈Z43y\in\mathbb{Z}_4^3 so that exactly two positions are non zero. So possible supports are {1,2}\{1,2\}, {1,3}\{1,3\} and {2,3}\{2,3\}. So for each supports corresponding values of yy are (2,2,0),(2,0,2)(2,2,0),(2,0,2) and (0,2,2)(0,2,2) respectively. As supp⁡(x)⊆supp⁡(y)\operatorname{supp}(x)\subseteq\operatorname{supp}(y), ∣supp⁡(y)∣=2|\operatorname{supp}(y)|=2, we can choose x∈Z23x\in\mathbb{Z}_2^3 and xx can have 1's only in those non zero positions. So, xx has 4 choices. Hence ∣D∣=4×3=12|D|=4\times3=12. In general, we can extend the cardinality of defining set of DD as (nk)2k\binom{n}{k}2^k, if β=n\beta=n and ∣supp⁡(y)∣=k|\operatorname{supp}(y)|=k. For our particular choice of α,β\alpha,\beta and kk, WL(CD(u))∈{0,12}W_L(C_D(u))\in\{0,12\}. Since u⋅t∈{0,2}u\cdot t\in\{0,2\}, for v∈Z22Z43v\in\mathbb{Z}_2^2\mathbb{Z}_4^3, the product (u⋅t)(v⋅t)∈{0,4}≡0(mod4)(u\cdot t)(v\cdot t)\in\{0,4\}\equiv0\pmod4. Therefore in this case CD⊆CD⊥C_D\subseteq C_D^\perp.

Proposition 4.1. Let DD be a nonempty subset of R=Z2αZ4βR=\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, and let CDC_D be the code defined by

CD={ca=(a⋅d)d∈D:a∈R},C_D=\{c_a=(a\cdot d)_{d\in D}:a\in R\},

where

a⋅d=2∑i=1αaidi+∑j=1βaα+jdα+j(mod4).a\cdot d=2\sum_{i=1}^{\alpha}a_i d_i+\sum_{j=1}^{\beta}a_{\alpha+j}d_{\alpha+j}\pmod4.

Suppose that the Lee-weight enumerator of CDC_D is

WCD(z)=1+Aw1zw1+Aw2zw2,W_{C_D}(z)=1+A_{w_1}z^{w_1}+A_{w_2}z^{w_2},

where 0<w1<w20<w_1<w_2 and Aw1,Aw2>0A_{w_1},A_{w_2}>0. Then CDC_D is a 2-Lee-weight code with nonzero Lee weights w1w_1 and w2w_2.

Proof. By definition, the Lee-weight enumerator of CDC_D is

WCD(z)=∑c∈CDzWL(c),(1)W_{C_D}(z)=\sum_{c\in C_D}z^{W_L(c)}, \tag*{(1)}

where WL(c)W_L(c) denotes the Lee weight of the codeword cc. The constant term 1 corresponds to the zero codeword. Since Aw1>0A_{w_1}>0 and Aw2>0A_{w_2}>0, there exist nonzero codewords of Lee-weights w1w_1 and w2w_2, respectively. Moreover, the assumed form of the weight enumerator shows that no other nonzero Lee weights occur in CDC_D. Hence, CDC_D has exactly two distinct nonzero Lee-weights, namely w1w_1 and w2w_2. Therefore, CDC_D is a 2-Lee-weight code.

3-Lee Weight Distribution of Z2Z4\mathbb{Z}_2\mathbb{Z}_4 Additive Codes

For our convenient we redefine our weight function as

F(u)=WL(CD(u))=∑t∈DWL(u⋅t).F(u)=W_L(C_D(u))=\sum_{t\in D}W_L(u\cdot t).

For each k∈Z4k\in\mathbb{Z}_4, define Nk(u)=∣{t∈D∣u⋅t=k}∣N_k(u)=|\{t\in D\mid u\cdot t=k\}|. Then

F(u)=∑k∈Z4NkWL(k).F(u)=\sum_{k\in\mathbb{Z}_4}N_kW_L(k).

We have WL(0)=0,WL(1)=WL(3)=1,WL(2)=2W_L(0)=0,W_L(1)=W_L(3)=1,W_L(2)=2 in Z4\mathbb{Z}_4. Hence, F(u)=N1(u)+N3(u)+2N2(u)F(u)=N_1(u)+N_3(u)+2N_2(u). We define a reduction map Ψ:Z4→Z3\Psi:\mathbb{Z}_4\to\mathbb{Z}_3 as Ψ(x)≡x(mod3)\Psi(x)\equiv x\pmod3.

Lemma 5.1. Let R=Z2αZ4βR=\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, a∈R∖{0}a\in R\setminus\{0\} and define D={t∈R∣Ψ(a⋅t)∈S}D=\{t\in R\mid\Psi(a\cdot t)\in S\}, S⊂{0,1,2}S\subset\{0,1,2\}. Then for u∈R∖{0}u\in R\setminus\{0\}, the pair (N1(u)+N3(u),N2(u))(N_1(u)+N_3(u),N_2(u)) takes at most three distinct values.

Proof. Define Ak,i(u)=∣{t∈R∣u⋅t=k, Ψ(a⋅t)=i}∣A_{k,i}(u)=|\{t\in R\mid u\cdot t=k,\ \Psi(a\cdot t)=i\}|. Then we can proof that

Nk(u)=∑i∈SAk,i(u).N_k(u)=\sum_{i\in S}A_{k,i}(u).

Using decomposition of DD we can write D=D0∪D1∪D2D=D_0\cup D_1\cup D_2, where Di={t∈R∣u⋅t=k, Ψ(a⋅t)=i}D_i=\{t\in R\mid u\cdot t=k,\ \Psi(a\cdot t)=i\}. Hence, we can write

Nk(u)=∣{t∈D∣u⋅t=k}∣=⋃i∈S{t∈Di∣u⋅t=k},N_k(u)=|\{t\in D\mid u\cdot t=k\}|=\bigcup_{i\in S}\{t\in D_i\mid u\cdot t=k\},

where all DiD_i, i=0,1,2i=0,1,2 are disjoint. Therefore

∣{t∈D∣u⋅t=k}∣=∑i∈S∣{t∈Di∣u⋅t=k}∣.\left|\{t\in D\mid u\cdot t=k\}\right|=\sum_{i\in S}\left|\{t\in D_i\mid u\cdot t=k\}\right|.

Hence ∣{t∈Di∣u⋅t=k}∣=Ak,i(u)\left|\{t\in D_i\mid u\cdot t=k\}\right|=A_{k,i}(u). Therefore, we can conclude

Nk(u)=∑i∈SAk,i(u).N_k(u)=\sum_{i\in S}A_{k,i}(u).

Thus

F(u)=∑k∈Z4WL(k)∑i∈SAk,i(u).F(u)=\sum_{k\in\mathbb{Z}_4}W_L(k)\sum_{i\in S}A_{k,i}(u).

Take lu(t)=u⋅t∈Z4,la(t)=a⋅t∈Z4l_u(t)=u\cdot t\in\mathbb{Z}_4,l_a(t)=a\cdot t\in\mathbb{Z}_4 and define l:t↦(lu(t),la(t))l:t\mapsto(l_u(t),l_a(t)) which is a linear map from RR to Z4×Z4\mathbb{Z}_4\times\mathbb{Z}_4. The values of Ak,i(u)A_{k,i}(u) depends on the maps lul_u and lal_a. We divide the space that contain u≠0u\ne0 into three disjoint classes as follows:

  • Class I. U1={u≠0∣u⋅a=0}U_1=\{u\ne0\mid u\cdot a=0\}

  • Class II. U2={u=λa∣λ∈Z4∗}U_2=\{u=\lambda a\mid\lambda\in\mathbb{Z}_4^*\}

  • Class III. U3=R∖(U1∪U2∪{0})U_3=R\setminus(U_1\cup U_2\cup\{0\}).

We shall prove that each class produces constant values of the pair (N1(u)+N3(u),N2(u))(N_1(u)+N_3(u),N_2(u)).

  • Class I. Let u∈U1u \in U_1, i.e., u⋅a=0u \cdot a = 0. For any t∈Rt \in R, consider t′=t+λa,λ∈Z4t' = t + \lambda a,\lambda\in Z_4. We have lu(t′)=u⋅t′+λ(u⋅a)=u⋅a=lu(t)l_u(t') = u \cdot t' + \lambda(u \cdot a) = u \cdot a = l_u(t) as u⋅a=0u \cdot a = 0. Hence lu(t)l_u(t) is constant on each coset t+⟨a⟩t + \langle a\rangle. Again la(t′)=a⋅t′=a⋅t+λ(a⋅a)l_a(t') = a \cdot t' = a \cdot t + \lambda(a \cdot a). Now Ψ(a⋅t′)=Ψ(a⋅t)+λc(mod3)\Psi(a \cdot t') = \Psi(a \cdot t) + \lambda c \pmod{3}, where c=Ψ(a⋅a)∈Z3,λ∈Z4c = \Psi(a \cdot a) \in Z_3,\lambda\in Z_4. If c=0c = 0, then Ψ(a⋅t′)=Ψ(a⋅t)\Psi(a \cdot t') = \Psi(a \cdot t). So varying λ\lambda does not move between different DiD_i. Hence whole orbit t+⟨a⟩t + \langle a\rangle stays inside one of DiD_i. If c=1∈Z3c = 1 \in Z_3, then Ψ(a⋅t′)\Psi(a \cdot t') takes values r,r+1,r+2r,r+1,r+2 for λ=0,1,2\lambda= 0,1,2 respectively, where r=Ψ(a⋅t)r = \Psi(a \cdot t). Similarly for c=2c = 2, Ψ(a⋅t′)\Psi(a \cdot t') takes the values r,r+2,r+1r,r+2,r+1 for λ=0,1,2\lambda= 0,1,2 respectively. Hence the orbit t+⟨a⟩t + \langle a\rangle intersects all three sets D0,D1,D2D_0,D_1,D_2. Thus Ak,i(u)A_{k,i}(u) is constant. So, Nk(u)=∣S∣Ak,i(u)N_k(u)=|S|A_{k,i}(u). Hence (N1(u)+N3(u),N2(u))=(A1,A2)(N_1(u)+N_3(u),N_2(u))=(A_1,A_2), where A1A_1 and A2A_2 are two independent constant.

  • Class II. If u∈U2u \in U_2, i.e., u=λau = \lambda a and u⋅t=λ(a⋅t)u \cdot t = \lambda(a \cdot t). If t∈Dit \in D_i, then Ψ(a.t)=i\Psi(a.t)=i. Thus, u⋅t=λ(a⋅t)u \cdot t = \lambda(a \cdot t) which depends only on ii. Hence

Ak,i(u)={∣Di∣,k=λ(a⋅t),0,otherwise.A_{k,i}(u)= \begin{cases} |D_i|, & k=\lambda(a\cdot t),\\ 0, & \text{otherwise}. \end{cases}

Thus

Nk(u)=∑i∈SAk,iN_k(u)=\sum_{i\in S}A_{k,i}

depends only on sizes of DiD_i. So we can conclude in this case (N1(u)+N3(u),N2(u))=(B1,B2)(N_1(u)+N_3(u),N_2(u))=(B_1,B_2), where B1B_1 and B2B_2 are two independent constants.

  • Class III. Consider u∈U3u \in U_3, i.e., u⋅a≠0,u∉⟨a⟩u \cdot a \ne0,u \notin\langle a\rangle. Here lul_u and lal_a are linearly independent maps. Define Φ(t)=(u⋅t,a⋅t)∈Z4×Z4\Phi(t)=(u\cdot t,a\cdot t)\in Z_4\times Z_4. Since uu and aa are independent, Φ\Phi has maximal element of rank 2. Hence, we can conclude (N1(u)+N3(u),N2(u))=(C1,C2)(N_1(u)+N_3(u),N_2(u))=(C_1,C_2), where C1C_1 and C2C_2 are two independent constants.

Theorem 5.1. Let R=Z2αZ4βR=Z_2^\alpha Z_4^\beta, a∈R∖{0}a\in R\setminus\{0\}, aa is fixed. Define the reduction mapping Ψ:Z4→Z3\Psi:Z_4\to Z_3, Ψ(x)≡x(mod3)\Psi(x)\equiv x\pmod{3}. Define Di={t∈R∣Ψ(a⋅t)=i,i=0,1,2}D_i=\{t\in R\mid\Psi(a\cdot t)=i,i=0,1,2\}. Let CD={CD(u)=(u⋅t)t∈D∣u∈R}C_D=\{C_D(u)=(u\cdot t)_{t\in D}\mid u\in R\}, where D∈{D1,D1∪D2,D0∪D2}D\in\{D_1,D_1\cup D_2,D_0\cup D_2\}. Then ∣{WL(CD(u))∣u≠0}∣≤3\left|\{W_L(C_D(u))\mid u\ne0\}\right|\le3.

Proof. The partition R=D0∪D1∪D2R=D_0\cup D_1\cup D_2 is well defined: Consider Φ(t)=Ψ(a⋅t)\Phi(t)=\Psi(a\cdot t), which is well defined in Z3Z_3. Define Di=Φ−1(i)={t∈R∣Φ(t)=i}D_i=\Phi^{-1}(i)=\{t\in R\mid\Phi(t)=i\}. Since Φ(t)∈{0,1,2}\Phi(t)\in\{0,1,2\}, there exists a unique i∈{0,1,2}i\in\{0,1,2\} such that Φ(t)=i\Phi(t)=i. Hence by definition of preimage, t∈Φ−1(i)=Dit\in\Phi^{-1}(i)=D_i. Thus R⊆D0∪D1∪D2R\subseteq D_0\cup D_1\cup D_2. Hence R=D0∪D1∪D2R=D_0\cup D_1\cup D_2 as Di⊆RD_i\subseteq R for all ii. Clearly all DiD_i's are disjoint because of equivalence relation of Φ\Phi. Define the weight function as

F(u)=WL(CD(u))=∑t∈DWL(u⋅t).F(u)=W_L(C_D(u))=\sum_{t\in D}W_L(u\cdot t).

For each k∈Z4k\in Z_4, define Nk=∣{t∈D∣u⋅t=k}∣N_k=\left|\{t\in D\mid u\cdot t=k\}\right|. Then

F(u)=∑k∈Z4Nk(u)WL(u).F(u)=\sum_{k\in Z_4}N_k(u)W_L(u).

As WL(0)=0W_L(0)=0, WL(1)=WL(3)=1W_L(1)=W_L(3)=1, WL(2)=2W_L(2)=2 in Z4\mathbb{Z}_4, hence we have F(u)=N1(u)+N3(u)+2N2(u)F(u)=N_1(u)+N_3(u)+2N_2(u). Now using Lemma 5.1, we can conclude F(u)F(u) is completely determine by the triple N1(u)+N3(u)N_1(u)+N_3(u), N2(u)N_2(u). Hence ∣{WL(CDu):u≠0}∣≤3\left|\{W_L(C_D^u):u\ne0\}\right|\le3.

Example 3. For u=(r,s)∈Ru=(r,s)\in R, the codeword corresponding to uu is

CDu=(u⋅t)t∈D,C_D^u=(u\cdot t)_{t\in D},

where inner product is defined as u⋅(x,y)=2rx+sy(mod4)u\cdot(x,y)=2rx+sy\pmod4. Let fix a=(1,1)∈R∖{0}a=(1,1)\in R\setminus\{0\}. For t=(x,y)∈Rt=(x,y)\in R, the mixed product is defined by a⋅t=2x+y(mod4)a\cdot t=2x+y\pmod4. Hence, Ψ(a⋅t)=Ψ(2x+y)\Psi(a\cdot t)=\Psi(2x+y), where Ψ:Z4→Z3\Psi:\mathbb{Z}_4\to\mathbb{Z}_3 is the reduction mapping given by Ψ(z)≡z(mod3)\Psi(z)\equiv z\pmod3. Evaluating Ψ(a⋅t)\Psi(a\cdot t) for every t∈Rt\in R, we obtain the following table:

t=(x,y)t=(x,y)a⋅ta\cdot t (mod 4)Ψ(a⋅t)\Psi(a\cdot t)
(0,0)(0,0)00
(0,1)(0,1)11
(0,2)(0,2)22
(0,3)(0,3)30
(1,0)(1,0)22
(1,1)(1,1)30
(1,2)(1,2)00
(1,3)(1,3)11

Table 1 (PDF p. 16).

Consequently, the defining sets are

D0={(0,0),(0,3),(1,1),(1,2)},D_0=\{(0,0),(0,3),(1,1),(1,2)\},
D1={(0,1),(1,3)},D_1=\{(0,1),(1,3)\},
D2={(0,2),(1,0)}.D_2=\{(0,2),(1,0)\}.

Clearly, R=D0∪D1∪D2R=D_0\cup D_1\cup D_2, where the three sets are pairwise disjoint. We now construct the codes for the three choices of DD specified in Theorem 5.1.

Case 1: D=D1D=D_1. Ordering the elements of D1D_1 as (0,1),(1,3)(0,1),(1,3), we obtain

CD1(r,s)=(s,2r+3s)(mod4).C_{D_1}^{(r,s)}=(s,2r+3s)\pmod4.

Therefore, CD1={(s,2r+3s):r∈Z2, s∈Z4}C_{D_1}=\{(s,2r+3s):r\in\mathbb{Z}_2,\ s\in\mathbb{Z}_4\}. The Lee weights of the nonzero codewords are given by

uuCD1uC_{D_1}^uWL(CD1u)W_L(C_{D_1}^u)
(0,1)(0,1)(1,3)(1,3)2
(0,2)(0,2)(2,2)(2,2)4
(0,3)(0,3)(3,1)(3,1)2
(1,0)(1,0)(0,2)(0,2)2
(1,1)(1,1)(1,1)(1,1)2
(1,2)(1,2)(2,0)(2,0)2
(1,3)(1,3)(3,3)(3,3)2

Table 2 (PDF p. 16).

Thus,

{WL(CD1u):u∈R∖{0}}={2,4},\{W_L(C_{D_1}^u):u\in R\setminus\{0\}\}=\{2,4\},

and consequently,

∣{WL(CD1u):u≠0}∣=2≤3.\left|\{W_L(C_{D_1}^u):u\ne0\}\right|=2\le3.

Case 2: D=D1∪D2D = D_1 \cup D_2. Ordering the elements as (0,1),(1,3),(0,2),(1,0)(0,1),(1,3),(0,2),(1,0), we obtain

CD1∪D2(r,s)=(s,2r+3s,2s,2r)(mod4).C_{D_1\cup D_2}^{(r,s)} = (s,2r+3s,2s,2r) \pmod{4}.

Hence,

CD1∪D2={(s,2r+3s,2s,2r):r∈Z2, s∈Z4}.C_{D_1\cup D_2} = \{(s,2r+3s,2s,2r): r \in\mathbb{Z}_2,\ s \in\mathbb{Z}_4\}.

Case 3: D=D0∪D2D = D_0 \cup D_2. Ordering the elements as (0,0),(0,3),(1,1),(1,2),(0,2),(1,0)(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).C_{D_0\cup D_2}^{(r,s)} = (0,3s,2r+s,2r+2s,2s,2r) \pmod{4}.

Consequently,

CD0∪D2={(0,3s,2r+s,2r+2s,2s,2r):r∈Z2, s∈Z4}.C_{D_0\cup D_2} = \{(0,3s,2r+s,2r+2s,2s,2r): r \in\mathbb{Z}_2,\ s \in\mathbb{Z}_4\}.

Thus, the defining sets and corresponding codes have been constructed explicitly for all three choices of DD in Theorem 5.1. In particular, the Lee-weight calculation for D=D1D = D_1 verifies the asserted bound in this case.

Defining setElements of DDLee weightsNo. of distinct weights
D1D_1{(0,1),(1,3)}\{(0,1),(1,3)\}{2,4}\{2,4\}2
D1∪D2D_1 \cup D_2{(0,1),(1,3),(0,2),(1,0)}\{(0,1),(1,3),(0,2),(1,0)\}{4,6}\{4,6\}2
D0∪D2D_0 \cup D_2{(0,0),(0,3),(1,1),(1,2),(0,2),(1,0)}\{(0,0),(0,3),(1,1),(1,2),(0,2),(1,0)\}{4,6}\{4,6\}2

Table 2 (PDF p. 17). Defining sets and Lee-weight distributions for R=Z2×Z4R = \mathbb{Z}_2 \times\mathbb{Z}_4, where a=(1,1)a = (1,1).

Definition 5.1. Let SαS_\alpha is symmetric group of α\alpha elements from Z2\mathbb{Z}_2 and SβS_\beta be symmetric group of β\beta elements from Z4\mathbb{Z}_4. 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τ(β))g(x_1,x_2,\ldots,x_\alpha|y_1,y_2,\ldots,y_\beta) = (x_{\sigma(1)},\ldots,x_{\sigma(\alpha)}|\epsilon_1y_{\tau(1)},\ldots,\epsilon_\beta y_{\tau(\beta)}) on R=Z2αZ4βR = \mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, where σ∈Sα\sigma\in S_\alpha, τ∈Sβ\tau\in S_\beta and ϵj∈{1,−1}⊆Z4\epsilon_j \in\{1,-1\} \subseteq\mathbb{Z}_4, ∀j∈[1,β]\forall j \in[1,\beta].

Theorem 5.2. Let R=Z2αZ4βR = \mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta and {1,2,…,α+β}=S1∪S2\{1,2,\ldots,\alpha+\beta\} = S_1 \cup S_2 a disjoint partition. Take D0={0}D_0 = \{0\}, D1={t∈R∣supp(t)∈S1}D_1 = \{t \in R|supp(t) \in S_1\} and D2={t∈R∣supp(t)∈S2}D_2 = \{t \in R|supp(t) \in S_2\}. For D∈{D1,D1∪D2}D \in\{D_1,D_1 \cup D_2\} and code CD={CD(u)=(u⋅t)t∈D∣u∈R}C_D = \{C_D(u) = (u \cdot t)_{t\in D}|u \in R\}, the Lee function depends only on supp(u)supp(u). Moreover, if the partition S1,S2S_1,S_2 induces exactly three distinct interaction numbers, then CDC_D is a three Lee weight code.

Proof. We have u⋅t=2(u1⋅x)+u2⋅yu \cdot t = 2(u_1 \cdot x) + u_2 \cdot y for u=(u1,u2),t=(x,y)∈Ru = (u_1,u_2), t = (x,y) \in R. Consider, supp(u)∩supp(t)=ϕsupp(u) \cap supp(t) = \phi which gives u⋅t=0u \cdot t = 0. Thus u⋅tu \cdot t depends only on co-ordinates belonging to supp(u)∩supp(t)supp(u) \cap supp(t). Hence consequently, WL(u⋅t)W_L(u \cdot t) also depends only on the intersection pattern between supp(u)supp(u) and supp(t)supp(t) which is invariant under purmutation. Let GG be the group generated by transformations, then g(Di)=Di,∀g∈Gg(D_i) = D_i, \forall g \in G. Consider u,v∈Ru,v \in R satisfying ∣supp(u)∣=∣supp(v)∣|supp(u)| = |supp(v)|, then we can have a one to one corresponding g∈Gg \in G such that g(u)=vg(u) = v. Now

F(v)=∑t∈DWL(v⋅t)=∑t∈DWL(g(u)⋅t)F(v) = \sum_{t\in D} W_L(v \cdot t) = \sum_{t\in D} W_L(g(u) \cdot t)

Now g(u)⋅t=u⋅g−1(t)g(u)\cdot t=u\cdot g^{-1}(t) (using invariance of the inner product under GG). Therefore

F(v)=∑t∈DWL(u⋅g−1(t))F(v)=\sum_{t\in D}W_L\left(u\cdot g^{-1}(t)\right)

Since g(D)=Dg(D)=D, changing variable s=g−1(t)s=g^{-1}(t) gives

F(v)=∑s∈DWL(u⋅s)=F(u).F(v)=\sum_{s\in D}W_L(u\cdot s)=F(u).

Therefore F(u)F(u) depends only on ∣supp(u)∣\lvert supp(u)\rvert.

For fixed uu, consider I(u,t)=∣supp(u)∩supp(t)∣I(u,t)=\lvert supp(u)\cap supp(t)\rvert and F(u)F(u) depends on the possible values of I(u,t)I(u,t). Here, the partition S1∪S2S_1\cup S_2 which induces exactly there possible intersection values namely A∩S1=AA\cap S_1=A, or A∩S2=AA\cap S_2=A or A=(A∩S1)∪(A∩S2)A=(A\cap S_1)\cup(A\cap S_2) respectively for A∈RA\in R. Thus I(u,t)∈{A∩S1,A∩S2,(A∩S1)∪(A∩S2)}I(u,t)\in\{A\cap S_1,A\cap S_2,(A\cap S_1)\cup(A\cap S_2)\}. Hence we can conclude F(u)F(u) takes exactly three distinct values as u≠0u\ne0. Hence CDC_D is a three Lee-weight code.

Example 4. Let R=Z22Z42R=\mathbb{Z}_2^2\mathbb{Z}_4^2, and consider the partition S1={1,2}S_1=\{1,2\} and S2={3,4}S_2=\{3,4\} of the positional set {1,2,3,4}\{1,2,3,4\}. Let D=D1∪D2D=D_1\cup D_2, where Di={t∈R∣supp(t)∈Si}D_i=\{t\in R\mid supp(t)\in S_i\}. Then we have ∣D1∣=3\lvert D_1\rvert=3 and ∣D2∣=15\lvert D_2\rvert=15 and as Di′D_i' are disjoint, so ∣D∣=18\lvert D\rvert=18. For u≠0∈Ru\ne0\in R, use CD(u)=(u⋅t)t∈DC_D(u)=(u\cdot t)_{t\in D}, where u⋅t=2(u1t1+u2t2)+u3t3(mod4)u\cdot t=2(u_1t_1+u_2t_2)+u_3t_3\pmod4 for t=(t1,t2,t3,t4)∈Rt=(t_1,t_2,t_3,t_4)\in R. The Lee weight of CD(u)C_D(u) depends only on the support type (∣supp(u)∩S1∣,∣supp(u)∩S2∣)(\lvert supp(u)\cap S_1\rvert,\lvert supp(u)\cap S_2\rvert). The resulting Lee-weight distribution is as follows:

wLw_L041620
AwLA_{w_L}131545

Table 3. Lee-weight distribution of CDC_D

WCD(z)=1+3z4+15z16+45z20W_{C_D}(z)=1+3z^4+15z^{16}+45z^{20}

and CDC_D 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β\mathbb{Z}_2^\alpha\mathbb{Z}_4^\beta, 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β\mathbb{Z}_2^{\alpha}\mathbb{Z}_4^{\beta}. 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. [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. [2]L. Zongbing, K. Cheng, The Lee-weight distributions of a class of quaternary codes. IEEE Access, 11, 60950-60956, 2023.DOI
  3. [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. [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. [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. [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. [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. [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. [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. [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. [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).

Paper details

vlnc:W_eyjjjj2x
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 2

downloads · 0

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

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents