Do non-free LCD codes over finite commutative Frobenius rings exist?
Sanjit Bhowmick, Alexandre Fotue-Tabue, Edgar Mart\'inez-Moro, and Ramakrishna Bandi, Satya Bagchi

TL;DR
This paper investigates the existence and properties of LCD codes over finite commutative Frobenius rings, establishing non-existence of non-free LCD codes, and characterizing free LCD codes as reversible over finite chain rings.
Contribution
It provides necessary and sufficient conditions for LCD code existence over finite Frobenius rings and characterizes free LCD codes as reversible over finite chain rings.
Findings
Non-free LCD codes do not exist over finite commutative Frobenius local rings.
Free LCD codes over finite chain rings are reversible.
Constructed new optimal cyclic LCD codes over Z_4.
Abstract
In this paper, we clarify some aspects on LCD codes in the literature. We first prove that a non-free LCD code does not exist over finite commutative Frobenius local rings. We then obtain a necessary and sufficient condition for the existence of LCD code over finite commutative Frobenius rings. We later show that a free constacyclic code over finite chain ring is LCD if and only if it is reversible, and also provide a necessary and sufficient condition for a constacyclic code to be reversible over finite chain rings. We illustrate the minimum Lee-distance of LCD codes over some finite commutative chain rings and demonstrate the results with examples. We also got some new optimal codes of different lengths {which are} cyclic LCD codes over .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Do non-free LCD codes over finite commutative Frobenius rings exist?
Sanjit Bhowmick
A. Fotue-Tabue
E. Martínez-Moro
Ramakrishna Bandi
Satya Bagchi
Department of Mathematics, National Institute of Technology Durgapur, Durgapur, India
Department of Mathematics, Faculty of Science, University of Yaound I, Cameroon
Department of Mathematics, Dr. SPM International Institute of Information Technology, Naya Raipur, India
Institute of Mathematics, University of Valladolid, Spain
Abstract
In this paper, we clarify some aspects on LCD codes in the literature. We first prove that a non-free LCD code does not exist over finite commutative Frobenius local rings. We then obtain a necessary and sufficient condition for the existence of LCD code over finite commutative Frobenius rings. We later show that a free constacyclic code over finite chain ring is LCD if and only if it is reversible, and also provide a necessary and sufficient condition for a constacyclic code to be reversible over finite chain rings. We illustrate the minimum Lee-distance of LCD codes over some finite commutative chain rings and demonstrate the results with examples. We also got some new optimal codes of different lengths which are cyclic LCD codes over .
keywords:
Frobenius ring, Linear complementary dual code, Constayclic code, Chain ring. AMS Subject Classification 2010: 94B05.
††journal: –
1 Introduction
Codes over finite rings is quite a popular topic of interest. A linear code a su is called Linear Complementary Dual (LCD) code if meets its dual trivially. LCD codes were first investigated by Massey, he showed there a characterization of LCD codes and non-LCD codes over finite fields and demonstrated that asymptotically good LCD codes exist [20]. LCD codes have been widely applied in data storage, communications systems, consumer electronics, and cryptography. Carlet and Guilley shown an application of LCD codes against side-channel attacks and fault injection attacks, and presented several constructions of LCD codes [4]. Cyclic LCD codes over finite fields are also referred as reversible codes, Yang and Massey gave a necessary and sufficient condition for a cyclic code to have a complementary dual [26] and proved that reversible cyclic codes over finite fields are LCD codes. In [21], Massey showed that some cyclic LCD codes over finite fields are BCH codes, and also constructed reversible convolutional codes which are in fact LCD codes. Tzeng and Hartmann [25] proved that the minimum distance of a class of LCD codes is greater than that given by the BCH bound. Using the hull dimension spectra of linear codes, Sendrier showed that LCD codes meet the asymptotic Gilbert-Varshamov bound [24]. Dougherty et. al. developed a linear programming bound on the largest size of an LCD code of given length and minimum distance [9]. Guneri et. al. studied quasi-cyclic complementary dual codes using their concatenated structure in [14] and [13]. Ding et al. constructed several families of cyclic LCD codes over finite fields and analyzed their parameters [7]. In [17], Li et al. studied a class of LCD BCH codes. Jin showed that some Reed-Solomon codes are equivalent to LCD codes [16]. In [6], the authors proved that any MDS code is equivalent to an LCD code and constructed LCD Maximum distance Separable codes. Jitman et. al. studied Complementary dual subfield linear codes over finite fields [2].
Recently, in [18], Liu and Liu studied LCD codes over finite chain rings and provided a necessary and sufficient condition for a free linear code to be a LCD code over finite chain ring. They also gave a sufficient condition for a linear code (not necessarily free) over a finite chain ring to be LCD code, which says "A linear code over a finite chain ring with generator matrix is LCD code if is invertible, where is the transpose of " [18, Theorem 3.5]. They provided an example [18, Example 2] to state that the converse of [18, Theorem 3.5] is not in general true. However there is a mistake in their example. In this paper, we prove that the converse of [18, Theorem 3.5] is indeed true. This lead to the main result (see Theorem 2) of this paper, it proves that there are no non-free LCD codes over finite commutative local Frobenius rings by showing that any LCD code over a finite commutative Frobenius ring is the Chinese product of LCD codes over finite commutative local Frobenius rings (see Theorem 5). The other contributions are the characterizations of projection of LCD codes (see Theorem 3 ) and lift LCD codes (see Theorem 4) over a finite commutative local Frobenius ring. We also show that a free constacyclic code over finite chain ring is LCD code if and only if is reversible. We also prove a necessary and sufficient condition for a constacyclic code of length over finite chain rings to be reversible when is relatively prime to the characteristic of the finite chain ring.
The paper is organized as follows: In Section 2, we provide some basic tools which are required to understand the results of further sections. In Section 3, we discuss LCD codes over finite commutative Frobenius rings. Finally, Section 4 studies the complementary dual constacyclic codes over finite chain rings in more general setting by a uniform method.
2 Some notations and basic results of codes over finite commutative Frobenius
rings
Throughout this section is a commutative finite ring with multiplicative unity distinct to A commutative finite ring is Frobenius if as -module is injective. Alternatively, we can say a finite ring is Frobenius if is isomorphic to (as -modules), where is the Jacobson radical and is the socle of the ring . Recall that the Jacobson radical is the intersection of all maximal ideals in the ring and the socle of the ring is the sum of the minimal -submodules. A ring is a local ring if it has unique maximal ideal. A principal ideal ring is a ring such that each of its ideal is generated by a single element.
Let be a finite ring with maximal ideals and their indices of stability, respectively. Clearly is a finite local ring with maximal ideal Then we have the ring epimorphisms
[TABLE]
and (). The ring epimorphisms () induce the following ring homomorphisms
[TABLE]
Since the maximal ideals of are coprime and the ring homomorphism (12) is a ring isomorphism, by the Chinese remainder theorem, see [22, p.224]. We denote the inverse of this map by CRT and we say that is the Chinese product of rings
Theorem 1**.**
[22, p.224]** Let be a Frobenius ring, then
[TABLE]
where is a local Frobenius ring.
That is is a local Frobenius ring for each The following is an example of a ring that is local Frobenius ring but not a chain ring. We shall use this ring to exhibit several of the results of the paper.
Example 2.1**.**
[10]** Let where denotes the ideal generated by and is a positive integer. Then
[TABLE]
Thus (as -modules), so is a finite commutative local Frobenius ring. However is non-chain if
We shall use the previous decomposition of rings to understand codes defined over finite commutative Frobenius rings. The zero element in will be denoted as A linear code of length over a finite ring is an -submodule of Let be a code of length over and extend the map coordinatewise to as
[TABLE]
where
[TABLE]
Then where for We say that is the Chinese product of codes This allows us to reduce the study of codes over finite commutative Frobenius rings to that of codes over finite commutative local Frobenius rings. The rank of a linear code over of length is defined by
[TABLE]
We say that a linear code over is free if is isomorphic (as a module) to for some It is immediate that if is free then where A linear -code over is an -submodule of of rank Note that a standard generator matrix for any free linear -code over is of the form where is a matrix over is a permutation matrix and
Lemma 1**.**
[8, Theorem 2.4]** Let be a linear code over for and Then
** 2. 2.
** 3. 3.
* is a free code if and only if each is a free code with the same rank *
We attach the standard inner-product to , that is
[TABLE]
where and are elements in For a code its dual code is defined as follows:
[TABLE]
It is well known that for codes over Frobenius rings, (see [27] for a proof).
Lemma 2**.**
[8, Theorem 2.7]** If is a code over then
For the rest of the paper will denote the Chinese product of finite commutative local Frobenius rings unless otherwise is specified. Let be the set of all -matrices over For the transpose of the matrix is denoted by We also let 0 denote the zero matrix, where the size will either be obvious from the context or specified whenever necessary. Similarly, we denote the identity matrix by The elements are said to be linearly independent over if for all in the set such that implies that If the rows of a -matrix over are linearly independent, then we say that is a full-row-rank matrix. If there is an -matrix over such that then we say that is right-invertible and is a right inverse of When we say that is non-singular, if the determinant is a unit of Otherwise, is said to singular. Note that a matrix is invertible over if and only if is nonsingular over The following two results about full-row-rank matrices over finite commutative Frobenius rings appear in [11].
Lemma 3**.**
Let be a finite commutative Frobenius rings. A -matrix is full-row-rank, if and only if is right-invertible.
Lemma 4**.**
Let be an -matrix over a finite commutative Frobenius ring The following statements are equivalent:
* is invertible.* 2. 2.
* is non-singular.* 3. 3.
* is full-row-rank.*
The next corollary follows from a typical linear algebra argument.
Corollary 1**.**
The -matrix over is singular, if and only if there is a nonzero vector in such that
3 Characterization of LCD codes over finite commutative Frobenius rings
In [18, Theorem 3.5], it is proved that any linear code over with a generator matrix is LCD if, is invertible, and other hand it is also stated that the converse of [18, Theorem 3.5] is not true in general with an example [18, Example 2]. However there is a mistake in that example (as is in ). From [18, Corollary 3.6.], if is free then the converse of [18, Theorem 3.5] is true. Therefore, it is enough to prove that any LCD code over a finite commutative local Frobenius ring is free.
Definition 3.1**.**
An -module of rank is projective if there is an -module such that and are isomorphic (as -modules).
Remark 1**.**
Let and be -modules. If is free, then and are projective.
Lemma 5**.**
[15, Theorem 2.]** Any projective module over a local ring is free.
In the following result, we prove that there does not exist non-free LCD code over finite commutative local Frobenius rings.
Theorem 2**.**
Over finite commutative local Frobenius rings, any LCD code is free.
**Proof. **Let be an LCD code over a commutative local Frobenius ring and is the length of Then is a direct summand in Since is Frobenius, by the results in [27], satisfies Thereby So the -module is free, and by Remark 1, it follows that is projective. Now is a finitely generated projective -module and is a local ring and by Lemma 5, is free. ∎
It follows from Theorem 2 and [18, Corollary 3.6] that there does not exist non-free LCD codes over finite commutative local Frobenius rings. We now show that the converse of Theorem 2 does not hold in general. To show this we cite the following example.
Example 3.1**.**
Let be a linear code over with generator matrix
[TABLE]
Clearly is free. But is not LCD, as
Proposition 1**.**
A linear code over with generator matrix . If is nonsingular, then is free.
**Proof. **Suppose that is not free. Then is not full-row-rank. From Lemma 3, it follows that is not right-invertible. Hence is singular. ∎
Corollary 2**.**
A linear code over with generator matrix is LCD, if and only if is nonsingular.
**Proof. **Suppose that is LCD with rank and From Theorem 2, is free and c can be written as for some v in If is singular, by Corollary 1 there is a nonzero vector u in such that Now is a nonzero vector in So that
[TABLE]
and hence is also a vector in It follows that i.e., that is not LCD. Absurd, therefore is nonsingular.
Suppose that is nonsingular. Let by Proposition 1, is free. On the one hand, implies that there is such that It follows that
[TABLE]
and the other hand, it follows that So
[TABLE]
From (15) and (16), it follows that Whence is LCD. ∎
Example 3.2**.**
The linear code of length 8 generated by G=\left[\begin{array}[]{cccccccc}1&0&0&0&0&1&2&1\\ 0&1&0&0&1&2&3&1\\ 0&0&1&0&0&0&3&2\\ 0&0&0&1&2&3&1&1\\ \end{array}\right] over is LCD code whose minimum Lee distance is 4 and has free rank 4 (-code). The Gay image of is a non-linear binary code of length 16 and minim Hamming distance 4.
A linear -code over is a lift of a linear -code over by ring epimorphism if where
[TABLE]
We call the projection of by
Lemma 6**.**
Let and be finite commutative local Frobenius rings with and the unit group of and respectively. Then for any ring epimorphism
The following result is a generalization of [18, Theorem 3.9] to any finite commutative local Frobenius ring and any ring epimorphism
Theorem 3**.**
Let and be finite commutative local Frobenius rings. The projection of any LCD -code over by ring epimorphism is also an LCD -code over
**Proof. **Let be an LCD -code over with a generator matrix From Theorem 2, is free. Therefore the projection of by is a free -code over with a generator matrix Now
[TABLE]
From Lemma 6 and Theorem 2, it follows that , is a unit in Whence is a LCD -code over ∎
The result revisits and extends [18, Theorem 3.10] to any finite commutative local Frobenius ring and any ring epimorphism
Theorem 4**.**
Let and be finite commutative local Frobenius rings. Any lift of an LCD -code over by ring epimorphism is also an LCD -code over
**Proof. **Let be an LCD -code over with a generator matrix Since is a ring-epimorphism, there is a full-row-rank matrix over such that Consider the free -code over with generator matrix Now
[TABLE]
By Lemma 6 and Theorem 2, it follows that is nonsingular. Consequently, is LCD. ∎
The map
[TABLE]
is a ring-epimorphism. From Theorems 3 and 4, a linear code over is LCD, if and only if is a binary LCD code. From [5, Theorem 1], if then is LCD if and only if there exists a basis of such that for all
Example 3.3**.**
Consider the linear -code over with generator matrix
[TABLE]
where is an even integer and for all From Theorem 4, the code is LCD, since is a binary LCD code, by [5, Theorem 1].
Theorem 5**.**
A linear code over is LCD if and only if, the linear code over is LCD, for all
**Proof. **The map is a ring-isomorphism, and by Lemma 2, it follows that
[TABLE]
Thus is LCD over if and only if, is LCD over for all ∎
Remark 2**.**
From Lemma 7 and Theorem 5, it is easy to see that an LCD code over is non-free, if and only if there are such that
Example 3.4**.**
Let be an LCD code over with generator matrix \mathrm{G}_{1}:=\left(\begin{array}[]{ccccc}1&0&0&1&1\\ 0&1&0&1&1\\ 0&0&1&1&1\end{array}\right), and be an LCD code over with generator matrix \mathrm{G}_{2}:=\left(\begin{array}[]{ccccc}1&0&1&1&1\\ 0&1&0&4&2\end{array}\right). From Remark 2, the Chinese product of and is the non-free LCD code over with generator matrix
[TABLE]
since But is a projective module over
We now are ready to answer the question: "Do non-free LCD codes over finite commutative Frobenius ring exist?". It is evident from Example 3.4 that "non-free LCD codes over finite commutative Frobenius rings exist and they are projective modules over "
4 Constacyclic LCD codes over finite chain rings
Throughout this section will denote a finite chain ring (and hence a Frobenius ring) with residue field a unit in and a positive integer relatively prime to The projection extends naturally to a projection as follows: for also a projection as follows: for Thus for any nonempty subset of
Recall that a linear code of length over is -constacyclic if whenever is called cyclic and negacyclic, respectively, when is and . A constacyclic code of length over is non-repeated root if and are coprime. It is known that the -constacyclic codes over are identified to ideals of via the -module isomorphism
[TABLE]
where In this section, we deal with non-repeated root -constacyclic LCD codes of length over
Let and be a polynomial of degree over with we denote by the -matrix defined by:
[TABLE]
Obviously, if is a unit in then the rank of is Note that for any free -constacyclic code over of rank there is an only monic polynomial of degree dividing in whose is a generator matrix for This polynomial is called the generator polynomial of and the free -constacyclic code over with generator polynomial of length is denoted Conventionally, if Thus is the generator polynomial of
From now on, denotes a monic polynomial over with is a unit in and the nonzero element in is the remainder of the Euclidian division of by
From [19, Theorem 5.2.], the quotient ring is a principal ideal ring, if either is a field, or is free-square. Recall that a polynomial over a finite field is called square-free, if it has no multiple irreducible factors in its decomposition. Of course, is free-square since From [23, Theorem 2.7], if is monic and is square-free, then factors uniquely into monic, coprime basic-irreducible. For any polynomial in dividing [22, Theorem XIII.4] implies the existence and unicity of a polynomial such that and divides since is square-free in The polynomial will be called the Hensel lift of
Lemma 7**.**
[12, Lemma 3.1 (3)]** Let and be monic polynomials over dividing Then
[TABLE]
where denotes the Hensel lift of 111: the least common multiple of to
For a polynomial of degree denotes its reciprocal polynomial and is given by A polynomial is self-reciprocal, if Consider the permutation defined as follows: Recall that a linear code of length over is reversible if Obviously,
[TABLE]
On the other hand, for any -constacyclic code it is well-know that
[TABLE]
where This leads to the following result.
Proposition 2**.**
Let be a monic polynomial of degree dividing If then where
From the precedent result, we have and divides For this, we have the following result.
Proposition 3**.**
The dual of any -constacyclic code over is -constacyclic.
Obviously, both and are -constacyclic codes for any unit in Inversely, we have the following result.
Lemma 8**.**
Let be a free code of length over If is both -constacyclic and -constacyclic for units in with then either or
**Proof. **Assume that There exists a polynomial with such that Then the word belongs to Since is both -constacyclic and -constacyclic, it follows that and Thus Now and is linear over therefore And so on, we have since is a unit in By constacyclicity of it follows that ∎
Corollary 3**.**
If then any free -constacyclic code of length over is LCD.
**Proof. **Assume that and let be a free -constacyclic code of length over Then by Proposition 3, is a -constacyclic code. Thus, is both -constacyclic and -constacyclic. Therefore, by Lemma 8, i.e., is an LCD code as because can not be when . ∎
Thus, in order to obtain all -constacyclic LCD codes, we need to consider only the case when Moreover, the dual code of any -constacyclic code over is still a -constacyclic code over when .
Lemma 9**.**
Let be an -constacyclic code of length over with The following assertions are equivalent.
* is LCD;* 2. 2.
* is self-reciprocal;* 3. 3.
* is reversible.*
**Proof. **Let From Proposition 2, and since it follows from Proposition 7 that
[TABLE]
So is LCD if and only if Since and , it follows that and are coprime. Hence As and it follows that
[TABLE]
which is equivalent to saying From Eq. (24), is reversible if and only if . ∎
Remark 3**.**
Let be a monic polynomial in Since \mathcal{P}(R;n;g)=\biggl{\{}\textbf{c}\in R^{n}\;:\;g\text{ divides }\Psi(\,\textbf{c}\,)\biggr{\}}, it follows that
From Remark 3, Theorems 3 and 4, we have
Lemma 10**.**
Let be a -constacyclic code of length over Then is LCD if and only if is both -constacyclic and LCD .
Theorem 6**.**
Let be a -constacyclic code of length over and its generator polynomial. Then is LCD and if and only if is reversible.
**Proof. **Let From Proposition 2, Since it follows that divides It can use Lemma 7 and we have Then is LCD and if and only if this implies that Since it follows that By Equality (24), is reversible.
Conversely, if is reversible, then is also reversible. From Lemmas 9 and 10, is LCD. Moreover if is reversible, by Equality (24), we have But and So because Whence ∎
We now will provide some examples to demonstrate our results. We used the Magma Computer Algebra System [3] in our computations. We have got some good codes, some optimal known codes and some new optimal codes over [1].
Example 4.1**.**
The factorization of over into a product of basic irreducible polynomials over is given by
[TABLE]
Let and From Theorem 6, we have
The cyclic code is LCD and reversible. This is optimal code.
- 2.
The cyclic code is not LCD, since is not self-reciprocal.
- 3.
The cyclic code is LCD, since is self-reciprocal. This code has minimum Lee distance 7 but has only 4 codewords.
Note that if is -constacyclic of odd length over then is LCD if and only if is reversible.
Example 4.2**.**
The factorization of over into a product of basic irreducible polynomials over is given by
[TABLE]
The self-reciprocal polynomials and the LCD codes generated by those seld-reciprocal polynomials are shown in the following table:
[TABLE]
Example 4.3**.**
The factorization of , , and over into a product of basic irreducible polynomials are given by
[TABLE]
[TABLE]
[TABLE]
where , , , , , , , and
[TABLE]
*where , ; ; . In the following table, we list cyclic LCD codes over of different lengths and their generators. It is noted that some of the codes (which are LCD) are good known codes and some are new optimal codes over [1].
[TABLE]
Example 4.4**.**
The factorization of over into a product of basic irreducible polynomials over is given by
[TABLE]
Out of and there are self-reciprocal polynomials dividing in and they are:
[TABLE]
From Theorem 6, the nontrivial cyclic code over is LCD, for all Moreover is a nontrivial -constacyclic LCD code over where for all Hence there are 56 nontrivial constacyclic LCD codes of length over .
Example 4.5**.**
The factorization of over into a product of basic irreducible polynomials over is given by
[TABLE]
All three factors of over are self-reciprocal polynomials in and hence all cyclic codes of length 9 over are LCD and so reversible.
[TABLE]
Example 4.6**.**
The Cyclic code of length 5 generated by over , where is the Galois Extension of order 2 and is a root of the basic primitive polynomial , is LCD code and its minimum Hamming distance is 3 ().
5 Conclusion
In paper, we have done an extensive study of LCD codes over finite commutative Frobenius rings. We have first corrected a wrong result given in [18] which in deed led to the claim that "there do not exist non-free LCD codes over finite commutative local Frobenius rings". We also answered the question posed in the title that there exists non-free LCD codes over finite commutative Frobenius rings but not over finite commutative local Frobenius rings. We have also obtained a necessary and sufficient condition for any linear code over a finite commutative Frobenius ring to be LCD. We also characterized non-repeated root constacyclic LCD codes and revercible over finite chain rings and we found some new optimal codes over which are infact cyclic LCD codes over .
Acknowledgements
The first author of the paper would like to Ministry of Human Resource and Development India for support financially to carry out this work. Third author is partially funded by Spanish-MINECO MTM2015-65764-C3-1-P research grant.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] N. Aydin, T. Asamov. http://www.asamov.com/Z 4Codes/CODES/Show CODES Table Page.aspx .
- 2[2] K. Boonniyoma, S. Jitman. Complementary dual subfield linear codes over finite fields . ar Xiv:1605.06827 [cs.IT], 2016.
- 3[3] Bosma, Wieb; Cannon, John; Playoust, Catherine. The Magma algebra system. I. The user language. Computational algebra and number theory (London, 1993). J. Symbolic Comput. 24 (1997), no. 3–4, 235–265.
- 4[4] C. Carlet, S. Guilley. Complementary dual codes for counter-measures to side-channel attacks . In: E. R. Pinto et al. (eds.), Coding Theory and Applications, CIM Series in Mathematical Sciences, vol. 3, pp. 97–105, Springer Verlag, 2014 and Journal Adv. in Math. of Comm. 10(1), pp. 131-150, 2016.
- 5[5] C. Carlet, S. Mesnager, C. Tang, Y. Qi, New characterization and parametrization of LCD codes . IEEE Trans. Inform. Theory, Vol. 65 (2018), 39–49.
- 6[6] C. Carlet, S. Mesnager, C. Tang, Euclidean and Hermitian LCD MDS codes . Des. Codes Cryptogr. (2018) 86: 2605. https://doi.org/10.1007/s 10623-018-0463-8.
- 7[7] C. Ding, C. Li, S. Li. LCD Cyclic codes over finite fields . available at ar Xiv:1608. 0217 v 1 [cs.IT].
- 8[8] S. T. Dougherty, H. Liu. Independence of vectors in codes over rings . Des. Codes Cryptogr., Vol. 51 (2009), 55–68.
