Next Article in Journal
New Improvements of the Jensen–Mercer Inequality for Strongly Convex Functions with Applications
Next Article in Special Issue
p-Numerical Semigroups of Triples from the Three-Term Recurrence Relations
Previous Article in Journal
Advanced Methods for Conformable Time-Fractional Differential Equations: Logarithmic Non-Polynomial Splines
Previous Article in Special Issue
On Properties and Classification of a Class of 4-Dimensional 3-Hom-Lie Algebras with a Nilpotent Twisting Map
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

MacWilliams Identities and Generator Matrices for Linear Codes over ℤp4[u]/(u2p3β, pu)

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.
Axioms 2024, 13(8), 552; https://doi.org/10.3390/axioms13080552
Submission received: 21 July 2024 / Revised: 7 August 2024 / Accepted: 8 August 2024 / Published: 14 August 2024

Abstract

:
Suppose that R = Z p 4 [ u ] with u 2 = p 3 β and p u = 0 , where p is a prime and β is a unit in R . Then, R is a local non-chain ring of order p 5 with a unique maximal ideal J = ( p , u ) and a residue field of order p . A linear code C of length N over R is an R-submodule of R N . The purpose of this article is to examine MacWilliams identities and generator matrices for linear codes of length N over R . We first prove that when p 2 , there are precisely two distinct rings with these properties up to isomorphism. However, for p = 2 , only a single such ring is found. Furthermore, we fully describe the lattice of ideals of R and their orders. We then calculate the generator matrices and MacWilliams relations for the linear codes C over R , illustrated with numerical examples. It is important to address that there are challenges associated with working with linear codes over non-chain rings, as such rings are not principal ideal rings.
MSC:
16L30; 94B05; 16P20; 94B60

1. Introduction

Linear codes of length N over a finite ring R are R-submodules of R N . These codes have been traditionally studied over finite fields; however, many significant codes over fields have been related to those over finite rings by Gray maps [1,2,3,4]. In this article, all of the alphabet rings involved are finite, commutative, and have an identity. A ring R is called local if it has a unique maximal ideal, denoted by J (Jacobson radical). When all ideals of R are principal, R is then called the principal ideal ring (PIR). A chain ring is a principal local ring, and thus many conclusions obtained for coding over chain rings also hold over PIRs. One of the main reasons that Frobenius rings, defined later, are considered the appropriate class to describe codes is because they satisfy both MacWilliams theorems. Furthermore, Frobenius local rings can be decomposed into their component parts and this enables us to find their generating characters. To fully understand codes over Frobenius rings, it is therefore necessary, despite the challenges, to consider local non-chain rings [5,6,7]. For more information on the subject, please refer to [5,8,9,10,11] and the references therein.
In this work, the main purpose is to obtain significant coding results over Frobenius local rings. In particular, linear codes of length N over the ring Z p 4 [ u ] / ( u 2 p 3 β , p u ) , are the focus of this paper. Prior work on these rings was presented in [12], emphasizing their applicability to coding theory, and their close connection to Z p n and linear binary codes [3]. Our attention is also on exploring the roles of generator matrices and MacWilliams relations in error-correction theory, particularly in their role to weight enumerators of a code and its dual code. The authors of [6] considered these approaches for Frobenius local rings of order 16. While in [7], generator matrices and the MacWilliams relations were described for codes over rings of order 32. This work makes an effort to build on the previous findings and provides access to more general rings with higher orders. Let R = Z p 4 [ u ] , with u 2 = β p 3 and p u = 0 as conditions, where β U ( R ) , the unite group of R . Initially, we provide a formula for a generating character χ associated with R , through which we can calculate the MacWilliams relations as matrices of specific sizes for a code C over R . For codes over non-chains, it is more challenging to build a generator matrix G than for codes over chains. Although a simple set of generators can still be found, this type of generator matrix may not provide straightforward information about the code size. In this research, we introduce multiple numerical examples that show the code size might not always determined directly from such a generator matrix. Additionally, the generator matrix G of a code C is completely determined through the algorithm described in Theorem 8.
In Section 3, the classification of rings of the form Z p n [ u ] / ( u 2 p n 1 β , p u ) , with invariants p , n , 1 , 1 , n 1 is described, after the initial definitions and results in Section 2. Particular attention is given to providing all the details necessary to characterize rings of order p 5 and to outline the lattice of their ideals. Section 4 provides the general procedure for generating characters for Z p 4 [ u ] / ( u 2 p 3 β , p u ) . Additionally, the symmetrized weight enumerator’s corresponding to the matrix is acquired, and MacWilliams relations are derived. In Section 5, the findings regarding matrices that produce linear codes over such rings are presented.

