Abstract
Building-up construction is one of several methods for constructing self-dual codes. Recently, a new building-up construction method has been developed by S. Han, in which the existence of a square matrix U such that is essential. In this paper, we completely solve the existence problem for U over , where p is an arbitrary prime number.
1. Introduction
Coding theory has been developing since the 1950s. There are many interesting classes of codes, such as cyclic codes, MDS (Maximum Distance Separable) codes, algebraic geometry codes, and self-dual codes. Among them, self-dual codes are very interesting, as they are closely related to other areas of mathematics, such as block designs, lattices, modular forms, and sphere packings. Moreover, they are of interest in their own right (e.g., [1]).
There are many construction methods for self-dual codes, such as the gluing vector [2], balance principal [3], double circulant [4], and building-up construction methods. In this paper, we are concerned with the building-up construction method, which was introduced by M. Harada [5] and was subsequently formalized and named by J.-L. Kim for self-dual codes over the finite field [6]. It was further developed for self-dual codes over the finite field , where q is a power of 2 or (mod 4) [7] and (mod 4) [8]. It was also applied to related rings [9,10,11,12,13,14].
However, there was an important missing case in previous building-up constructions; namely, . This case was covered using matrices [15], where the method was formulated in the context of finite chain rings, including all previous cases as well as . One of the key points is the existence of a square matrix U such that . The corresponding problem over was completely solved, except for the following open case [15]: is there a matrix U such that over for all ?
In this paper, we settle this open case. Furthermore, we solve the problem of the existence of a square matrix U such that over , where p is an arbitrary prime number.
The paper is organized as follows. In Section 2, we state the preliminaries. In Section 3, we present the non-existence proof for a matrix U such that over for all . In Section 4, we study the existence problem for a matrix U over , where p is an odd prime. Therefore, we completely solve the problem of the existence of a square matrix U such that over , where p is an arbitrary prime number. In Section 5, we provide examples of the construction of self-dual codes using the result in Section 4.
Remark 1.
The square matrix U such that over finite fields was considered by J.L. Massey [16]. He called the matrix U antiorthogonal. Using the antiorthogonal matrix, he characterized the self-dual codes and constructed linear codes with complementary duals (LCD codes). In [17], Massey considered the existence problem of antiorthogonal matrices over finite fields.
2. Preliminaries
Throughout this paper, R is a finite commutative ring with identity . An R-submodule is called a linear code of length n over R. Unless otherwise specified, all codes are assumed to be linear.
For , we define the usual inner product by
For a code C of length n over R, let
be the dual code of C. If , then we say that C is self-orthogonal, and if , then C is self-dual.
The following construction method for self-dual codes over R appears in [15].
Theorem 1.
[15] Let R be a finite chain ring, a self-dual code of length n over R, and a generator matrix for . Let be an integer, and X an matrix over R such that . Let U be an matrix over R such that , and O the zero matrix. Then, the matrix
generates a self-dual code C of length over R.
To apply Theorem 1 to self-dual codes over R, we should have an matrix U and an matrix X such that and . For , if there exists an matrix U such that , then there exists an matrix X such that . Here is the proof. Let , where O is the zero matrix. Then, . Therefore, we focus on the problem of the existence of an matrix U such that .
In [15], the existence of an matrix U such that over has been studied. We state the relevant result.
Theorem 2.
[15] For the existence of an matrix U over such that , we have the following.
- If , then there exists such U for all .
- If and , then there exists such U for all .
- If and , then no such U exists.
- If and , then no such U exists for all .
In Theorem 2, the missing case is and . This leads to the following open problem [15]: Let for some positive integer . Is there an matrix U such that over ? This problem is solved in the following section.
3. Nonexistence of a Matrix U Such That over for All
In this section, we solve the open problem in [15] by proving that there is no matrix U such that over for all . We start with the following lemma.
Lemma 1.
If there is an matrix U such that over , then U satisfies over for .
Proof.
Let (). Suppose that over . Then
where
Therefore, we have
for . So, over for . ☐
Corollary 1.
If there is no matrix U such that over , then there is no matrix U such that over for .
Proof.
The statement is the contrapositive of Lemma 1. ☐
The proof of the main theorem in this section is related to self-dual binary codes. A self-dual binary code whose codewords have weight divisible by four is called doubly even or Type II; a self-dual code with at least one codeword of weight not divisible by 4 is called singly even or Type I. The following lemma is well-known (see [18] (p. 454) for example).
Lemma 2.
Type II codes exist only for lengths that are multiples of eight.
We are ready to prove the main theorem of this section.
Theorem 3.
Let for some non-negative integer . Then, there is no matrix U such that over .
Proof.
By Corollary 1, it is sufficient to prove that there is no matrix U such that over . We assume that there is an matrix U such that over . Let
be the i-th row of U. Since over , we have
Let
and
By Equation (5), we have
Since over , we have over . For , we have , and for , we have . Let be the weight of over . By Equation (8), we have
We consider the matrix over . Then, G is ; i.e., matrix. By Equation (9), each row of G has weight over . Let C be the binary code generated by G. Then, C is a doubly even self-dual (Type II) code, since and the weight of each row of G is doubly even over . By Lemma 2, the code length of C should be a multiple of eight. However, the code length of C is . This leads to a contradiction. Therefore, there is no matrix U such that over . This completes the proof. ☐
We update Theorem 2 using the previous theorem, and the case is settled.
Theorem 4.
For the existence of an matrix U over such that , we have the following.
- If , then there exists such U for all .
- If , then there exists such U if and only if a is a multiple of four.
4. On the Problem of the Existence of a Matrix U Such That over , Where p Is an Odd Prime
In this section, we consider the existence problem of a matrix U such that over , where p is an odd prime. We start with the following lemma, which can be found in elementary number theory books (see, for example, [19] (Theorem 8.10)).
Lemma 3.
An integer has a primitive root if and only if
where p is an odd prime.
We consider two cases: and . If , we need the following lemma whose proof can be made using elementary number theory (see, for example, [14] (Lemma 2.1)).
Lemma 4.
Let p be an odd prime and m a positive integer. Then, is a square in if and only if .
Proof.
is a square in if and only if , where is an Euler-phi function (see, for example, [19] (Theorem 8.12)). Equivalently, if and only if . ☐
If , we first prove the following lemma, which is an integral part of the main theorem in this section.
Lemma 5.
Let . Then, every unit of can be written as a sum of two squares in .
Proof.
Let be the set of units of . By Lemma 3, there is a primitive root such that . Then, . We define by the following:
Then, .
We claim that Q is not closed under addition. We assume the contrary towards a contradiction. Since Q is finite, Q is an additive subgroup in . Therefore, divides ; i.e.,
Then,
This is a contradiction. Therefore, Q is not closed under addition. Thus, there are i and j such that .
We claim that . We assume that . Then, and for some k. Hence, . Consequently, . Thus, . This is a contradiction, since is not a square by Lemma 4. Therefore, .
Thus, for some k. Therefore, . Hence, for any l, and . This completes the proof. ☐
We now state the main results in this section.
Theorem 5.
Let p be an odd prime. Then, for the existence of an matrix U over such that , we have the following for all .
- If , then there exists such U for all .
- If , then there exists such U if and only if a is even.
Proof.
We assume that . By Lemma 4, there is an element c in such that . Let U be an diagonal matrix with all diagonal elements c; i.e,
Then, . This proves the first statement.
We now assume that . By Lemma 5, there exist such that in . Let
Then, . This proves that there is a matrix U such that . For , where , let
Then, .
Finally, we assume that there is an matrix U such that . Then, , . Therefore, a should be even. This completes the proof. ☐
5. Examples
In this section, we provide examples of construction of self-dual codes over using Theorem 1. For , examples can be found in [15]. For , they can be found in [14]. Therefore, we provide examples for . All computations were performed with Magma [20].
Example 1.
A classification of self-dual codes over appears in [21]. For code length , there is unique self-dual code with generator matrix
We apply Theorem 1 with
Then, we have
By elementary row operation in G, we obtain the standard form
Let C be the code generated by . Then, it is easy to see that it is equivalent to the following code in [21]
where is the code generated by the matrix
and is the code generated by the matrix
Example 2.
in [21] is the self-dual code of length 4 over generated by the matrix
We apply Theorem 1 with
Then, we have
By elementary row operation in G, we obtain the standard form
Let C be the code generated by . Then, C is a self-dual code of length 8. We cannot compare this code with those in [21], since the classification in [21] has been carried out up to code length 6.
Acknowledgments
The author wish to thank the reviewers for valuable remarks which helped to improve this article. The author was supported by the 2017 Professor Education and Research Promotion Program of KoreaTech.
Conflicts of Interest
The author declares no conflict of interest.
References
- Rains, E.; Sloane, N.J.A. Self-Dual Codes. In Handbook of Coding Theory; Pless, V.S., Huffman, W.C., Eds.; Elsevier: Amsterdam, The Netherlands, 1998. [Google Scholar]
- Conway, J.H.; Pless, V. On the enumeration of self-dual codes. J. Comb. Theory Ser. A 1980, 28, 26–53. [Google Scholar] [CrossRef]
- Huffman, W.C.; Pless, V.S. Fundamentals of Error-correcting Codes; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
- Grassl, M.; Gulliver, T.A. On circulant self-dual codes over small fields. Des. Codes Cryptogr. 2009, 52, 57–81. [Google Scholar] [CrossRef]
- Harada, M. The existence of a self-dual [70, 35, 12] code and formally self-dual codes. Finite Fields Appl. 1997, 3, 131–139. [Google Scholar] [CrossRef]
- Kim, J.-L. New extremal self-dual codes of lengths 36, 38, and 58. IEEE Trans. Inf. Theory 2001, 47, 386–393. [Google Scholar]
- Kim, J.-L.; Lee, Y. Euclidean and Hermitian self-dual MDS codes over large finite fields. J. Comb. Theory Ser. A 2004, 105, 79–95. [Google Scholar] [CrossRef]
- Kim, J.-L.; Lee, Y. An Efficient Construction of Self Dual Codes. Bull. Korean Math. Soc. 2015, 52, 915–923. [Google Scholar] [CrossRef]
- Alfaro, R.; Dhul-Qarnayn, K. Constructing Self-Dual codes over q[u]/(ut). Des. Codes Cryptogr. 2015, 74, 453–465. [Google Scholar] [CrossRef]
- Dougherty, S.T.; Kim, J.-L.; Kulosman, H.; Liu, H. Self-dual codes over commutative Frobenius rings. Finite Fields Appl. 2010, 16, 14–26. [Google Scholar] [CrossRef]
- Dougherty, S.T.; Kim, J.-L.; Liu, H. Constructions of Self-dual Codes over Finite Commutative Chain Rings. Int. J. Inf. Codin. Theory 2010, 1, 171–190. [Google Scholar] [CrossRef]
- Han, S.; Lee, H.; Lee, Y. Construction of Self Dual Codes over 2 + u2. Bull. Korean Math. Soc. 2012, 49, 135–143. [Google Scholar] [CrossRef]
- Kim, J.-L.; Lee, Y. Construction of MDS Self-dual codes over Galois rings. Des. Codes Cryptogr. 2007, 45, 247–258. [Google Scholar] [CrossRef]
- Lee, H.; Lee, Y. Construction of self-dual codes over finite rings ℤpm. J. Comb. Theory Ser. A 2008, 115, 407–422. [Google Scholar] [CrossRef]
- Han, S. A method for costructing self-dual codes over ℤ2m. Des. Codes Cryptogr. 2015, 75, 253–262. [Google Scholar] [CrossRef]
- Massey, J.L. Orthogonal, antiorthogonal and self-orthogonal matrices and their codes. Commun. Codin. 1998, 2, 3. [Google Scholar]
- Massey, J.L. On Antiorthogonal Matrices and Their Codes. In Proceedings of the 1998 IEEE International Symposium on Information Theory (ISIT), Cambridge, MA, USA, 16–21 August 1998. [Google Scholar]
- Huffman, W.C. On the classification and enumeration of self-dual codes. Finite Fields Appl. 2005, 11, 451–490. [Google Scholar] [CrossRef]
- Burton, D.M. Elementary Number Theory, 6th ed.; McGraw-Hill International Edition; McGraw-Hill: New York, NY, USA, 2007. [Google Scholar]
- Bosma, W.; Cannon, J.; Playoust, C. The Magma algebra system. I. The user language. J. Symbolic Comput. 1997, 24, 235–265. [Google Scholar] [CrossRef]
- Balmaceda, J.M.P.; Betty, R.A.L.; Nemenzo, F.R. Mass formula for self-dual codes over ℤp2. Discret. Math. 2017, 308, 2984–3002. [Google Scholar] [CrossRef]
© 2017 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).