Preprint
Article

Codes with Weighted Poset Metrics Based on the Lattice of Subgroups of Z_m

This version is not peer-reviewed.

Submitted:

19 October 2024

Posted:

21 October 2024

You are already at the latest version

A peer-reviewed article of this preprint also exists.

Abstract
By combining a lattice subgroup diagram of Z_m with a weighted poset metric, we introduce a new weighted coordinates poset metric for codes over Z_m , called LS-poset metric. When I is an ideal in a poset, the concept of I-perfect codes with LS-poset metric is investigated. We obtain a Singleton bound for codes with LS-poset metric and define MDS codes. When the poset in poset metric is a chain, we provide sufficient conditions for a code with LS-poset metric to be r-perfect for some r ∈ N .
Keywords: 
;  ;  ;  

1. Introduction

The concept of poset metric codes over a finite field F q was introduced by Brualdi (see [2]) in 1995. Over the past two decades, coding theory has seen significant developments through the study of codes in the poset metric. This generalization of classical coding metrics has opened up new avenues for research and applications, particularly in scenarios where traditional metrics like the Hamming or Lee distance are not sufficient to model the complexities of error patterns. We refer to [1,3,5,6,7] for some results on poset metric spaces such as packing radius, the existence of r-error-correcting codes, perfect codes, and group of isometries. In 2018, the pomset metric was introduced by the authors in [8] to accommodate Lee metric for codes over Z m . This metric is a further generalization of the poset metric and is based on the concept of pomsets, or partially ordered multisets. In both the poset and pomset metrics, the Singleton bound, MDS and I-perfect property for codes are studied (see [4,9]).
Both the poset and pomset metrics are constructed based on the structure of posets. The structure of a poset serves as the foundation for defining these metrics, as it establishes the relationships and dependencies between the elements of the codeword positions. In the present paper, we introduces a weighted poset metric based on subgroups diagram of Z m . By using the poset of the power set of a multiset, we can effectively visualize the subgroup relationships in Z m . The poset captures the inclusion relationships between subgroups, while the multiset represents the different ways subgroups can be generated based on the divisors of m. This approach is especially powerful for cyclic groups where the subgroup structure is tightly related to the divisors of the group’s order.

1.1. Poset Metrics

Let P = ( [ n ] , P ) be a poset on the set [ n ] : = { 1 , 2 , , n } of coordinates of a vector in F q n (or Z m n ). For I [ n ] , I is called an (order) ideal of P if i I , j P i imply that j I . For a subset S of P, we denote S the smallest ideal containing S. Given a vector x = ( x 1 , , x n ) F q n , the support of x is supp ( x ) = { i [ n ] : x i 0 } . The poset weight of x is defined as
w P ( x ) : = | supp ( x ) | .
For x , y F q n , the poset distance between x and y is
d P ( x , y ) : = w P ( x y ) .
It was shown in [2] that d P is a metric on F q n . Notice that the poset metric d P simplifies to the Hamming metric d H when the poset P is an antichain.

1.2. Multisets and Pomsets

For given a nonempty set X and a map c : X N 0 , an mset M is considered as a pair M = ( X , c ) . We write a n M (or n / a M ), if c ( a ) n > 0 , (i.e., a occurs in M at least n times).
An mset M = ( X , c ) , drawn from X = { a 1 , a 2 , , a t } , is represented as
M = { k 1 / a 1 , k 2 / a 2 , , k t / a t } ,
where c ( a i ) = k i > 0 for i = 1 , , t . If k / a M , then r / a M for all 1 r k . The cardinality of an mset M = ( X , c ) is defined as | M | = x X c ( x ) .
For m N , we denote M m ( X ) as the (regular) mset of height m drawn from the set X such that all elements of X occur with the same multiplicity m, i.e., | M m ( X ) | = m | X | . The mset space [ X ] m is the set of all msets drawn from X such that no element in an mset occurs more than m times.
A submultiset (or submset) of an mset M = ( X , c ) is a multiset S = ( X , c S ) such that c S ( x ) c ( x ) for all x X . For an mset M = ( X , c ) , the set M * = { x X : c ( x ) > 0 } is called the root set of M.
For two msets M 1 = ( X , c 1 ) and M 2 = ( X , c 2 ) , we list some definitions of operatations in msets [8] as follows:
  • The addition(sum) of M 1 and M 2 is the mset M 1 M 2 = ( X , s ) , where
    s ( x ) = c 1 ( x ) + c 2 ( x ) for all x X .
  • The subtraction (difference) of M 1 from M 2 is the mset M 2 M 1 = ( X , d ) , where
    d ( x ) = max { c 2 ( x ) c 1 ( x ) , 0 } for all x X .
  • The union of M 1 and M 2 is the mset M 1 M 2 = ( X , u ) , where
    u ( x ) = max { c 1 ( x ) , c 2 ( x ) } for all x X .
  • The intersection of M 1 and M 2 is the mset M 1 M 2 = ( X , i ) , where
    i ( x ) = min { c 1 ( x ) , c 2 ( x ) } for all x X .
