Next Article in Journal
Modeling Implied Volatility Surface Using B-Splines with Time-Dependent Coefficients Predicted by Tree-Based Machine Learning Methods
Previous Article in Journal
Turing Instability and Spatial Pattern Formation in a Model of Urban Crime
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On Linear Codes over Finite Singleton Local Rings

by
Sami Alabiad
1,*,
Alhanouf Ali Alhomaidhi
1 and
Nawal A. Alsarori
2
1
Department of Mathematics, College of Science, King Saud University, P.O. Box 2455, Riyadh 11451, Saudi Arabia
2
Department of Mathematics, Dr. Babasaheb Ambedkar Marathwada University, Aurangabad 431004, India
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(7), 1099; https://doi.org/10.3390/math12071099
Submission received: 6 March 2024 / Revised: 4 April 2024 / Accepted: 5 April 2024 / Published: 6 April 2024

Abstract

:
The study of linear codes over local rings, particularly non-chain rings, imposes difficulties that differ from those encountered in codes over chain rings, and this stems from the fact that local non-chain rings are not principal ideal rings. In this paper, we present and successfully establish a new approach for linear codes of any finite length over local rings that are not necessarily chains. The main focus of this study is to produce generating characters, MacWilliams identities and generator matrices for codes over singleton local Frobenius rings of order 32 . To do so, we first start by characterizing all singleton local rings of order 32 up to isomorphism. These rings happen to have strong connections to linear binary codes and Z 4 codes, which play a significant role in coding theory.

1. Introduction

All rings considered in this article are finite commutative and have an identity. A ring R is defined to be local if it has a unique maximal ideal, denoted J ( R ) or simply J, called the Jacobson radical. Furthermore, it is well established that all finite commutative Frobenius rings can be decomposed as a product of local Frobenius rings. Thus, studying codes over local rings is essential, as most structural coding theory findings have been transferred to such rings. The idea that the class of Frobenius rings is the appropriate class to describe codes is well known, and this is largely due to the fulfilment of both MacWilliams theorems. For more details on the theory of rings, we refer to [1,2,3,4] and the references therein.
Linear codes of length N over R correspond to subsets of R N which are R-submodules of R . When N is divisible by the characteristic of the residue field R / J , then these codes are called repeated-root codes; otherwise, they are simple codes. Using Gray maps, linear codes over fields were related to those over chain rings. While codes over chain rings have been extensively investigated, codes over local non-chain rings have not gained as much attention. The main reason for this disparity is because chain rings are principle ideal rings (PIRs), and as PIRs are characterized as direct sums of chain rings, many conclusions on chain rings may also be applied to PIRs. However, to fully determine codes over Frobenius rings, it is essential to consider local rings which are not chains, even though this imposes challenges, since the rings are not PIRs. We recommend references [5,6,7,8,9,10,11,12,13,14,15] to readers.
This paper mainly concentrates on determining fundamental coding results over local Frobenius rings, with a specific focus on rings of order 32 , to clarify the significance of general results. The study of singleton local rings was accomplished in [2], and their relevance in coding theory was demonstrated through connections to linear binary and Z 4 codes, see [16]. We proceed to investigate, in this article, two crucial tools in coding theory: MacWilliams relations and generator matrices. In [17], the authors discussed these tools over local Frobenius rings with small order, i.e., 16 , based on the classification of local Frobenius rings with order 16 provided in [18]. Thus, we aim to concentrate on rings of order 32 and utilize them as examples. First, we present a constructive approach to finding a generating character χ associated with any singleton local Frobenius ring with invariants p , n , r , t . Given such an χ , determining the MacWilliams relations when working with rings of order 32 becomes straightforward.
On the other hand, generator matrices are highly advantageous for linear codes because they not only generate the code but also make it easier to compute the code size. Chain rings have a well-established standard form that satisfies this purpose, but this however cannot be said for codes with alphabets of local (non-chain) rings. In this regard, we introduce a natural generalization to local non-chain Frobenius rings whose orders are 32 . We also demonstrate, through several numerical examples, why such a generator matrix does not necessarily result in determining the code size.
Following the preliminary definitions and results presented in Section 2, the classification of singleton local Frobenius rings with invariants p , n , r , t is described in Section 3, with special attention to giving the full details of characterizing rings of order 32 . The method for finding, in general, generating characters for singleton Frobenius rings is given in Section 4. Additionally, specific generating characters are determined for all singleton local Frobenius rings of order 32 . Subsequently, the matrix associated with the weight enumerator is obtained. Section 5 focuses on the results concerning generator matrices for linear codes over such rings of order 32 .

2. Preliminaries

