• No results found

A polymatroid approach to generalized weights of rank metric codes

N/A
N/A
Protected

Academic year: 2022

Share "A polymatroid approach to generalized weights of rank metric codes"

Copied!
16
0
0

Laster.... (Se fulltekst nå)

Fulltekst

(1)

https://doi.org/10.1007/s10623-020-00798-9

A polymatroid approach to generalized weights of rank metric codes

Sudhir R. Ghorpade1·Trygve Johnsen2

Received: 3 April 2019 / Revised: 23 August 2020 / Accepted: 25 August 2020 / Published online: 15 September 2020

© The Author(s) 2020

Abstract

We consider the notion of a(q,m)-polymatroid, due to Shiromoto, and the more general notion of(q,m)-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 general- ized 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.

Keywords Rank metric code·generalized weight·polymatroid·Wei duality Mathematics Subject Classification 05B35·94B60·15A03

1 Introduction

Rank metric codes are an important variant of linear (block) 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 [8] in 1985. AGabidulin rank metric code, or simply, aGabidulin code, of lengthnand dimensionkmay be defined

Communicated by K.-U. Schmidt.

Trygve Johnsen is partially supported by Grant 280731 from the Research Council of Norway.

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.

B

Trygve Johnsen [email protected] Sudhir R. Ghorpade [email protected]

1 Department of Mathematics, Indian Institute of Technology Bombay, Powai, Mumbai 400 076, India

2 Department of Mathematics and Statistics, UiT-The Arctic University of Norway, 9037 Tromsø, Norway

(2)

as ak-dimensional subspace of then-dimensional vector spaceFnqmover the extension field FqmofFq. The analogue of Hamming distance here is the notion of rank distance defined as follows. Fix aFq-basis ofFqm so as to associate to any vector inFnqm anm×nmatrix with entries inFq. Now, therank distancebetween anyx,y∈Fnqm is defined as the rank of the difference of the matrices corresponding toxandy. The notion of a Delsarte rank metric code is in fact, older (it goes back to the work [6] of Delsarte in 1978) and more general. Indeed, aDelsarte rank metric code, or simply, aDelsarte codeof dimensionK is aK-dimensional subspace of theFq-linear space of allm×nmatrices with entries inFq. As before, the rank distance between twom×nmatrices is the rank of their difference. It is clear that a Gabidulin code of dimensionkis a Delsarte code of dimensionmk. But a Delsarte code need not be a Gabidulin code, even if its dimension is divisible bym.

Generalized Hamming weights (GHW), also known as higher weights, of a linear code C are a natural and useful generalization of the basic notion of minimum distance ofC. These were studied by Wei [20] who showed that the GHWd1, . . . ,dk of a linear codeC of dimensionk satisfy nice properties such as monotonicity (d1 < · · · < dk) and more importantly, duality, whereby the GHW ofC and its dualC determine each other. It was not immediately clear how an analogue of GHW for rank metric codes could be defined. But then three definitions for thegeneralized 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 [16], Kurihara et al. [13], and Jurrius and Pellikaan [11]. Thankfully, all three seemingly disparate definitions turn out to be equivalent (cf. [1,11]). Moreover, an analogue of Wei duality holds for the GRW’s; see, e.g., Ducoat [7]. For the more general class of Delsarte rank metric codes, Ravagnani [18] proposed an analogous definition of generalized weights(GW) and showed that in the special case of Gabidulin codes, thekm GW’s of the corresponding Delsarte code are the same as thekGRW’s of the Gabidulin code (in accordance with the previous definitions), each repeatedmtimes. Further, Ravagnani [18]

established a duality for the GW’s of Delsarte rank metric codes. The notion of dual Delsarte codes is facilitated by thetrace product, which associates to a pair(A,B)ofm×nmatrices with entries inFqthe element Tr(A Bt)ofFq. It is shown by Ravagnani [17] that for suitable choices ofFq-bases ofFqm, the notions of the (standard) dual of a Gabidulin code and of the (trace product) dual of the corresponding Delsarte code are compatible.

In the classical case of linear codes, Britz et al. [4] 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(q,m)-polymatroids, which has recently been introduced by Shiromoto [19]. We consider, in fact, a little more general class of(q,m)-demi-polymatroids, define generalized weights for them, and establish a duality in this context. We show that these can be applied to flags, or chains, of Delsarte rank metric codes. In particular, by considering pairs, i.e., flags of length 2 of Delsarte codes, we recover several results of Martínez-Peñas and Matsumoto [15] on the so called relative generalized weights of Delsarte codes. Also, considering flags of length 1, we can deduce the results of Ravagnani [18] for the GW’s of Delsarte codes and their duals. We remark thatq-analogues of matroids, calledq-matroids andq-polymatroids, have been considered by Jurrius and Pellikaan [12] and by Gorla et al. [10], respectively. However, as far as we can see, Wei-type duality for their generalized weights is not shown in these papers.

(3)

This paper is organized as follows. In Sect.2below, we review the definition of a(q,m)- demi-polymatroid and outline some basic notions and results. Generalized weights of a (q,m)-demi-polymatroid are defined and Wei-type duality for them is established in Sect.3.

These results are then applied to Delsarte rank metric codes as well as to their flags in Sect.4.

As a corollary, one obtains analogues of Wei duality for generalized weights as well as relative generalized weights of Delsarte rank metric codes.