For M 1 , M 2 [ X ] m , the mset sum M 1 M 2 = ( X , s ) [ X ] m , where s ( x ) = min { m , c M 1 ( x ) + c M 2 ( x ) } for all x X . Given a submset S = ( X , b ) of an mset M m ( X ) , the complement of S is an mset S c = ( X , b c ) [ X ] m , where b c ( x ) = m b ( x ) for all x X .
For two msets M 1 , M 2 drawn fron a set X, we define the cartesian product M 1 × M 2 by M 1 × M 2 : = { r s / ( r / x , s / y ) : r / x M 1 , s / y M 2 } . A submset R = ( M × M , g ) of M × M is said to be an mset relation on M if g ( r / x , s / y ) = r s .
An mset relation R on M is called a partially ordered mset relation (or pomset relation) R on M if the following properties are all satisfied:
(1)
[reflexivity] m / x M , ( m / x , m / x ) R ,
(2)
[antisymmetry] if ( m / x , n / y ) , ( n / y , m / x ) R m = n , x = y , and
(3)
[transitivity] if ( m / x , n / y ) , ( n / y , k / z ) R ( m / x , k / z ) R .
Notice that if ( m / x , m / x ) R , then ( r / x , s / x ) R for all 1 r , s m .
For given a poset P = ( X , P ) , we define the pomset relation P on M m ( X ) having P-shape by
P : = { m 2 / ( m / a , m / a ) , m 2 / ( m / a , m / b ) : a , b X , a P b } .
The pair ( M m ( X ) , P ) is known as a partially ordered multiset (pomset), denoted by P .
The dual pomset of the pomset P = ( M m ( X ) , P ) , denoted by P ˜ , is the pomset on M m ( X ) having P ˜ -shape, where P ˜ is the dual poset of P. That is, m / a P m / b in P if and only if m / b P ˜ m / a in P ˜ .
Let S be a submset of M m ( X ) in a pomset P = ( M m ( X ) , P ) . An element t / a S is said to be a maximal element in S if there is no element k / c S ( c a ) such that t / a P k / c . An element r / b S is said to be a minimal element in S if there is no element k / c S ( c b ) such that k / c P t / b .
Let P = ( M k ( [ n ] ) , P ) be the pomset of height k having P-shape where the poset P = ( [ n ] , P ) . An ideal in P is a submset I M k ( [ n ] ) with the property that if j / b I and i / a P j / b ( a b ) then i / a I . Given a submset S of M k ( [ n ] ) , we denote by S the smallest ideal containing S.
An ideal I of M k ( [ n ] ) is called an ideal with full count if i / a I k / a I ; otherwise, it is called an ideal with partial count.
Example 1.
From the poset P 1 as in Figure 1, we consider the pomset P 1 = ( M 3 ( [ 4 ] ) , P 1 ) . Let I 1 = { 3 / 1 , 3 / 4 } and I 2 = { 3 / 1 , 2 / 2 , 1 / 3 } be ideals with full count and partial count in P 1 , respectively. Then the complements I 1 c = { 3 / 2 , 3 / 3 } and I 2 c = { 1 / 2 , 2 / 3 , 3 / 4 } are ideals with full count and partial count in P ˜ 1 , respectively. Observe that I 1 I 1 c = whereas I 2 I 2 c = { 1 / 2 , 1 / 3 } .
Notice that if I is an ideal with full count in P = ( M k ( [ n ] ) , P ) , then { I , I c } is a partition of M k ( [ n ] ) , that is I I c = and I I c = M k ( [ n ] ) . However, for given any submset J of M k ( [ n ] ) , J J c = M k ( [ n ] ) .

1.3. Pomset Metrics

In the space Z m n with the pomset P = ( M m / 2 ( [ n ] ) , P ) . For a vector x = ( x 1 , , x n ) Z m n , the support of x with respect to Lee weight is defined to be
supp L ( x ) : = { t / i : x i 0 , and t = min { x i , m x i } } .
The pomset weight of x Z m n is defined to be w P ( x ) : = | supp L ( x ) | , and the pomset distance between two vectors x , y in Z m n is defined by d P ( x , y ) : = w P ( x y ) . It is known that the pomset distance is a metric on Z m n (see [8]), and it is called a pomset metric. When the pomset is an antichain, there is no hierarchical structure to influence the weight calculation, making the pomset metric equivalent to the Lee metric in terms of how the weight of the codeword is computed.

2. An Ordinal Product