Throughout this section, we introduce some notations and basic facts which will be utilized later in our discussion. From now on, suppose that R is a finite commutative singleton local ring with identity, and J denotes its Jacobson radical. We will rely on the following well-established results from the theory of finite rings and coding theory (see [2,3,6,8,15,19]).
First, we define Jacobson radical J of R as the maximal ideal of R. The order of R , is R = p m r , where p is a prime number, and that of J is p ( m 1 ) r under the condition J m = 0 . The additive order of 1 in R (characteristic) is of the form p n , such that 1 n m and R / J G F p r = F . Moreover, R has a coefficient subring S of the form G R ( p n , r ) , known as the maximal Galois subring of R. It has been shown that there exists π in J such that
R = S + S π , J = p S + π S .
A chain ring is a ring for which its J is principal. When m = n , then R is commutative, and J is generated by the element p. Moreover, R can be constructed over Z p n as a Galois extension,
R = Z p n [ a ] Z p n [ x ] / ( g ( x ) ) ,
where a has a multiplicative order of p r 1 and g ( x ) is a monic basic polynomial (irreducible modulo p) of degree r over Z p n . Elements of R can be uniquely expressed (p-adic expression) as a sum of terms involving α i Γ ( r ) = ( a ) { 0 } ,
γ = α 1 + p α 1 + p 2 α 2 + + p n 1 α n 2 .
Suppose t is the additive order of π ; p t π = 0 . We characterize the integers p , n , r and t as the invarints of R . The group of units of R, U ( R ) , is decomposed as
U ( R ) = ( a ) × H ,
where H = 1 + J is called the one group.
We define the socle of R , s o c ( R ) , as the sum of all minimal ideals of R . As the rings under consideration are commutative rings, then the socle coincides with the annihilator of J . In the literature, there are several equivalent definitions of Frobenius rings. However, in our discussion, we will focus on a specific definition that is most relevant to our subsequent analysis.
Definition 1
([4]). We call R a Frobenius ring if soc ( R ) R / J , considered as F-vector spaces.
Finite Frobenius rings have a very simple charaterization due to the work in [1]. A character χ of ( R , + ) is an element of Hom Z ( R , C ) , the character group of ( R , + ) . We call χ a generating character if ker χ contains no left ideals of R which are not trivial.
Theorem 1
(Wood [1]). A finite ring R is a Frobenius ring if and only if it has a generating character χ Hom Z ( R , C ) .
Corollary 1
([1]). A finite ring R is a Frobenius ring if and only if it has a unique minimal ideal.
Theorem 2
(Honold [4]). A finite ring R is a Frobenius ring if and only if its soc ( R ) is cyclic.
A subset of R N is called a code C of length N over R , and if C is a submodule, then it is called a linear code. Furthermore, we can incorporate the inner-product in R N , and thus we can define the dual code C of C as
C = { u : c · u = 0 , c C } ,
where · denotes an inner product in R N .
All symbols and notations mentioned above will be maintained throughout the manuscript.

3. Singleton Local Frobenius Rings

From now on, R will denote a finite commutative local ring with a singleton basis and invariants p , n , r , t . Moreover, let g ( x ) always be defined as
g ( x ) = x 2 p d β h p e β 1 h 1 x ,
where β , β 1 Γ ( r ) and h , h 1 1 + p S . By the results of [2], R is structured as
R S [ x ] / ( g ( x ) , p t x ) .
For the purpose of simplicity, we need to agree on the following notations
π 2 = p d β h + p e β 1 h 1 π ; β , β 1 Γ ( r ) and h , h 1 1 + p S ; m 2 n ; t = m n , n t d n and 1 e t ; 2 l m ; J l = 0 and J l 1 0 . ( )
The following theorem establishes a powerful tool in characterizing singelton local Frobenius rings based just on their invariants p , n , r , t , d , e . When t = 1 , the case is trivial, so we assume, in the theorem, that t > 1 .
Theorem 3.
If R is a singleton local ring, then R is Frobenius if and only if t = n or ( t , d ) = ( n 1 , 1 ) .
Proof. 
Suppose that R is Frobenius, then s o c ( R ) is the minimal ideal which is unique. Furthermore, s o c ( R ) is cyclic by Theorem 2, and thus we can write s o c ( R ) = ( θ ) . In this case, we have θ p = θ π = 0 . As θ = s 0 + s 1 π , it is clear that s 0 p n 1 S and s 1 p t 1 S , and hence
θ = p n 1 u + p t 1 v π ,
where u , v Γ ( r ) but they are not both equal to 0 . This means that θ ( p n 1 , p t 1 π ) . But since t 1 n 1 , then s o c ( R ) ( p t 1 ) . Therefore, s o c ( R ) = p n 1 R . To finish the proof, we consider two cases. If u = 0 , then s o c ( R ) = ( p t 1 π ) and since p n 1 π annihilates J , then p n 1 π s o c ( R ) , which means that n = t . On the other hand, suppose that u 0 . Since θ π = 0 , by Equation (7), p n 1 π = 0 and p t 1 π 2 = 0 , implying that p d + t 1 β h = 0 . Therefore, t = n 1 and d = 1 . For the converse, assume that t = n . As p n 1 π 0 and p n 1 π J = 0 , then clearly s o c ( R ) = ( p n 1 π ) . This means R is Frobenius according to Theorem 2. The case when t = n 1 and d = 1 will lead to s o c ( R ) = ( p n 1 ) and again, by the same reasoning, R is Frobenius. □
Corollary 2.
Suppose that R is a chain ring, then R is Frobenius. In particular, if n = 1 , R is Frobenius.
Proof. 
The result follows from Theorem 3 since t = n or t = n 1 and d = 1 .  □
Remark 1.
For any singleton local Frobenius ring R with invariants p , n , r and t , then
s o c ( R ) = ( p n 1 π ) , if n = t , ( p n 1 ) , if t = n 1 , d = 1 .
The following proposition is useful for the next section.
Proposition 1.
Let I be any non-zero ideal of a singleton local Frobenius ring R . Then, soc ( R ) is contained in I .
Proof. 
Assume that I is an ideal of R . If I is minimal, then I = s o c ( R ) because s o c ( R ) is the unique minimal ideal of R by Corollary 1. Now, suppose I is not minimal ideal, then I contains an ideal which is minimal, and thus contains s o c ( R ) .  □
Remark 2.
The number of singleton local rings (up to isomorphism) with π 2 = p d β and invariants p , n , r , t , d is
N ( p , n , r , t , d ) = 1 , if p = 2 ; 2 , if p 2 .