After this work was submitted and put on thearXiv, we learned of the work of Britz et al. [5] where results similar to those in Sect.3of this paper are proved, albeit using different methods. A nice comparison of the two approaches is given in the postscript of [5] and we refer the interested reader to it.

2 Demi-polymatroids: definitions and basic facts

nonnegative integers,m,ndenote positive integers,qa prime power, andFqthe finite field withqelements. We letEbe the vector spaceFnqoverFqand let

(E)=the set of all Fq-linear subspaces ofE.

ForX(E), we denote byXthe dual ofX(with respect to the standard “dot product”), i.e., X = {x ∈ E : x·y = 0 for allyX}. It is elementary and well-known that X(E)with dimX =n−dimX and(X) = X, althoughXX need not be equal to{0}, but of courseE= {0}.

The first part of the following key notion is due to Shiromoto [19, Definition 2].

Definition 1 A(q,m)-polymatroidis an ordered pair P =(E, ρ)consisting of the vector spaceE=Fnq and a functionρ:(E)→N0satisfying (R1)–(R3) below:

(R1) 0≤ρ(X)mdimXfor allX(E);

(R2) ρ(X)ρ(Y)for allX,Y(E)withXY;

(R3) ρ(X+Y)+ρ(XY)ρ(X)+ρ(Y), for allX,Y(E). In case the ordered pairP=(E, ρ)satisfies (R1), (R2), and instead of (R3),

(R4) ρ:(E)→N0defined byρ(X)=ρ(X)+mdimXρ(E)forX(E), also satisfies (R1) and (R2)

thenPis called a(q,m)-demi-polymatroid.

If P = (E, ρ)is as above, then the nonnegative integerρ(E)is called therank of P and is denoted by rankP. The functionρmay be called therank functionofP. We have the following “extension” of [19, Proposition 5].

Proposition 2 Let P=(E, ρ), where E=Fnqandρ:(E)→N0is any map. Also letρ be as in(R4)above. Then:

(i) If P is a(q,m)-demi-polymatroid, then so is the ordered pair(E, ρ).

(ii) If P is a(q,m)-polymatroid, then so is the ordered pair(E, ρ). Proof (i) It suffices to observe thatρ({0})=0 and)=ρ.

(ii) This is [19, Proposition 5].

(4)

An immediate consequence of part (ii) of Proposition2is that a(q,m)-polymatroid is a (q,m)-demi-polymatroid. IfP =(E, ρ)andρare as in Proposition2(i), then(E, ρ)is denoted byPand called thedualofP. Note that

rankP=ρ(E)=ρ({0})+mdimEρ(E)=mn−rankP and (P)=P.

Remark 3 As Shiromoto [19] remarks, a (q,m)-polymatroid is a q-analogue of k- polymatroids, and a(q,1)-matroid is aq-analogue of matroids. An alternative approach to(q,m)-polymatroids is provided by Gorla, Jurrius, Lopez, and Ravagnani [10, Definition 4.1.].

Definition 4 LetP=(E, ρ)be a(q,m)-demi-polymatroid. Thenullity functionofPis the mapν:(E)→N0defined by

ν(X)=mdimXρ(X) forX(E).

Theconullity functionofPis the mapν:(E)→N0defined by

ν(X)=mdimXρ(X)=ρ(E)ρ(X) forX(E).

Proposition 5 Let P = (E, ρ)be a (q,m)-demi-polymatroid and let X,Y(E)with XY . Then:

(a) ν(X)ν(Y)and ν(X)ν(Y);

(b) ν(Y)ν(X)m(dimY−dimX)and ν(Y)ν(X)m(dimY−dimX). Proof (a) Sinceρsatisfies (R2), thanks to (R4), and sinceYX, we see thatρ(Y)

ρ(X), which shows thatρ(Y)+mdimYρ(X)+mdimX. Subtracting from mn=mdimE, we findν(X)ν(Y). Similarly, ν(X)ν(Y).

(b) The desired upper bound forν(Y)ν(X)follows from noting that by (R2), ν(Y)ν(X)=m(dimY−dimX)+ρ(X)ρ(Y)m(dimY−dimX) . As in (a), the inequality forνfollows from usingPin place ofP.

Proposition 6 Let P =(E, ρ)be a(q,m)-demi-polymatroid. Ifνandνdenote, as usual, the nullity and conullity functions of P, then both(E, ν)and (E, ν) are (q,m)-demi- polymatroids, which are, in fact, duals of each other.

Proof Recall that

ν(X)=mdimXρ(X) and ν(X)=mdimXρ(X)=ρ(E)ρ(X) for anyX(E). Note, in particular, thatν({0}) = 0 = ν({0}), and so Proposition5 implies that bothνandνsatisfy (R1) and (R2). The dual ofνin the sense of (R4) is the function that associates to everyX(E)the integer

ν(X)+mdimXν(E)=

mdimXρ(X)

+mdimX

mnρ(E) , which is easily seen to beν(X). Thus the two possible meanings ofνcoincide. Hence, by Proposition5,(E, ν)satisfies (R4) as well. Furthermore, it is readily seen that)=ν, and so Proposition5also shows that(E, ν)satisfies (R4). Thus, both(E, ν)and(E, ν) are(q,m)-demi-polymatroids dual to each other.

(5)