Let A = { n 1 / a 1 , n 2 / a 2 , , n t / a t } be an mset with A * = { a 1 , a 2 , , a t } . Then | A | = i = 1 t n i . Let P ( A ) be the power set of the mset A. With a slight change of notation, we will use a i 1 [ t i 1 ] a i 2 [ t i 2 ] a i s [ t i s ] for the mset { t i 1 / a i 1 , t i 2 / a i 2 , , t i s / a i s } P ( A ) . Here we let P ( A ) : = P ( A ) { } .
Note that we may write a i [ 0 ] to indicate that a i does not appear. For α 1 , α 2 P ( A ) , which α 1 = a 1 [ l 1 ] a 2 [ l 2 ] a t [ l t ] and α 2 = a 1 [ h 1 ] a 2 [ h 2 ] a t [ h t ] , define the mset sum  α 1 α 2 = a 1 [ s 1 ( a 1 ) ] a 2 [ s 2 ( a 2 ) ] a t [ s t ( a t ) ] P ( A ) , where s i ( a i ) = min { n i , l i + h i } for all i = 1 , , t .
For each α = a i 1 [ t i 1 ] a i 2 [ t i 2 ] a i s [ t i s ] P ( A ) with α A , the dual of α is
α ^ = a i 1 [ n i 1 t i 1 ] a i 2 [ n i 2 t i 2 ] a i s [ n i s t i s ] P ( A ) ,
which α α ^ = A .
Under the submset relation A , ( P ( A ) , A ) is a partially ordered set, denoted by P A . For each α P ( A ) , we denote α the ideal in P ( A ) having α as its maximum element. It is clear that A = P ( A ) . For example, let a [ 1 ] b [ 2 ] , b [ 3 ] P ( a [ 2 ] b [ 3 ] ) . Then a [ 1 ] b [ 2 ] = { a [ 1 ] b [ 2 ] , a [ 1 ] b [ 1 ] , b [ 2 ] , a [ 1 ] , b [ 1 ] } , and b [ 3 ] = { b [ 3 ] , b [ 2 ] , b [ 1 ] } .
Remark 1.
For α = a i 1 [ t i 1 ] a i 2 [ t i 2 ] a i s [ t i s ] P ( A ) , we have | α | = j = 1 s t i j , and | α | = j = 1 s ( t i j + 1 ) 1 .
Given a poset P = ( [ n ] , P ) , we define a relation γ on [ n ] × P ( A ) by
( i , α ) γ ( j , β ) i = j and α A β i P j where i j .
It is clear that ( [ n ] × P ( A ) , γ ) is a poset, denoted by P × P A . By the property of any ideal in a poset that contains every element smaller than or equal to some of its elements, we have that if ( i , α ) I and I is an ideal in P × P A , then { i } × α I .
An ideal I in P × P A = ( [ n ] × P ( A ) , γ ) is called an ideal with full count if ( i , α ) I ( i , A ) I ; otherwise, it is also called an ideal with partial count. Let I ( P × P A ) be the set of all ideal in P × P A . For I I ( P × P A ) , we denote
ω I f : = { i [ n ] : ( i , A ) I } , and ω I p : = { i [ n ] : ( i , A ) I but ( i , α ) I for some α P ( A ) } .
Given an ideal with partial count I in P × P A and for i ω I p , we let A ( I ; i ) : = { α P ( A ) : ( i , α ) I } . An ideal I in P × P A is called normal if i ω I p , A ( I ; i ) = α i for some α i P ( A ) . We denote by I ( P × P A ) the collections of normal ideals in I ( P × P A ) .
The dual poset with respect toP of P × P A is the poset P ˜ × P A , where P ˜ is the dual poset of P. Let I I ( P × P A ) . The complement of I, denoted by I C , is a normal ideal in the dual poset P ˜ × P A which satisfies:
(i)
ω I p C = ω I p and ω I f C = [ n ] ( ω I f ω I p ) , and
(ii)
for i ω I p C , A ( I C ; i ) = α ^ i , where A ( I ; i ) = α i for some α i P ( A ) .
Example 2.
Consider the poset P 3 = ( [ 6 ] , P 3 ) as in Figure 1, and the mset A = a [ 3 ] b [ 2 ] . Let I 1 , I 2 , I 3 I ( P 3 × P A ) be defined by
I 1 = { 1 , 2 } × a [ 3 ] b [ 2 ] { 4 } × a [ 2 ] b [ 2 ] , I 2 = { 1 } × a [ 3 ] b [ 2 ] , a n d I 3 = { 1 } × a [ 1 ] b [ 2 ] a [ 3 ] .
It can see that | I 1 | = 30 , | I 2 | = 11 , and | I 3 | = 7 . We have I 1 and I 3 are ideals with partial count such that I 1 = ( 4 , a [ 2 ] b [ 2 ] ) and I 3 = { ( 1 , a [ 1 ] b [ 2 ] ) , ( 1 , a [ 3 ] ) } , and I 2 is an ideal with full count such that I 2 = ( 1 , a [ 3 ] b [ 2 ] ) . Clearly, I 1 and I 2 are normal, but I 3 is not normal. For the complements of I 1 and I 2 , we have
I 1 C = { 3 , 5 , 6 } × a [ 3 ] b [ 2 ] { ( 4 , a [ 1 ] ) } , a n d I 2 C = { 2 , 3 , 4 , 5 , 6 } × a [ 3 ] b [ 2 ] .
For α = a 1 [ h 1 ] a 2 [ h 2 ] a t [ h t ] P ( A ) , where the mset A = a 1 [ n 1 ] a 2 [ n 2 ] a t [ n t ] and 0 h i n i for 1 i t , we define
α : = | α | , if h j = n j = 1 for some j { 1 , , t } , | α | + 1 , otherwise .
The following result is directly obtained.
Proposition 1.
Given an mset A = ( A * , c ) and α P ( A ) , we have that
1. 
If α = | α | + 1 > 2 , α P ( A ) such that α A α and α = | α | + 1 = | α | .
2. 
If α = | α | > 1 , α P ( A ) such that α A α and α = | α | = | α | 1 .
3. 
For α 1 A α 2 P ( A ) , if α 1 = | α 1 | + 1 = | α 2 | = α 2 , then there is a unique x α 2 * A * such that c ( x ) = 1 .
4. 
If c ( x ) > 1 for all x A * , then there is no α P ( A ) such that α = 1 .
Define a map ζ A : I ( P × P A ) N by
ζ A ( I ) = | ω I f | · A + i ω I p such that A ( I ; i ) = α i for some α i P ( A ) α i .
Observe that ζ A ( I ) | I | for all I I ( P × P A ) . Moreover, if | A | = 1 , then ζ A ( I ) = | I | for all I I ( P × P A ) . For I I ( P × P A ) , let
Ω I p : = { α P ( A ) : A ( I ; i ) = α and α = | α | for i ω I p } and Ω ¯ I p : = { α P ( A ) : A ( I ; i ) = α and α = | α | + 1 for i ω I p } .
Then ζ A ( I ) = | ω I f | · A + [ Ω I p ] , where [ Ω I p ] = α Ω I p Ω ¯ I p α .
With Proposition 1 and by deleting a maximal element of a normal ideal I in P × P A , it gives a way to construct a normal ideal J I . The next result is directly obtained.
Proposition 2.
Consider an mset A = ( A * , c ) and the poset P × P A = ( [ n ] × P ( A ) , γ ) .
1. 
For each 0 t n , there exists an ideal J with full count such that ζ A ( J ) = t · A .
2. 
Let I I ( P × P A ) be such that ω I p .
(2.1) If Ω I p , then for each 0 t [ Ω I p ] there exists J I ( P × P A ) such
that J I and ζ A ( J ) = | ω I f | · A + t .
(2.2) If Ω I p = , then for each 0 t [ Ω I p ] with t 1 , there exists J I ( P × P A )
such that J I and ζ A ( J ) = | ω I f | · A + t .

3. Supports and Weights