Full Characterization of Singleton Local Frobenius and Non-Frobenius Rings of Order 32

The following theorem plays a crucial role in our subsequent discussion as it provides a comprehensive classification of all local rings with a singleton basis of order 32 .
Theorem 4.
Suppose R is a singleton local ring of order 32 . Then, R is isomorphic to a unique ring among those listed in Table 1.
Proof. 
Since R = 32 , we have two possible cases: either r = 5 and m = 1 , or r = 1 and m = 5 . However, the first case does not result in a singleton ring. Therefore, we consider the case where m = 5 and n can be either 3 or 4.
Case a: Let us assume n = 3 , which implies t = 2 . In this case, e can take values of 1 or 2, and d can take values of 1, 2, or 3.
Case a1. Considering the sub-case where d = 1 , then g ( x ) = x 2 2 β h 2 e β 1 x . Hence,
R 1 Z 2 3 [ x ] / ( x 2 2 h , 4 x ) , R 2 Z 2 3 [ x ] / ( x 2 2 h 2 x , 4 x ) .
As h 1 + p S = { 1 , 3 , 5 , 7 } , then 1 = 5 , 3 = 7 mod 4 . Then, the correspondence ϕ between Z 2 3 [ x ] / ( x 2 2 , 4 x ) and Z 2 3 [ x ] / ( x 2 2 ( 5 ) , 4 x ) defined by ϕ ( s 1 + s 2 π ) = s 1 + s 2 θ is an isomorphism. In addition, the same can be imposed on the rings Z 2 3 [ x ] / ( x 2 2 ( 3 ) , 4 x ) and Z 2 3 [ x ] / ( x 2 2 ( 7 ) , 4 x ) . This concludes that there are two rings (up to isomorphism) of type R 1 which are of the form Z 2 3 [ x ] / ( x 2 2 , 4 x ) and Z 2 3 [ x ] / ( x 2 + 2 , 4 x ) . Now, we classify rings of type R 2 . Because d = e , then the last term of g ( x ) = x 2 2 h 2 x determines the classes of such rings; i.e., there is only one class that represents these rings, which is Z 2 3 [ x ] / ( x 2 2 2 x , 4 x ) .
Case a2. Now consider the option where d takes the values of 2 or 3. In this case, the construction and properties of such rings can be further explored and analyzed.
R 1 Z 2 3 [ x ] / ( x 2 , 4 x ) if d = 3 , e = 2 , R 2 Z 2 3 [ x ] / ( x 2 4 2 x , 4 x ) , R 3 Z 2 3 [ x ] / ( x 2 4 , 4 x ) , R 4 Z 2 3 [ x ] / ( x 2 2 x , 4 x ) .
Based on Remark 2, there is exactly one ring of the form R 3 . With respect to rings of type R 1 , there exists a unique class up to isomorphism. Furthermore, there is only one class of each singleton local ring R 2 and R 4 by the same discussion as the previous case.
Case b. Let us consider the case where n = 4 , which imposes t = 1 . In this case, we have e = 1 and d can take values of 3 or 4. Therefore, we list all such rings as
R 1 Z 2 4 [ x ] / ( x 2 , 2 x ) , if d = 4 R 2 Z 2 4 [ x ] / ( x 2 8 , 2 x ) , if d = 3 .
The class of R 1 rings consists of one element, and additionally, there is only one ring of type R 2 in light of Remark 2.
We finally employ Theorem 3 to classify all singleton local rings of order 32. They are divided into two categories: chain and non-chain rings. □
Example 1.
The ring Z 2 3 [ x ] / ( x 2 2 x , 4 x ) is not Frobenius because d = 3 , t = 2 which does not satisfy the condition of Theorem 3. Note that soc ( R ) = ( 4 , 2 x ) which is not cyclic; s o c ( R ) F . This ring is not a chain ring and is not the only non-Frobenius singleton local ring, as shown in Table 1.
Remark 3.
For non-chain and Frobenius rings, l = m 1 = 4 . On the other hand, for non-Frobenius rings, if we denote l i = l ( J ( R i ) ) , then the index of nilpotency of J is R i . Thus, simple calculations will lead to l 1 = 3 , l 2 = 3 , l 3 = 3 , l 4 = 4 and l 5 = 3 , where R i runs through all rings in the third column.
Remark 4.
By utilizing the results in our prior publication [2], we successfully classified singleton local rings of order 32. It is worthy to highlight the original contribution of distinguishing between Frobenius and non-Frobenius singleton local rings, as this distinction carries substantial significance in the construction of generating characters discussed in the subsequent section. Furthermore, this new approach has the potential to be extended for the purpose of studying codes over rings with higher orders.

4. Generating Characters and MacWilliams Identities