We remark that even ifP=(E, ρ)is a(q,m)-polymatroid, the associated pairs(E, ν)and (E, ν)need not be(q,m)-polymatroids. This can be seen, for example, using the following important class of(q,m)-polymatroids.

Example 7 Letrbe an integer satisfying 0≤rn. Theuniform(q,m)-polymatroid U(r,n) is defined as(E, ρ), whereE=Fnq, andρ(X)=mdimXfor allX(E)with dimXr, whileρ(X)=mrfor allX(E)with dimXr. It is easy to see thatU(r,n)is indeed a(q,m)-polymatroid and also thatU(r,n)=U(nr,n).

Remark 8 Unlike in the case of usual (demi-)matroids, there is no “discrete intermediate value theorem” saying that every integer value between 0 andρ(E)is attained as the conullity of some subspace ofE. Consider the uniform(q,m)-polymatroidU(1,2). Then

ρ(X)=

0 ifX= {0},

m ifX= {0} and ν(X)=ν(X)=

0 ifX=E, m ifX=E.

Thus, a “discrete intermediate value theorem” does not hold forνas well as forνifm>1.

Furthermore, ifX,Yare distinct 1-dimensional subspaces ofE=Fq2, thenX+Y =Eand XY = {0}, and hence

ν(X+Y)+ν(XY)=m≤0=ν(X)+ν(Y).

It follows that neither(E, ν)nor(E, ν)is a(q,m)-polymatroid.

This remark proves in particular:

Proposition 9 There are(q,m)-demi-polymatroids that are not(q,m)-polymatroids.

3 Wei duality of(q,m)-demi-polymatroids

The following definition for the generalized weights of a(q,m)-demi-polymatroid appears to be natural.

Definition 10 Let P = (E, ρ) be a (q,m)-demi-polymatroid and let K = rankP. For r=1, . . . ,K, ther th generalized weightofPis defined by

dr(P)=min{dimX :X(E)withν(X)r}.

We will now establish some basic properties of these generalized weights.

Proposition 11 Let P=(E, ρ)be a(q,m)-demi-polymatroid. Then 1≤dr(P)dr+1(P)n for1≤r<rankP.

Proof Sinceν({0}) = 0, it is clear that 1 ≤ dr(P)n for 1 ≤ r ≤ rankP. Next, if 1≤r <rankPand ifdr+1(P) = dimY for someY(E)withν(Y)r+1, then ν(Y)r, and so by definition,dr(P)≤dimY =dr+1(P).

Unlike the generalized Hamming weights of linear codes, strict monotonicity may not hold for generalized weights of(q,m)-demi-polymatroids, i.e., we may not havedr(P) <

dr+1(P). For example, if K = rankP > n, then Proposition 11implies that dr(P) = dr+1(P)for somer< K. However, we will show thatdr(P) <ds(P)for 1≤r<sK, providedsrm. First, we need some preliminary results.

(6)

Lemma 12 Let P = (E, ρ)be a(q,m)-demi-polymatroid and let K = rankP. For x = 0,1, . . . ,n, let x(E):= {X(E):dimX=x}, and let us define

h(x):=max{ν(X):Xx(E)} and h(x):=max{ν(X):Xx(E)}.

Now fix a positive integer xn. Then h(x−1)≤h(x)and for1≤rK ,

x =dr(P)⇐⇒h(x−1) <rh(x) (1) In particular, x is a generalized weight of P if and only if h(x −1) < h(x). Also, h(x−1)h(x)and if Pis the dual of P, then for1≤s≤rankP=mnK ,

x =ds(P)⇐⇒h(x−1) <sh(x) (2) In particular, x is a generalized weight of Pif and only if h(x−1) <h(x).

Proof Let x ∈ N0 with 1 ≤ xn. If X(E) is such that dimX = x −1 and h(x −1) = ν(X), then by taking Y(E)with dimY = x and XY, we see from Proposition5(a) thatν(X)ν(Y)h(x). Thus,h(x−1) ≤h(x). Similarly, h(x−1)≤h(x). Now letr∈N0with 1≤rK.

First, supposex = dr(P). Thenx =dimY for someY(E)withν(Y)r. This implies that h(x)r. Moreover, sincex = dr(P), we see that ν(X) < r for every X(E)with dimX=x−1. This implies thath(x−1) <r.

Conversely, supposeh(x−1) <rh(x). ChooseY(E)with dimY =x such thath(x) = ν(Y). Thenν(Y) = h(x)r and sodr(P)x. Suppose, if possible, dr(P)x −1. Then there isZ(E)with dimZ = dr(P)x−1 andν(Z)r.

EnlargeZto a subspaceXofEsuch that dimX =x−1. In view of Proposition5(a), we obtainh(x−1)ν(X)ν(Z)r, which contradicts the assumptionh(x−1) <r.

This shows thatx =dr(P). Thus (1) is proved.

The equivalence (2) follows by applying (1) toPin place ofP.

Here is a nice relation between the functionshandhdefined in Lemma12.

Lemma 13 Let P=(E, ρ)be a(q,m)-demi-polymatroid and let K =rankP. Then h(x)=h(nx)m(nx)+K for x=0,1, . . . ,n. (3) Consequently,

h(n+1−x)h(nx)=m

h(x)h(x−1)

for x=1, . . . ,n. (4) In particular,0≤h(x)h(x−1)≤m for x =1, . . . ,n.