2. Preliminaries

The notations and basic information that will be used later in our discussion are introduced in this section. Let R be a local ring of identity, and let J be its maximal ideal. For the results mentioned in this section, we refer readers to [4,12,13,14,15,16].
The order of J is p ( m 1 ) r provided J m = 0 , and the size of R , is R = p m r with R / J G F p r = F . In R, the characteristic takes the form p n , and 1 n m . Additionally, R has a subring R 0 , of the form G R ( p n , r ) , called a Galois ring with p , n , r . Moreover, there is u J , and
R = R 0 + u R 0 , J = p R 0 + u R 0 .
If J is principal, then R is chain, and particularly when J = ( p ) , we have n = m and
R = Z p n [ α ] Z p n [ x ] / ( g ( x ) ) ,
where α is a root of a specific polynomial g ( x ) Z p n [ x ] . Let
Γ ( r ) = ( α ) { 0 } = { 0 , 1 , α , α 2 , , α p r 2 } ; Γ * ( r ) = ( α ) = { 1 , α , α 2 , , α p r 2 } .
Suppose γ R , so
γ = α 1 + p α 1 + p 2 α 2 + + p n 1 α n 2 ( p - adic expression ) .
where α i Γ ( r ) . Furthermore, assume that t is the smallest number with condition of p t u = 0 . We label p , n , r and t as the parameter (invariants) of R .
In our later discussion, we use r = 1 and t = 1 . This implies that R 0 = Z p n and p u = 0 . In addition, we consider g ( x ) as
g ( x ) = x 2 p ( n 1 ) β ,
where β Γ * ( 1 ) . From [12],
R = Z p n [ u ] / ( u 2 p ( n 1 ) β , p u ) ,
where ( p , n , r , t , d ) = ( p , n , 1 , 1 , n 1 ) .
The total sum of all minimal ideals in R is what we define as the socle of R , also known as soc ( R ) . As R is commutative, thus
s o c ( R ) = { v R : v ann ( J ) } , ann ( J ) = { a R : a y = 0 , for all y J } .
We will highlight the definition of Frobenius rings that is most pertinent to our analysis. In [14], R is called Frobenius if
R / J s o c ( R ) .
Let Hom Z ( R , C * ) denote the character group of ( R , + ) , then elements of Hom Z ( R , C * ) are called characters χ of ( R , + ) . If ker χ has no non-trivial ideals of R , then χ is named a generating character.
Theorem 1
(Honold [14]). Let R be a finite ring. Then, soc ( R ) is cyclic, if and only if R is a Frobenius ring.
A code C of length N over R is a subset of R N ; it is called a linear code if C is a submodule [4]. Furthermore, by including the inner-product (·) in R N , we can define the dual code C of C as follows
C = { u : c · u = 0 , c C } .

3. On the Ring Z p n [ u ] / ( u 2 p ( n 1 ) β , pu )

In this section, we prove some results on the ring R = Z p n [ u ] / ( u 2 p ( n 1 ) β , p u ) which is a finite ring of order p n + 1 and with residue field F = Z p . These results help us in the subsequent discussion.
Theorem 2.
The ring R = Z p n [ u ] / ( u 2 p n 1 β , p u ) is a Frobenius local ring.
Proof. 
As each element of R is uniquely written a + b u , where a Z p n and b Γ ( 1 ) . Also, as J = ( p , u ) , then R is a local ring of order p n + 1 and J n = 0 . In fact, R is a local ring with a singleton basis and p , n , 1 , 1 . We now prove that R is Frobenius. Because elements of soc ( R ) annihilates J = ( p , u ) , particularly p u = 0 , p n 1 p = 0 , then p n 1 J = 0 . Thus, p n 1 soc ( R ) . Suppose x soc ( R ) and x 0 . Then, x J = 0 ; in particular, x u = 0 . This implies that x ( p ) , but as x p = 0 will also lead to x ( p n 1 ) . Hence,
s o c ( R ) = ( p n 1 ) .
Using Theorem 1, R is Frobenius. ☐
Corollary 1.
As J = ( p , u ) , then R is a non-chain singleton ring.
Remark 1.
For any Frobenius local ring R with invariants p , n , r and t = 1 , then
s o c ( R ) = ( p n 1 ) .

3.1. Determination of Rings of Order p n + 1 with p , n , 1 , 1 , n 1