Let R be a singleton local Frobenius ring with invariants p , n , r , t and associated polynomial g ( x ) . The following theorem describes an approach to construct a generating character for any singleton local Frobenius ring. In Table 2, we list the resulting generating characters for singleton local Frobenius rings of order 32.
Theorem 5.
Suppose that R is a singleton local Frobenius ring with invariants p , n , r , t . Then, there exists an integer q 1 such that
χ ( ω ) = γ 1 a 1 γ 2 a 2 γ q a q ,
is a generating character of R , where γ i is a p n i -root of unity and a i m r for each 1 i q .
Proof. 
Since R has a characteristic number p n , there are n = n 1 , n 2 , , n q that satisfy n 1 n 2 n q and so are additive groups,
R Z p n 1 × Z p n 2 × × Z p n q .
This means that there are u 1 , u 2 , u q , generators satisfying the condition o ( u i ) = p n i for 1 i q . Thus, every element ω of R is factorized uniquely (in an additive sense) as
ω = a 1 u 1 + a 2 u 2 + + a q u q ,
where a i Z p n i . As R is Frobenius, then by Proposition 1, any nontrivial ideal encompasses soc ( R ) . Therefore, in order for χ to be a generating character, it is enough to illustrate that a character χ is nontrivial on soc ( R ) . Let us define the following map χ : R C by
χ ( a 1 u 1 + a 2 u 2 + + a q u q ) = γ 1 a 1 γ 2 a 2 γ q a q ,
where γ i is a p n i th root of unity in C for each i . One can see that χ is in Hom ( R , C ) ; that is, it is a character. Suppose that the image of s o c ( R ) under χ is not 1 , ; then, χ will be a generating character for R . On the contrary, assume that χ ( s o c ( R ) ) = { 1 } . Suppose that ω s o c ( R ) . As soc ( R ) is a cyclic of order p r , then in the additive structure, we can identify soc ( R ) by Z p r . From group theory, there exists a unique i , 1 i q such that Z p r is a subgroup of Z p n i . This imposes χ ( a i u i ) = γ a i 1 for all a i < p r , and hence χ is a non-trivial character on s o c ( R ) . Therefore, χ is a generating character. □
The following table presents generating characters for singleton Frobenius local rings of order 32. In the table, γ and ζ are 2 3 th root and 2 4 th root of unity, respectively.

MacWilliams Relations