Proof Given anyX(E), note thatν(X)=mdimXρ(X), and henceν(X)+ mdimX=mnρ(X)=mn(ρ(E)ν(X)). It follows that

ν(X)=ν(X)m(n−dimX)+K.

Taking maximum asXvaries over elements of(E)with dimX =x, we obtain (3). Now (3) implies thath(x)h(x−1)=h(nx)h(n+1−x)+mforx =1, . . . ,n, and this yields (4). Further, sinceh(x−1) ≤h(x)andh(nx)h(n+1−x), thanks to Lemma12, we also obtain 0≤h(x)h(x−1)mforx=1, . . . ,n.

Corollary 14 Let P =(E, ρ)be a(q,m)-demi-polymatroid and let K =rankP. Then for any positive integers r,s such that r+mK and s+mmnK ,

dr(P) <dr+m(P) and ds(P) <ds+m(P).

(7)

Proof Letrbe a positive integer withr+mK. Thendr(P)dr+m(P), by Proposition11.

Suppose, if possible,dr(P)=dr+m(P)=x, say. Then by (1) in Lemma12,h(x−1) <r andh(x)r+m. Consequently,h(x)h(x−1)m+1. This contradicts the last assertion in Lemma13. Thusdr(P) <dr+m(P). ReplacingPbyP, we obtain the desired inequality for the generalized weights ofP.

We shall now proceed to establish a version of Wei duality for the generalized weights of (q,m)-demi-polymatroids. Recall that ifCis a[n,k]q-code, andd1, . . . ,dkare the general- ized Hamming weights (GHW) ofC andd1, . . . ,dnkare the GHW of the dual ofC, then Wei duality states that the values

n+1−d1, . . . ,n+1−dk and d1, . . . ,dn−k

are all distinct and their union is precisely the set{1, . . . ,n}. In the setting of a polymatroid P=(E, ρ)of rankK, we can similarly consider

n+1−d1(P), . . . ,n+1−dK(P) and d1(P), . . . ,dmn−K(P).

But thesemnvalues would not constitute{1, . . . ,mn}whenm≥2, since they lie between 1 andn. But one could ask for some “m-fold” version of Wei duality, and that is what we give in Theorems15and17below. These results are inspired by the related results of Ravagnani [18] and also of Martínez-Peñas and Matsumoto [15] about the generalized weights and the relative generalized weights of Delsarte rank metric codes.

Theorem 15 Let P =(E, ρ)be a(q,m)-demi-polymatroid of rank K.Also, let p,i,j be integers such that1≤ p+i mmnK and1≤ p+K +j mK.Then

dp+i m(P)=n+1−dp+K+j m(P).

Proof Writer= p+K+j m,s= p+i m, andx =dr(P). Lethandhbe as in Lemma12.

In view of (4), let

g=h(n+1−x)h(nx)=m

h(x)h(x−1) . Then using (1), we see that

rh(x) and r+mg=h(x)+

rh(x−1)

>h(x).

Thusrh(x) <r+mg, and therefore by (3), we obtain

p+m(j+nx)=r+m(nx)Kh(nx) <r+m(nx+1)−gK. The second inequality above implies that

h(n+1−x)=h(nx)+g<r+m(nx+1)−K =p+m(j+nx+1).

Now suppose, if possible,n+1−x =ds(P). Then by (2),h(nx) <sh(n+1−x). Combining this with the inequalities obtained earlier, we see that

p+m(j+nx) <s<p+m(j+nx)+m. But this contradicts the fact thatsp(modm).

Definition 16 For any(q,m)-demi-polymatroidPands∈N0withs<m, define Ws(P)= {dr(P):r=1, . . . ,rankPandrs(modm)}, and Ws(P)= {n+1−dr(P):r=1, . . . ,rankPandrs(modm)}.

(8)

The following result may be viewed as a version of Wei duality for generalized weights of(q,m)-demi-polymatroids. See Remark18for further explanation.

Theorem 17 Let P =(E, ρ)be a(q,m)-demi-polymatroid of rank K and let s∈N0with s < m. Denote by s+m K the unique integer in{0,1, . . . ,m−1} congruent to s+K modulo m. Then Ws(P)= {1,2,· · ·,n} \Ws+mK(P).

Proof By Theorem15, the setsWs(P)andWs+mK(P)are disjoint, and by Proposition11, they are subsets of{1,2,· · ·,n}. Thus, it suffices to show that the sum of their cardinalities isn. To this end, writes+K = Am+Bfor integers A,Bwith 0 ≤ B < m. Note that s+mK = B. Let us first consider the cases=0. Here, by the definition ofWs(P), and the strict monotonicity, guaranteed by Corollary14, of theds+j m(P)as jincreases, we see that

|Ws(P)| =

mnK m

=

mnAmB m

=

nA ifB=0, nA−1 ifB≥1. On the other hand, Corollary14also shows that

|WB(P)| = |WB(P)| = K

m

= A ifB=0, 1+K−B

m

=1+A ifB≥1.

Consequently,|Ws(P)|+|Ws+mK(P)| =n. Next, supposes>0. Here, in a similar manner, Corollary14shows that

|Ws(P)| =1+

mnKs m

=1+

mnAmB m

=

1+nA ifB=0, nA ifB≥1 and also that

