Abstract
By combining a lattice subgroup diagram of with a weighted poset metric, we introduce a new weighted coordinates poset metric for codes over , called the -poset metric. When I is an ideal in a poset, the concept of I-perfect codes with an -poset metric is investigated. We obtain a Singleton bound for codes with the -poset metric and define MDS codes. When the poset in the poset metric is a chain, we provide sufficient conditions for a code with the -poset metric to be r-perfect for some .
MSC:
94B05; 06A06; 15A03
1. Introduction
Metrics play a central role in the design and operation of error-correcting codes. The distance between codewords, as defined by the metric, helps determine how errors are detected and corrected. By ensuring that codewords are sufficiently spaced apart (in terms of the chosen metric), coding schemes can detect errors and recover the original message with high reliability, even in the presence of noise during transmission.
The Hamming distance from 1950 (see [1]) and the Lee distance from 1958 (see [2]) are two metrics used to measure the difference between two codewords. They are both used to detect and correct errors in transmitted data, but they apply to different kinds of coding systems and have distinct characteristics. For the Hamming metric, it counts the number of positions in which two codewords differ. The Lee metric measures the shortest path between two codewords in the modular arithmetic space.
In 1995, the concept of poset metric codes over a finite field, , was introduced by Brualdi (see [3]). 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 [4,5,6,7,8] for some results on poset metric spaces such as packing radius, the existence of r-error-correcting codes, perfect codes, and groups of isometries. In 2018, the pomset metric was introduced by the authors in [9] to accommodate the Lee metric for codes over . 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 [10,11]).
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 introduce a weighted poset metric based on the subgroups diagram of . By using the poset of the power set of a multiset, we can effectively visualize the subgroup relationships in . 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.
Here is a concise summary of some well-known metrics specifically referenced for codes in this paper.
1.1. Hamming and Lee Metrics
Given two vectors and , the Hamming distance from to , denoted by , is defined to be the number of places at which and differ. For a vector over , the number of nonzero entries in is called the Hamming weight of , denoted by . In , the Hamming distance, , is given by the Hamming weight, , and satisfies the properties of a metric (see [1]).
For two vectors and in , the Lee distance between and is denoted by and defined as
the Lee weight of in , denoted by , is equivalent to the Lee distance between and the zero vector. It was proved that the Lee distance, , is a metric on (see [2,12]).
1.2. Poset Metrics
Let be a poset on the set of coordinates of a vector in (or ). For , I is called an (order) ideal of P if , imply that . For a subset S of P, we denote as the smallest ideal containing S. Given a vector , the support of is . The poset weight of is defined as
For , the poset distance between and is
It was shown in [3] that is a metric on . Notice that the poset metric simplifies to the Hamming metric when the poset P is an antichain.
1.3. Pomset Metrics
1.3.1. Multisets and Pomsets
For given a nonempty set X and a map , an mset M is considered as a pair . We write (or ), if , (i.e., a occurs in M at least n times).
An mset , drawn from , is represented as
where for . If , then for all . The cardinality of an mset is defined as .
For , we denote 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., . The mset space 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 is a multiset , such that for all . For an mset , the set is called the root set of M.
For two msets and , we list some definitions of operations in msets [9] as follows:
- The addition(sum) of and is the mset , wherefor all .
- The subtraction (difference) of from is the mset , wherefor all .
- The union of and is the mset , wherefor all .
- The intersection of and is the mset , wherefor all .
For , the mset sum , where for all . Given a submset of an mset , the complement of S is an mset , where for all .
For two msets drawn from a set X, we define the Cartesian product by A submset of is said to be an mset relation on M if .
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] ;
- (2)
- [Antisymmetry] if ;
- (3)
- [Transitivity] if .
Notice that, if , then for all .
For given a poset , we define the pomset relation on having P-shape by
The pair is known as a partially ordered multiset (pomset), denoted by .
The dual pomset of the pomset , denoted by , is the pomset on having -shape, where is the dual poset of P. That is, in if and only if in .
Let S be a submset of in a pomset . An element is said to be a maximal element in S if there is no element , such that . An element is said to be a minimal element in S if there is no element , such that .
Let be the pomset of height k having P-shape, where the poset . An ideal in is a submset with the property that if and then . Given a submset S of , we denote by the smallest ideal containing S.
An ideal I of is called an ideal with full count if ; otherwise, it is called an ideal with partial count.
Example 1.
From the poset , as in Figure 1, we consider the pomset . Let and be ideals with full count and partial count in , respectively. Then the complements and are ideals with full count and partial count in , respectively. Observe that , whereas .
Figure 1.
The posets .
Notice that if I is an ideal with full count in , then is a partition of , that is, and . However, for given any submset J of , .
1.3.2. Pomset Distance
In the space with the pomset . For a vector , the support of with respect to the Lee weight is defined to be
The pomset weight of is defined to be , and the pomset distance between two vectors in is defined by . It is known that the pomset distance is a metric on (see [9]), 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. Weighted Poset Metrics Based on the Lattice of Subgroups of
The lattice of subgroups of can be effectively studied by leveraging the power set of a multiset of divisors. Here is how this provides insight into the hierarchical relationships between subgroups.
2.1. An Ordinal Product
Let be an mset with . Then . Let be the power set of the mset A. With a slight change of notation, we will use for the mset . Here we let .
Note that we may write to indicate that does not appear. For , which and , define the mset sum , where for all .
For each with , the dual of is
which .
Under the submset relation , is a partially ordered set, denoted by . For each , we denote the ideal in having as its maximum element. It is clear that . For example, let . Then , and .
Remark 1.
For , we have .
Given a poset , we define a relation on by
It is clear that is a poset, denoted by . 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 and I is an ideal in , then .
An ideal I in is called an ideal with full count if ; otherwise, it is also called an ideal with partial count. Let be the set of all ideals in . For , we denote
Given an ideal with partial count I in and for , we let . An ideal I in is called normal if , for some . We denote by the collections of normal ideals in .
The dual poset with respect to P of is the poset , where is the dual poset of P. Let . The complement of I, denoted by , is a normal ideal in the dual poset , which satisfies:
- 1.
- and ;
- 2.
- For , , where for some .
Example 2.
Consider the poset , as in Figure 1, and the mset . Let be defined by
We can see that , , and . We have and as ideals with partial count, such that and , and is an ideal with full count, such that . Clearly, and are normal, but is not normal. For the complements of and , we have
For , where the mset and for , we define
The following result is directly obtained.
Proposition 3.
Given an mset and , we have that
- 1.
- If , , such that and .
- 2.
- If , , such that and .
- 3.
- For , if , then there is a unique , such that .
- 4.
- If for all , then there is no , such that .
Define a map by
Observe that for all . Moreover, if , then for all . For , let
Then , where .
With Proposition 3 and by deleting a maximal element of a normal ideal I in , it gives a way to construct a normal ideal . The next result is directly obtained.
Proposition 4.
Consider an mset and the poset .
- 1.
- For each , there exists an ideal J with full count, such that .
- 2.
- Let be such that .
- (2.1)
- If , then for each there exists , such that and .
- (2.2)
- If , then for each with there exists , such that and .
2.2. Supports and Weights
Suppose that , where are distinct prime numbers and are positive integers. By considering the mset , we can see that the lattice of subgroups of and the poset structure of under are the same.
Let be the set of all subgroups of . The map defined by , where for , is an order-isomorphism.
Let be a poset. Given , we define the support of x associated with the lattice of subgroups of as
a subset of . By considering as the smallest ideal in containing , the -poset weight of is defined to be , and the -poset distance between is . Now we prove that the -poset distance is a metric on .
Theorem 5.
Let be a poset and , where are distinct primes. Under the poset with the mset , the -poset distance is a metric on .
Proof.
It is clear that . As a group , we have if . Moreover, for any , , which implies that is symmetric. To show that the triangle inequality of holds, we let . By applying the fundamental theorem of finite cyclic groups, we assume that and for some nonnegative integers . Then and . Suppose that for some . It is clear that . Then . Observe that . If , it follows that . Now, we suppose . From , this forces , which means for all i. It is clear for the case . Next, assume that . It follows that, if for , then , which implies and . Consequently, . This completes the proof. □
The metric on is called as the -poset metric. Let C be a submodule of with the -poset metric . Then C is called an -poset code of length n over . The minimum -poset distance is the smallest -poset distance between two distinct codewords of C. The dual of an -poset code C is defined as
To obtain more information on each element of , which is placed on the poset structure of , we let
Example 6.
Consider with the mset . We have the following table:
| 1 | ||
| 2 | 10 | |
| 2 | ||
| 3 | ||
| 3 |
Recall some properties of the Euler -function as follows:
- 1.
- If p is a prime, then and for all .
- 2.
- For , if , then .
Remark 2.
Suppose , where are distinct primes. Consider the mset . We have that
- If for all i, then and .
- If for all i, then for ,
Example 7.
In the space , we consider the poset , where the mset and the poset is as shown in Figure 1. Consider the vector . We have
- (Poset weight) .
- (Pomset weight)
- (-poset weight)
Notice that, for a space with prime p, the poset metric and the -poset metric are the same, while the pomset metric and the -poset metric are equivalent when . The diagram in Figure 2 illustrates these facts.
Figure 2.
Weight relationship tree.
3. -Balls and -Balls
Let be a vector in the space with -poset metric and . With the center at and radius r, the r-ball and the r-sphere, respectively, are as follows:
It is clear that .
Definition 1.
Let C be a code of with -poset metric . Then C is said to be an r-perfect -poset code if the r-balls centered at the codewords of C are pairwise disjoint and their union is .
Let be such that and has exactly s maximal elements. We let . Given a vector of , we rewrite it as
where, for each , is an element in satisfying:
(i) If , then ,
where for some ;
(ii) If , then ;
(iii) If , then .
- Observe that . Now, letting be the collection of all vectors in , such that , we haveObviously, for two distinct ideals I and J in , . Now, we denote by the set of all ideals , such that , and I has exactly s maximal elements. Then the number of vectors in an r-ball with center equals
Given an ideal , the I-ball centered at and the I-sphere centered at , respectively, are defined as
Definition 2.
Let C be a code of with -poset metric and I be an ideal in . Then C is called an I-perfect -poset code if the I-balls centered at the codewords of C are pairwise disjoint and their union is .
Under pomset metric in , it was shown in [11] that I-balls are no more linear subspaces of if I is an ideal with partial count in . On the other hand, with the -poset metric, the I-ball centered at the zero vector is a submodule of .
Proposition 8.
Let . Then is a submodule of .
Proof.
Clearly, if I is an ideal with full count in , then is a submodule of with dimension . Now, suppose that I is an ideal with partial count. Then . For each , let for some . By considering as a subgroup of , such that for , for , we have for all . It follows that for . Hence, is a submodule of . □
For , let denote the -ball centered at under the poset .
Proposition 9.
Let . Then the following statements hold:
- 1.
- For , .
- 2.
- For , and are either identical or disjoint. Moreover,.
- 3.
- .
Proof.
(1) Let . It follows that , and . For , we have . Hence .
(2) For each , we let be a subgroup of , such that , where . For , suppose . We have and . If , then , so . For the case , we have , which implies . That is, for all . Consequently, , which means that .
(3) If I is an ideal with full count in , then is also an ideal with full count in . Since and , we derive the result.
Next, suppose that , where are distinct primes, and the mset . Let be an ideal with partial count. From , for each , we let for some , where , and let and be subgroups of , such that and . Then and . Let and . Then , where, for each i, and . It follows that is congruent to 0 modulo m. That is, . Now, we assume that there is . Since for all , we can, without loss of generality, write , where and . Then , where and for some . Choosing , defined by for all , and , it follows that modulo m, which is a contradiction. □
Example 10.
Consider and the mset . On , we choose . The structure of each when , is demonstrated via the lattice of the nontrivial subgroup for (see in Figure 3) in which , , and . Now let us consider the poset , where the poset is as shown in Figure 1. Let . Then I is an ideal with partial count. It is easy to see that , whereas .
Figure 3.
The lattice of nontrivial subgroups for .
Observe that the I-ball centered at the zero vector can be considered as a direct product of cyclic subgroups of . If m is a prime power, the following result is directly obtained.
Proposition 11.
In the space , let . Then
- 1.
- If , then and .
- 2.
- If , then
- and , where, for each , for some .
From Propositions 8 and 9, the following theorem shows the existence of an I-perfect code with an -poset metric when I is an ideal with full count.
Theorem 12.
For any ideal I with full count in , we have
- 1.
- is an I-perfect -poset code for the poset .
- 2.
- is an -perfect -poset code for the poset .
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 an I-perfect code with an -poset metric.
For each , let be such that if , and .
Lemma 1.
Let with . For each , let be a nontrivial subgroup of , such that . Then the following statements hold:
- 1.
- If there is , such that , then there is no I-perfect -poset code.
- 2.
- Suppose C is an I-perfect -poset code of . Then, for each , there is a maximal subgroup of , such that . Moreover, and .
Proof.
(1) Suppose that . Choose , where . Then, . It follows that . Suppose there is an I-perfect -poset code C of . Then, for some . That is, . This implies that , which means . From , there is , such that and . Consequently, . As a submodule of , we have , which is a contradiction to the I-perfect of C.
(2) Suppose C is an I-perfect -poset code of . Let . From (1), . Then there is a maximal subgroup of , such that . Let . Consider . Then, . We choose , such that . Since , it follows that and . Indeed, by proceeding as before, we have . That is, . Since , we have , which means . Then, for some . From , we have . Then there is , such that and modulo m. Thus, modulo m. These force . Hence, . That is, . Since C is I-perfect, by a similar technique, it can be shown that . □
Given an mset A, let .
Theorem 13.
Let , with . Then is an I-perfect -poset code of if and only if, for each , for some .
Proof.
Suppose is I-perfect. By Proposition 9(3), . For the necessary condition, let . We have and , where two subgroups are as in Lemma 1. Then .
For each , we have that and . These imply that and . Hence, the converse is proved. □
Corollary 1.
There is no I-perfect -poset code of if I is an ideal with partial count in .
Example 14.
In Example 10, we have , with , but . Consider the poset , as in Figure 1. In the space with the -poset metric, we let as an ideal with partial count. By Theorem 13, we have is an I-perfect -poset code of .
4. MDS -Poset Codes and Codes in Chain Poset Structure
Theorem 15.
(Singleton Bound) Let be the poset on and be an -poset code. Then
Proof.
Choose , such that . Consider the ideal I generated by . We have . From Proposition 4, there is a normal ideal J with full count of , such that . Then, . That is, there is no codeword in C, such that , and any two distinct codewords of C will not coincide in all positions . These imply that . So, we have . □
Definition 3.
An -poset code C of length n over is said to be a maximum distance separable -poset code (or simply MDS -poset code) if it attains the Singleton bound, as in (3).
Theorem 16.
In the space with the poset , let be an -poset code, such that . Then C is an MDS -poset code if and only if C is an I-perfect -poset code for all ideals with full count, such that .
Proof.
Let I be an ideal with full count in , such that . It is clear that . Suppose that C is an MDS -poset code. From (3), it follows that . Then, , that is, for two distinct elements . By , we have C is I-perfect.
To show that C is MDS, we choose , such that . Let . Suppose . By Proposition 4, we can construct an ideal I with full count in containing J, such that . But this would imply that , which is impossible since C is I-perfect. This forces that . Then . By Theorem 15, we have C is MDS. □
Example 17.
Let with . Consider , and .
- Under the poset , where , as in Figure 1, it is clear that and . Then, and are MDS. Moreover, the poset has exactly one ideal , such that , and has exactly one ideal , such that . Clearly, and are I-perfect and J-perfect, respectively.
- Under the poset , where , as in Figure 1, it is clear that and . Then, and are not MDS. In addition, there are two ideals and , such that and , in which is not -perfect, and is not -perfect.
Observe that, with the full count property of ideals in , it was a main tool to study the MDS -poset code , where , .
Next, we denote by the chain poset , with . Observe that every ideal I with full count in has a unique maximal element. Suppose for some . There is only one ideal I with full count, such that . It follows that for all .
The following results are some immediate consequences.
Proposition 18.
In the space with the poset , given an ideal I with full count in , let C be an I-perfect -poset code of . Then
- 1.
- C is an -perfect -poset code.
- 2.
- C is an MDS -poset code.
Recall that the cardinality of an r-ball with center , as in (2). By considering m as a prime power, we obtain the following result.
Proposition 19.
In the space with the poset , if , the cardinality of is , where for .
Proof.
As , we have that the poset becomes a chain. This implies that every ideal I in contains a unique maximal element. Since , . We write , where . From (2), we have
□
From the above proposition, although divides , by Corollary 1, there is no r-perfect -poset code of if does not divide r.
Next, we have thus established the sufficient condition of ideals with partial count in for an -poset code of to be r-perfect.
Theorem 20.
For with , in the space with the poset , if there is a unique , such that , then there is an -perfect -poset code of for .
Proof.
By the assumption, we have , and is the unique element of , such that . Let . By applying Proposition 4 (2.1), there is a unique ideal I with partial count in , such that . Since , by Theorem 13, it follows that becomes an -perfect -poset code. □
Example 21.
In the space with the poset and the mset , we consider . Observe that . Then we have , , , and . We can see that C is an 7-perfect -poset code. Moreover, C is also an I-perfect -poset code when the ideal with .
In the space with the poset and the mset , let . By Theorem 13, we can see that D is a J-perfect -poset code, where the ideal , such that . Observe that . However, the space is not covered by the union of r-balls centered at the codewords of D for any .
5. Discussion and Conclusions
The existence of codes over that are I-perfect under the pomset metric , where I is an ideal with partial count in , is determined by the necessary condition for some (see [11]). Meanwhile, the condition , where p and q are relatively prime, is required for the existence of J-perfect -poset codes, where J is a normal ideal with partial count in (as a consequence of Theorem 13). For example, in the space with the antichain poset structure, the code is I-perfect under , where of (as seen in Example 4 of [11]). Additionally, C is also J-perfect under , where of . However, the code is -perfect under , where of , but D does not satisfy the I-perfect condition for any ideal I with partial count in .
The main drawback of the -poset metric is that there are no J-perfect -poset codes over for a normal ideal J with partial count in , where q is a prime and . In contrast, for an odd prime q, the pomset metric guarantees the existence of I-perfect codes over , where I is an ideal with partial count in . However, as shown in Example 7, the -poset weighted of a vector in codes over has the advantage of not being excessively large, even when m is a large number.
As shown in Figure 2, for a given poset structure, the -poset metric and the poset metric are the same when m is a prime. For a non-prime power modulus m, this paper establishes the necessary and sufficient condition for the existence of I-perfect -codes for a given normal ideal I with partial count. Additionally, the relationship between MDS -poset codes and I-perfect -poset codes is explored. Finally, in case of the chain poset structure, we examine the existence of I-perfect and r-perfect -poset codes of .
Funding
This research received no external funding.
Data Availability Statement
Data are contained within the article.
Acknowledgments
The author sincerely thanks the editor and the anonymous reviewers for their insightful comments and constructive suggestions, which have significantly contributed to the improvement of this paper.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Hamming, R.W. Error detecting and error correcting codes. Bell Syst. Tech. J. 1950, 29, 147–160. [Google Scholar] [CrossRef]
- Lee, C.Y. Some properties of nonbinary error-correcting codes. IRE Trans. Inf. Theory 1958, 4, 77–82. [Google Scholar] [CrossRef]
- Brualdi, R.A.; Graves, J.S.; Lawrence, M. Codes with a poset metric. Discrete Math. 1995, 147, 57–72. [Google Scholar] [CrossRef]
- 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. [Google Scholar] [CrossRef]
- 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. [Google Scholar] [CrossRef]
- 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, 5241–5246. [Google Scholar] [CrossRef]
- Panek, L.; Firer, M.; Kim, H.K.; Hyun, J.Y. Groups of linear isometries on poset structures. Discrete Math. 2008, 308, 4116–4123. [Google Scholar] [CrossRef]
- Panek, L.; Pinheiro, J.A. General approach to poset and additive metrics. IEEE Trans. Inf. Theory 2020, 66, 6823–6834. [Google Scholar] [CrossRef]
- Sudha, I.G.; Selvaraj, R.S. Code with a pomset metric and constructions. Des. Codes Cryptogr. 2018, 86, 875–892. [Google Scholar] [CrossRef]
- Hyun, J.Y.; Kim, H.K. Maximum distance separable poset codes. Des. Codes Cryptogr. 2008, 48, 247–261. [Google Scholar] [CrossRef]
- Sudha, I.G.; Selvaraj, R.S. MDS and I-perfect codes in pomset metric. IEEE Trans. Inf. Theory 2021, 67, 1622–1629. [Google Scholar]
- Golomb, S.W.; Welch, L.R. Perfect codes in the Lee metric and the packing of polyominos. SIAM J. Appl. Math. 1970, 18, 302–317. [Google Scholar] [CrossRef]
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. |
© 2024 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).