1 Introduction
The study of codes endowed with a metric other than the Hamming metric gained momentum since 1990’s with the introduction of poset metric by Brialdi et al. (see [References]). Feng et al. in [References] introduced block metric and studied MDS block codes. Poset block metric was introduced by Alves et al. in [References] unifying poset metric and block metric.
More recently in [References], Selvaraj and Sudha generalized the poset metric structure to a pomset metric structure. They introduced pomset metric and initialized the study of codes equipped with pomset metric. The concept of order ideals of a pomset is proposed and pomset metric is defined. We also refer the reader to [References, References] for two general metrics in poset space.
Weight distribution of a code describes the number of codewords of each possible weight. The MacWilliams identity for linear codes over finite fields is one of the most important identities in coding theory (see [References]). It expresses a connection between the weight enumerator of a linear codes and its dual code.
Kim and Oh classified all poset structures that admit the MacWilliams identity, and derived the MacWilliams identities for poset weight enumerators corresponding to such posets (see [References]). It is proved that being hierarchical is a necessary and sufficient condition for a poset to admit the MacWilliams identity. They also derived an explicit relation between the -weight distribution of a hierarchical poset code and the -weight distribution of the dual code. Extending their observations, Pinheiro and Firer proved that a poset-block space admits a MacWilliams-type identity if and only if the poset is hierarchical, and at any level of the poset, all the blocks have the same dimension (see [References]). They explicitly stated the relation between the weight enumerators of a code and its dual when the poset-block admits the MacWilliams-type identity.
For codes over , pomset metric is a generalization of Lee metric when pomset is taken to be an antichain; in some sense, it is a generalization to poset metric as well. Sudha and Selvaraj defined pomset weight enumerator of a code and established MacWilliams type identities for linear codes with respect to certain pomsets (see [References]). The identities for a particular type of linear codes are established by considering direct and ordinal sum of pomsets on them. For pomset block codes, it is natural to attempt to obtain some kind of MacWilliams identities for block codes in certain pomset metric. In this paper, we generalize the MacWilliams type identity given in [References] for pomset spaces to pomset-block spaces.
The paper is organized as follows, Section 2 contains basic notions of pomset block metric over and defines weight enumerator for a linear pomset block code. In Section 3, we consider the relationship between the weight distribution of a pomset block code and its dual when the pomset is a chain pomset. In particular, an explicit relation is derived between the -weight distribution of a pomset block code and the -weight distribution of the dual code when is a field and all blocks have dimension 2. We also give same examples to illustrate our conclusion. In Section 4, we give MacWilliams type identities on direct and ordinal sums of general pomsets. Lastly, we summarize our results and raise a question for further research.
2 Preliminaries
In this section, we introduce some basic notations and useful results of a pomset block metric.
A collection of elements which may contain duplicates is called a multiset (in short, mset). Girish and John defined a multiset relation and explored some of basic properties (see [References] and [References]).
Let be a set formally. A mset drawn from the set is represented by a function count where represents the set of non-negative integers. For each , indicates the number of occurrences of the element in .
An element appearing times in is denoted by and thus . If we consider , the value of satisfies . The mset drawn from the set is represented as . The cardinality of an mset drawn from is . The root set of denoted by is defined as .
Let and be two msets drawn from a set . We call a submset of () if for all . The union of and is an mset denoted by such that for all , .
Let and be two msets drawn from , the Cartesian product of and is also an mset defined as
|
|
|
Denote by the count of the first coordinate in the ordered pair and by the count of the second coordinate in the ordered pair .
A submset of is said to be an mset relation on if every member of has count . An mset relation on an mset is said to be reflexive if for all ; antisymmetric if and imply and ; transitive if and imply . An mset relation is called a partially ordered mset relation (or order relation) if it is reflexive, antisymmetric and transitive. The pair is known as a partially ordered multiset (pomset) denoted by .
Let and . Then is a maximal element of if there exists no such that ; is a minimal element if there exists no such that . is called a chain if every distinct pair of points from is comparable in . is called an anti-chain if every distinct pair of points from is incomparable in .
A submset of is called an order ideal (or simply an ideal) of if and imply . An ideal generated by an element is defined as
|
|
|
An ideal generated by a submset of is defined by .
For a given pomset , the dual pomset of is given by:
and have the same underlying set and in if and only if in .
Note that is a chain pomset implies that is a chain pomset.
Consider , the ring of integers modulo . We consider a pomset defined on an mset .
Let be a map such that . The map is said to be a labeling of the pomset , and the pair is called a pomset block structure over . Denote by and take as free -module for all . Define as
|
|
|
which is isomorphic to . Each can be written as
|
|
|
where , . For , Lee weight of is minimum of and .
The Lee block support of is defined as
|
|
|
where
|
|
|
The -weight of is defined to be the cardinality of the ideal generated by , that is
|
|
|
The pomset block distance between two vectors is given by
|
|
|
which induces a metric on known as pomset block metric. The pair is said to be a pomset block space. A subset of with cardinality is called an -code, where is equipped with the pomset block metric and
|
|
|
is the -minimum distance of . If is a submodule of with cardinality , we call a linear -code.
The dual of an -code is defined as
|
|
|
For a linear -code , the -weight enumerator for is the polynomial
|
|
|
where .
3 MacWilliams type identity in spaces for chain pomset
Let and be the set of all integers between and . In this section, we will derive the MacWilliams type identity for linear block codes in the chain pomset metric. Without loss of generality, we define the pomset on the multiset whose mset relation is given by
|
|
|
Let be a pomset block structure on where is a labeling of such that . Suppose that such that and .
By the definition of , we have that . Given a linear -code , we define
|
|
|
and
|
|
|
Let be a finite ring. Recall that an additive character on is just a group homomorphism from the additive group into the multiplicative group . The set of all additive character of forms a group , called the character group whose group operation is the pointwise multiplication of characters. Moreover, is a right -module with the function given by where such that for all and . A character of is a right generating character if the mapping given by is an isomorphism of -modules. See [References] for detailed discussion on additive characters.
Lemma 3.1.
([References])
Let be a character of a finite ring . Then is a right generating character if and only if ker contains no non-zero right ideals.
The following lemmas are easy consequences of Lemma 3.1.
Lemma 3.2.
Let be a nontrivial additive character on a finite communicative ring and be a fixed element of . Then
|
|
|
Lemma 3.3.
Let be a generating character on a finite communicative ring . For any submodule , we have
|
|
|
Let be a complex-valued function defined on and be a generating character of . The Fourier transform of is
|
|
|
Lemma 3.4.
Let be a submodule and be a function defined on . Then
|
|
|
Theorem 1.
Given a linear -code of length over on the chain pomset , we have the following
-
(1)
if is odd then
|
|
|
-
(2)
if is even then
|
|
|
|
|
|
|
|
where , and
|
|
|
Proof.
Consider the function defined by
|
|
|
Then it follows from Lemma 3.4 that
|
|
|
(3.1) |
We now analyze the value in detail. We have that
|
|
|
|
|
|
|
|
|
|
Given , and , set:
|
|
|
With these definitions, we have
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
where . It follows from Lemma 3.2 that
|
|
|
(3.2) |
Set
|
|
|
If is odd then we observe that
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The result then follows from (3.1) and (3.2). The case for even can be proved in a similar way.
∎
Example 3.1.
Let and be a pomset whose order relation is chain relation. Let be a labeling of the pomset such that and . Consider the -code given by
|
|
|
Then by Theorem 1, one has
|
|
|
|
|
|
|
|
|
|
Note that , , and . Hence
|
|
|
|
|
On the other hand, the dual of is
|
|
|
The -weight enumerator for is then
|
|
|
which coincides with Theorem 1.
Example 3.2.
Let and be a pomset whose order relation is chain relation. Let be a labeling of the pomset such that and . Consider the -code given by
|
|
|
Then we have , and . It follows from Theorem 1 that
|
|
|
|
|
|
|
|
|
|
On the other hand, the dual of is
|
|
|
|
|
|
The -weight enumerator for is then
|
|
|
which also coincides with Theorem 1.
Before we proceed to prove the next corollary, we assume the following notations:
-
(1)
Given even. Consider the -th block of .
-
•
, where satisfies one of the following conditions:
-
a)
-
b)
-
•
, where satisfies one of the following conditions:
-
a)
, ;
-
b)
, and there does not exist (mod ).
-
•
.
-
(2)
Given odd. Consider the -th block of .
-
•
where satisfies
|
|
|
-
•
where satisfies one of the following conditions:
-
a)
, ;
-
b)
(), and there does not exist (mod ).
-
c)
, and there exists no (mod ).
-
•
.
-
(3)
For , we put ,
|
|
|
and
|
|
|
Corollary 3.1.
Let be a pomset on with chain relation and be a labeling of the pomset with for . Let be a linear -code. If is a field (that is, is a prime number), then the -weight enumerator for is given by:
|
|
|
|
|
|
Proof.
By Theorem 1, we have
|
|
|
|
|
|
|
|
Denote by
|
|
|
For every , we have that and are not all .
Take whose -th block has the form . Since is a field, every element of appears same times at . Thus we have
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
One can prove that in the same way.
Suppose satisfies that neither nor . With out loss of generality, we assume that where . Then
|
|
|
|
|
|
|
|
|
|
|
|
(3.3) |
where and is the Galois group of -th cyclotomic field . Note that . The first summation in (3) becomes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The second summation in (3) becomes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hence
|
|
|
It follows from this observation that
|
|
|
The result then follows.
∎
Example 3.3.
Let and be a pomset whose order relation is chain relation. Let be a labeling of the pomset such that . Consider the -code generated by the following matrix:
|
|
|
Then it follows from Corollary 3.1 that
|
|
|
Note that
;
;
;
;
;
.
Hence
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
On the other hand, the dual of is
|
|
|
|
|
|
|
|
and the -weight enumerator of is
|
|
|
which coincides with Corollary 3.1.
4 MacWilliams type identities on direct and ordinal sum of general pomsets
For , let be a pomset block structure over where is a map such that and with . Denote by . Suppose that is a linear -code. The direct sum of and denoted by is given by
|
|
|
Note that is also a submodule of .
Let . Define a pomset relation on in the following way:
|
|
|
for any , . It is clear that is a pomset and is called as direct sum of and denoted by .
Define a pomset relation on as:
|
|
|
for any , . Then is a pomset and is called as ordinal sum of and denoted by . See [References] for detailed discussion on sum of pomsets.
With these definitions, we have that and . Define the sum of and denoted by as such that
|
|
|
We now consider the code equipped with and block structures respectively.
With notations introduced above, we obtain the following result.
Theorem 2.
(1) For a linear -code , we have
|
|
|
(2) For a linear -code , we have
|
|
|
Proof.
Set . Define a function by
|
|
|
Then the Fourier transform of is
|
|
|
The -weight enumerator of is
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If , then
|
|
|
|
|
(4.1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The first summation in (4.1) is
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The second summation in (4.1) is
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hence
|
|
|
∎
Let be a linear -code for . Let
and . By the induction on , we obtain the following result.
Theorem 3.
-
(1)
If , then is a linear -code and
|
|
|
-
(2)
Set . If , then is a linear -code and
|
|
|
|
|
|
|
|
|
|