|WB(P)| = |WB(P)| = K−B

m

=Am−s

m

=A−1 ifB=0, 1+K−B

m

=1+Am−s

m

=A ifB≥1.

So, once again|Ws(P)| + |Ws+mK(P)| =n, as desired.

Remark 18 The above result shows that the generalized weights of a (q,m)-demi- polymatroid P and the generalized weights of its dual Pdetermine each other. Indeed, first we treat only thedr(P)anddr+mK(P), forrs (modm), for a fixed value ofs.

By Theorem 17they determine each other. Since this is true for each fixed s, assvaries in {0,1, . . . ,m−1}, the assertion holds.

We remark also that our proofs of Theorem15and the two preceding lemmas are motivated by the proofs of the corresponding result for usual matroids (see, e.g., [14, Proposisjon 5.18]).

Further, the proof of Theorem17uses arguments that are analogous to those in the proof of [18, Corollary 38].

4 Generalized weights of flags of Delsarte rank metric codes

In this section, we will denote byMm×n(Fq), or simply byMthe space of allm×nmatrices with entries in the finite fieldFq. Note thatMis a vector space overFq of dimensionmn.

As stated in the Introduction, by aDelsarte rank metric code, or simply aDelsarte code, we

(9)

mean aFq-linear subspace ofM. We denote by dimFqC, or simply dimC, the dimension of a Delsarte codeC.

Following Shiromoto [19], we now associate to a Delsarte codeC, (i) a family of subcodes ofCindexed by subspaces ofE=Fnq, and (ii) a(q,m)-polymatroid.

Definition 19 LetCbe a Delsarte code.

(i) Given anyX(E), we defineC(X)to be the subspace ofCconsisting of all matrices inCwhose row space is contained inX.

(ii) ByρCwe denote the function from(E)toN0defined by

ρC(X)=dimFqC−dimFqC(X) forX(E).

Further, byP(C)we denote the(q,m)-polymatroid(E, ρC).

Remark 20 It is shown in [19, Proposition 3] that P(C) = (E, ρC) is indeed a(q,m)- polymatroid. Note also that the conullity functionνC ofP(C)is given by

νC(X)=dimC(X) forX(E). (5)

4.1 Demi-polymatroids associated to flags of Delsarte codes

Motivated by the work in [3,4] on demi-matroids, we consider the following natural and useful extension of the notion defined in part (ii) of Definition19.

Definition 21 By aflagof Delsarte codes we shall mean a tupleF=(C1, . . . ,Cs)of sub- spaces ofM=Mm×n(Fq)such thatCsCs1 ⊆ · · · ⊆C1. Therank functionassociated to a flagF=(C1, . . . ,Cs)is the mapρF:(E)→Zgiven by

ρF(X)=

s

i=1

(−1)i+1ρCi(X) forX(E). (6)

The pair(E, ρF)is a(q,m)-demi-polymatroid, and it is denoted byP(F).

We will presently show thatP(F)=(E, ρF)is indeed a(q,m)-demi-polymatroid for any flagFof Delsarte codes. First, we need a couple of auxiliary results.

Lemma 22 Let C1,C2 be Delsarte codes inM = Mm×n(Fq)such that C2C1and let ρi =ρCi for i=1,2. Thenρ2(X)ρ1(X)for all X(E).

Proof Note that the row space of any A ∈ Mconsists of vectorsvAasvvaries overFmq

(elements ofFmq andFqnare thought of as row vectors); also note that(vA)·u=u(vA)t= u(Atvt)for anyu∈Fnq. Now letX(E)and define

U= {A∈Mm×n(Fq):uAt =0for alluX}.

Clearly,Uis a subspace ofMandC(X)=CUfor any Delsarte codeC. Also, C2

C2U C2+U

UC1+U

U C1

C1U.

Hence dimC2−dimC2U ≤dimC1−dimC1U, which yieldsρ2(X)ρ1(X).

(10)

Lemma 23 Let C1,C2 be Delsarte codes inM = Mm×n(Fq)such that C2C1and let X,Y(E)be such that XY . Then

dimC1(X)−dimC2(X)≤dimC1(Y)−dimC2(Y).

Proof SinceC2C1andXY, it is clear from Definition19(i) that C1(X)C2(Y)=C2(X) and C1(X)+C2(Y)C1(Y).

Consequently, dimC1(X)+dimC2(Y)−dimC2(X)≤dimC1(Y), as desired.

Theorem 24 LetF=(C1, . . . ,Cs)be a flag of Delsarte codes inMand letρFbe the rank function associated toF. Then P(F)=(E, ρF)is a(q,m)-demi-polymatroid.

Proof Letρj := ρCj for 1 ≤ js. First, supposesis even, says = 2t. Then for any X(E),

ρF(X)=

t i=1

ρ2i−1(X)ρ2i(X)

. (7)

By Lemma22, each summand is nonnegative, and soρF(X)≥0. In cases=2t+1, ρF(X)=ρ2t+1(X)+

t

i=1

ρ2i−1(X)ρ2i(X)

. (8)

and once againρF(X) ≥ 0, thanks to Remark20and Lemma22. Next, if s > 1 and if F=(C2, . . . ,Cs)denotes the flag obtained fromFby dropping the first term, then by what is just shownρF(X)≥0 for anyX(E). Hence,