Suppose that m = p 1 β 1 p 2 β 2 p k β k , where p 1 , , p k are distinct prime numbers and β 1 , , β k are positive integers. By considering the mset A = p 1 [ β 1 ] p 2 [ β 2 ] p k [ β k ] , it can see that the lattice of subgroups of Z m and the poset structure of P ( A ) under A are the same.
Let Sub ( Z m ) be the set of all subgroups of Z m . The map ψ : Sub ( Z m ) P ( A ) defined by ψ ( H ) = α H = p 1 [ t 1 ] p 2 [ t 2 ] p k [ t k ] , where | H | = p 1 t 1 p 2 t 2 p k t k for 0 t i β i , is an order-isomorphism.
Let P = ( [ n ] , P ) be a poset. Given x = ( x 1 , , x n ) Z m n , we define the support of x associated with the lattice of subgroups of Z m as
supp L S ( x ) : = { ( i , p 1 [ t 1 ] p 2 [ t 2 ] p k [ t k ] ) : x i 0 and | x i | = p 1 t 1 p 2 t 2 p k t k }
a subset of [ n ] × P ( A ) . By considering supp L S ( x ) I ( P × P A ) as the smallest ideal in P × P A containing supp L S ( x ) , the L S -poset weight of x Z m n is defined to be w L S ( x ) : = ζ A ( supp L S ( x ) ) , and the L S -poset distance between x , y Z m n is d L S ( x , y ) : = w L S ( x y ) . Now we prove that the L S -poset distance is a metric on Z m n .
Theorem 1.
Let P = ( [ n ] , P ) be a poset and m = p 1 β 1 p 2 β 2 p k β k where p i are distinct primes. Under the poset P × P A with the mset A = p 1 [ β 1 ] p 2 [ β 2 ] p k [ β k ] , the L S -poset distance d L S ( · , · ) is a metric on Z m n .
Proof. 
It is clear that d L S ( x , y ) 0 . As a group Z m , we have d L S ( x , y ) = 0 iff x = y . Moreover, for any x Z m , x = x , which implies that d L S ( · , · ) is symmetric. To show that the triangle inequality of d L S ( · , · ) holds, we let a , b Z m . By applying the fundamental theorem of finite cyclic groups, we assume that a = p 1 t 1 p 2 t 2 p k t k and b = p 1 s 1 p 2 s 2 p k s k for some nonnegative integers t i , s i , ( 1 i k ) . Then | a | = p 1 β 1 t 1 p 2 β 2 t 2 p k β k t k and | b | = p 1 β 1 s 1 p 2 β 2 s 2 p k β k s k . Suppose that a + b = p 1 r 1 p 2 r 2 p k r k for some r i 0 . It is clear that a + b H = p 1 min { t 1 , s 1 } p 2 min { t 2 , s 2 } p k min { t k , s k } . Then α a + b = p 1 [ β 1 r 1 ] p 2 [ β 2 r 2 ] p k [ β k r k ] A α H = p 1 [ β 1 min { t 1 , s 1 } ] p 2 [ β 2 min { t 2 , s 2 } ] p k [ β k min { t k , s k } ] . Observe that | α a + b | = i = 1 k ( β i r i ) i = 1 k [ β i min { t i , s i } ] = | α H | i = 1 k [ ( β i t i ) + ( β i s i ) ] = | α a | + | α b | . If | α a + b | < | α H | , it follows that α a + b α a + α b . Now, we suppose | α a + b | = | α H | . From α a + b A α H , this forces α a + b = α H which means r i = min { t i , s i } for all i. It is clear for the case α a + b = | α a + b | . Next, assume that α a + b = | α a + b | + 1 . It follows that if β j = 1 for j { 1 , , k } , then 1 = r j = min { t j , s j } which implies α a = | α a | + 1 and α b = | α b | + 1 . Consequently, α a + b α a + α b . This completes the proof. □
The metric d L S ( · , · ) on Z m n is called as the L S -poset metric. Let C be a submodule of Z m n with the L S -poset metric d L S . Then C is called an L S -poset code of length n over Z m . The minimum L S -poset distance d L S ( C ) is the smallest L S -poset distance between two distinct codewords of C. The dual of an L S -poset code C is defined as
C = { v Z m n | u · v = u 1 v 1 + u 2 v 2 + + u n v n = 0 for all u C } .
To obtain more information on each element of Z m { 0 } which is placed on the poset structure of P ( A ) , we let
G t : = { x Z m { 0 } | α x = t } .
Example 3.
Consider Z 20 with the mset A = 2 [ 2 ] 5 [ 1 ] . We have the following table:
P ( A ) · Z 20 { 0 }
5 [ 1 ] 1 4 , 8 , 12 , 16
2 [ 1 ] 2 10
2 [ 1 ] 5 [ 1 ] 2 2 , 6 , 14 , 18
2 [ 2 ] 3 5 , 15
2 [ 2 ] 5 [ 1 ] 3 1 , 3 , 7 , 9 , 11 , 13 , 17 , 19
Recall some properties of the Euler ϕ -function as follows:
  • If p is a prime, then ϕ ( p ) = p 1 and ϕ ( p k ) = p k p k 1 for all k N .
  • For x , y N , if gcd ( x , y ) = 1 , then ϕ ( x y ) = ϕ ( x ) ϕ ( y ) .
Remark 2.
Suppose m = p 1 β 1 p 2 β 2 p k β k , where p i are distinct primes. Consider the mset A = p 1 [ β 1 ] p 2 [ β 2 ] p k [ β k ] . We have that
  • If β i > 1 for all i, then G 1 = and | G | A | + 1 | = ϕ ( m ) .
  • If β i = 1 for all i, then for 1 t k ,
    | G t | = ( s 1 , , s k ) where t = i k s i , s i { 0 , 1 } ϕ ( p 1 s 1 p 2 s 2 p k s k ) .
Example 4.
In the space Z 180 4 , we consider the poset P 1 × P A = ( [ 4 ] × P ( A ) , γ ) where the mset A = 2 [ 2 ] 3 [ 2 ] 5 [ 1 ] and the poset P 1 = ( [ 4 ] , P 1 ) is as shown in Figure 1. Consider the vector ( 0 , 5 , 12 , 120 ) Z 180 4 . We have
  • (Poset weight) w P 1 ( ( 0 , 5 , 12 , 120 ) ) = | { 2 , 3 , 4 } | = 4 .
  • (Pomset weight) w P 1 ( ( 0 , 5 , 12 , 120 ) ) = | { 5 / 2 , 12 / 3 , 60 / 4 } | = 77 .
  • ( L S -poset weight)
    w L S ( ( 0 , 5 , 12 , 120 ) ) = ζ A { ( 2 , 2 [ 2 ] 3 [ 2 ] ) , ( 3 , 3 [ 1 ] 5 [ 1 ] ) , ( 4 , 3 [ 1 ] ) } = 14 .
Notice that for a space Z p n with prime p, the poset metric d P and the L S -poset metric d L S are the same, while the pomset metric d P and the L S -poset metric d L S are equivalent when p = 2 , 3 . The diagram in Figure 2 illustrates these facts.

4. r-Balls and I-Balls

