Abstract
Constacyclic codes are an important class of linear codes in coding theory. Many optimal linear codes are directly derived from constacyclic codes. In this paper, (1 + u)-constacyclic codes over Z4 + uZ4 of any length are studied. A new Gray map between Z4 + uZ4 and Z44 is defined. By means of this map, it is shown that the Z4 Gray image of a (1 + u)-constacyclic code of length n over Z4 + uZ4 is a cyclic code over Z4 of length 4n. Furthermore, by combining the classical Gray map between Z4 and F22, it is shown that the binary image of a (1 + u)-constacyclic code of length n over Z4 + uZ4 is a distance invariant binary quasi-cyclic code of index 4 and length 8n. Examples of good binary codes are constructed to illustrate the application of this class of codes.
Keywords: Cyclic code, Constacyclic code, Quasi-cyclic code, Gray map
Background
Recently, several new classes of rings have been studied in connection with coding theory. Many optimal binary linear codes have been obtained from codes over these rings via some Gray map. In Yildiz and Karadenniz (2010a, b), the authors introduced the ring F2 + uF2 + vF2 + uvF2 and discussed linear and self-dual codes over F2 + uF2 + vF2 + uvF2. Later, the structures of cyclic codes and (1 + u)-constacyclic codes over F2 + uF2 + vF2 + uvF2 were studied and many optimal binary linear codes were constructed from such codes in Yildiz and Karadenniz (2011a, b). More generally, cyclic codes over the ring Rk were investigated in Dougherty et al. (2012). Although the rings mentioned above are not finite chain rings, they have rich algebraic structures and produce binary codes with large automorphism groups and new binary self-dual codes. This demonstrates that linear codes over such non-chain rings have been received increasing attention (see Dougherty et al. 2012; Kai et al. 2012; Shi 2014; Shi et al. 2012; Siap et al. 2012; Zhu and Wang 2011). More recently, linear codes over the non-chain ring Z4 + uZ4, where u2 = 0, have been explored in Yildiz and Karadenniz (2014). The authors defined a linear Gray map from Z4 + uZ4 to Z24 and a non-linear Gray map from Z4 + uZ4 to (F2 + uF2)2, and used them to successfully construct formally self-dual codes over Z4 and good non-linear codes over F2 + uF2. In Yildiz and Aydin (2014), the structure of cyclic codes over Z4 + uZ4 was determined and many new linear codes over Z4 were obtained from them. Motivated by the works in Yildiz and Aydin (2014) and Yildiz and Karadenniz (2014), we focus on constacyclic codes over Z4 + uZ4 and intend to construct good binary codes from such codes.
The ring Z4 + uZ4 is a finite commutative ring with characteristic 4, where u2 = 0. The purpose of this paper is to investigate a class of constacyclic codes over this ring, that is, (1 + u)-constacyclic codes over Z4 + uZ4. Constacyclic codes over finite commutative rings were first introduced by Wolfmann (1999), where it was proved that the binary image of a linear negacyclic code over Z4 is a binary cyclic code (not necessarily linear). In Kai et al. (2012), the authors introduced a composite Gray map from F2 + uF2 + vF2 + uvF2 to F42 and proved that the image of a (1 + u)-constacyclic code of length n over F2 + uF2 + vF2 + uvF2 under the Gray map is a distance invariant binary quasi-cyclic code of index 2 and length 4n. It is known that the structure of Z4 + uZ4 is similar to that of F2 + uF2 + vF2 + uvF2. It is natural to ask if there exists a Gray map such that the Gray image of a linear code over Z4 + uZ4 has good structure. For this, we introduce a new Gray map from Z4 + uZ4 to Z4, and explore the images of (1 + u)-constacyclic codes over Z4 + uZ4 under this Gray map.
(1 + u)-Constacyclic codes over Z4 + uZ4
Throughout this paper, let R denote the ring Z4 + uZ4 with u2 = 0. Any element in R can be written as a + bu, where a, b ∊ Z4. The element a + bu is a unit in R if and only if a is a unit in Z4. The ring R is a local Frobenius ring, but not a finite chain ring. It has a total of 7 ideals given by , where
A code over R of length n is a nonempty subset of Rn, and a code is linear over R of length n if it is an R-submodule of Rn. For some fixed unit λ ∊ R, the λ-constacyclic shift τ on Rn is the shift τ(c0, c1, …, cn−1) = (λcn−1, c0, …, cn−2). A linear code C of length n over R is λ-constacyclic if the code is invariant under the λ-constacyclic shift τ. We identify the code-word c = (c0, c1, …, cn−1) with its polynomial representation c(x) = c0 + c1x + ··· + cn−1xn−1. Then xc(x) corresponds to a λ-constacyclic shift of c(x) in the ring R[x]/(xn − λ). Thus, λ-constacyclic codes of length n over R can be identified as ideals in the ring R[x]/(xn − λ). From the above discuss, we have the following result.
Proposition 1
A subset C of Rnis a linear cyclic code of length n if and only if C is an ideal of. A subset C of Rnis a linear-constacyclic code of length n over R if and only if C is an ideal of.
Now, we determine a set of generators of (1 + u)-constacyclic codes for an arbitrary length over R. We begin by recalling a unique set of generators for cyclic codes over Z4.
Lemma 2
[cf. Abualrub and Siap (2006), Theorem 6] Let C be a cyclic code of length n over Z4. Then
If n is odd then, whereare binary polynomials with.
- If n is even then
-
2.1If, then, whereare binary polynomials with, and,
-
2.2, whereandare binary polynomials with, and.
-
2.1
For a linear code C of length n over R, we can denote two linear codes of length n over Z4 as follows:
The torsion code Tor(C) = {x ∊ Zn4|ux ∊ C},
The residue code .
Consider the homomorphism defined by . The map extends naturally to a ring homomorphism defined by
Acting on C over R, we define a ring homomorphism
We can easily obtain that ≅ Tor(C) and (C) = Res(C). By the first isomorphism theorem of finite groups, we have . It is obvious that the image of C under the map is a cyclic code of length n over Z4. Combining the above discussion with Lemma 2, we can obtain the set of generators for cyclic codes of length n over R.
Theorem 3
Let C be a-constacyclic code of length n over R. Then
If n is odd then, whereis a polynomial inandare binary polynomials with.
- If n is even then
-
2.1If, then, whereis a polynomial in, are binary polynomials withand;
-
2.2, whereis a polynomial in, andare binary polynomials with, and,.
-
2.1
Proof
We only give the proof of the part (1), and the proof of the part (2) is similar.
Assume that n is odd. Let C be a (1 + u)-constacyclic code of length n over R. Then the image of C under the map is Res(C), which is a cyclic code of length n over Z4. By Lemma 2, we have (C) = 〈g1(x) + 2a1(x)〉, where g1(x), a1(x) are binary polynomials with . Thus, there exists b(x) ∊ Z4[x] such that g1(x) + 2a1(x) + ub(x) ∊ C.
Furthermore, note that is a cyclic code of length n over Z4 + uZ4, so = u 〈g2(x) + 2a2(x)〉, where g2(x), a2(x) are binary polynomials with . Hence, 〈g1(x) + 2a1(x) + ub(x), u(g2(x) + 2a2(x))〉 ⊆ C.
On the other hand, for any f(x) = f1(x) + uf2(x) ∊ C, where fi(x) ∊ Z4[x], for i = 1, 2, it is obvious that f1(x) ∊ (C). Hence,
Since u(f2(x) − m(x)b(x)) ∊ , we have
This shows that C ⊆ 〈g1(x) + 2a1(x) + ub(x), u(g2(x) + 2a2(x))〉.
Thus, C = 〈g1(x) + 2a1(x) + ub(x), u(g2(x) + 2a2(x))〉.□
Gray images of (1 + u)-constacyclic codes over R
A new Gray map
Recall that the Gray map from Z4 to F22 is defined as (z) = (q, q + r) where z = r + 2q with r, q ∊ F2. The map can be extended to Zn4 as follows:
where zi = ri + 2qi with ri, qi ∊ F2for 0 ≤ i ≤ n − 1. It is known that is a distance-preserving map from Zn4 (Lee distance) to F2n2 (Hamming distance).
Now, we define a map from Rn to Z4n4. First note that each element c ∊ R can be expressed as c = a + ub, where a, b ∊ Z4. The map is defined as
Clearly, this map can be also extended to Rn as follows:
where ci = ai + ubi with ai, bi ∊ Z4for 0 ≤ i ≤ n − 1.
It is well-known that the homogeneous weight has many applications for codes over finite rings and provides a good metric for the underlying ring in constructing superior codes. Next, we define a homogeneous weight on R. We first recall the definition of the homogeneous weight on a finite ring K.
Definition 4
[cf. Greferath and O’Sullivan (2004), Definition 1.1] A real-valued function w on the finite ring K is called a (left) homogeneous weight if w(0) = 0 and the following is true:
For all x, y ∊ K, Kx = Ky implies that w(x) = w(y) holds.
There exists a real number γ such that ∑y∊Kx w(y) = γ|Kx| for all .
Right homogenous weight is defined accordingly. If a weight is both left homogenous and right homogeneous, we call it simply as a homogeneous weight.
For any element c = a + ub ∊ R, we assign the weight, denoted by whom(c), as wL(b + 3a, b + 2a, b + a, b), i.e., whom(c) = wL(b + 3a, b + 2a, b + a, b). By simple calculation, we can obtain the weight of any element x = a + ub ∊ R as follows:
It is easy to verify that the weight defined above meets the conditions of Definition 4, hence it is actually a homogeneous weight on R. The homogeneous distance of a linear code over R, denoted by dhom(C), is defined as the minimum homogeneous weight of nonzero codewords of C. It can be checked that the map is a distance-preserving map from Rn (homogeneous distance) to Z4n4 (Lee distance). Using the maps and , we can define a composite map . Thus, we have obtained three distance-preserving maps as follows:
Gray images of (1 + u)-constacyclic codes
Lemma 5
Let be defined as above. Let τ be the -constacyclic shift on Rnand σ be the cyclic shift on Z4n4. Then.
Proof
Let c = (c0, c1, …, cn−1) ∊ Rn. Let ci = ai + ubi where ai, bi ∊ Z4for 0 ≤ i ≤ n − 1. From definitions, we have
Hence,
On the other hand,
Thus,
The result follows.□
Theorem 6
A linear code C of length n over R is a-constacyclic code if and only if (C) is a cyclic code of length 4n over Z4.
Proof
If C is a (1 + u)-constacyclic code, then using Lemma 5 we have
Hence, (C) is a cyclic code of length 4n over Z4.
Conversely, if (C) is a cyclic code of length 4n over Z4, then using Lemma 5 again we get (τ(C)) = σ((C)) = (C).
Note that is injection, so τ(C) = C.
Thus, we immediately have the following result.□
Corollary 7
The image of a-constacyclic code of length n over R under the map is a distance invariant cyclic code of length 4n over Z4.
Let σ be the cyclic shift. For any positive integer s, let σs be the quasi-shift given by
where a(1), a(2), …, a(s) ∊ F2n2 and “|”denotes the usual vector concatenation. A binary quasi-cyclic code C of index s and length 2ns is a subset of (F2n2)s such that σs(C) = C.
Lemma 8
Let be defined as above and let τ be the -constacyclic shift on Rn. Then .
Proof
Let r = (r0, r1, …, rn−1) ∊ Rn. Let ri = ai + 2bi + uci + 2udi where ai, bi, ci, di ∊ F2for 0 ≤ i ≤ n − 1. Then we have
and so
On the other hand,
Hence,
This completes the proof.□
Theorem 9
A linear code C of length n over R is a -constacyclic code if and only if (C) is a binary quasi-cyclic code of index 4 and length 8n.
Proof
If C is (1 + u)-constacyclic, then using Lemma 8 we have
Hence, (C) is a binary quasi-cyclic code of index 4 and length 8n. Conversely, if (C) is a binary quasi-cyclic code of index 4 and length 8n, then using Lemma 8 again we get (τ(C)) = σ4((C)) = (C).
Also, is injection, hence τ(C) = C.□
From Theorem 9 and the definition of the map , we immediately have the following result.
Corollary 10
The image of a (1 + u)-constacyclic code of length n over R under the map is a distance invariant binary quasi-cyclic code of index 4 and length 8n.
Now, we can construct some binary codes with good parameters based on the new Gray map.
Example 11
Consider (1 + u)-constacyclic codes over Z4 + uZ4 of length 3. In F2[x], x3 − 1=(x − 1)(x2 + x + 1).
In Theorem 3, we take g1(x) = x−1, a1(x) = 1, b(x) = 3x, and g2(x) = a2(x) = x3 − 1. Then, we obtain the (1 + u)-constacyclic code C1 over R of length 3 with generator polynomial (1 + u)x + 1. That is 〈(1 − u)x + 1〉 = 〈x + (1 + u)〉, It is easy to see that both Res(C1) and Tor(C1) have size 16. Moreover, dhom(C1) = 8. By Corollary 7, 2(C1) is a Z4-linear code of length 12 with size 256 and Lee distance 8. By Theorem 9, (C1) is a binary quasi-cyclic code of index 4 and length 24. We find that (C1) is a non-linear binary code with parameters (24, 256, 8). The code (C1) attains the performance of the best-known binary linear code with the same parameters based on Grassl’s codetables (Grassl 2007).
In Theorem 3, . Then, we obtain the code C2 = 〈3u(x + 1)〉 = 〈u(x + 1)〉. Obviously, Res(C2) = {0} and Tor(C2) has size 4. By Corollary 7, (C2) is a Z4-linear code of length 12 with size 4 and Lee distance 16. By Theorem 9, (C2) is a binary quasi-cyclic code of index 4 and length 24. The code (C2) is a linear binary code with parameters [24, 2, 16], which is optimal based on Grassl’s codetables (Grassl 2007).
Conclusion
We study the structure of (1 + u)-constacyclic codes over Z4 + uZ4 of an arbitrary length, and obtain the examples of good binary codes from them. Our results show that a (1 + u)-constacyclic code of length n over Z4 + uZ4 under certain map is equivalent to a cyclic code of length 4n over Z4. Furthermore, we discuss the relation between (1 + u)-constacyclic codes of length n over Z4 + uZ4 and their binary Gray images. It would be interesting to study other constacyclic codes over Z4 + uZ4 and use them to construct more good codes over Z4 or F2.
Authors’ contributions
HFY prepared the manuscript, YW participated in its design, and helped to draft the manuscript, MJS revised the manuscript. All authors read and approved the final manuscript.
Acknowledgements
This work was supported by the Natural Science Fund of Education Department of Anhui province under Grant Nos. KJ2015A226, KJ2015B1105916, and Key Projects of Support Program for Outstanding Young Talents in Colleges and Universities under Grant No. gxyqZD2016270.
Competing interests
The authors declare that they have no competing interests.
Contributor Information
Haifeng Yu, Email: yuhfslx@hfuu.edu.cn.
Yu Wang, Email: wangyu351@hfuu.edu.cn.
Minjia Shi, Email: smjwcl.good@163.com.
References
- Abualrub T, Siap I (2006) Reversible quaternary cyclic codes. In: Proceedings of the 9th WSEAS international conference on applied mathematics, pp 441–446
- Dougherty ST, Karadeniz S, Yildiz B. Cyclic codes over Rk. Des Codes Cryptogr. 2012;63:113–126. doi: 10.1007/s10623-011-9539-4. [DOI] [Google Scholar]
- Grassl M (2007) Bounds on the minimum distance of linear codes and quantum codes. http://www.codetables.de
- Greferath M, O’Sullivan ME. On bounds for codes over Frobenius rings under homogeneous weights. Discrete Math. 2004;289:11–24. doi: 10.1016/j.disc.2004.10.002. [DOI] [Google Scholar]
- Kai XS, Zhu SX, Wang L. A family of constacyclic codes over F2 + uF2 + vF2 + uvF2. J Syst Sci Complex. 2012;25:1032–1040. doi: 10.1007/s11424-012-1001-9. [DOI] [Google Scholar]
- Shi MJ. Optimal p-ary codes from constacyclic codes over a non-chain ring R. Chin J Electron. 2014;23:773–777. [Google Scholar]
- Shi MJ, Yang SL, Zhu SX. Good p-ary quasi-cyclic codes from cyclic codes over Fp + vFp. J Syst Sci Complex. 2012;25:375–384. doi: 10.1007/s11424-012-0076-7. [DOI] [Google Scholar]
- Siap I, Abualrub T, Yildiz B. One generator quasi-cyclic codes over F2 + uF2 + vF2 + uvF2. J Frankl Inst. 2012;349:284–292. doi: 10.1016/j.jfranklin.2011.10.020. [DOI] [Google Scholar]
- Wolfmann J. Negacyclic and cyclic codes over Z4. IEEE Trans Inf Theory. 1999;45:2527–2532. doi: 10.1109/18.796397. [DOI] [Google Scholar]
- Yildiz B, Aydin N. On cyclic codes over Z4 + uZ4 and their Z4-images. Int J Inf Coding Theory. 2014;2:226–237. doi: 10.1504/IJICOT.2014.066107. [DOI] [Google Scholar]
- Yildiz B, Karadenniz S. Linear codes over F2 + uF2 + vF2 + uvF2. Des Codes Cryptogr. 2010;54:61–81. doi: 10.1007/s10623-009-9309-8. [DOI] [Google Scholar]
- Yildiz B, Karadenniz S. Self-dual codes over F2 + uF2 + vF2 + uvF2. J Frankl Inst. 2010;347:1888–1894. doi: 10.1016/j.jfranklin.2010.10.007. [DOI] [Google Scholar]
- Yildiz B, Karadenniz S. Cyclic codes over F2 + uF2 + vF2 + uvF2. Des Codes Cryptogr. 2011;58:221–234. doi: 10.1007/s10623-010-9399-3. [DOI] [Google Scholar]
- Yildiz B, Karadenniz S. (1 + v)-constacyclic codes over F2 + uF2 + vF2 + uvF2. J Frankl Inst. 2011;348:2625–2632. doi: 10.1016/j.jfranklin.2011.08.005. [DOI] [Google Scholar]
- Yildiz B, Karadenniz S. Linear codes over Z4 + uZ4: MacWilliams identities, pro-jections, and formally self-dual codes. Finite Fields Appl. 2014;27:24–40. doi: 10.1016/j.ffa.2013.12.007. [DOI] [Google Scholar]
- Zhu SX, Wang L. A class of constacyclic codes over Fp + vFp and its Gray image. Discrete Math. 2011;311:2377–2682. doi: 10.1016/j.disc.2011.08.015. [DOI] [Google Scholar]