ρF(X)=ρ1(X)ρF(X)ρ1(X)mdimX for allX(E).

This shows that P(F)satisfies (R1). Next, let X,Y(E)with XY. We will show thatρF(X)ρF(Y). To this end, observe that sinceρF(X) (and likewiseρF(Y)) can be expressed as in (7) or (8), and sinceρ2t+1satisfies (R2), it suffices to show that the difference i :=

ρ2i−1(Y)ρ2i(Y)

ρ2i−1(X)ρ2i(X)

is nonnegative for eachi=1, . . . ,t. But an easy calculation shows that for 1≤it,

i =

dimC2i−1(X)−dimC2i(X)

dimC2i−1(Y)−dimC2i(Y) , and by Lemma23, this is nonnegative sinceYX. ThusP(F)satisfies (R2).

To prove thatP(F)satisfies (R4), note that the cases=1 is trivial. Thus supposes>1 and letF=(C2, . . . ,Cs). Also, let

ρ(X)=ρF(X)+mdimXρF(E) and ρ(X)=ρF(X) forX(E).

SinceρF=ρ1ρand sinceρ1satisfies (R1) whileρsatisfies (R2), we see that ρ(X)=

ρ1(X)+mdimXρ1(E) +

ρ(E)ρ(X)

ρ1(X)+0≥0. Also,ρ(X)=mdimX+

ρF(X)ρF(E)

mdimX, sinceρFsatisfies (R2). Thusρ satisfies (R1). Finally, ifX,Y(E)withXY, then we can writeρ(Y)ρ(X)=

(11)

ρF(Y)+mdimYρF(E)

ρF(X)+mdimXρF(E) as m

dimY−dimX +

ρF(Y)ρF(X)

=m

dimX−dimY)

ρ1(X)ρ1(Y) +

ρ(X)ρ(Y)

=

ν1(X)ν1(Y) +

ρ(X)ρ(Y) ,

whereν1denotes the nullity function of(E, ρ1). Thus, using Proposition6and the fact that ρsatisfies (R2), we see thatρsatisfies (R4).

4.2 Generalized weights of flags of Delsarte codes

Using Theorem 24and Definition 10, we can talk about generalized weights of flags of Delsarte codes. The following observation makes them explicit.

Lemma 25 LetF=(C1, . . . ,Cs)be a flag of Delsarte codes. Then the conullity functionνF of the associated(q,m)-demi-polymatroid P(F)=(E, ρF)is given by

νF(X)=

s

i=1

(−1)i+1dimCi(X) for X(E).

Proof Fori=1, . . . ,s, letρi be as in (6) and letνibe the conullity function of the(q,m)- polymatroid(E, ρi). Then in view of (5) in Remark20we see that

νF(X)=ρF(E)ρF(X)=

s

i=1

(−1)i+1νi(X)=

s

i=1

(−1)i+1dimCi(X).

for anyX(E).

The generalized weights of flags of Delsarte codes may be defined as follows.

Definition 26 LetF=(C1, . . . ,Cs)be a flag of Delsarte codes inM, and letK =ρF(E)= s

i=1(−1)i+1dimCi. Then forr=1, . . . ,K, therthgeneralized weightofFis denoted by dr(F)or bydM,r(C1,· · ·,Cs), and is defined by

dr(F)=min

dimX:X(E)with

s

i=1

(−1)i+1dimCi(X)r .

In the case of singleton flags, i.e., whens = 1, the definition reduces to the follow- ing notion, first considered by Martínez-Peñas and Matsumoto [15, Definition 10], of the generalized weight of a Delsarte codeC:

dr(C):=min{dimX:X(E)with dimC(X)r} forr=1, . . . ,dimC. (9) This is related to, but distinct from Ravagnani’s definition (see Sect.4.5for details). In the cases=2, generalized weights in Definition26coincide with the notion of Relative Gen- eralized Matrix Weights, orRGMW profiles, as defined by Martínez-Peñas and Matsumoto [15, Definition 10].

Our definitions of generalized weights for(q,m)-demi-polymatroids and flags of Delsarte rank metric codes are of course compatible, and we record this below.

(12)

Theorem 27 LetF=(C1,· · ·,Cs)be a flag of Delsarte rank metric code and let P(F)= (E, ρF)be the corresponding(q,m)-demi-polymatroid. Then

s

i=1

(−1)i+1dimCi =rankP(F) and for r=1, . . . ,rankP(F), dr(F)=dr(P(F)).

Proof This follows directly from the definitions and Lemma25.

4.3 Duality of Delsarte rank metric codes

As indicated in the Introduction, the notion of dual for Delsarte rank metric codes is defined using the trace product. See for example [18, Definition 34]. We recall the basic definition below.

Definition 28 LetC be a Delsarte code. Thetrace dual, or simply thedual, ofC is the Delsarte codeCdefined by

C= {N ∈Mm×n(Fq):Trace(M Nt)=0 for allMC},

whereNtdenotes the transpose of am×nmatrixNand, as usual, Trace(M Nt)is the trace of the square matrixM Nt, i.e., the sum of all its diagonal entries.

There is a natural connection between duals of Delsarte codes and the duals of(q,m)- polymatroids. It is shown by Shiromoto [19] as well as Gorla et al. [10], and we record it below.

Theorem 29 [19, Proposition 11]Let C be a Delsarte code. Then P(C)=P(C).