Let u be a vector in the space Z m n with L S -poset metric d L S and r N 0 . With center at u and radius r, the r-ball and the r-sphere, respectively, are as follows:
B r , L S ( u ) : = { v Z m n | d L S ( u , v ) r } , S r , L S ( u ) : = { v Z m n | d L S ( u , v ) = r } .
It is clear that | B r , L S ( u ) | = 1 + i = 1 r | S i , L S ( u ) | .
Definition 1.
Let C be a code of Z m n with L S -poset metric d L S . Then C is said to be a r-perfect L S -poset code if the r-balls centered at the codewords of C are pairwise disjoint and their union is Z m n .
Let I t ( s ) I ( P × P A ) be such that ζ A ( I t ( s ) ) = t and I t ( s ) has exactly s maximal elements. We let ω I t ( s ) = { i [ n ] | ( i , α ) is a maximal element of I t ( s ) for some α P ( A ) } . Given a vector v = ( v 1 , , v n ) of Z m n , we rewrite it as
v : = ( v 1 : v 2 : 0 ) = ( { v i } i ω I t ( s ) : { v i } i I t ( s ) * ω I t ( s ) : 0 ) ,
where for each i [ n ] , v i is an element in Z m satisfying:
(i)
If i ω I t ( s ) , v i G α i ,
where A ( I t ( s ) ; i ) = α i for some α i P ( A ) ;
(ii)
If i I t ( s ) * ω I t ( s ) , v i Z m ;
(iii)
If i I t ( s ) * , v i = 0 .
Observe that supp L S ( v ) = I t ( s ) . Now, letting A I t ( s ) the collection of all vectors v in Z m n such that supp L S ( v ) = I t ( s ) , we have
| A I t ( s ) | = m | I t ( s ) * ω I t ( s ) | · i ω I t ( s ) | G α i | .
Obviously, for two distinct ideals I and J in I ( P × P A ) , A I A J = . Now, we denote by I t ( s ) the set of all ideals I I ( P × P A ) such that ζ A ( I ) = t , and I has exactly s maximal elements. Then the number of vectors in an r-ball with center u equals
| B r , L S ( u ) | = 1 + i = 1 r j = 1 i I I i ( j ) | A I | .
Given an ideal I I ( P × P A ) , the I-ball centered at u and the I-sphere centered at u , respectively, are defined as
B I , L S ( u ) : = { v Z m n | supp L S ( u v ) I } , S I , L S ( u ) : = { v Z m n | supp L S ( u v ) = I } .
Definition 2.
Let C be a code of Z m n with L S -poset metric d L S and I be an ideal in P × P A . Then C is called an I-perfect L S -poset code if the I-balls centered at the codewords of C are pairwise disjoint and their union is Z m n .
Under pomset metric d P in Z m n , it was shown in [9] that I-balls are no more linear subspaces of Z m n if I is an ideal with partial count in P = ( M m / 2 ( [ n ] ) , P ) . On the other hand, with L S -poset metric, the I-ball centered at the zero vector is a submodule of Z m n .
Proposition 3.
Let I I ( P × P A ) . Then B I , L S ( 0 ) is a submodule of Z m n .
Proof. 
Clearly, if I is an ideal with full count in P × P A , then B I , L S ( 0 ) is a submodule of Z m n with dimension | ω I f | . Now, suppose that I is an ideal with partial count. Then | ω I p | > 0 . For each i ω I p , let A ( I ; i ) = α i for some α i P ( A ) . By considering H i as a subgroup of Z m such that ψ ( H i ) = α i for i ω I p , for u = ( u 1 , , u n ) , v = ( v 1 , , v n ) B I , L S ( 0 ) , we have u i , v i H i for all i ω I p . It follows that u + v , c u B I , L S ( 0 ) for c Z m . Hence, B I , L S ( 0 ) is a submodule of Z m n . □
For I I ( P × P A ) , let B I C , L S ˜ ( 0 ) denote the I C -ball centered at 0 under the poset P ˜ × P A .
Proposition 4.
Let I I ( P × P A ) . Then the following statements hold:
1. 
For u Z m n , B I , L S ( u ) = u + B I , L S ( 0 ) .
2. 
For u , v Z m n , B I , L S ( u ) and B I , L S ( v ) are either identical or disjoint. Moreover,
B I , L S ( u ) = B I , L S ( v ) supp L S ( u v ) I .
3. 
B I , L S ( 0 ) = B I C , L S ˜ ( 0 ) .
Proof. 
(1) Let v B I , L S ( u ) . It follows that u v B I , L S ( 0 ) , and v = u + ( v u ) u + B I , P C ( 0 ) . For w B I , P C ( 0 ) , we have supp L S ( u ( u + w ) ) = supp L S ( w ) = supp L S ( w ) I . Hence u + w B I , L S ( u ) .
(2) For each i ω I f ω I p , we let H i be a subgroup of Z m such that ψ ( H i ) = α H i P ( A ) , where A ( I ; i ) = α H i . For u = ( u 1 , , u n ) , v = ( v 1 , , v n ) Z m n , suppose w = ( w 1 , , ω n ) B I , L S ( u ) B I , L S ( v ) . We have supp L S ( u w ) I and supp L S ( v w ) I . If i ω I f ω I p , then u i w i = w i v i = 0 , so u i v i = 0 . For the case i ω I f ω I p , we have u i w i , w i v i H i , which implies u i v i H i . That is, ( i , α u i v i ) I for all i ω I f ω I p . Consequently, u v B I , L S ( 0 ) , which means that B I , L S ( u ) = B I , L S ( v ) .
(3) If I is an ideal with full count in P × P A , then I C is also an ideal with full count in P ˜ × P A . Since ω I f ω I f C = and ω I f ω I f C = [ n ] , we derive the result.
Next, suppose that m = p 1 β 1 p 2 β 2 p k β k , where p i are distinct primes, and the mset A = p 1 [ β 1 ] p 2 [ β 2 ] p k [ β k ] . Let I I ( P × P A ) be an ideal with partial count. From ω I p = ω I p C , for each i ω I p , we let A ( I ; i ) = α i for some α i P ( A ) , where α i = p 1 [ t i 1 ] p 2 [ t i 2 ] p k [ t i k ] , and let H i and K i be subgroups of Z m such that ψ ( H i ) = α i and ψ ( K i ) = α i ^ . Then H i = p 1 β 1 t i 1 p 2 β 2 t i 2 p k β k t i k and K i = p 1 t i 1 p 2 t i 2 p k t i k . Let x = ( x 1 , , x n ) B I C , L S ˜ ( 0 ) and y = ( y 1 , , y n ) B I , L S ( 0 ) . Then x · y = i ω I p x i y i , where for each i, x i H i and y i K i . It follows that x · y is congruent to 0 modulo m. That is, B I C , L S ˜ ( 0 ) B I , L S ( 0 ) . Now, we assume that there is z B I , L S ( 0 ) B I C , L S ˜ ( 0 ) . Since z · y = 0 for all y B I , L S ( 0 ) , we can, without loss of generality, write z = ( 0 , , 0 , z s , 0 , , 0 ) , where s ω I p and z s K s = p 1 t s 1 p 2 t s 2 p k t s k . Then z s = y p 1 r s 1 p 2 r s 2 p k r s k , where gcd ( y , p j ) = 1 and 0 r s j < t s j for some j [ k ] . Choosing w = ( w 1 , , w n ) B I , L S ( 0 ) , defined by w i = 0 for all i s , and w s = p 1 β 1 t s 1 p 2 β 2 t s 2 p k β k t s k , it follows that z · w ¬ 0 modulo m, which is a contradiction. □
Example 5.
Consider 120 = 2 3 · 3 · 5 and the mset A = 2 [ 3 ] 3 [ 1 ] 5 [ 1 ] . On P ( A ) , we choose α 1 = 2 [ 1 ] 3 [ 1 ] 5 [ 1 ] , α 2 = 2 [ 3 ] 5 [ 1 ] , α 3 = 2 [ 2 ] 3 [ 1 ] . The structure of each α i when i = 1 , 2 , 3 , is demonstrated via the lattice of nontrivial subgroup for Z 120 (see in Figure 3) in which α ^ 1 = 2 [ 2 ] , α ^ 2 = 3 [ 1 ] , and α ^ 3 = 2 [ 1 ] 5 [ 1 ] . Now let us consider the poset P 1 × P A = ( [ 4 ] × P ( A ) , γ ) , where the poset P 1 = ( [ 4 ] , P 1 ) is as shown in Figure 1. Let I = { ( 2 , α 1 ) , ( 3 , α 2 ) , ( 4 , α 3 ) } I ( P 1 × P A ) . Then I is an ideal with partial count. It is easy to see that B I , L S ( 0 ) = Z 120 × 4 × 3 × 10 , whereas B I , L S ( 0 ) = 0 × 30 × 40 × 12 .
Observe that the I-ball centered at the zero vector can be considered as a direct product of cyclic subgroups of Z m . If m is a prime power, the following result is directly obtained.
Proposition 5.
In the space Z q β n , let I I ( P × P A ) .Then
1. 
If β = 1 , then | B I , L S ( 0 ) | = q | I | and | B I , L S ( 0 ) | = q n | I | .
2. 
If β > 1 , then
| B I , L S ( 0 ) | = q β | ω I f | + i ω I p | α i | and | B I , L S ( 0 ) | = q β ( n | ω I f ω I p | ) + i ω I p | α ^ i | ,
where for each i ω I p , A ( I ; i ) = α i for some α i P ( A ) .
From Proposition 3 and 4, the following theorem shows the existence of an I-perfect code with L S -poset metric when I is an ideal with full count.
Theorem 2.
For any ideal I with full count in P × P A , we have
1. 
B I C , L S ˜ ( 0 ) is an I-perfect L S -poset code for the poset P × P A .
2. 
B I , L S ( 0 ) is an I C -perfect L S -poset code for the poset P ˜ × P A .
In the case of ideals I with partial count, the I-ball centered at the zero vector is not always I-perfect. The next lemma is a key for the existence of I-perfect code with L S -poset metric.
For each i [ n ] , let e i = ( e 1 , , e n ) Z m n be such that e j = 0 if j i , and e i = 1 .
Lemma 1.
Let I I ( P × P A ) with ω I p . For each i ω I p , let H i be a nontrivial subgroup of Z m such that A ( I ; i ) = α H i . Then the following statements hold:
1. 
If there is i ω I p such that α H i * = A * , then there is no I-perfect L S -poset code.
2. 
Suppose C is an I-perfect L S -poset code of Z m n . Then for each i ω I p , there is a maximal subgroup K i of Z m such that A * = α K i * ˙ α H i * . Moreover, e i · C = K i and K i + H i = Z m .
Proof. 
(1) Suppose that α H i * = A * . Choose v = ( 0 , , 0 , v i , 0 , , 0 ) Z m n , where v i H i . Then α v i α H i . It follows that v B I , L S ( 0 ) . Suppose there is an I-perfect L S -poset code C of Z m n . Then v B I , L S ( c ) for some c = ( c 1 , , c n ) C . That is, supp L S ( c v ) I . This implies that α c i v i α H i which means 0 c i v i + H i . From α H i * = A * , there is N 0 N such that N 0 c i 0 and α N 0 c i α H i . Consequently, supp L S ( N 0 c ) I . As a submodule B I , L S ( 0 ) of Z m n , we have 0 N 0 c B I , L S ( 0 ) , which is a contradiction to the I-perfect of C.
(2) Suppose C is an I-perfect L S -poset code of Z m n . Let i ω I p . From (1), α H i * A * . Then there is a maximal subgroup K i of Z m such that α K i * α H i * = . Let 0 x K i . Consider v = ( 0 , , 0 , v i = x , 0 , , 0 ) Z m n . Then v B I , L S ( 0 ) . We choose c = ( c 1 , , c n ) C such that v B I , L S ( c ) . Since B I , L S ( 0 ) B I , L S ( c ) = , it follows that c i 0 and α c i α H i . Indeed, by proceeding as before, we have α c i * α H i * = . That is, c i H i = { 0 } . Since supp L S ( c v ) I , we have α c i x α H i which means c i x H i . Then c i x = y for some y H i . From α K i * α H i * = , we have K i H i = { 0 } . Then there is N N such that N | H i | and N x 0 modulo m. Thus, N c i N y modulo m. These force y = 0 . Hence, c i = x . That is, e i · C = K i . Since C is I-perfect, by a similar technique, it can be shown that K i + H i = Z m . □
Given an mset A, let E A : = { α P ( A ) | α * α ^ * = } .
Theorem 3.
Let I I ( P × P A ) with ω I p . Then B I , L S ( 0 ) is an I-perfect L S -poset code of Z m n if and only if for each i ω I p , A ( I ; i ) = α i for some α i E A .
Proof. 
Suppose B I , L S ( 0 ) is I-perfect. By Proposition 4(3), B I , L S ( 0 ) = B I C , L S ˜ ( 0 ) . For the necessary condition, let i ω I p . We have A ( I ; i ) = α H i and A ( I C ; i ) = α ^ H i = α K i , where two subgroups H i , K i are as in Lemma 1. Then α H i E A .
For each α E A , we have that α * α ^ * = and α α ^ = A . These imply that ψ 1 ( α ) ψ 1 ( α ^ ) = { 0 } and | ψ 1 ( α ) | · | ψ 1 ( α ^ ) | = m . Hence, the converse is proved. □
Corollary 1.
There is no I-perfect L S -poset code of Z q β n if I is an ideal with partial count in P × P A .
Example 6.
In Example 5, we have α 2 = 2 [ 3 ] 5 [ 1 ] E A with α ^ 2 = 3 [ 1 ] , but α 1 , α 3 E A . Consider the poset P 2 = ( [ 6 ] , P 2 ) as in Figure 1. In the space Z 120 6 with L S -poset metric, we let I = ( 4 , 2 [ 3 ] 5 [ 1 ] ) I ( P 2 × P A ) as an ideal with partial count. By Theorem 3, we have B I , L S ( 0 ) = { ( 0 , 0 , 0 , x , y , z ) | x 40 = ψ 1 ( 3 [ 1 ] ) , and y , z Z 120 } is an I-perfect L S -poset code of Z 120 6 .

