A Polymatroid Approach to Generalized Weights of Rank Metric Codes
Sudhir R. Ghorpade, Trygve Johnsen

TL;DR
This paper introduces a polymatroid-based framework for defining and analyzing generalized weights of rank metric codes, establishing duality properties and connecting to existing code weight concepts.
Contribution
It extends the notion of generalized weights to $(q,m)$-polymatroids and demi-polymatroids, and proves a duality theorem analogous to Wei duality for these weights.
Findings
Established a duality for generalized weights of $(q,m)$-polymatroids.
Derived results for Delsarte rank metric codes and relative generalized rank weights.
Unified different approaches under a polymatroid framework.
Abstract
We consider the notion of a -polymatroid, due to Shiromoto, and the more general notion of -demi-polymatroid, and show how generalized weights can be defined for them. Further, we establish a duality for these weights analogous to Wei duality for generalized Hamming weights of linear codes. The corresponding results of Ravagnani for Delsarte rank metric codes, and Martinez-Penas and Matsumoto for relative generalized rank weights are derived as a consequence.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A polymatroid approach to generalized weights of Rank Metric Codes
Sudhir R. Ghorpade
Department of Mathematics, Indian Institute of Technology Bombay
Powai, Mumbai 400 076, India
and
Trygve Johnsen
Department of Mathematics and Statistics, UiT-The Arctic University of Norway
N-9037 Tromsø, Norway
Abstract.
We consider the notion of a -polymatroid, due to Shiromoto, and the more general notion of -demi-polymatroid, and show how generalized weights can be defined for them. Further, we establish a duality for these weights analogous to Wei duality for generalized Hamming weights of linear codes. The corresponding results of Ravagnani for Delsarte rank metric codes, and Martínez-Peñas and Matsumoto for relative generalized rank weights are derived as a consequence.
2000 Mathematics Subject Classification:
05B35, 94B60, 15A03
Sudhir Ghorpade is partially supported by DST-RCN grant INT/NOR/RCN/ICT/P-03/2018 from the Dept. of Science & Technology, Govt. of India, MATRICS grant MTR/2018/000369 from the Science and Engg. Research Board, and IRCC award grant 12IRAWD009 from IIT Bombay.
Trygve Johnsen is partially supported by grant 280731 from the Research Council of Norway.
1. Introduction
Linear (block) codes are objects of basic importance in the theory of error correcting codes. A -ary linear code of length and dimension , or in short, a -code is simply a -dimensional subspace of , where denotes the finite field with elements. A basic notion here is that of Hamming distance on the space , which for two vectors is simply the number of nonzero coordinates in . Rank metric codes are an important variant of linear codes, and they have gained prominence in the past few decades, partly due to myriad applications in network coding and cryptography, as also due to their intrinsic interest. Perhaps a more widely studied notion of rank metric codes is the one that goes back to Gabidulin’s work [5] in 1985. A Gabidulin rank metric code, or simply, a Gabidulin code, of length and dimension may be defined as a -dimensional subspace of the -dimensional vector space over the extension field of . By fixing a -basis of , we can associate to any vector in an matrix with entries in , and the rank distance between any is defined as the rank of the difference of the matrices corresponding to and . The notion of a Delsarte rank metric code is in fact, older (it goes back to the work [3] of Delsarte in 1978) and more general. Indeed, a Delsarte rank metric code, or simply, a Delsarte code of dimension is a -dimensional subspace of the -linear space of all matrices with entries in . As before, the rank distance between two matrices is the rank of their difference. It is clear that a Gabidulin code of dimension is a Delsarte code of dimension . But a Delsarte code need not be a Gabidulin code, even if its dimension is divisible by .
Generalized Hamming weights (GHW), also known as higher weights, of a linear code are a natural and useful generalization of the basic notion of minimum distance of . These were studied by Wei [22] who showed that the GHW of a -code satisfy nice properties such as monotonicity () and more importantly, duality whereby the GHW of and its dual determine each other. It was not immediately clear how an analogue of GHW for rank metric codes could be defined. But then three different definitions for the generalized rank weights (GRW) of a Gabidulin rank metric code were proposed by three sets of authors working in different parts of the globe, viz., Oggier and Sboui [18], Kurihara, Matsumoto and Uyematsu [13], and Jurrius and Pellikaan [11]. Thankfully, all three seemingly disparate definitions turn out to be equivalent (cf. [11]). Moreover, an analogue of Wei duality holds for the GRW; see, e.g., Ducoat [4]. For the more general class of Delsarte rank metric codes, Ravagnani [20] proposed an analogous definition of generalized weights (GW) and showed that in the special case of Gabidulin codes, the GW of the corresponding Delsarte code are the same as the GRW of the Gabidulin code (in accordance with the previous definitions), each repeated times. Further, Ravagnani [20] established a duality for his GW of Delsarte rank metric codes. The notion of dual Delsarte codes is facilitated by the trace product, which associates to a pair of matrices with entries in the element of . It is shown by Ravagnani [19] that for suitable choices of -bases of , the notions of the (standard) dual of a Gabidulin code and of the (trace) dual of the corresponding Delsarte code are compatible.
In the classical case of linear codes, Britz et al [2] showed that Wei duality for generalized Hamming weights of linear codes is, in fact, a special case of Wei duality for matroids and also established Wei-type duality theorems for demi-matroids. It is natural, therefore, to ask if the notion of generalized (rank) weights for (Gabidulin or Delsarte) rank metric codes can be studied in the more general context of something like matroids, and if an analogue of Wei duality can be proved in this set-up. This is the question that we address in this paper. The notion that turns out to be relevant for us is that of a -polymatroid, which has recently been introduced by Shiromoto [21]. (See also [8, 7] for an essentially equivalent notion of a -polymatroid.) Thus, we define generalized weights for -polymatroids, and establish a Wei-type duality for them. As a corollary, we readily obtain the results of Ravagnani [20] for his GW of Delsarte codes and their duals, provided . The cases and can also be covered, and these are addressed in Remark 30 and Proposition 40, respectively. To study the case , and also for other purposes, we consider the more general class of -demi-polymatroids and establish a duality result there. As another important application, we show how these general combinatorial objects can be applied to flags, or chains, of Delsarte rank metric codes. In particular, by considering pairs, i.e., flags of length of Delsarte codes, we recover several results of Martínez-Peñas and Matsumoto [17] on the so called relative generalized rank weights of Delsarte codes. We remark that -analogues of matroids, called -matroids and -polymatroids, have been considered by Jurrius and Pellikaan [12] and by Gorla, Jurrius, Lopez, and Ravagnani [8], respectively. However, as far as we can see, Wei-type duality for the generalised weights of these objects is not shown in these papers.
This paper is organized as follows. In Section 2 below, we review the definition of a -polymatroid and outline some basic notions and results. Generalized weights of a -polymatroid are defined and Wei-type duality for them is established in Section 3. These results are then applied to Delsarte rank metric codes in Section 4. In Section 5 we introduce -demi-polymatroids, show Wei duality for these objects, and apply it to Delsarte rank metric codes consisting of square matrices. Flags of Delsarte rank metric codes, and their dualøity theory, are discussed in Section 6. Several examples and applications are also included here.
2. Preliminaries about -Polymatroids
Throughout this paper denotes the set of all nonnegative integers, denote positive integers, a prime power, and the finite field with elements. We let be the vector space over and let
[TABLE]
For , we deonte by the dual of (with respect to the standard “dot product”), i.e., . It is elementary and well-known that with and , although need not be equal to , but of course .
The following key defnition is due to Shiromoto [21, Definition 2].
Definition 1**.**
A -polymatroid is an ordered pair consisting of the vector space and a function satisfying the following three conditions for all :
- (R1)
;
- (R2)
If , then ;
- (R3)
.
The nonnegative integer is called the rank of and is denoted by . The function may be called the rank function of . **
Remark 2**.**
As Shiromoto [21] remarks, a -polymatroid is a -analogue of -polymatroids, and a -matroid is a -analogue of matroids. An alternative, but somewhat different approach, to -polymatroids is provided by Gorla, Jurrius, Lopez, and Ravagnani [8, Definition 4.1.]. **
The following basic fact is proved in [21].
Proposition 3**.**
[21, Proposition 5]** Let be a -polymatroid. Define by
[TABLE]
*Then is also a -polymatroid. *
If and are as in Proposition 3, then the -polymatroid is denoted by and called the dual of . Note that by (R1) and so
[TABLE]
Definition 4**.**
Let be a -polymatroid. The nullity function of is the map defined by
[TABLE]
The conullity function of is the map defined by
[TABLE]
By way of giving an example of a -polymatroid, we describe below an important class of -polymatroids.
Example 5**.**
Let be a nonnegative integer . The uniform -polymatroid is defined as , where , and for all with , while for all with . It is easy to see that is indeed a -polymatroid and also that **
Elementary properties of nullity and conullity functions are given below. The proof is analogous to [21, Lemma 4], but included for the convenience of the reader.
Proposition 6**.**
Let be a -polymatroid and let with . Then:
- (a)
* and ;* 2. (b)
* and .*
Proof.
(a) By extending a basis of to , we can find such that
[TABLE]
Thus, using (R3), we obtain
[TABLE]
On the other hand, by (R1), . It follows that
[TABLE]
This proves that . Replacing by , we obtain .
(b) The desired upper bound for follows by noting that by (R2),
[TABLE]
As in (a), the inequality for follows from using in place of . ∎
Remark 7**.**
Proposition 6 shows that if is a -polymatroid, then the conullity function of is a monotonically increasing function on (ordered by inclusion of subspaces of ) and it takes values ranging from to However, unlike in the case of usual matroids, there is no “discrete intermediate value theorem” saying that every integer value between [math] and is attained as the conullity of some subspace of . Moreover, although Proposition 6 shows that the pairs and satisfy the axioms (R1) and (R2) in the definition of a -polymatroid, neither of these are, in general, -polymatroids. To see these two assertions, it suffices to consider the uniform -polymatroid . Indeed, in this case , where , and it is easily seen that for any subspace of ,
[TABLE]
Thus, a “discrete intermediate value theorem” does not hold for as well as for if . Furthermore, if are distinct -dimensional subspaces of , then and , and hence
[TABLE]
It follows that neither nor is a -polymatroid. * *
3. Wei duality of -polymatroids
The following definition for the generalized weights of a -polymatroid appears to be natural.
Definition 8**.**
Let be a -polymatroid and let . For , the th generalized weight of is defined by
[TABLE]
Here are some simple properties of generalized weights of -polymatroids.
Proposition 9**.**
Let be a -polymatroid and let . Then
[TABLE]
Proof.
Since , it is clear that for . Next, if and if for some with , then , and so by definition, . ∎
Unlike the generalized Hamming weights of linear codes, strict monotonicity may not hold for generalized weights of -polymatroids, i.e., we may not have for . For example, if , then Proposition 9 implies that for some . However, we will show that for , provided . First, we need some preliminary results.
Lemma 10**.**
Let be a -polymatroid and let . Define
[TABLE]
Now fix a positive integer . Then and for ,
[TABLE]
In particular, is a generalized weight of if and only if . Also, and if is the dual of , then for ,
[TABLE]
In particular, is a generalized weight of if and only if .
Proof.
Let with . If is such that and , then by taking with and , we see from Proposition 6 (a) that . Thus, . Similarly, . Now let with .
First, suppose . Then for some with . This implies that . Moreover, since , we see that for every with . This implies that .
Conversely, suppose . Choose with such that . Then and so . Suppose, if possible, . Then there is with and . Enlarge to a subspace of such that . In view of Proposition 6 (a), we obtain , which contradicts the assumption . This shows that . Thus (1) is proved.
The equivalence (2) follows by applying (1) to in place of . ∎
Here is a nice relation between the functions and defined in Lemma 10.
Lemma 11**.**
Let be a -polymatroid and let . Then
[TABLE]
Consequently,
[TABLE]
In particular, for .
Proof.
Given any , note that , and hence . It follows that
[TABLE]
Taking maximum as varies over elements of with , we obtain (3). Now (3) implies that for , and this yields (4). Further, since and , thanks to Lemma 10, we also obtain for . ∎
Corollary 12**.**
Let be a -polymatroid and let . Then
[TABLE]
and
[TABLE]
Proof.
Let be a positive integer with . Then , by Proposition 9. Suppose, if possible, , say. Then by (1) in Lemma 10, and . Consequently, . This contradicts the last assertion in Lemma 11. Thus . Replacing by , we obtain the desired inequality for the generalized weights of . ∎
We shall now proceed to establish a version of Wei duality for the generalized weights of -polymatroids. Recall that if is a -code, and are the generalized Hamming weights (GHW) of and are the GHW of the dual of , then Wei duality states that the values
[TABLE]
are all distinct and their union is precisely the set . In the setting of a polymatroid of rank , the generalized weights of and its dual lie between 1 and , and we can similarly consider
[TABLE]
But these values would not constitute when , since they lie between and . But one could ask for some “-fold” version of Wei duality, and that is what we give in the next theorem and the corollary that follows. These results are inspired by the related results of Ravagnani [20] and also of Martínez-Peñas and Matsumoto [17] about generalized weights (GW) and relative GW of Delsarte rank metric codes.
Theorem 13**.**
Let be a -polymatroid of rank Also, let be integers such that and Then
[TABLE]
Proof.
Write , , and . Let and be as in Lemma 10. In view of (4), let
[TABLE]
Then using (1), we see that
[TABLE]
Thus , and therefore by (3), we obtain
[TABLE]
The second inequality above implies that
[TABLE]
Now suppose, if possible, . Then by (2), . Combining this with the inequalities obtained earlier, we see that
[TABLE]
But this contradicts the fact that . ∎
Corollary 14**.**
Let be a -polymatroid of rank , and let be an integer such that . Define
[TABLE]
Also define and in a similar manner. Then
[TABLE]
where means the integer in congruent to modulo .
Proof.
By Theorem 13, the sets and are disjoint, and by Proposition 9, they are subsets of . Thus it suffices to show that the sum of their cardinalities is at least (and therefore exactly ). To this end, write for integers with . Note that . Let us first consider the case . Here, by the definition of , and the frequent leaps, guaranteed by Corollary 12, of the as increases, we see that:
[TABLE]
On the other hand, Corollary 12 also shows that
[TABLE]
Thus, . Consequently, . Next, suppose . Here, in a similar manner, Corollary 12 shows that
[TABLE]
and also that
[TABLE]
So, once again (and hence equal to ), as desired. ∎
Remark 15**.**
The above corollary shows that the generalized weights of a -polymatroid and the generalized weights of its dual determine each other. Indeed, first we treat only the and , for , for a fixed value of . By Corollary 14 they determine each other. Since this is true for each fixed s, as varies in , the assertion holds.
We remark also that the proofs given here of Theorem 13 and the two preceding lemmas are motivated by the proofs of the corresponding results for usual matroids (see, e.g., [15, Proposisjon 5.18]). Further, our proof of Corollary 14 uses arguments that are analogous to those in the proof of [20, Corollary 38]. **
4. Generalized Weights of Delsarte Rank Metric Codes
In this and the subsequent sections, we will denote by , or simply by the space of all matrices with entries in the finite field . Note that is a vector space over of dimension .
As stated in the Introduction, by a Delsarte rank metric code, or simply a Delsarte code, we mean a -linear subspace of . We write , or simply , to denote the dimension of a Delsarte code .
Following Shiromoto [21], we associate to a Delsarte code , a family of subcodes of indexed by subspaces of , and a -polymatroid as follows.
Definition 16**.**
Let be a Delsarte code.
- (a)
Given any , we define to be the subspace of consisting of all matrices in whose row space is contained in . 2. (b)
By we denote the function from to defined by
[TABLE]
Further, by we denote the -polymatroid .
Remark 17**.**
It is shown in [21, Proposition 3] that does indeed satisfy all the axioms of a -polymatroid. We note also that the conullity function of is given by
[TABLE]
Example 18**.**
Assume, for simplicity, that . Let be a MRD code of dimension . (See, for example, [19, § 2] for the definition and basic facts about MRD codes.) Then is a Delsarte code such that is divisible by and for all subspaces of with . The latter follows, for instance, from [8, Proposition 6.2]. This shows that if with . Further, in view of [8, Theorem 6.4], we see that if with . It follows that is the uniform matroid . **
In general we loosely think of as (containing) the “support” of the code , and as “the subcode of supported on ”. This gives rise to the idea of the th generalized weight as the smallest dimension of a subspace that can support an -dimensional subcode, in analogy with the smallest cardinality of a subset that can support an -dimensional subcode, for a block code with Hamming metric. In other words we define:
Definition 19**.**
Let be a Delsarte code and let . For , the th generalized weight of is defined by
[TABLE]
Remark 20**.**
This definition is in harmony with the one given by Martínez-Peñas and Matsumoto [17] of the th relative generalized weight:
[TABLE]
for pairs of Delsarte codes . Indeed, our coincides with their See also their Appendix A, where duality theory for a single code is treated.* *
We then have defined generalized weights for -polymatroids as well as Delsarte codes, in a way intended to give the following result as a consequence:
Theorem 21**.**
Let be a Delsarte code and let be the corresponding -polymatroid. Then and
[TABLE]
Proof.
Clearly, . Thus and for any ,
[TABLE]
where denotes the conullity function of . It follows that
[TABLE]
for any . ∎
4.1. Duality of Delsarte rank metric codes
As indicated in the Introduction, the notion of dual for Delsarte reank metric codes is defined using the trace product. See for example [20, Definition 34]. We record the basic definition below.
Definition 22**.**
Let be a Delsarte code. The trace dual, or simply the dual, of is the Delsarte code defined by
[TABLE]
where denotes the transpose of a matrix and, as usual, is the trace of the square matrix , i.e., the sum of all its diagonal entries. **
There is a natural connection between duals of Delsarte codes and the duals of -polymatroids. It is shown by Shiromoto [21] as well as Gorla, Jurrius, Lopez and Ravagnani [8], and we record it below.
Theorem 23**.**
[21, Proposition 11]** Let be a Delsarte code. Then
[TABLE]
The proof is quite short and natural and given in [21, Proposition 11], and also in [8, Theorem 8.1]. Note that this gives another proof of [17, Proposition 65].
Corollary 24**.**
If we know all the generalized weights of a Delsarte rank-metric code , then the generalized weights of are uniquely determined (and vice versa). Moreover these ordered sets of generalized weights determine each other in a way described by Theorem 13, if one substitutes the codes in question with their respective polymatroids.
Proof.
Follows from Theorem 23 and Remark 15. ∎
Example 25**.**
Assume that . Let be an MRD code of dimension . As we saw in Example 18, . Then , which translated back to the language of codes gives , for all subspaces of of dimension at most . Hence we obtain the well-known fact that if is an MRD code of dimension , then is an MRD-code of dimension **
Example 26**.**
If is a Delsarte code with is divisible by , as for example for a Gabidulin code, or an MRD-code, then the conclusion of Corollary 14 is
[TABLE]
Consequently, a Delsarte code with dimension divisible by is MRD if and only if for each (and then automatically for while and for **
4.2. Another definition of generalized weights
Ravagnani has given another definition in [20, Definition 23] of generalized weights of Delsarte codes that is based on the following notion of anticodes.
Definition 27**.**
By an optimal anticode we mean an -linear subspace of such that , where denotes the maximum possible rank of any matrix in . **
Here is Ravagnani’s definition of generalized weights of Delsarte codes.
Definition 28**.**
Let be a Delsarte code of dimension . Define
[TABLE]
A relationship between the two notions (given in Definitions 19 and 28) is stated below. This result is given in [17, Theorem 9] as well as [8, Proposition 2.11], and we refer to the former for a proof of the following theorem.
Theorem 29**.**
Let be a Delsarte code. Then for each ,
[TABLE]
Remark 30**.**
Theorem 29 gives a second proof of Corollary 24 when , since the corresponding result for the and is given by Ravagnani [20, Corollary 38]. Also, when , both [20, Corollary 38] and Corollary 24 are still valid, but the and the are not necessarily the same. An example where they are different is given by Martínez-Peñas and Matsumoto [17, Section IX,C]. Another proof of Corollary 24 is given in [17, Lemma 66, Corollary 68]. We refer to [7, Theorem 5.14] and [7, Theorem 5.18] for a fuller treatment of the case , and also for the cases where . We will, however, based on that treatment, return to the case in Subsection 5.1. Here we just remark briefly that if, on the other hand, , then it will be more natural to work with the -polymatroid (where is the set of transposes of matrices in ) than with the -polymatroid In particular it follows from [7, Theorem 5.18] that the generalized weights given in [20] coincide with the generalized weights for the -polymatroid . Hence Wei duality for polymatroids gives a second proof for the Wei duality of Ravagnani’s generalized weight also for .**
Remark 31**.**
It is a main point in our exposition that we can prove our main results, Theorem 13, and Corollary 14, without even mentioning Delsarte rank metric codes, but at the same time, these results imply the “Wei duality” when the -polymatroid in question indeed comes from a Delsarte rank metric code. One might wonder whether there are -polymatroids that do not come from Delsarte rank metric codes, but where our Wei duality may give interesting descriptions for other objects. For usual matroids, there are matroids that are non-representable, and thus do not come from linear codes. An example is the non-Pappus matroid (say), with ground set of cardinality . The Wei duality of matroids, as described for example in [2] or [15, Proposisjon 5.18] without mentioning codes, is enjoyed by as well. But for the non-Pappus matroid , Wei duality can also be interpreted in a coding theoretic sense, except that instead of (linear block) codes, we have to consider the so called almost affine codes, which can be nonlinear and whose alphabet set need not even be a field; see [9, Example 1]. In analogy with this, we may ask the following. Is there a class of codes strictly bigger (or quite different) than that of Delsarte rank metric codes, such that the codes in this class give rise to -polymatroids, and where duality of codes corresponds to duality of -polymatroids, and moreover, “Wei duality” for -polymatroids can be interpreted in a coding theoretic sense? **
Example 32**.**
We will describe a -polymatroid , which is not defined as a for a single Delsarte code , but is derived from a collection of codes.
Let be block codes of length over . We will view the codewords as matrices, and the as Delsarte rank metric codes. Let
[TABLE]
Note that for each , the space coincides with whenever and thus the rank function of is given by
[TABLE]
Also note that the trace dual is simply the usual orthogonal complement of as a block code. Clearly, as well as are -polymatroids. Since , the rank function of satisfies
[TABLE]
Now define by
[TABLE]
It is easy to see that satisfies all the axioms for -polymatroids. Moreover, as a -polymatroid, for any , we obtain
[TABLE]
and hence if denotes the conullity function of , then, in view of (6), we find
[TABLE]
Thus the generalized weights of the -polymatroid are given by
[TABLE]
for , whereas the generalized weights of are given by
[TABLE]
for . A relation between these two sets of generalized weights is described in Theorem 13 and Corollary 14. From the construction of , we see that unless all are zero, since we may take some one dimensional contained in some , and calculate . Analogously, as well, unless , for all . On the other hand , unless there is a strict subspace of that contains all the codes . So, if , for some , but the span of is , then and , a possibilty excluded if the “usual” Wei duality were applicable, but which indeed may occur, and in fact does occur, under the “revised” duality described in Theorem 13 and Corollary 14. Given that , Theorem 13 only prohibits that for all congruent to modulo . But is certainly not congruent to modulo , and so may very well be .
In a certain sense this example is also associated to matrices, since each element of could be presented as codewords of length arranged as an matrix. Our function does however not “measure the behaviour” of the row space of the matrix, including all linear combinations of the rows, as a rank function of a of a Delsarte rank metric code would have done; it only “measures the behaviour” of the individual rows. “Intermediate” examples could have been made by taking where is the rank function of an Delsarte rank metric code, for , and where are nonnegative integers with . **
5. Demi-polymatroids and their Generalized Weights
In this section, we discuss a generalization of the notion of -polymatroids, and observe that most of the results in Section 2 can be extended in a more general context. In the next section we shall see how this generalization is relevant for Delsarte rank metric codes.
Definition 33**.**
A -demi-polymatroid is an ordered pair consisting of the vector space over and a function satisfying the following three conditions:
- (R1)
for all ;
- (R2)
for all with ;
- (R4)
defined by for also satisfies (R1) and (R2).
The notion of dual is defined exactly as in the case of -polymatroids and we have the following analogue of Proposition 3 or equivalently, [21, Proposition 5].
Proposition 34**.**
Let be a -demi-polymatroid and let be as in above. Then the ordered pair is also a -demi-polymatroid, denoted by and called the dual -demi-polymatroid of .
Proof.
By the definition of a -demi-polymatroid, satisfies (R1) and (R2). Moreover, since equals
[TABLE]
and since , thanks to (R1), and , we see that , and so (R4) is satisfied by . ∎
Proposition 35**.**
Let be a -polymatroid. Then is a -demi-polymatroid. Moreover, if and denote, as usual, the nullity and conullity functions of , then both and are -demi-polymatroids. In particular, there exists a -demi-polymatroid that is not a -polymatroid.
Proof.
The first assertion follows from Proposition 3. Next, recall that
[TABLE]
for any . Note, in particular, that , and so Proposition 6 implies that both and satisfy (R1) and (R2). The dual of in the sense of (R4) is the function that associates to every the integer
[TABLE]
which is easily seen to be . Thus the two possible meanings of coincide. Hence by Proposition 6, satisfies (R4) as well. Furthermore, it is readily seen that , and so Proposition 6 also shows that satisfies (R4). Thus both and are -demi-polymatroids. In particular, if we take , then from Remark 7, we see that the corresponding pair is a -demi-polymatroid, but not a -polymatroid. ∎
Example 36**.**
If is a Delsarte code and is defined by
[TABLE]
then Remark 17 and Proposition 35 shows that is a -demi-polymatroid. Moreover, in view of Example 18 and Remark 7, we see that is, in general, not a -polymatroid. **
In general, if is a -demi-polymatroid, then the nullity function and the conullity function of are defined in exactly the same way as in the case of -polymatroids, i.e., by equation (7). Our proof of Proposition 6 (a) used the property (R3), which is not available in the case of -demi-polymatroids, but we will show below that the result is still valid in this case.
Proposition 37**.**
Let be a -demi-polymatroid and let with . Then:
- (a)
* and ;* 2. (b)
* and .*
Proof.
(a) Since satisfies (R2), thanks to (R4), and since , we see that , which shows that . Subtracting from , we find . Similarly, .
(b) The proof of Proposition 6 (b) only uses (R2) for and , and so it is still valid here. ∎
We define the generalized weights for -demi-polymatroids in exactly the same way as in the case of -polymatroids:
Definition 38**.**
Let be a -demi-polymatroid. For , the th generalized weight of is defined by
[TABLE]
We then have the following more general result about Wei-type duality.
Theorem 39**.**
The results in Theorem 13 and Corollary 14 are valid also for -demi-polymatroids .
Proof.
Examining the proof of Theorem 13, we see that all arguments follows from axioms (R1), (R2), (R4), and there is no need for axiom (R3). One does use Proposition 6 whose proof depended on (R3), but we have established it for -demi-polymatroids in Proposition 37 above. ∎
5.1. Wei duality for square matrices
In this subsection, we consider the case when . In this case, if is a Delsarte rank metric code, then so is , and thus, we obtain two -polymatroids and , where and are as in (5).
Proposition 40**.**
Assume that . Let be a Delsarte rank metric code. Consider and define by
[TABLE]
Then is a -demi-polymatroid and its conullity function is given by
[TABLE]
Moreover, the generalized weights of are given by
[TABLE]
*Consequetly, the Wei duality holds for Ravagnani’s generalized weights . *
Proof.
It is obvious that satisfies (R1) and (R2) of Definition 33, since we know that each of and satisfies these properties. So, in order to prove that is a -demi-polymatroid, it remains to show that (R4) is satisfied, which means that satisfies (R1) and (R2). To this end, let . Then
[TABLE]
This implies that . Moreover, it also implies that , because from (6) and Proposition 35 we see that both and are nonnegative. Thus satisfies (R1). Next, we show that satisfies (R2). Fix with . In view of (8), the difference can be written as
[TABLE]
Since the expression above is symmetric in and , we may assume without loss of generality that . Now, in case , we see that
[TABLE]
which is nonnegative since satisfies (R1), thanks to Proposition 3. In case , then , and so
[TABLE]
which is again nonnegative. Thus satisfies (R2). This proves that is a -demi-polymatroid. The desired formula for the conullity function of is immediate from (8). This, in turn, shows that
[TABLE]
Indeed, the inequality is clear from the definition and equation (6). For the other inequality, it suffices to consider with such that .
The last assertion about Wei duality for Ravagnani’s generalized weights is an immediate consequence of Theorem 39 because we know from [7, Theorem 38] that for . ∎
6. Flags of Delsarte Rank Metric Codes
Definition 41**.**
By a flag of Delsarte codes we shall mean a tuple of subspaces of such that . The rank function associated to a flag is the map given by
[TABLE]
for and . **
Observe that if is the singleton flag , then coincides with the map introduced in Definition 16. We have noted in Remark 17 that is a -polymatroid. We will show that is a -demi-polymatroid for any flag of Delsarte codes. The main components of the proof will be shown in the form of a couple of lemmas.
Lemma 42**.**
Let be Delsarte codes in such that and let for . Then for all .
Proof.
Note that the row space of any consists of vectors as varies over (elements of and are thought of as row vectors); also note that for any . Now let and define
[TABLE]
Clearly, is a subspace of and for any Delsarte code . Also,
[TABLE]
Hence , which yields . ∎
Lemma 43**.**
Let be Delsarte codes in such that and let be such that . Then
[TABLE]
Proof.
First observe that . Indeed, any uniquely determines a -linear map given by , and defines an isomorphism of with the space of all inear maps from to . Similarly, . Let and be bases of and such that . We can use the basis to define a -linear isomorphism so that Delsarte codes in can be identified with linear block codes of length . Write generator matrices of and as
[TABLE]
where the blocks and correspond to coordinates with respect to while the blocks and correspond to coordinates with respect to . By removing from superfluous rows that may have become linearly dependent when restricted to coordinates w.r.t. , we see that a generator matrix for is of the form
[TABLE]
and its submatrix is a generator matrix for . Consequently,
[TABLE]
On the other hand,
[TABLE]
This proves the desired inequality. ∎
Here is the result that was alluded to earlier in this section.
Theorem 44**.**
Let be a flag of Delsarte codes in and let be the rank function associated to . Then is a -demi-polymatroid.
Proof.
First, suppose is even, say . Then for any ,
[TABLE]
By Lemma 42, each summand is nonnegative, and so . In case ,
[TABLE]
and once again , thanks to Remark 17 and Lemma 42. Next, if and if denotes the flag obtained from by dropping the first term, then by what is just shown for any . Hence
[TABLE]
This shows that satisfies (R1). Next, let with . We will show that . To this end, observe that since (and likewise ) can be expressed as in (10) or (11), and since satisfies (R2), it suffices to show that the difference
[TABLE]
is nonnegative. But an easy calculation shows that this difference is equal to
[TABLE]
But since , by Lemma 43, the above difference is nonnegative. This shows that satisfies (R2). To prove that satisfies (R4), note that the case is trivial. Thus suppose and let . Also, let
[TABLE]
Since and since satisfies (R1) while satisfies (R2), we see that
[TABLE]
Also, \rho^{*}(X)=m\dim X+\big{(}\rho_{\rule{0.0pt}{6.02777pt}\mathsf{F}}(X^{\perp})-\rho_{\rule{0.0pt}{6.02777pt}\mathsf{F}}(E)\big{)}\leq m\dim X, since satisfies (R2). Thus satisfies (R1). Finally, if with , then we can write \rho^{*}(Y)-\rho^{*}(X)=\big{(}\rho(Y^{\perp})+m\dim Y-\rho(E)\big{)}-\big{(}\rho(X^{\perp})+m\dim X-\rho(E)\big{)} as
[TABLE]
where denotes the nullity function of . Thus, using Proposition 6 (a) and the fact that satisfies (R2), we see that satisfies (R4). ∎
Using Theorem 44 and Definition 38, we can talk about generalized weights of flags of Delsarte codes. The following observation makes them explicit.
Lemma 45**.**
Let be a flag of Delsarte codes. Then the conullity function of the associated -demi-polymatroid is given by
[TABLE]
Proof.
For , let be as in (9) and let be the conullity function of the -polymatroid . Then in view of (6) in Remark 17 we see that
[TABLE]
for any . ∎
We can now introduce the following generalization of Definition 19.
Definition 46**.**
Let be a flag of Delsarte codes in , and let . Then for , the th generalized weight of is denoted by or by , and is defined by
[TABLE]
We remark that for , these generalized weights were already defined by Martínez-Peñas and Matsumoto [17, Definition 10], and are referred to as RGMW profiles, where RGMW stands for Relative Generalized Matrix Weights. In [17] one studies these and and related profiles, and the interplay between them, in a way that carries the ideas and results of Luo, Mitrpant, Han Vinck, and Chen [16] for pairs of block codes over to the world of Delsarte rank metric codes, in a way similar to the one, in which the relative profiles in [16] are generalizations of those “absolute ones” in the work of Forney [6] for single block codes.
Now that we have associated a -demi-polymatroid to a flag of Delsarte codes, it seems natural to ask whether is also a -demi-polymatroid associated to some flag of Delsarte codes. The answer is yes, and it involves, quite naturally, the dual flag defined as follows.
By the dual flag corresponding to a flag of Delsarte codes, we mean the flag of Delsarte codes, where is the trace dual of for . Note that so that is indeed a flag in the sense of Definition 41. Note also that
Here is an analogue of [1, Theorem 10] for Delsarte rank metric codes,
Proposition 47**.**
Let be a flag of Delsarte codes and the dual flag corresponding to . Also let denote the conullity function of the -demi-polymatroid associated to . Then
[TABLE]
Proof.
A proof can be given, following word for word the proof of the corresponding result, [1, Theorem 10], for linear block codes. ∎
Proposition 47 identifies the dual -demi-polymatroid of as that associated to the dual flag, when is a flag of odd length , including the case (a case which trivially follows from Theorem 23). But what about the cases when is even, including , which perhaps are the most interesting ones? To this we remark that our study does not require the Delsarte codes in the flag to be distinct. Thus, whenever is even, we can formally “add” a subspace , (irrespective of whether or not ) to obtain a longer flag of odd length . Then it is easily seen that , and using the duality for flags of even length, we obtain
[TABLE]
In particular, in the important case studied in [17],
[TABLE]
Furthermore, if one wants to organize the set of flags, into disjoint subsets, self-dual both with respect to -demi-polymatroid duality, and the duality of flags, we may as a convention first assume that all the Delsarte codes in each flag are distinct and nonzero. Then we get two cases, namely, flags of odd length and flags of even length. Now we modify our convention and add the zero code as the innermost code in all even length flags. After this is done, all flags have odd length , and all the Delsarte codes in each flag are distinct, and the possibility that both , and is perimitted. We call such flags as normalized flags. We can then deduce from Proposition 47 the following.
Proposition 48**.**
Each -demi-polymatroid associated to a flag (of Delsarte codes) in comes from a unique normalized flag in of odd length. For each , the class of flags of length , and also its associated class of -demi-polymatroids, is self-dual, and further,
[TABLE]
Remark 49**.**
If is a normalized flag, then the longest possible length of is clearly . The longest flag of distinct Delsarte codes in will necessarily have , Hence if is odd, then it is not normalized, but if we delete then it does become normalized and has odd length. Thus, the length of the longest normalized flag in is , where . **
As an immediate consequence of Theorem 39 and Proposition 48, we obtain a duality for the generalized weights of (normalized) flags of Delsarte codes. In the special case studied in [17], this duality can be stated as follows.
Corollary 50**.**
Let be distinct Delsarte codes in with . Then the relative generalized weights
[TABLE]
are related to the relative generalized weights
[TABLE]
via the “-fold” Wei duality described in Corollary 14, with
We end this paper by giving some examples.
Example 51**.**
Let so that , and let . The the full matrix space has dimension . Let be two subspaces of of dimension and , respectively. Consider of dimension , and of dimension For the flag , we then obtain for any ,
[TABLE]
We obtain a positive value (and that value is ) if and only if This happens if and only if (cf. [19, Lemma 5]). In case , the latter happens if and only if , but . For such , we see that the nullity function satisfies , but for the other one-dimensional . For two-dimensional , the value of is positive if and only if is not a plane intersecting in . In this case, , whereas for the other two-dimensional . For the unique -dimensional space in , we find and so the rank of the -demi-polymatroid is , and Hence the generalized weights of the dual -demi-polymatroid satisfy
[TABLE]
Furthermore if and are two different planes through the origin, both intersecting in , then , while and Hence axiom (R3) is violated, and is not a -polymatroid. But of course, axioms (R1) and (R2) hold, and this can easily be checked directly.
The dual normalized flag is , and this is seen from the following result, which is easily verified:
[TABLE]
where the first refers to orthogonality in the sense of trace duals, and the second refers to orthogonality for the standard dot product in . We then obtain for an arbitrary subspace of :
[TABLE]
If , then this is , and if , then it is , which is the rank of . Hence , as expected. For or , we can proceed as in the dual case above. Here is if , and it is if strictly contains . For , we then get if and only if is a line in different from , and otherwise. In other words is nonzero (and equal to ) if and only if is a line in different from . For a -dimensional subspace we obtain if or is transversal to , and so then. Moreover, if contains and is different from ; hence in this case. One then easily checks that (R1) and (R2) hold for , and therefore the condition (R4) holds for , which indeed is a -demi-polymatroid. From the determination of the values above we see that for the generalized weights of the -demi-polymatroid are given by
[TABLE]
For an arbitrary , modulo , say , let us check the values of and , where . Since is divisible by , we just check the as well as for . We see that , whereas So these sets are disjoint and “fill up” The analogous statements of course hoøld also for congruent to modulo .**
Example 52**.**
Given vector subspaces of and positive integers with , set , where
[TABLE]
for and . Then is, in general, not a -polymatroid. As an example, take , , and . Let be the diagonal Also, let be the -axis and the -axis in Then , but . Consequently,
The pair is, however, a -demi-polymatroid. Moreover, is a -demi-polymatroid for each . To see this, let us fix some . It is clear that satisfies axioms (R1) and (R2) with . Further, for any , we can write as
[TABLE]
Since , it follows that
[TABLE]
This shows that also satisfies axioms (R1) and (R2) with . Thus is a -demi-polymatroid. As a consequence, we see that satisfies (R1) and (R2), and hence so does . Thus is indeed a -demi-polymatroid. The rank of is . We observe that the “independent” sets, i.e., those with , are the ones that are contained in .
For a -dimensional , we see that is , where whenever contains , and otherwise. So, if there exists at least one -dimensional for which at least one does not contain , then we see that , and the first generalized weight of is . It follows that , unless for all , or equivalently, .
We remark that the functions and are, in fact, the conullity and nullity functions of the -polymatroid of Example 32 in disguise. Also, as noted in Proposition 35, the conullity and nullity functions of -polymatroids give rise to -demi-polymatroids, but not necessarily -polymatroids. * *
Acknowledgement
We are grateful to Frédérique Oggier for introducing us to rank metric codes and providing initial motivation for this work. We thank the DST in India and RCN in Norway for supporting our collaboration through an Indo-Norwegian project “Mathematical Aspects of Information Transmission: Effective Error Correcting Codes”. The last named author is grateful to the Department of Mathematics, IIT Bombay for its warm hospitality, and for providing optimal conditions for research, during a visit in September–December 2018 when most of this work was done.
We also thank Elisa Gorla for her useful comments on the first version of this preprint and for pointing out the survey article [7]. Those comments led us to make an appropriate revision in Theorem 29 and Remark 30, and to introduce Proposition 40.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] T. Britz, T. Johnsen and J. Martin, Chains, demi-matroids and profiles , IEEE Trans. Inform. Theory 60 (2014), 986–991.
- 2[2] T. Britz, T. Johnsen, D, Mayhew, and K. Shiromoto, Wei-type duality theorems for matroids. Des. Codes Cryptogr. 62 (2012), 331–341.
- 3[3] P. Delsarte, Bilinear forms over a finite field, with applications to coding theory , J. Combin. Theory Ser. A, 25 (1978), 226–241.
- 4[4] J. Ducoat, Generalized rank weights: A duality statement , in Topics in Finite Fields, G. M. Kyureghyan and A. Pott, Eds., Contemp. Math. 632 , Amer. Math. Soc., Providence, RI, (2015) 114–123.
- 5[5] E. M. Gabidulin, Theory of codes with maximum rank distance , Probl. Inf. Transm. 21 (1985), 1–12.
- 6[6] G. F. Forney, Dimension/Length profiles and Trellis complexity of linear block codes , IEEE Trans. Inform. Theory 40 (1994), 1741–1752.
- 7[7] E. Gorla, Rank-Metric Codes , ar Xiv:1902.02650 [cs.IT] (2019), 26 pp.
- 8[8] E. Gorla, R. Jurrius, H.H. Lopez, A. Ravagnani, Rank-metric codes and q-polymatroids , ar Xiv:1803.10844 [cs.IT] (2018), 21 pp.