The proof is quite short and natural and given in [19, Proposition 11], and also in [10, Theorem 8.1]. An immediate consequence is the following.

Corollary 30 Let C be a Delsarte code inMm×n(Fq)and let K =dimC. Then the generalized weights dr(C) = min{dimX : X(E)with dimC(X)r}of C (1rK ) are related to the generalized weights ds(C)of C(1smnK ) via the “m-fold” Wei duality described in Theorem17.

Proof Follows from Theorems17,27, and29.

We remark that Corollary30gives another proof of [15, Proposition 65].

4.4 Duality for flags of Delsarte rank metric codes

Now that we have associated a(q,m)-demi-polymatroid P(F) = (E, ρF) to a flagF of Delsarte codes, it seems natural to ask whether P(F) is also a(q,m)-demi-polymatroid associated to some flag of Delsarte codes. The answer is yes, and it involves, quite naturally, a dual flag.

Definition 31 By thedual flagcorresponding to a flagF=(C1, . . . ,Cs)of Delsarte codes, we mean the flagF =(Cs, . . . ,C1)of Delsarte codes, whereCiis the trace dual ofCi fori = 1, . . . ,s. Note thatC1 ⊆ · · · ⊆ Cs so thatF is indeed a flag in the sense of Definition21. Note also that(F)=F.

(13)

The following result is an analogue of [3, Theorem 10].

Proposition 32 Let F = (C1, . . . ,Cs)be a flag of Delsarte codes and F the dual flag corresponding toF. Also letνFdenote the conullity function of the(q,m)-demi-polymatroid P(F)=(E, ρF)associated toF. Then

ρF= ρ

F if s is odd, νF if s is even.

Proof A proof can be given, following word for word the proof of the corresponding result, [3, Theorem 10], for linear block codes.

Proposition32identifies the dual(q,m)-demi-polymatroid ofP(F)as that associated to the dual flag, whenFis a flag of odd lengths. This includes the cases=1 corresponding to Theorem29. But what ifsis even (and in particular,s=2)? Also what about a version of Wei duality for the generalized weights of flags of Delsarte codes? These questions are answered below.

Theorem 33 LetF=(C1, . . . ,Cs)be a flag of Delsarte codes and letG=(C1, . . . ,Cs,{0}) denote the flag of length s+1obtained by appending toFthe zero subspace toF(regardless of whether or not Cs = {0}). Then:

(a) If s is odd, then P(F) = P(F), and the generalized weights ofFandFare in Wei duality with each other as described in Theorem17.

(b) If s is even, then P(F)= P(G), and the generalized weights ofFandGare in Wei duality with each other as described in Theorem17.

Proof Part (a) follows from Theorems17,24, and27together with Proposition32. Part (b) follows from part (a) by noting thatρG=ρF.

Corollary 34 Let C1,C2 be distinct Delsarte codes inMm×n(Fq)with C2C1, and let K =dimC1−dimC2. Then the relative generalized weights

dr =min{dimX:X(E)with dimC1(X)−dimC2(X)r} are related to the relative generalized weights

dr=min{dimX:X(E)with dimM(X)−dimC2(X)+dimC1(X)r} via the “m-fold” Wei duality described in Theorem17, for r =1, . . . ,K .

Proof Ifsis even andF=(C1, . . . ,Cs)andGare as in Theorem33, then ρ

F =ρ

G=ρG =ρ{0}⊥ρ

Cs+ · · · +(−1)sρ

C 1

=ρMρ

Cs+ · · · +ρ

C 1

. In particular, ifs =2, thenρ

F =ρMρC

2

+ρC

1

.Thus, the desired result follows from Theorem33in view of Eq. (5) in Remark20.

4.5 Another definition of generalized weights

Ravagnani has given another definition in [18, Definition 23] of generalized weights of (single) Delsarte codes that is based on the following notion of optimal anticodes.

(14)

Definition 35 By anoptimal anticodewe mean anFq-linear subspaceAofMm×n(Fq)such that dimFqA=m(maxrank(A)), where maxrank(A)denotes the maximum possible rank of any matrix inA.

Here is Ravagnani’s definition of generalized weights of Delsarte codes.

Definition 36 LetCbe a Delsarte code of dimensionK. Forr=1, . . . ,K, define ar(C)= 1

mmin

dimFqA:Aan optimal anticode such that dimFq(AC)r . A relationship between the two notions of generalized weights (given in equation (9) and Definition36) is stated below.

Theorem 37 Let C be a Delsarte code. Then for each r =1, . . . ,dimC, ar(C)=dr(C)if m>n, whereas ar(C)dr(C)if m=n.

Further, if CTdenotes the Delsarte code inMn×m(Fq)consisting of transposes of the matrices in C, then ar(C)=dr(CT)if m<n.

Proof For a proof in the casem >norm =n, see [15, Theorem 9] (or alternatively, [10, Proposition 2.11]). For the casem<n, see [9, Theorem 5.18].

Whenm =n, both [18, Corollary 38] and Corollary30are still valid, but thear and the drare not necessarily the same. An example where they are different is given by Martínez- Peñas and Matsumoto [15, Section IX,C]. A precise relationship between the two notions of generalized weights in this case of square matrices is given in [9, Theorem 5.18]. We will discuss a(q,m)-demi-polymatroid version of this below, and deduce the said relationship as a consequence.

First note that ifm=nand ifC⊆Mm×n(Fq)is a Delsarte rank metric code, then so is CT := {Mt :MC}, and thus, we obtain two(q,m)-polymatroidsP(C)=(E, ρC)and P(CT)=(E, ρCT)as in part (ii) of Definition19.

Proposition 38 Assume that m =n. Let C ⊆ Mm×n(Fq)be a Delsarte rank metric code.

Consider E=Fnqand defineρ:(E)→N0by

ρ(X)=min{ρC(X), ρCT(X)} for X(E).

Then P=(E, ρ)is a(q,m)-demi-polymatroid and its conullity function is given by ν(X)=max{dimC(X), dimCT(X)} for X(E).

Moreover, the generalized weights of P are given by

dr(P)=min{dr(P(C)), dr(P(CT))} for r=1, . . . , ρ(E).

Consequently, m-fold Wei duality as in Theorem17holds for Ravagnani’s generalized weights ar(C).

Proof It is obvious thatρsatisfies (R1) and (R2) of Definition1, since we know that each ofρC andρCT satisfies these properties. So, in order to prove that P is a (q,m)-demi- polymatroid, it remains to show that (R4) is satisfied, which means thatρsatisfies (R1) and (R2). To this end, letX(E). Then

ρ(X)=ρ(X)+mdimXρ(E)

=min{ρC(X), ρCT(X)} +mdimX−dimC

=min{dimC−dimC(X), dimC−dimCT(X)} +mdimX−dimC.

(15)

It follows that

ρ(X)=mdimX−max{dimC(X), dimCT(X)}. (10) This implies thatρ(X)mdimX. Moreover, it also implies thatρ(X)≥0, because from (5) and Proposition6we see that bothmdimX−dimC(X)andmdimX−dimCT(X)are nonnegative. Thus,ρsatisfies (R1). Next, we show thatρsatisfies (R2). FixX,Y(E) withXY. In view of (10), the differenceρ(Y)ρ(X)can be written as

m(dimY−dimX)

max{dimC(Y),dimCT(Y)} −max{dimC(X),dimCT(X)}

. Since the expression above is symmetric inCandCT, we may assume without loss of general- ity that max{dimC(Y),dimCT(Y)} =dimC(Y). Now, in case max{dimC(X),dimCT(X)}

=dimC(X), we see that

ρ(Y)ρ(X)=m(dimY−dimX)(dimC(Y)−dimC(X))=ρC(Y)ρC(X), which is nonnegative sinceρCsatisfies (R1), thanks to Proposition2. In case max{dimC(X), dimCT(X)} =dimCT(X), then dimCT(X)≥dimC(X), and so

ρ(Y)ρ(X)=m(dimY−dimX)(dimC(Y)−dimCT(X))ρC(Y)ρC(X), which is again nonnegative. Thus,ρsatisfies (R2). This proves thatP=(E, ρ)is a(q,m)- demi-polymatroid. The desired formula for the conullity function ofP is immediate from (10). This, in turn, shows that

dr(P)=min

dr(P(C)), dr(P(CT))

forr=1, . . . , ρ(E).

Indeed, the inequality dr(P) ≤ min{dr(P(C)), dr(P(CT))} is clear from the defini- tion and equation (5). For the other inequality, it suffices to consider X0(E) with max{dimC(X0), dimCT(X0)} ≥rsuch thatdr(P)=dimX0.

The last assertion about Wei duality for Ravagnani’s generalized weightsar(C)is an immediate consequence of Theorem17because we know from [9, Theorem 38] thatar(C)= min{dr(P(C)), dr(P(CT))}for 1≤r≤dimC =ρ(E).

Acknowledgements We are grateful to Frédérique Oggier for introducing us to rank metric codes and pro- viding 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 a preliminary version of this paper and for pointing out the survey article [9]. Those comments led us to make an appropriate revision in Theorem37and to introduce Proposition38. We are also grateful to the referees for many helpful comments and suggestions.

Funding Open Access funding provided by UiT The Arctic University of Norway

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.

To view a copy of this licence, visithttp://creativecommons.org/licenses/by/4.0/.

Referanser

RELATERTE DOKUMENTER

In Chapter 5, Norway’s role in previous international arms reduction processes is discussed, leading to an outline of a possible role for Norway as an NNWS in a future

Pluchinsky’s study of terrorism in the Former Soviet Union noted, for example, that ‘there [were] few reported political terrorist incidents carried out in the Soviet Union.’ 162

This paper analyzes the Syrian involvement in Lebanon following the end of the Lebanese civil war in 1989/90 and until the death of Syrian President Hafiz al-Asad, which marked the

3 The definition of total defence reads: “The modernised total defence concept encompasses mutual support and cooperation between the Norwegian Armed Forces and civil society in

Based on the above-mentioned tensions, a recommendation for further research is to examine whether young people who have participated in the TP influence their parents and peers in

Possible sources of error are the source emission spectrum used (FOFT), approx- imations to the meteorological profile, absence of turbulence in the simulations and the

The SPH technique and the corpuscular technique are superior to the Eulerian technique and the Lagrangian technique (with erosion) when it is applied to materials that have fluid

Azzam’s own involvement in the Afghan cause illustrates the role of the in- ternational Muslim Brotherhood and the Muslim World League in the early mobilization. Azzam was a West