• Tidak ada hasil yang ditemukan

In particular, we might assume that

mi=pe1i1pe2i2. . . pekik (3.22)

with p1 > p2 >· · · > pk primes, and e1j e2j ≥ · · · ≥ erj 0 for all j = 1,2, . . . , k. We first define an inner product on Gn:

Definition 3.5. Define a symmetric function< ., . >:Gn×Gn→Zm1 such that

<(g1, g2, . . . , gn),(h1, h2, . . . , hn)>= Xn

i=1

gi∗hi (3.23)

where

gi∗hi =gi(1)hi(1) + m1

m2gi(2)hi(2) +· · ·+m1

mrgi(r)hi(r). (3.24) Here gi(j)Zmj is the jth coordinate of gi when it is written as an r-tuple in G.

Note that the inner product thus defined is symmetric and bilinear. It is a natural definition for an inner product, because if ξ is a primitive mst1 root of unity over complex numbers then, ξm1/mi is a primitivemthi root of unity and hence a character of Zmi. Definition 3.6. Suppose C is an abelian group code over G defined above by (3.21) of length n. We define thedual C of C with respect to the inner product defined above in (3.23) and (3.24) as

C

x∈Gn¯

¯< x, c >= 0, ∀c∈Cª

. (3.25)

We prove the following lemma for the inner product above that will be useful:

Lemma 3.7. Suppose (h1, h2, . . . , hn)∈Gn is fixed. If

<(g1, g2, . . . , gn),(h1, h2, . . . , hn)>= 0

for all (g1, g2, . . . , gn)∈Gn, then (h1, h2, . . . , hn) = 0, the zero vector in Gn.

Proof. By taking all but one ofgi’s to be the zero element in G, we can reduce this to the

casen= 1.So, supposeh∈Gis fixed and that< g, h >= 0 for allg∈G. This means that

g∗h=g(1)h(1) +m1

m2g(2)h(2) +· · ·+m1

mrg(r)h(r) = 0

for all g ∈G where g = (g(1), . . . , g(r)) withg(j) Zmj.Then take g = (1,0, . . . ,0). We see that we geth(1) = 0 inZm1. Takingg= (0,1,0, . . . ,0) we see that mm1

2h(2) = 0 inZm1, which means that h(2) = 0 in Zm2. Similarly it can be shown that h(j) = 0 in Zmj for j= 1,2, . . . , r and so we geth= 0 inG.

Remark 3.8. Lemma 3.7 implies that {0} =Gn and (Gn)={0}.

To prove a MacWilliams-like identity for the complete weight enumerators of abelian group codes, we first prove the following lemma:

Lemma 3.9. Suppose H is a nontrivial subgroup ofZm1 of order s >1 and supposeξ is a primitive mth1 root of unity. Then we have

X

h∈H

ξh= 0.

Proof. Suppose 06=h∈H is an element in H of order s. Then

H ={0, h,2h, . . . ,(s−1)h}

withsh=m1kfor some positive m1.But then we have X

h∈H

ξh = Xs−1

`=0

(ξh)` = ξsh1 ξh1 = 0

sinceξsh=ξm1k= 1.

We are now ready to prove the following theorem that gives a MacWilliams-like identity for the complete weight enumerators of abelian group codes:

Theorem 3.10. Suppose that G ={g1, . . . , gq} is an abelian group of order q and of the form given in (3.21). Suppose thatξ is a primitive mth1 root of unity over complex numbers,

and let C be a group code of length n over G, and let C be the dual of C with respect to the inner product defined in (3.23) and (3.24). Then we have

cweC(W1, W2, . . . , Wq) = 1

|C|cweC¡Xq

i=1

ξg1∗giWi, Xq

i=1

ξg2∗giWi, . . . , Xq

i=1

ξgq∗giWi¢

. (3.26)

Proof. The proof uses the same ideas and the same techniques used to prove the original MacWilliams theorem from [6] and [20]. We will first introduce a function overGn as

F(u) := X

v∈Gn

ξ<u,v>

Yq

i=1

Wingi(v). (3.27)

Summing F(u)’s over all the codewords of the code C, we obtain X

u∈C

F(u) =X

u∈C

X

v∈Gn

ξ<u,v>

Yq

i=1

Wingi(v)= X

v∈Gn

Yq

i=1

Wingi(v)X

u∈C

ξ<u,v>. (3.28)