5. MDS L S -Poset Codes and Codes in Chain Poset Structure

Theorem 4.
(Singleton Bound) Let P × P A be the poset on [ n ] × P ( A ) and C Z m n be an L S -poset code. Then
log m | C | n d L S ( C ) 1 A
Proof. 
Choose x , y C such that d L S ( x , y ) = d L S ( C ) . Consider the ideal I generated by supp L S ( x y ) . We have d L S ( C ) 1 < ζ A ( I ) A · | ω I f ω I p | . From Proposition 2, there is a normal ideal J with full count of P × P A such that | ω J f | = d L S ( C ) 1 A . Then ζ A ( J ) = d L S ( C ) 1 A A d L S ( C ) 1 . That is, there is no codeword c in C such that supp L S ( c ) J , and any two distinct codewords of C will not coincide in all position j [ n ] ω J f . These imply that | C | m n | ω J f | . So we have log m | C | n d L S ( C ) 1 A . □
Definition 3.
An L S -poset code C of length n over Z m is said to be amaximum distance separable L S -poset code(or simply MDS L S -poset code) if it attains the Singleton bound as in (3).
Theorem 5.
In the space Z m n with the poset P × P A , let C Z m n be an L S -poset code such that | C | = m t . Then C is an MDS L S -poset code if and only if C is an I-perfect L S -poset code for all ideals I I ( P × P A ) with full count such that | ω I f | = n t .
Proof. 
Let I be an ideal with full count in P × P A such that | ω I f | = n t . It is clear that | B I , L S ( 0 ) | = m n t . Suppose that C is an MDS L S -poset code. From (3), it follows that d L S ( C ) 1 A = n t . Then d L S ( C ) > ζ A ( I ) , that is, B I , L S ( x ) B I , L S ( y ) = for two distinct elements x , y C . By | C | = m t , we have C is I-perfect.
To show that C is MDS, we choose c C { 0 } such that w L S ( c ) = d L S ( C ) . Let J = supp L S ( c ) . Suppose ζ A ( J ) A ( n t ) . By Proposition 2, we can construct an ideal I with full count in P × P A containing J such that ζ A ( I ) = A ( n t ) . But this would imply that c B I , L S ( 0 ) , which is impossible since C is I-perfect. This forces that d L S ( C ) = ζ A ( J ) > A ( n t ) . Then d L S ( C ) 1 A n t . By Theorem 4, we have C is MDS. □
Example 7.
Let A = 2 [ 3 ] 3 [ 1 ] 5 [ 1 ] with A = 5 . Consider C 1 = { ( 0 , 0 , x , y , z , w ) | x , y , z , w Z 120 } , and C 2 = { ( 0 , 0 , 0 , x , y , z ) | x , y , z Z 120 } .
  • Under the poset P 2 × P A , where P 2 = ( [ 6 ] , P 2 ) as in Figure 1, it is clear that d L S ( C 1 ) = 11 and d L S ( C 2 ) = 16 . Then C 1 and C 2 are MDS. Moreover, the poset P 2 × P A has exactly one ideal I = { ( 1 , A ) , ( 2 , A ) } such that ζ A ( I ) = 10 , and has exactly one ideal J = ( 3 , A ) such that ζ A ( J ) = 15 . Clearly, C 1 and C 2 are I-perfect and J-perfect, respectively.
  • Under the poset P 3 × P A , where P 3 = ( [ 6 ] , P 3 ) as in Figure 1, it is clear that d L S ( C 1 ) = 1 and d L S ( C 2 ) = 6 . Then C 1 and C 2 are not MDS. In addition, there are two ideals I 1 = ( 6 , A ) and I 2 = ( 4 , A ) such that ζ A ( I 1 ) = 10 and ζ A ( I 2 ) = 15 in which C 1 is not I 1 -perfect, and C 2 is not I 2 -perfect.