Now, we completely determine MacWilliams identities of various versions for singleton local Frobenius rings with p , n , r , t . In fact, these relations can hold for a broader class of finite rings, namely the class of all Frobenius rings. These identities play a vital role in coding theory as they establish a crucial link between the weight enumerator of a code and its dual.
Let C be a code over R . The complete weight enumerator is known as
C W E ( c ) = i a i n i ( c ) ,
C W E ( C ) = c C C W E ( c ) .
where n i ( c ) means the number of occurrences of a i in c.
Suppose that A is a p m r × p m r matrix with a i j = χ ( a i a j ) . Then,
C W E C ( x a 1 , , x a p m r ) = 1 C C W E C ( A · x a 1 , , x a p m r ) .
The Hamming weight enumerator is defined as
H W C ( a , b ) = c C a N w t ( c ) b w t ( c ) ,
where w t ( c ) = { i : c i 0 } . First, note that W H ( a , b ) = W C ( a , b , b , , b ) . Now, we introduce the MacWilliam identity for the Hamming weight enumerator as
H W C ( a , b ) = 1 C H W C ( a + ( p m r 1 ) b , a b ) .
We define ∼ on R as a b if and only if a = ω b , where ω U ( R ) . It can be easily justified that ∼ is an equivalence relation. Suppose that b ^ 1 , , b ^ q are its equivalence classes, and the symmetrized weight enumerator is hence defined by
S W E C ( x b ^ 1 , , x b ^ q ) = c C i x b ^ i n i ( c ) ,
where n i ( c ) is the number of occurrences of elements of b ^ i in the codeword c. Now, assume that
b i j = a b ^ j χ ( a i a ) .
Denote the matrix ( b i j ) q × q by B. Then, we define the MacWiliams identity for the SWE (symmetrized weight enumerator) of a linear code C as
S W E C ( x b ^ 1 , , x b ^ q ) = 1 C S W E C ( B · ( x b ^ 1 , , x b ^ q ) ) .
It is easy to obtain the matrix A in (13) once we have χ . However, computing B in Equation (17) requires more computational steps, as we need to determine b ^ i . This process involves more effort but is vital for constructing B . The following theorem gives us a detailed scheme of building B for a more general case.
Theorem 6.
If R is a singleton local Frobenius ring with n = 1 , then R F p r [ x ] / ( x 2 ) and B is a matrix of 3 × 3 of the form
B = 1 ( p r 1 ) p r p r 1 1 0 δ 1 p r p r 1
Proof. 
The additive structure of F p r is Z p × × Z p r times . Then, the generating character χ is defined on F p r as
χ ( a 1 u 1 + a 2 u 2 + + a r u r ) = ( γ ) a 1 + a 2 + + a r ,
where γ is the p root of unity in C . The equivalence classes are b ^ 1 = { 0 } , b ^ 2 = U ( R ) and b 3 ^ = J ( R ) { 0 } . Therefore, it is clear that b 1 j = 1 and b j 1 = b ^ j . Also, b 33 = p r 1 and b 23 = δ , which is 0 or 1 according to whether p is odd or even, respectively. Finally, b 32 = p r .  □
Remark 5.
Theorem 6 can be generalized to a broader class of rings, namely R = F p r [ x ] / ( x k ) , k 3 . In this case, the associated matrix B will have dimensions of ( k + 1 ) × ( k + 1 ) .
Example 2.
If R is with invariants ( p , n , r , t ) = ( 2 , 1 , 2 , 1 ) , then the order of R is 2 4 , and
B = 1 12 3 1 0 1 1 4 3
Next, we proceed to illustrate these computations through practical demonstration of the steps involved for examples of singleton local Frobenius rings of order 32 . Our attention will be focused on understanding the equivalence classes under ∼ and then constructing B .  Table 3 presents the associated B of each ring, and also provides all equivalent classes.
From now onwards, the order of R is 32 . First, we investigate B of chain rings.
Example 3.
Suppose that R = Z 2 3 [ x ] / ( x 2 2 , 4 x ) . Let us assume the elements of R have the following order:
R = { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , x , 2 x , 3 x , 1 + x , 1 + 2 x , 1 + 3 x , 2 + x , 2 + 2 x , 2 + 3 x , 3 + x , 3 + 2 x , 3 + 3 x , 4 + x , 4 + 2 x , 4 + 3 x , 5 + x , 5 + 2 x , 5 + 3 x , 6 + x , 6 + 2 x , 6 + 3 x , 7 + x , 7 + 2 x , 7 + 3 x } .
Now, define for a , b R , a i j = χ ( a b ) , where i and j are the indexes of a and b , respectively. Thus, set A = ( a i j ) of size 32 × 32 over C . Note that this matrix is easy to calculate but it is too large. Next, we compute the matrix B which needs extensive computations. We need to obtain b ^ i on R which are listed as
b ^ 1 = { 0 } , b ^ 2 = U ( R ) = { 1 , 3 , 5 , 7 , 1 + x , 1 + 2 x , 1 + 3 x , 3 + x , 3 + 2 x , 3 + 3 x , 5 + x , 5 + 2 x , 5 + 3 x , 7 + x , 7 + 2 x , 7 + 3 x } , b ^ 3 = J J 2 = { x , 3 x , x + 2 , x + 4 , x + 6 , 3 x + 2 , 3 x + 4 , 3 x + 6 } , b ^ 4 = J 2 J 3 = { 2 , 6 , 2 + 2 x , 6 + 2 x } , b ^ 5 = J 3 J 4 = { 2 x , 2 x + 4 } , b ^ 6 = s o c ( R ) { 0 } = J 4 { 0 } = { 4 } .
To demonstrate the computations, we introduce a few cases, noting that χ ( a ) = χ ( a + 2 x ) and χ ( a + x ) = χ ( a + 3 x ) ,
b 21 = χ ( 1 ( 0 ) ) = 1 , b 12 = b i U ( R ) χ ( 0 ( b i ) ) = 16 , b 1 j = b ^ j , j = 3 , 4 , 5 , 6 b i 1 = 1 , i = 1 , 2 , , 6 b 22 = b i b ^ 2 χ ( 1 ( b i ) ) = 0 , b i 2 = 0 , i = 3 , 4 , 6 b 23 = b i b ^ 3 χ ( 1 ( b i ) ) = 0 b 2 j = 0 , j = 4 , 5 , b 26 = 1 .
Therefore,
B 1 = 1 16 8 4 2 1 1 0 0 0 0 1 1 0 0 4 2 1 1 0 0 0 0 1 1 16 8 4 2 1 1 0 0 4 0 1
Remark 6.
If α is a unit, then α b ^ i = b ^ i , where i = 1 , 2 , 3 , , q . Thus, if the index of α is i , then b i j = b 1 j for all j .
Remark 7.
From Example 3, all chain rings have an equivalent matrix B .
The following example will involve the case when R is a non-chain ring. There are only unique rings of this type, which are R = Z 2 4 [ x ] / ( x 2 8 , 2 x ) . In this ring, J = ( x , 2 ) , which is of order 16 and its index of nilpotency is l = 4 , and finally s o c ( R ) = ( p n 1 π ) .
Example 4.
Consider the non-chain ring R = Z 2 4 [ x ] / ( x 2 8 , 2 x ) which has ( p , n , r , t ) = ( 2 , 4 , 1 , 1 ) as invariants. Assume the order of elements of R as follows: if i , j Z 2 4 , then i is before j if i < j as integers, and i + x before j + x if i precedes j . Thus, the equivalence classes are
b 1 ^ = { 0 } , b ^ 2 = U ( R ) = { i , i + x : where i is odd as integer } , b 3 ^ = ( 2 ) s o c ( R ) = { 2 , 4 , 6 , 10 , 12 , 14 } , b 4 ^ = ( x ) s o c ( R ) = { x , x + 8 } , b 5 ^ = ( x + 2 ) s o c ( R ) = { x + 2 , x + 6 , 10 + x , 14 + x } b 6 ^ = ( x + 4 ) s o c ( R ) = { x + 4 , 12 + x } b 7 ^ = s o c ( R ) { 0 } = J 3 { 0 } = { 8 } .
Thus, using the associated generating character in Table 2 and after appropriate calculations as in Example 3,
B 2 = 1 16 6 2 4 2 1 1 0 0 0 0 0 1 1 0 1 2 4 2 1 1 0 0 0 0 0 1 1 0 2 2 4 2 1 1 0 0 0 0 0 1 1 0 2 2 4 2 1
Note that ζ 2 + ζ 6 + ζ 10 + ζ 14 = 0 and ζ 4 + ζ 12 = 0 .