Now, suppose for fixedv∈Gn, we consider the function

fv :C→Zm1

that takesu∈C to< u, v >modulom1.Note thatfv is a group homomorphism. Now, by definition of the dual, we have

ker(fv) =C ⇔< u, v >≡0 (mod m1) ∀u∈C ⇔v∈C.

This means the inner sum of (3.28) becomes|C|for allv∈C.

Now, suppose thatv is not inC.This means that ker(fv)6=C and so it is a non-trivial subgroup of C, which means that Im(fv) is a non-trivial subgroup of Zm1 and hence by Lemma 3.9, the inner sum becomes 0 for any such v∈Gn. This means that

X

u∈C

F(u) =|C| X

v∈C

Yq

i=1

Wingi(v) =|C|cweC(W1, W2, . . . , Wq), (3.29)

which is equivalent to saying that

cweC(W1, W2, . . . , Wq) = 1

|C|

X

u∈C

F(u). (3.30)

Now we need to find whatF(u) is. Letδ(x, y) denote the Kronecker Delta function, which takes the value 1 ifx=y and 0 for all other values. So

F(u) = X

v∈Gn

ξ<u,v>

Yq

i=1

Wingi(v)

= X

(v1,v2,...,vn)∈Gn

µYn

j=1

¡ξuj∗vj Yq

i=1

Wiδ(vj,gi)¢¶

= Yn

j=1

µXq

i=1

ξuj∗giWi

= µXq

i=1

ξg1∗giWi

ng

1(u)

· µXq

i=1

ξg2∗giWi

ng

2(u)

· · · · µXq

i=1

ξgq∗giWi

ngq(u) .

Summing this last product over all the codewords ofC, we get the desired result.

As we said earlier, knowing the complete weight enumerator makes it easier to calculate all the other weight enumerators. Now, as an application we will obtain the MacWilliams identity for the Hamming weight enumerators of abelian group codes by using Theorem 3.10, which will be the exact same result that Delsarte obtained in [5].

MacWilliams identity for Hamming weight enumerators For this section, we will assumeG

g1, g2, . . . , gqª

to be the abelian group over which the code is defined and g1 = 0 the zero element in the group. We first define the Hamming weight enumerator for the group code in a similar way that it was defined forZ4-codes:

HC(W, X) =X

c∈C

Wn−wH(c)XwH(c) =X

c∈C

Wn0(c)Xng2(c)+···+ngq(c) (3.31)

where wH is the Hamming weight. In fact, we note that it can be written in terms of the complete weight enumerator as

HC(W, X) = cweC(W, X, X, . . . , X). (3.32)

Then using Theorem 3.10, we can relate the Hamming weight enumerator ofC and C:

HC(W, X) = cweC(W, X, X, . . . , X)

= 1

|C|cweC¡

W + (q−1)X, W +X Xq

i=2

ξg2∗gi, . . . , W +X Xq

i=2

ξgq∗gi¢ . (3.33)

At this point we want to introduce the following lemma:

Lemma 3.11. For all j >1, we have Xq

i=2

ξgi∗gj =1.

Proof. For any such fixedj, consider the mapfj :G→Zm1 such thatfj(gi) =gi∗gj. Then fj is a group homomorphism. By Lemma 3.7, we know thatgi∗gj = 0 for allj= 1,2, . . . , q if and only if gi =g1 = 0. So, if j > 1, then we have ker(fj) 6=G and hence Im(fj) is a non-trivial subgroup ofZm1. But then, by Lemma 3.9 we get

Xq

i=1

ξgj∗gi = 0

for all such j >1.Since gj∗g1=gj 0 = 0 for all j, we get Xq

i=2

ξgi∗gj =1, j = 2,3, . . . , q.

But using Lemma 3.11 in (3.33), we see that we have easily proved the following corollary of Theorem 3.10 that gives the MacWilliams identity for the Hamming weight enumerators of abelian group codes:

Corollary 3.12. Suppose that C is a group code overG of length nwith |G|=q. Let

HC(W, X) =X

c∈C

Wn−wH(c)XwH(c)

be the Hamming weight enumerator of C and let C be the dual of C with respect to the inner product defined in (3.23) and (3.24). Then we have the Macwilliams identity for the Hamming Weight enumerators ofC and C as follows:

HC(W, X) = 1

|C|HC¡

W + (q−1)X, W−X¢ .