4.1. Exension Rings
Let
be a positive integer and let
where
is a monic basic irreducible of degree
over
Note that
can be chosen so that
contains
th root of unity. Moreover,
is a chain ring of characteristic
p with maximal ideal
and residue field
By Theorem 2,
Let
a be the order of
p modulo
then
contains a primitive
th root
of unity. Assume that
K is the splitting field of
over
where
is a nonzero element of
F and
for some positive integer
the degree of the extension. If
is a root of
in
then
for
are all distinct roots of
in
; hence, by Hensel’s Lemma ([
29], Theorem XIII.4),
also contains all those roots. Now
factors uniquely into monic irreducible polynomials over
and then again by Hensel’s Lemma,
factors into monic basic irreducible polynomials over
R as follows.
For each there exists a unique such that and is called the minimal polynomial of over
Next, we introduce another extension:
of
Note that, for a suitable positive number
S will be the alphabet of codes of length
over
R that contains
nth root of unity. The results of Lemma 1 and Proposition 4 hold for the ring
Moreover, we define the following extension of
R.
Let be the order of p modulo . Let ∼ be a relation on the set defined as if and only if and are roots of the same minimal polynomial, i.e., there is a unique b such that It is easy to show this relation is equivalence. Now, let I be the set of all classes of ∼, be a class containing and is the size of this class, i.e., .
4.2. Discrete Fourier Transform (DFT)
DFT has been used to study repeated-root codes over finite chain rings in [
3,
5,
6]. We employ DFT as a tool to establish the structure of
-constacyclic codes over
R for a given length
N.
Remark 4. In we have where ; hence, and then
Definition 5 (DFT).
Let be a vector in with the corresponding polynomial. The DFT of is the following vector:where and Define the Mattson–Solomon polynomial of to be the following.Note that .
The following lemma shows that if the Mattson–Solomon polynomial of
is given, then
can be recovered. Set
Let
be the natural
-module isomorphism
defined by the following case.
Lemma 2. Let with its Mattson–Solomon polynomial. Then, the following is the case:where ∗
denotes component-wise multiplication. Proof. Let
. Then, the following is the case.
Note that
, when
(mod
). Then, by the definition of
we have
□
Remark 5. Since , it is easy to verify that . Now let the following be the case. Note that A with component-wise addition and multiplication is a ring. Moreover, it is clear that
Theorem 4. Let γ be the map given by Then, γ is a ring isomorphism. In particular, if C is a constacyclic code of length N over then the following is the case:where is the constacyclic code of length over Proof. Define the map where Let be polynomials over R of degree less than N. Then, clearly and also where ∗ denotes the componentwise product. Suppose then by Lemma 2, for any where It follows that , and this implies is an injection. Moreover, which means that is a bijection. Therefore, is an isomorphism. The second statement follows directly because is a ring isomorphism. □
Before we obtain the structure of all constacyclic codes of length over R in terms of their generator polynomials, we provide the following lemma.
Lemma 3. Let be the minimal polynomial of over R for each and a positive integer such that . Then, the following is the case:
(i) is a unit if i is not in ;
(ii) but is not in .
Proof. (i) Since
Then, the following is the case.
Since i is not in then Therefore, is a unit if i is not in . (ii) We know that and then However, from (i) we have , which is a unit for . Hence, where is a unit in . It follows that . Now, suppose that which implies that . However, this is a contradiction, and this completes the proof. □
Next, we introduce the polynomial representations of constacyclic codes over
If
C is a constacyclic code of length
N over
By Theorem 4,
where
is a constacyclic code of length
over
, and by Theorem 1:
where
. Now, fix
i and for each
. We define
to be the product of all minimal polynomials of
such that
. By Lemma 3, the following is the case:
where
is a unit in
. Define the following:
where
Theorem 5. Let C be a constacyclic code of length N over R. Then, the following is the case. Moreover, this representation is unique.
Proof. For every
and then
It follows that
for each
Furthermore, by Equations (
21) and (
22),
for all
Therefore,
generate
C (Theorem 4). The uniqueness of
follows from the uniqueness of
. □
Corollary 2. If is a constacyclic code of length N over R, then , where .
Proof. By Theorem 4, and and then by computing the product, we obtain the result. □
Remark 6. If we choose to have a minimal degree in the representation given by (23), we will obtain a minimal strong Gröbner basis for For more details about minimal strong Gröbner basis, refer to [7]. Next, we provide the enumeration of constacyclic codes of length N in terms of the length of In other words, the problem of enumeration of constacyclic codes of length N over R is reduced to that of constacyclic codes of length of power of The proof of the following result is direct by Theorem 5.
Corollary 3. The number of distinct -constacyclic codes of length N over R is the following:where is the number of -constacyclic codes of length over Theorem 6. If then the number of distinct -constacyclic codes of length N over R is the following:where and Proof. By Corollary 3, it suffices to compute First fix ; thus, Let By Theorem 1, is a representation. Moreover, we have choices for Theorem 1 implies that ; hence, because If we vary from 0 to then there are of -constacyclic codes of length over In the case when we have two options. If the only -constacyclic code is with If we use a similar discussion as before. □
Remark 7. When the enumeration of all constacyclic codes of length N over R is a tedious computation.
4.3. Torsion Codes and Hamming Distance
In this subsection, we first obtain the torsion codes of a constacyclic code C of length N over R in terms of the generators of C given in Theorem 5. Then, we reduce the Hamming distance of C to that of its th torsion code.
Lemma 4. Let If such that then
Proof. Assume that
then
As
then
This means,
for some unit
in
Now, let
where
as defined in the proof of Theorem 5 and
By (
21), for each
Thus,
; hence,
i.e.,
Therefore,
by (
22). □
Theorem 7. If then
Proof. First, note that ; thus, Conversely, let then by the definition of torsion codes, We make use of Lemma 4, By the division algorithm, there are and in such that where or As then by the minimality of we must have In other words, ; thus, Therefore, , and this ends the proof. □
Next, we obtain the Hamming distance of any cyclic code of length N over
Theorem 8. Let C be a cyclic code of length N over R. Then,
Proof. By the same argument as in Theorem 2, we obtain where from Theorem 7. □
4.4. Dual Codes
Define
as in the proof of Theorem 5. Let
be the constant of
,
. Since
, then
. Thus,
s are units in
R and
s are the leading coefficient of
. Let the following is the case.
Note that
s are monic polynomials and
. Hence, the following is the case.
Therefore,
s are monic coprime divisors of
in
. Since
, then
, which implies that
; hence,
It follows that
is the product of all minimal polynomials of
such that
. By Lemma 3, the following is the case:
where
is a unit in
. Define the following case:
where
and
as in Theorem 3.
Theorem 9. Let C be a constacyclic code of length N over Then, the following is the case. Furthermore, where
Proof. By Theorem 4,
, where
is a constcyclic code of length
over
. Assume that
. By the definition of dual code,
. On the other hand, we have
. Then,
; thus,
Therefore, by a similar argument to that of the proof of Theorem 5, we obtain
where
is defined in (
28) and
. By Corollary 2 and the fact that
, we obtain
where
□
To summarize, the results of this section provide an algorithm for constructing the representation of constacyclic codes of length from those of length This algorithm consists of the following steps:
Step 1: Find I and all
Step 2: Compute for each when i is fixed;
Step 3: Find
from the relation (
21);
Step 4: Extract by using ;
Step 5: Compute the polynomials
via Equation (
22).
Next, we present an example illustrating the algorithm described above.
Example 4. Consider and First, , and Let , and be cyclic codes of length 2
over R and respectively. Next, compute for As and by the definition of where α is a third primitive root of unity satisfying Since then ; thus, Now, find when note that and It follows that and As since Therefore, by Theorem 5, the following is the case. Remark 8. The same algorithm described above can be applied to compute the generators of dual codes. The main key for performing this is to consider instead of where