5. Generator Matrices

In coding theory, one of the essential techniques is creating a generator matrix in standard form for a linear code over finite rings. In this section, we determine generator matrices for linear codes over singleton local Frobenuis rings with invariants 2 , n , r , t and n + t = 5 . Compared to codes over chain rings, constructing a generator matrix is more challenging when studying codes over singleton local Frobenius rings that are non-chains. Although a basic set of generators can still be found, such a generator matrix may not provide simple information on the code size or amount of codewords. This is not the case with codes across chain rings, where a generator matrix may be used to easily compute the code size.
Let C be a linear code over R i , i = 2 , 3 , 4 . Then, C has a generator matrix with standard form [11],
G = I e 0 A 12 A 13 A 14 A 15 A 16 0 π I e 1 A 23 A 24 A 25 A 26 0 0 π 2 I e 2 A 34 A 35 A 36 0 0 0 π 3 I e 3 A 45 A 46 0 0 0 0 π 4 I e 4 A 56
where I e denotes the e × e identity matrix. A linear code which has a generator matrix of this form is called a code of type { e 0 , e 1 , e 2 , e 3 , e 4 } , and therefore its size is equal to
C = p i = 0 4 ( 5 i ) e i .
Definition 2.
We call the vectors v 1 , , v e modular independent if no nontrivial linear combination of the vectors exists with coefficients from J that equals the zero vector. A generator matrix G over the ring R is considered as such if the rows of G are modularly independent and they generate the code C .
The remainder of this section deals with singleton local Frobenius rings of order 32 ,
R = Z 2 4 [ x ] / ( x 2 8 , 2 x ) .
Figure 1 below shows the ideal lattice of R . As we know that J = 16 , ( 2 ) = ( π ) = ( π + 2 ) = 8 , ( π + 4 ) = ( 4 ) = 4 and ( 8 ) = s o c ( R ) = 2 . Therefore, our aim, in this section, is to create a set of modularly independent elements which serve as the rows of a generator matrix for a given code. The subsequent theorem provides a full representation of the structure of a generator matrix.
Theorem 7.
Suppose C is a linear code over R = Z 2 4 [ x ] / ( x 2 8 , 2 x ) with arbitrary length N. Then, any generator matrix for C is equivalent to
Mathematics 12 01099 i001
where Mij are matrices over R.
Proof. 
Suppose that G is a matrix whose rows generate C as an R-module. We move all columns that have a unit in them to the left of G . By performing row reduction on those columns, we get a matrix of the form
G = I e 0 0 A
Now, all elements of A are not units. We again move all columns that have elements in J = ( 2 , π ) to the left, and impose the main row operations to transfer the matrix to a form of the following.
G = I e 0 0 2 0 π 0 0 A 1
We proceed with this algorithm, ensuring that the matrix A 1 is constructed by arranging columns with elements that form a pair ( 2 , π ) , and we repeat this process until the matrix is in the desired form.
Mathematics 12 01099 i002
where the entries of columns of the matrix A 2 are elements of only one ideal of the ideals ( 2 ) , ( π ) , ( 2 + π ) and ( 4 + π ) . So, now we proceed with the matrix A 2 . In order to create a unique representation of the matrix, we select a specific ordering for the four ideals: ( π ) , ( 4 + π ) , ( 2 ) , and ( 2 + π ) . This chosen order will be used consistently when constructing the matrix. Let u be a unit of R ; we first continue with columns whose entries are of the form π u , then with columns of ( π + 4 ) u , and next with columns that have elements of the form ( 2 ) u . Finally, we deal with columns of the form ( π + 2 ) u . In each step, we perform row reduction in the usual manner. Note that the ideal ( 4 ) is contained in both ( 2 ) and ( π + 2 ) , and thus we repeat the same procedure with this ideal, since all remaining entries of the columns will be from the ideal ( 4 ) .
Mathematics 12 01099 i003
Finally, all elements of A3 are from the ideal generated by 8. By eliminating any rows containing only zeros and performing a final round of row reduction, we ultimately obtain a matrix that precisely matches the desired form we were aiming for. □
Proposition 2.
Suppose that u is a vector in R N . Let M = ( u ) be a cyclic R-submodule of R N . Then, M { 32 , 16 , 8 , 4 , 2 , 0 } .
Proof. 
Assume that I is an ideal generated by coordinates of the vector u . Let T be the set of all annihilators of u in R , which is an ideal of R . Thus,
M = R T = I .
According to Figure 1, we have six possibilities for the order of I { 32 , 16 , 8 , 4 , 2 , 0 } . The result follows. □
Theorem 8.
Suppose that M = ( u , v ) are R-submodules such that their coordinates contain no units. Then,
M { 256 , 128 , 64 , 32 , 16 , 8 , 4 } .
Proof. 
By Proposition 2, we have M 256 . Since ( 8 ) = 2 , then 4 M .  □
Example 5.
To obtain a linear code over R = Z 2 4 [ x ] / ( x 2 8 , 2 x ) of order 16 , let N = 1 and C = ( 2 , π ) . Therefore, C = 16 . If we want a code of order 32 , we put C = ( u , v ) such that N = 2 and u = ( 2 , π ) , v = ( π , 2 ) . Thus, C = 32 . Consider N = 4 , u = ( 2 , 0 , π , 2 ) and v = ( π , 2 , 0 , 0 ) . Hence, C = 256 . Moreover, C is a decomposable module, i.e.,
C ( u ) ( v ) .
The last example illustrates that it is possible for a code over a singleton local Frobenius (non-chain) ring to not have a minimal set of generators in standard form, making it difficult to determine the code size. In other words, it illustrates the distinction between codes over local non-chain rings and codes over chain rings.
Example 6.
Assume C is a linear code over Z 2 4 [ x ] / ( x 2 8 , 2 x ) with a generator matrix of the form
G = 2 π π 0 0 2
If M 1 is the R-submodule generated by the first and second row of G , and M 2 is the R-submodule generated by the third row of G , then M 1 M 2 is always non-trivial. This means C is an indecomposable module.