Observe that with the full count property of ideals in P × P A , it was a main tool to study the MDS L S -poset code C Z m n where | C | = m t , 0 t n .
Next, we denote by C n the chain poset P = ( [ n ] , P ) with min P = 1 . Observe that every ideal I with full count in C n × P A has a unique maximal element. Suppose r = t A n A for some t N . There is only one ideal I with full count such that ζ A ( I ) = t A . It follows that B r , L S ( u ) = B I , L S ( u ) for all u Z m n .
The following results are some immediate consequences.
Proposition 6.
In the space Z m n with the poset C n × P A , given an ideal I with full count in C n × P A , let C be an I-perfect L S -poset code of Z m n . Then
1. 
C is an ζ A ( I ) -perfect L S -poset code.
2. 
C is an MDS L S -poset code.
Recall that the cardinality of an r-ball with center u Z m n as in (2). By considering m as a prime power, we obtain the following result.
Proposition 7.
In the space Z q β n with the poset C n × P A , if β > 1 , the cardinality of B r , L S ( 0 ) is q r t , where ( t 1 ) ( β + 1 ) < r t ( β + 1 ) for 0 < t n .
Proof. 
As A = q [ β ] , we have the poset ( P ( A ) , A ) becomes a chain. This implies that every ideal I in C n × P A contains a unique maximal element. Since β > 1 , A = β + 1 . We write r = ( t 1 ) ( β + 1 ) + s + 1 , where 0 s β . From (2), we have
| B r , L S ( 0 ) | = 1 + i = 1 r | A I i ( 1 ) | = 1 + j = 0 t 2 q j β [ ϕ ( q ) + ϕ ( q 2 ) + + ϕ ( q β ) ] + q ( t 1 ) β [ ϕ ( q ) + ϕ ( q 2 ) + + ϕ ( q s ) ] = 1 + j = 0 t 2 q j β [ q β 1 ] + q ( t 1 ) β [ q s 1 ] = 1 + [ q β 1 ] q ( t 1 ) β 1 q β 1 + q ( t 1 ) β [ q s 1 ] = q r t .
From above Proposition, although | B r , L S ( 0 ) | divides q β n , by Corollary 1, there is no r-perfect L S -poset code of Z q β n if β + 1 does not divide r.
Next, we have thus established the sufficient condition of ideals with partial count in C n × P A for an L S -poset code of Z m n to be an r-perfect.
Theorem 6.
For m = p 1 β 1 p 2 β 2 p k β k with k > 1 , in the space Z m n with the poset C n × P A , if there is a unique p i such that β i = 1 , then there is an ( t A + 1 ) -perfect L S -poset code of Z m n for 0 t < n .
Proof. 
By the assumption, we have A = | A | , and p i [ 1 ] is the unique element of P ( A ) such that p i [ 1 ] = 1 . Let 0 t < n . By applying Proposition 2 (2.1), there is a unique ideal I with partial count in C n × P A such that ζ A ( I ) = t A + 1 . Since p i [ 1 ] E A , by Theorem 3, it follows that B I , L S ( 0 ) becomes an ( t A + 1 ) -perfect L S -poset code. □
Example 8.
In the space Z 12 3 with the poset C 3 × P A and the mset A = 2 [ 2 ] 3 [ 1 ] , we consider C = { 000 , 003 , 006 , 009 } . Observe that d L S ( C ) = w L S ( 006 ) = 8 . Then we have B 7 , L S ( 000 ) = Z 12 × Z 12 × 4 , B 7 , L S ( 003 ) = Z 12 × Z 12 × ( 3 + 4 ) , B 7 , L S ( 006 ) = Z 12 × Z 12 × ( 6 + 4 ) , and B 7 , L S ( 009 ) = Z 12 × Z 12 × ( 9 + 4 ) . It can see that C is an 7-perfect L S -poset code. Moreover, C is also an I-perfect L S -poset code when the ideal I = ( 3 , 3 [ 1 ] ) with ζ A ( I ) = 7 .
In the space Z 60 3 with the poset C 3 × P A and the mset A = 2 [ 2 ] 3 [ 1 ] 5 [ 1 ] , let D = { ( 0 , 0 , 0 ) , ( 0 , 0 , 15 ) , ( 0 , 0 , 30 ) , ( 0 , 0 , 45 ) } . By Theorem 3, it can see that D is an J-perfect L S -poset code, where the ideal J = ( 3 , 3 [ 1 ] 5 [ 1 ] ) such that ζ A ( J ) = 10 . Observe that d L S ( D ) = w L S ( 0 , 0 , 30 ) = 10 . However, the space Z 60 3 is not covered by the union of r-balls centered at the codewords of D for any r < 10 .

Funding

This research received no external funding.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ahn, J; Kim, H.K.; Kim, J.S.; Kim, M. Classification of perfect linear codes with crown poset structure. Discrete Math. 2003, 268, 21–30. [CrossRef]
  2. Brualdi, R.A; Graves, J.S; Lawrence, M. Codes with a poset metric. Discrete Math. 1995, 147, 57–72.
  3. D’Oliveira, R.G.L.; Firer, M. The packing radius of a code and partitioning problems: the case for poset metrics on finite vector spaces. Discrete Math. 2015, 338, 2143–2167. [CrossRef]
  4. Hyun, J.Y.; Kim, H.K. Maximum distance separable poset codes. Des. Codes Cryptogr. 2008, 48(3), 247–261. [CrossRef]
  5. Kim, H.K.; Krotov, D.S. The poset metrics that allow binary codes of codimension m to be m-, (m − 1)-, or (m − 2)-perfect. IEEE Trans. Inf. Theory 2008, 54(11), 5241–5246.
  6. Panek, L.; Firer, M.; Kim, H.K.; and Hyun, J.Y. Groups of linear isometries on poset structures. Discrete Math. 2008, 308(18), 4116–4123. [CrossRef]
  7. Panek, L.; Pinheiro, J.A. General approach to poset and additive metrics. IEEE Trans. Inf. Theory 2020, 66(11), 6823–6834. [CrossRef]
  8. Sudha, I.G.; Selvaraj, R.S. Code with a pomset metric and constructions. Des. Codes Cryptogr. 2018, 86, 875–892. [CrossRef]
  9. Sudha, I.G.; Selvaraj, R.S. MDS and I-perfect codes in pomset metric. IEEE Trans. Inf. Theory 2021, 67(3), 1622–1629. [CrossRef]
Figure 1. The posets P 1 , P 2 , P 3 .
Figure 1. The posets P 1 , P 2 , P 3 .
Preprints 121710 g001
Figure 2. Weight relationship tree
Figure 2. Weight relationship tree
Preprints 121710 g002
Figure 3. The lattice of nontrivial subgroups for Z 120
Figure 3. The lattice of nontrivial subgroups for Z 120
Preprints 121710 g003
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.

Downloads

38

Views

24

Comments

0

Subscription

Notify me about updates to this article or when a peer-reviewed version is published.

Email

Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2025 MDPI (Basel, Switzerland) unless otherwise stated