An exhaustive characterization of all rings with p , n , 1 , 1 , n 1 is given by Theorem 3, which is essential for our upcoming discussion.
Theorem 3.
Assume that R is a ring and that ( p , n , r , t , d ) = ( p , n , 1 , 1 , n 1 ) is its invariant. Then, among the rings given in Table 1, R is isomorphic to one particular ring.
Proof. 
Every element of R is uniquely expressed as a + b u , where a Z p n and b Γ ( 1 ) . As p u = 0 , then the associated polynomial is of the form g ( x ) = x 2 p n 1 β , where β Γ * ( 1 ) . Suppose that p = 2 . As Γ * ( 1 ) = { 1 } , hence there exists precisely one class represented by
R 3 = Z 2 n [ u ] / ( u 2 2 n 1 , 2 u ) .
From now, we assume that p 2 . Consider the usual partition on Γ * ( 1 ) .
A = { β Γ * ( 1 ) : β Γ * ( 1 ) 2 } ; B = { β Γ * ( 1 ) : β Γ * ( 1 ) 2 } .
It is worth noting that A = p 1 2 = B . We next proceed the proof with two cases.
  • Case a. We show that R 1 and R 2 are not isomorphic, that is, they are not in the same class when β A . In contrast, suppose that R 1 R 2 , and define the isomorphism as ϕ . Assuming J ( R 2 ) = ( p , v ) , for some β Γ * ( 1 ) , ϕ ( u ) = β v . Consequently, we note
    ( ϕ ( u ) ) 2 = ϕ ( u 2 ) ( β v ) 2 = ϕ ( p n 1 β ) β 2 v 2 = p n 1 ϕ ( β ) β 2 ( p n 1 ) = p n 1 ϕ ( β ) p n 1 β 2 = p n 1 ϕ ( β ) β 2 = ϕ ( β ) .
    We have ϕ ( β ) = β , because ϕ restricted to Γ ( 1 ) is a fixed isomorphism. Furthermore, because p 2 , this contradicts the assumption about β , and thus β β 2 . Therefore, R 1 R 2 .
  • Case b. When β B . In such a case, there exists β 1 Γ * ( 1 ) such that β = β 1 2 . Note that
    g ( x ) = x 2 p n 1 β = x 2 p n 1 β 1 2 = β 1 2 [ ( β 1 2 ) 1 x 2 p n 1 ] = β 1 2 [ ( β 1 1 x ) 2 p n 1 ] .
    As u is a root of g ( x ) , then g ( u ) = 0 , and hence u 2 p n 1 β = 0 . This implies that, from the above argument, β 1 2 [ ( β 1 1 u ) 2 p n 1 ] = 0 . Thus, ( β 1 1 u ) 2 p n 1 = 0 . This suggests that g ( x ) for R 1 can be taken as g ( x ) = x 2 p n 1 , which is identical to that of R 2 . As a result, R 1 R 2 . To sum up, we have two classes of such rings that are not isomorphic
    Ω 1 : All rings with associated polynomials g ( x ) = x 2 p n 1 β , where β A ; Ω 2 : All rings with associated polynomials g ( x ) = x 2 p n 1 β , where β B .
    The first class is represented by
    R 1 = Z p n [ u ] / ( u 2 p n 1 β , p u ) ,
    where β is any element in A . While the second class is represented by
    R 2 = Z p n [ u ] / ( u 2 p n 1 , p u ) .
Corollary 2.
Let N ( p , 4 , 1 , 1 , 3 ) be the number rings with ( p , 4 , 1 , 1 , 3 ) . Then,
N ( p , 4 , 1 , 1 , 3 ) = 1 , i f p = 2 ; 2 , i f p 2 .
Proof. 
The proof is direct from the proof of Theorem 3 with n = 4 and d = n 1 . ☐

3.2. Lattice of Ideals of R

Theorem 4.
The ideals of R is given by the following lattice (see Figure 1).
Proof. 
Consider a proper ideal of R, I. As R is local, J represents the only maximal ideal of R; hence, I J . This indicates that I is generated by a combination of p and u and their powers. Given that p u = 0 and u 2 = β p n 1 , we have ( p i + u 2 ) = ( p i , u 2 ) = ( p j ) , where j = min { i , n 1 } . Thus, we only consider ideals generated by p i and u and their combinations. In other words, without raising J to a power, there are only n choices for I , namely
( 1 ) , ( p i ) , ( v p i + u ) , ( p i , u ) ,
where v U ( R ) and i = 1 , 2 , , n . First, note that ( v p i + u ) = ( p i + w ) , where w = v 1 u . It is clear that ( p i + u ) ( p i , u ) and ( p i , u ) ( p j , u ) , and, moreover, ( p i + u ) ( p j + u ) , where i > j . Thus, if I i = ( p i , u ) and I i = ( p i + u ) ,
I n 2 I n 3 I 2 I 1 ; I n 2 I n 3 I 2 I 1 ; I i I i .
As u 2 = β p n 1 , thus I n 1 = ( p n 1 , u ) = ( p n 1 + u ) = ( u ) = I 0 . Finally, we justify that J i = ( p i ) , where i > 1 . As p u = 0 , then J i = ( p i , u i ) . If i = 2 , then J 2 = p 2 ( 1 , p n 3 β ) = ( p 2 . ) Now, if i > 2 , then u i = 0 , and hence J i = ( p i ) . Therefore, the results follow. ☐
Corollary 3.
Suppose R as in Theorem 4. Then, for i = 1 , 2 , , n ,
I = p n + 1 , i f I = R ; p n , i f I = J ; p n 1 , i f I = I p ; p 2 , i f I = I 0 ; ( p 1 ) p n i , i f I = I i ; p n i 1 i f I = I i ; p n i i f I = J i .
Remark 2.
Two non-isomorphic rings can have the same ideal lattice.
Remark 3.
Theorem 4 states that every ideal of R contains soc ( R ) .
Example 1.
The ring Z 3 4 [ u ] / ( 3 2 27 , 3 u ) is a Frobenius local non-chain ring. Because d = 3 , t = 1 , the assumption of Theorem 2. Note that soc ( R ) = ( 3 3 ) and s o c ( R ) = F .

3.3. Units of R = Z p n [ u ] / ( u 2 p n 1 β , p u )

The form of the units of R will be established in this subsection, which will be useful in the following section. The elements in R J are the units of R, as R is local. Furthermore, because J = ( p , u ) , if α R J ,
α = a + b u ,
where a Z p n , ( a , p ) = 1 and b R . The elements of Z p n can be written as
a = α 1 + p α 2 + p 2 α 3 + + p n 1 α n ,
where α 1 Γ ( 1 ) * and α i Γ ( 1 ) , for i = 2 , 3 , , n . Thus, α U ( R ) can be expressed as
α = β + w x ,
where β Γ ( 1 ) * , w R and x J . In other words,
α = β h ,
where h = 1 + w β 1 x H = 1 + J . Moreover, observe that Γ ( 1 ) * H = 1 , as ( p 1 , p n ) = 1 . Consequently, the following theorem is established.
Theorem 5.
Every element v of U ( R ) is of the form v = x or v = x + α u , where ( x , p ) = 1 and α Γ ( 1 ) * . Moreover, U ( R ) is of order ( p 1 ) p n and
U ( R ) = ( α ) × H .
Example 2.
If R = Z 2 4 [ u ] / ( u 2 2 3 β , 2 u ) , then the units of R are of the form
U ( R ) = { 1 , 3 , 5 , 7 , 9 , 11 , 13 , 15 , 1 + u , 3 + u , 5 + u , 7 + u , 9 + u , 11 + u , 13 + u , 15 + u } .

4. MacWilliams Identities

With p , n , 1 , 1 as invariants and g ( x ) = x 2 p n 1 β , let R be a Frobenius local ring. Theorem 6 outlines a method to produce a generating character χ for any such ring. Suppose γ i is a p n i -root of unity and a i m r for each i .
Theorem 6
([7]). Let R be a ring with p , n , r , t , d . There is q Z , such that q 1 , and
χ ( ω ) = γ 1 a 1 γ 2 a 2 γ q a q ,
is a generating character of R , 1 i q .
The formulas of χ for R are shown in the following Table 2, where γ , δ , and ζ are the p n th, pth, and 2 n th roots of unity, respectively.
The MacWilliams identities for various version of R are now computed. Actually, the class of all Frobenius rings is a broader class of finite rings to which these relationships can be extended. These identities are fundamental to the study of coding theory because they introduce a crucial link between a code’s dual and weight enumerator. Assume the following: The elements in R = { a 1 , a 2 , a 3 , a p ( n + 1 ) } are in that order. Suppose C is a linear code over R with length N. Let us assume that n i ( c ) is the number of instances of a i in c C . The complete weight enumerator is then denoted as
C W E ( C ) = c i a i n i ( c ) .
C W E C ( x a 1 , , x a p ( n + 1 ) ) = 1 C C W E C ( A · x a 1 , , x a p ( n + 1 ) ) ,
where A = ( a i j ) , and a i j = χ ( a i a j ) . We define w t ( c ) = { i : c i 0 } . The Hamming weight (HW) enumerator and its MacWilliams identity are given by
H W C ( a , b ) = c C a N w t ( c ) b w t ( c ) ,
H W C ( a , b ) = 1 C H W C ( a + ( p ( n + 1 ) 1 ) b , a b ) .
Suppose that ∼ is defined on R by x y when there is ω U ( R ) , such that x = ω y . It is evident that this relation is equivalent. Let b ^ 1 , , b ^ q be the equivalence classes and let n i ( c ) calculate the number of elements of b ^ i that occurred in the codeword c. Hence, SWE is defined as follows
S W E C ( x b ^ 1 , , x b ^ q ) = c C i x b ^ i n i ( c ) . ( symmetrized weight enumerator )
We introduce the MacWilliams equation for SWE as
S W E C ( x b ^ 1 , , x b ^ q ) = 1 C S W E C ( S · ( x b ^ 1 , , x b ^ q ) ) ,
where S = ( b i j ) and
b i j = a b ^ j χ ( a i a ) .
As we can notice, once χ is obtained, it is straightforward to obtain the matrix A in Equation (11). Nonetheless, S in Equation (15) necessitates the determination of the classes b ^ i . While it takes more work, this procedure is essential for building S . If we look at the broader case for n , that is, Z p n [ u ] / ( u 2 p n 1 β , p u ) . Note that J = ( p , u ) in this ring, of order ( p 1 ) p 4 , with l = 4 , as its index of nilpotency, and s o c ( R ) = ( p 3 ) . Then, one can obtain the set of b ^ i as follows.
b ^ 1 = { 0 } , b ^ 2 = U ( R ) = { i , i + j u : ( i , p ) = 1 , j = 1 , 2 , , p 1 } , b ^ 3 = ( p ) ( p 2 ) , b ^ 4 = ( u ) s o c ( R ) , b ^ 5 = ( u + p ) ( p 2 ) , b ^ 6 = ( u + p 2 ) ( p 3 ) , b ^ 7 = ( p 2 ) ( p 3 ) , b ^ 8 = ( u + p 3 ) ( p 4 ) , b ^ 9 = ( p 3 ) ( p 4 ) , b j ^ = ( u + p i ) ( p i + 1 ) , b j ^ = ( p i ) ( p i + 1 ) , b ^ n 1 = s o c ( R ) { 0 } = J n 1 { 0 } = ( p n 1 ) .
For a more general case, we have a detailed scheme for finding b i j in the following lemma.
Lemma 1.
Let R = Z p n [ u ] / ( u 2 p n 1 , p u ) . Then,
b i j = b j ^ , i f a i b j ^ = { 0 } ; 0 , i f p n 1 a i b j ^ ; ( 1 ) 1 p 1 b j ^ , i f p n 1 a i b j ^ .
Proof. 
Suppose that a i b j ^ = { 0 } , then b i j = b b j ^ χ a i b = b b j ^ 0 = b j ^ . For the other cases, assume that a i b j ^ { 0 } . First, let p n 1 a i b j ^ . As soc ( R ) = ( p n 1 ) , then p n 1 = α y , where α Γ * ( 1 ) and y b j ^ are a representative of b j ^ . Now, also suppose that x a i b j ^ , then x = a i y for some y in b j ^ . It follows that x = γ p n 1 , where γ Γ * ( 1 ) . This means that all elements of a i b j ^ are of the form α p n 1 , which can be interpreted as the set a i b j ^ is just copies of soc ( R ) . Thus,
b i j = N 0 α Γ * ( 1 ) e ( 2 π i ) α p .
However, we have the following formula for complex numbers,
1 + j = 1 p 1 e ( 2 π i ) j p = 0 .
The positive N 0 reflects the number of copies of soc ( R ) , which is precisely N 0 = 1 p 1 b j ^ Therefore,
b i j = ( 1 ) 1 p 1 b j ^ .
The last case of the proof can be achieved similarly by noting that every element of a i b j ^ can be expressed as x + α p n 1 , where α Γ ( 1 ) . In such a case,
b i j = x χ ( x ) α Γ ( 1 ) χ ( α p n 1 ) .
Hence, by Equation (16), we conclude the results. ☐
Theorem 7.
The S matrix for R = Z p 4 [ u ] / ( u 2 p 3 , p u ) is given as
S ( p , 4 , 1 , 1 , 3 ) = 1 ( p 1 ) p 4 ( p 1 ) p 2 ( p 1 ) p ( p 1 ) p 2 ( p 1 ) p ( p 1 ) p ( p 1 ) 1 0 0 0 0 0 0 1 1 0 0 ( p 1 ) p 0 p p ( p 1 ) 1 0 ( p 1 ) p 2 p p 2 p p ( p 1 ) ( p 1 ) 1 0 0 p 0 p p ( p 1 ) 1 0 p 2 p ( p 1 ) p 2 p p ( p 1 ) ( p 1 ) 1 0 p 2 ( p 1 ) p p 2 ( p 1 ) p ( p 1 ) p ( p 1 ) 1 p 4 ( p 1 ) p 2 ( p 1 ) p ( p 1 ) p 2 ( p 1 ) p ( p 1 ) p ( p 1 ) .
Proof. 
Let us assume that the elements of R are ordered as follows: if i , j Z p 4 , then i comes before j if i < j as an integer, and i + u comes before j + u if i precedes j . The equivalency classes are therefore
b 1 ^ = { 0 } , b ^ 2 = U ( R ) = { i , i + j u : ( i , p ) = 1 } , b 3 ^ = ( p ) ( p 2 ) , b 4 ^ = ( u ) s o c ( R ) , b 5 ^ = ( u + p ) ( p 2 ) , b 6 ^ = ( u + p 2 ) s o c ( R ) , b 7 ^ = ( p 2 ) s o c ( R ) , b 8 ^ = s o c ( R ) { 0 } = J 3 { 0 } = ( p 3 ) .
Thus, by using Lemma 16 and after making the necessary computations, the results are obtained. ☐
Remark 4.
The matrix S can be obtained for R when n > 4 , but the computations will be tedious.
We then move on to a numerical demonstration of these computations and their steps for examples of rings with 3 5 . We will first concentrate on comprehending b i ^ under ∼ before building S .
Example 3.
Suppose that R = Z 3 4 [ u ] / ( u 2 3 3 , 3 u ) . Assuming the order for the elements of R as:
a 1 = 0 , a 2 = 1 , a 3 = 3 , a 4 = u , a 5 = u + 3 , a 6 = u + 9 , a 7 = 9 , a 8 = 27 .
We then compute S, which requires a large number of calculations. The b ^ i for R that we must obtain are listed as
b 1 ^ = { 0 } , b ^ 2 = U ( R ) = { i , i + j u : ( i , 3 ) = 1 , j = 1 , 2 } , b 3 ^ = ( 3 ) ( 9 ) , b 4 ^ = ( u ) s o c ( R ) , b 5 ^ = ( u + 3 ) ( 9 ) , b 6 ^ = ( u + 9 ) s o c ( R ) , b 7 ^ = ( 9 ) s o c ( R ) , b 8 ^ = s o c ( R ) { 0 } = J 3 { 0 } = ( 27 ) .
Therefore, by Theorem 7, we obtain
S ( 3 , 4 , 1 , 1 , 3 ) = 1 162 18 6 18 6 6 2 1 0 0 0 0 0 0 1 1 0 0 6 0 3 3 2 1 0 18 3 9 3 6 2 1 0 0 3 0 3 3 2 1 0 9 6 9 3 6 2 1 0 9 6 9 6 6 2 1 81 18 6 18 6 6 2
As a summary, we introduce Table 3 to present S and b ^ i .
Remark 5.
From the above discussion, S is an equivalent matrix for every ring that is examined in this article.

5. Generator Matrices

The remaining content of the article is devoted to Frobenius local rings of order p 5 ,
R = Z p 4 [ u ] / ( u 2 p 3 β , p u ) .
Definition 1.
If the vectors with coefficients from J cannot be combined linearly in a nontrivial way to equal the zero vector, we refer to the vectors v 1 , , v e as modularly independent. When the rows of G independently produce the code C, then G is a generator matrix over the ring R.
Remark 6.
Every linear code C over R has a generator matrix G and this matrix is unique up to raw equivalency.
This section finds matrices G that produce linear codes over R . Building a generator matrix G for codes over non-chains is more difficult than for those over chains. This kind of generator matrix might not provide straightforward information about the code size or number of codewords, even though one can still locate a basic set of generators.
Figure 2 above illustrates ideals of R . As J = p 4 , ( p ) = ( u ) = ( u + p ) = ( p 2 , u ) = p 3 , ( u + p 2 ) = ( p 2 ) = p 2 and ( p 3 ) = s o c ( R ) = p . Therefore, the goal of this section is to produce a collection of independent modular elements that function as a code’s generator matrix’s rows. A complete description of the structure of G is given by the following theorem.
Theorem 8.
Assume C is a linear code with N over R = Z p 4 [ u ] / ( u 2 p 3 β , p u ) . Thus, for any C, any G is raw equivalent to
Axioms 13 00552 i001
where Aij are matrices of various sizes.
Proof. 
Let G be a matrix such that the rows r i ’s of the matrix produce C as an R-module. Every column containing a unit is moved to the left of G . We obtain a matrix of the form by row reduction on those columns,
G = I e 0 * 0 A
Now, not every element in A is a unit. To transform the matrix into the next form, we shift all columns containing elements of J = ( 2 , π ) to the left once more and apply the primary row operations.
G = I e 0 * * 0 p * 0 u * 0 0 A 1
We continue with this algorithm, making sure that the matrix A 1 is created by putting elements in columns such that they form a pair ( p , u ) . We keep doing this until the matrix takes on the form that we want.
Axioms 13 00552 i002
where only one of (p), (u), (p + u), and (p2 + u) is represented by the elements of the matrix A2’s columns. We will now move over to the matrix A2. The four ideals are (u), (p2 + u), (p), and (p + u). We choose a particular ordering for each ideal for the sake of producing a one expression of the matrix. The matrix will be constructed using this selected order consistently. Assuming v is a unit of R, we proceed as follows: columns with entries of the form uv, columns with elements of the form (u + p2)v, and finally columns with elements of the form (p)v. Lastly, we address columns that take the form (u + p)v. We carry out row reduction in the standard way in each step. Observe that both (p) and (u + p) contain the ideal (p2). Consequently, we redo similar a process with (p2) as the remaining column entries will come from (p2).
Axioms 13 00552 i003
Finally, every component of A3 originates from the ideal that p3 generates. We obtain a matrix that precisely corresponds to the desired form by removing any rows that contain only zeros and completing one last row reduction round. ☐
Proposition 1.
If v R N , and M = ( v ) is a R-submodule. Then, M { p 5 , p 4 , p 3 , p 2 , p , 0 } .
Proof. 
Let I be an ideal created by the vector v ’s coordinates. Also, let T = annl ( I ) . Then,
M = R T = I .
By Figure 2, I { p 5 , p 4 , p 3 , p 2 , p , 0 } .
Theorem 9.
Let M = ( w , v ) be R-submodule, where the coordinates of w,v are not units of R. Thus,
M { p 8 , p 7 , p 6 , p 5 , p 4 , p 3 , p 2 } .
Proof. 
From Proposition 1, we have M p 8 . As ( p 3 ) = p , then p 2 M .
Example 4.
To have a code C over R = Z p 4 [ u ] / ( u 2 p 3 , p u ) of order p 4 , set N = 1 with C = ( p , u ) . Then, C = p 4 . Meanwhile, to construct C with size p 5 , suppose C = ( w , v ) with N = 2 , w = ( p , u ) and v = ( u , p ) . This implies C = p 5 . Take N = 4 , w = ( p , 0 , u , p ) and v = ( u , p , 0 , 0 ) . Hence, C = p 8 . Therefore,
C ( w ) ( v ) .
Example 5 shows a minimal set of generators may not exist for C over a (non-chain) Frobenius local, which makes the code more complex. Stated differently, it highlights the differences in coding over chain rings and that over non-chain rings.
Example 5.
Let G be a generator matrix of the code C over Z p 4 [ u ] / ( u 2 p 3 , 2 u ) of the form
p u u 0 0 p .
Assuming that M 1 represents the R-submodule produced by r 1 and r 2 of G , and M 2 the R-submodule produced by r 3 G ,
M 1 M 2 ϕ .
This indicates that the module C cannot be reduced.

6. Conclusions

We conclude that, up to isomorphism, all rings of the form R = Z p n [ u ] with u 2 = p n 1 β and p u = 0 have been successfully classified in terms of p , n , 1 , 1 , n 1 . Furthermore, generator matrices and MacWilliams relations for linear codes over such rings have been discovered. These are popular and effective tools for encoding data over chain rings; codes over local non-chain rings may not be able to achieve such a case. The challenge is in identifying a smallest number of generators and counting the code size because non-chain local rings are not PIRs. This restriction suggests that in order to effectively handle such an issue, different approaches or strategies are needed.

Author Contributions

Conceptualization, S.A. and A.A.A.; methodology, S.A. and A.A.A.; formal analysis, S.A., A.A.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 conflict of interest.

References

  1. 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]
  2. Greferath, M. Cyclic codes over finite rings. Discrete Math. 1997, 177, 273–277. [Google Scholar] [CrossRef]
  3. 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]
  4. Alabiad, S.; Alkhamees, Y. Constacyclic codes over finite chain rings of characteristic p. Axioms 2021, 10, 303. [Google Scholar] [CrossRef]
  5. Yildiz, B.; Karadeniz, S. Linear codes over 4+uℤ4: MacWilliams identities, projections, and formally self-dual codes. Finite Fields Their Appl. 2014, 27, 24–40. [Google Scholar] [CrossRef]
  6. 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]
  7. Alabiad, S.; Alhomaidhi, A.A.; Alsarori, N.A. On Linear Codes over Finite Singleton Local Rings. Mathematics 2024, 12, 1099. [Google Scholar] [CrossRef]
  8. 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]
  9. 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]
  10. 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]
  11. 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]
  12. Alkhamees, Y.; Alabiad, S. The structure of local rings with singleton basis and their enumeration. Mathematics 2022, 10, 4040. [Google Scholar] [CrossRef]
  13. Raghavendran, R. Finite associative rings. Compos. Math. 1969, 21, 195–229. [Google Scholar]
  14. Honold, T. Characterization of finite Frobenius rings. Arch. Math. 2001, 76, 406–415. [Google Scholar] [CrossRef]
  15. 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]
  16. Wood, J.A. Duality for modules over finite rings and applications to coding theory. Am. J. Math. 1999, 121, 555–575. [Google Scholar] [CrossRef]
Figure 1. Lattice of ideals of R = Z p n [ u ] / ( u 2 p n 1 β , p u ) .
Figure 1. Lattice of ideals of R = Z p n [ u ] / ( u 2 p n 1 β , p u ) .
Axioms 13 00552 g001
Figure 2. Lattice of ideals of R = Z 3 4 [ u ] / ( u 2 3 3 β , 3 u ) .
Figure 2. Lattice of ideals of R = Z 3 4 [ u ] / ( u 2 3 3 β , 3 u ) .
Axioms 13 00552 g002
Table 1. Rings of order p n + 1 with p , n , 1 , 1 , n 1 .
Table 1. Rings of order p n + 1 with p , n , 1 , 1 , n 1 .
p 2 p = 2
R 1 = Z p 4 n [ u ] / ( u 2 p n 1 β , p u )
R 2 = Z p n [ u ] / ( u 2 p n 1 , p u ) R 3 = Z 2 n [ u ] / ( u 2 2 n 1 , 2 u )
Table 2. χ for the ring R.
Table 2. χ for the ring R.
Ring ( R , + ) χ
Z 2 n [ u ] / ( u 2 2 n 1 , 2 u ) Z 2 4 × Z 2 χ ( a + b u ) = ζ a ( 1 ) b
Z p n [ u ] / ( u 2 p n 1 , p u ) Z p n × Z p χ ( a + b u ) = γ a δ b
Table 3. S and b ^ i for Z p 4 [ u ] / ( u 2 p 3 , p u ) .
Table 3. S and b ^ i for Z p 4 [ u ] / ( u 2 p 3 , p u ) .
RingS b ^ i
Z p 4 [ u ] / ( u 2 p 3 β , p u ) S ( p , 4 , 1 , 1 , 3 ) { 0 } , U ( R ) , ( p ) ( p 2 ) , ( u ) s o c ( R ) , ( u + p ) ( p 2 ) , ( u + p 2 ) ( p 3 ) , ( p 2 ) ( p 3 ) , ( p 3 ) { 0 }
Z p 4 [ u ] / ( u 2 p 3 , p u ) S ( p , 4 , 1 , 1 , 3 )
Z 2 4 [ u ] / ( u 2 2 3 , 2 u ) S ( 2 , 4 , 1 , 1 , 3 ) { 0 } , U ( R ) , ( 2 ) ( 4 ) , ( u ) s o c ( R ) , ( u + 2 ) ( 4 ) , ( u + 4 ) ( 8 ) , ( 4 ) ( 8 ) , ( 8 ) { 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. MacWilliams Identities and Generator Matrices for Linear Codes over ℤp4[u]/(u2p3β, pu). Axioms 2024, 13, 552. https://doi.org/10.3390/axioms13080552

AMA Style

Alabiad S, Alhomaidhi AA, Alsarori NA. MacWilliams Identities and Generator Matrices for Linear Codes over ℤp4[u]/(u2p3β, pu). Axioms. 2024; 13(8):552. https://doi.org/10.3390/axioms13080552

Chicago/Turabian Style

Alabiad, Sami, Alhanouf Ali Alhomaidhi, and Nawal A. Alsarori. 2024. "MacWilliams Identities and Generator Matrices for Linear Codes over ℤp4[u]/(u2p3β, pu)" Axioms 13, no. 8: 552. https://doi.org/10.3390/axioms13080552

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