6. Conclusions

In conclusion, we have successfully classified all singleton local Frobenius rings (up to isomorphism) with respect to fixed invariants and determined the MacWilliams relations and generator matrices for linear codes of arbitrary length over these rings. While MacWilliams relations and generator matrices are well known and significant for codes over chain rings, such a case may not be reachable for codes over local non-chain rings. The challenge lies in the fact that local non-chain rings are not principal ideal rings, which complicates the determination of a minimal set of generators and the enumeration of the code size. This limitation suggests that alternative approaches or techniques are needed to handle codes over local non-chain rings effectively.

Author Contributions

Conceptualization, S.A. and A.A.A.; methodology, S.A. and A.A.A.; formal analysis, S.A. and N.A.A.; investigation, S.A. and A.A.A.; writing—original draft, S.A. and N.A.A.; writing—review & editing, S.A., A.A.A. and N.A.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Researchers Supporting Project number (RSPD2024R871), King Saud University, Riyadh, Saudi Arabia.

Data Availability Statement

No new data were created or analyzed in this study.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wood, J.A. Duality for modules over finite rings and applications to coding theory. Am. J. Math. 1999, 121, 555–575. [Google Scholar] [CrossRef]
  2. Alkhamees, Y.; Alabiad, S. The structure of local rings with singleton basis and their enumeration. Mathematics 2022, 10, 4040. [Google Scholar] [CrossRef]
  3. Raghavendran, R. Finite associative rings. Compos. Math. 1969, 21, 195–229. [Google Scholar]
  4. Honold, T. Characterization of finite Frobenius rings. Arch. Math. 2001, 76, 406–415. [Google Scholar] [CrossRef]
  5. Martínez-Moro, E.; Szabo, S.; Yildiz, B. Linear codes over ℤ4[x]/(x2 + 2x). Int. Inf. Coding Theory 2015, 3, 78–96. [Google Scholar]
  6. Sriwirach, W.; Klin-Eam, C. Repeated-root constacyclic codes of length 2ps over Fpm + uFpm + u2Fpm. Cryptogr. Comm. 2021, 13, 27–52. [Google Scholar] [CrossRef]
  7. Laaouine, J.; Charkani, M.E.; Wang, L. Complete classification of repeated-root-constacyclic codes of prime power length over Fpm[u]/(u3). Discrete Math. 2021, 344, 112325. [Google Scholar] [CrossRef]
  8. Yildiz, B.; Karadeniz, S. Self-dual codes over F2 + uF2 + vF2 + uvF2. J. Frankl. Inst. 2010, 347, 1888–1894. [Google Scholar] [CrossRef]
  9. Aydin, N.; Karadeniz, S.; Yildiz, B. Some new binary quasi-cyclic codes from codes over the ring F2 + uF2 + vF2 + uvF2. Appl. Algebra Eng. Commun. Comput. 2013, 24, 355–367. [Google Scholar] [CrossRef]
  10. Greferath, M. Cyclic codes over finite rings. Discrete Math. 1997, 177, 273–277. [Google Scholar] [CrossRef]
  11. Norton, G.; Salagean, A. On the structure of linear cyclic codes over finite chain rings. Appl. Algebra Eng. Commun. Comput. 2000, 10, 489–506. [Google Scholar] [CrossRef]
  12. Shi, M.; Wu, R.; Krotov, D. On ZpZpk-additive codes and their duality. IEEE Trans. Inform. Theory 2018, 65, 3842–3847. [Google Scholar]
  13. Shi, M.; Ozbudak, F.; Xu, L.; Sol’e, P. LCD codes from tridiagonal Toeplitz matrices. Finite Fields Their Appl. 2021, 75, 101892. [Google Scholar] [CrossRef]
  14. Shi, M.; Zhu, S.; Yang, S. A class of optimal p-ary codes from one-weight codes over Fp[u]/<um>. J. Frankl. Inst. 2013, 350, 929–937. [Google Scholar] [CrossRef]
  15. Yildiz, B.; Karadeniz, S. Linear codes over ℤ4 + u4: MacWilliams identities, projections, and formally self-dual codes. Finite Fields Their Appl. 2014, 27, 24–40. [Google Scholar] [CrossRef]
  16. Dougherty, S.T.; Saltürk, E.; Szabo, S. Codes over local rings of order 16 and binary codes. Adv. Math. Commun. 2016, 10, 379–391. [Google Scholar] [CrossRef]
  17. Dougherty, S.T.; Saltürk, E.; Szabo, S. On codes over Frobenius rings: Generating characters, MacWilliams identities and generator matrices. Appl. Algebra Eng. Commun. Comput. 2019, 30, 193–206. [Google Scholar] [CrossRef]
  18. Martínez-Moro, E.; Szabo, S. On codes over local Frobenius non-chain rings of order 16. In Noncommutative Rings and Their Applications; Contemporary Mathematics; Dougherty, S., Facchini, A., Leroy, A., Puczylowski, E., Solé, P., Eds.; American Mathematical Society: Providence, RI, USA, 2015; Volume 634, pp. 227–241. [Google Scholar]
  19. Alabiad, S.; Alkhamees, Y. Constacyclic codes over finite chain rings of characteristic p. Axioms 2021, 10, 303. [Google Scholar] [CrossRef]
Figure 1. Ideals lattice of Z 2 4 [ x ] / ( x 2 8 , 2 x ) .
Figure 1. Ideals lattice of Z 2 4 [ x ] / ( x 2 8 , 2 x ) .
Mathematics 12 01099 g001
Table 1. Classification of all singleton local Frobenius and non-Fobenius rings of order 32.
Table 1. Classification of all singleton local Frobenius and non-Fobenius rings of order 32.
Frobenius Rings
Chain RingsNon-Chain RingsNon-Frobenius Rings
Z 2 3 [ x ] / ( x 2 2 , 4 x ) Z 2 3 [ x ] / ( x 2 4 2 x , 4 x )
Z 2 3 [ x ] / ( x 2 + 2 , 4 x ) Z 2 4 [ x ] / ( x 2 8 , 2 x ) Z 2 3 [ x ] / ( x 2 4 , 4 x )
Z 2 3 [ x ] / ( x 2 2 2 x , 4 x ) Z 2 3 [ x ] / ( x 2 , 4 x )
Z 2 4 [ x ] / ( x 2 , 2 x )
Z 2 3 [ x ] / ( x 2 2 x , 4 x )
Table 2. χ for singleton Frobenius local rings of order 32.
Table 2. χ for singleton Frobenius local rings of order 32.
RingAdditive StructureGenerating Character
Z 2 4 [ x ] / ( x 2 8 , 2 x ) Z 2 4 × Z 2 χ ( a + b x ) = ζ a ( 1 ) b
Z 2 3 [ x ] / ( x 2 2 , 4 x ) Z 2 3 × Z 2 2 χ ( a + b x ) = γ a i b
Z 2 3 [ x ] / ( x 2 + 2 , 4 x ) Z 2 3 × Z 2 2 χ ( a + b x ) = γ a i b
Z 2 3 [ x ] / ( x 2 + 2 2 x , 4 x ) Z 2 3 × Z 2 2 χ ( a + b x ) = γ a i b
Table 3. MacWilliams SWE matrices for singleton local Frobenius rings of order 32.
Table 3. MacWilliams SWE matrices for singleton local Frobenius rings of order 32.
RingAssociated MatrixEquivalence Classes
Z 2 4 [ x ] / ( x 2 8 , 2 x ) B 2 { 0 } , U ( R ) , ( 2 ) s o c ( R ) , ( x ) s o c ( R ) , ( x + 2 ) s o c ( R ) , ( x + 4 ) s o c ( R ) , s o c ( R ) { 0 }
Z 2 3 [ x ] / ( x 2 2 , 4 x ) B 1 { 0 } , U ( R ) , J J 2 , J 2 J 3 , J 3 J 4 , s o c ( R ) { 0 }
Z 2 3 [ x ] / ( x 2 + 2 , 4 x ) B 1 { 0 } , U ( R ) , J J 2 , J 2 J 3 , J 3 J 4 , s o c ( R ) { 0 }
Z 2 3 [ x ] / ( x 2 + 2 2 x , 4 x ) B 1 { 0 } , U ( R ) , J J 2 , J 2 J 3 , J 3 J 4 , s o c ( R ) { 0 }
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Alabiad, S.; Alhomaidhi, A.A.; Alsarori, N.A. On Linear Codes over Finite Singleton Local Rings. Mathematics 2024, 12, 1099. https://doi.org/10.3390/math12071099

AMA Style

Alabiad S, Alhomaidhi AA, Alsarori NA. On Linear Codes over Finite Singleton Local Rings. Mathematics. 2024; 12(7):1099. https://doi.org/10.3390/math12071099

Chicago/Turabian Style

Alabiad, Sami, Alhanouf Ali Alhomaidhi, and Nawal A. Alsarori. 2024. "On Linear Codes over Finite Singleton Local Rings" Mathematics 12, no. 7: 1099. https://doi.org/10.3390/math12071099

APA Style

Alabiad, S., Alhomaidhi, A. A., & Alsarori, N. A. (2024). On Linear Codes over Finite Singleton Local Rings. Mathematics, 12(7), 1099. https://doi.org/10.3390/math12071099

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop