A Geometric Approach to Rank Metric Codes and a Classification of Constant Weight Codes
Tovohery Hajatiana Randrianarisoa

TL;DR
This paper introduces a geometric framework for analyzing rank metric codes, simplifies the definition of generalized rank weight, and provides a complete classification and weight characterization of constant rank weight codes.
Contribution
It presents a novel geometric approach to rank metric codes, offering simplified definitions and a comprehensive classification of constant rank weight codes.
Findings
Complete classification of constant rank weight codes
Simplified definition of generalized rank weight
Determination of generalized rank weights for classified codes
Abstract
In this work we develop a geometric approach to the study of rank metric codes. Using this method, we introduce a simpler definition for generalized rank weight of linear codes. We give a complete classification of constant rank weight code and we give their generalized rank weights.
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 Geometric Approach to Rank Metric Codes and a Classification of Constant Weight Codes
Tovohery Randrianarisoa Email: [email protected] - The author is supported by the Swiss SNF grant No. 181446. Department of Mathematics, IIT Bombay
Abstract
In this work we develop a geometric approach to the study of rank metric codes. Using this method, we introduce a simpler definition for generalized rank weight of linear codes. We give a complete classification of constant rank weight code and we give their generalized rank weights.
1 Introduction
In his paper [Wei91], Wei has introduced new parameters for linear block codes to characterize the performance of linear codes when such codes are used on the wiretap channel of type II. These parameters, called the Generalized Hamming Weights, were already studied earlier in [HKM77] in a different context. Later, Cai and Yeung introduced in [CY02] an equivalent scheme for secure network coding. Silva et al. considered this problem where they introduced the use of rank metric codes. Several works on generalized weight of rank metric codes appeared after this [OS12, DK15, KMU15, JP15, Mar16, Rav16, JP17]. In these works, multiple notions of generalized rank weights were proposed. And ultimately, these definitions appeared to be equivalent. Continuing with these works, we consider a newer but more natural definition of generalized rank weights for rank metric codes. Our definitions are analogous to the definitions given by Wei in [Wei91] for Hamming metric. Furthermore, we consider a geometric approach analogous to the work of Tsfasman and Vladut in [TV95]. Such approach to study linear codes were already done in [Hil78] and it was probably introduced much earlier. Many results in this paper are translation of the definitions and results from [Wei91, TV95] from the Hamming metric to the rank metric. This approach is done by using geometrical sets which we call -system. It turns out that -systems are the vectorial counterpart of linear sets [Pol10, LVdV15] and although we did not know about them, they appear to be well studied geometric objects, there are many works about them and recently, results about the connection between linear sets and rank metric codes were presented [Lun17, She16, CMPZ17, CMPZ19, SVdV19]. Going back to Hamming metric codes, in their work, [LC09], Liu and Chen give some properties of constant weight linear codes. Another result of Bonisoli [Bon83] also gives a characterization of constant weight linear codes. These results give us a similar idea for the main result of this work, which is a complete classification of constant rank weight codes.
In Section 2, we first recall some results in the Hamming metric setting, for us to see the analogy when we present our results for rank metric codes. In Section 3, we introduce the notion of generalized rank weights for rank metric codes, both in analogy with the work in [TV95] and [Wei91]. In Section 4, we follow the description of wiretap network codes from [OS12] to show why our definition of generalized rank weights is proper for applications. In Section 5, we will give some properties of the generalized rank weights. For instance we will see the monotonicity and the duality properties for these parameters. In Section 6, we recall the notion of linear sets and we explain why they are the projective version of the notion of -system. We give a brief summary of the relations between linear rank metric codes and linear sets. In Section 7, we will give a classification of constant rank weight codes. In fact if the dimension is at least , then, up to equivalence, there is only one constant rank weight code. We give the construction for such constant rank weight codes.
Before we start let us define the following notations.
- •
For a field , denotes the set of all matrices over .
- •
For a matrix , is its transpose.
- •
For two matrices and of the appropriate size, is the concatenation of the two matrices columnwise.
- •
For an -linear code (resp. -vector space) , means that is an -subcode (resp. -subspace) of .
- •
is the dimension of as an -vector space.
- •
If is a matrix over with columns, then for , denotes the matrix obtained from by keeping only the -th columns with .
- •
denotes the set vectors formed by the columns of .
- •
For a field and an -vector space , the matrix over denotes a generator matrix of i.e. its rows form an -basis of .
- •
Conversely, for a field and a matrix , denotes the -vector space generated by the rows of .
- •
denotes the -vector space generated by the columns of .
- •
For a set of vectors of the same length , denotes a matrix with the elements of as columns (after fixing their order).
- •
For an dimensional -subspace of (considered as a vector space over ), we choose an arbitrary basis of and denotes the matrix with as columns.
2 Hamming metric codes
Many results in this paper will use a generalization of the notion of projective system into the rank metric setting. So before we proceed to the rank metric codes, it is natural to recall the geometric approach for linear codes by Tsfasman and Vladut in [TV91]. First let us recall the definitions of generalized weights as it was introduced by Wei in [Wei91].
Let be a finite field with elements. Suppose is an -linear code over . For a non-zero , we define the support of as
[TABLE]
As we mentioned in the introduction, the notion of generalized Hamming weights were introduced by Wei in [Wei91] and they have some applications in cryptography, with the use of codes in wire-tap channels of type II [OW85].
defn 1** (Generalized Hamming weights).**
For an -linear code over and any integer with , the -th generalized weight of , denoted by , is
[TABLE]
It is easily seen that the minimum distance of a linear code is given by . Namely, a non-zero codeword defines a subcode of dimension and the size of the support is just the number of non-zero elements in the codeword.
An alternative description of the generalized Hamming weight was given in Theorem 2 of [Wei91] by the next proposition. For us to see the application of the generalized rank weights, we will need a similar definition. For now, let us see it for the Hamming metric.
pro 1**.**
Let be a parity check matrix of an -linear code over a field . For a subset , let be the submatrix of corresponding to . Then, for ,
[TABLE]
Another definition of the generalized Hamming weight was also given by Tsfasman and Vladut in [TV95] using a geometric approach. Before that we need to translate the notion of linear code into some geometric terms. Furthermore, when we talk about linear code, we will always talk about non-degenerate linear codes i.e. no columns of any fixed generator matrix of the code is the zero column.
defn 2** (Projective system).**
A projective system over with parameters is a set of points (not necessarily distinct) in a -dimensional projective space such that is not contained in any hyperplane in and
[TABLE]
where the intersection is counted with multiplicity.
It was shown in [TV91] that, up to equivalence, -projective systems are in one to one correspondence with non-degenerate -linear codes. For the definition of the equivalence used in this correspondence, one can have a look at [TV91].
The definition of the minimum distance can naturally be generalized to the generalized weights of a projective system:
[TABLE]
Obviously, we have . As it was shown in [TV95], we have the following proposition.
pro 2**.**
Let be the generator matrix of a linear code and let (i.e. the set of vectors formed by the columns of ) be its corresponding projective system. Then .
Now the goal of the next section is to generalize these notions in the rank metric setting.
3 Rank metric codes
In this section, we give the analogy to the geometric approach of Tsfasman and Vladut. Rank metric codes were independently introduced by Gabidulin [Gab85] and Delsarte [Del78]. This class of codes are very interesting as they have found applications in cryptography and network coding. Before we define the analogue of projective system let us briefly recall some properties of rank metric codes.
For a vector the rank weight, , of is the dimension of the -subspace of generated by . For two vectors and in , the distance between and is
[TABLE]
An -linear rank metric code over the extension is an -subspace of dimension such that the minimum of the rank distance between two distinct codewords is . The minimum rank distance of a rank metric code will be denoted by . If is a generator matrix of a linear rank metric code , then, as in [JP17], we say that is non-degenerate if the columns of are linearly independent over the field .
For an -linear rank metric code over the extension , the Singleton bound states that [Gab85, Del78]. If such bound is attained, i.e. , then we say that the code is a maximum rank distance (MRD) code. MRD codes are interesting because if we fix , then they are the codes with the largest possible size. That property allows cryptographers to use smaller key sizes when they use MRD codes in public key cryptosystems based on linear codes [GPT91]. Many constructions of MRD codes exists. See for example [Gab85, Del78, She16, She19].
rem 1**.**
We defined rank metric codes as subspaces of , however they can also be defined by subspaces of linearized polynomials as in [She16, She19]. Furthermore, rank metric codes can also be considered to be linear over only, in this case codewords can also be represented by matrices in . If is linear over only and its minimum distance is , then the Singleton bound is given by . As usual, codes satisfying the equality is called maximum rank distance codes.
rem 2**.**
The reader should pay attention to the fact that the vector space can be equipped both with the rank metric and the Hamming metric. In fact, depending on the situation, we use both metrics on the same codeword.
From now on, we will only consider non-degenerate linear rank metric codes. We have the following equivalent definition of the rank weight of a codeword.
pro 3**.**
Let be a non-degenerate linear rank metric code over the extension . The rank weight of a vector is equal to the minimum of the Hamming weight of , where runs through .
Proof.
Suppose that is a codeword with minimum rank weights and, up to permutation, we may assume that , where . Then we can find an invertible matrix such that . ∎∎
It is this fact that helps us to generalize all notions from Hamming metric codes to rank metric codes. For instance we can define the minimum distance of a rank metric code as follows.
For a linear code of length and a matrix , denotes the linear code such that all codewords are products for some .
thm 1**.**
The minimum distance of a rank metric code is equal to
[TABLE]
where on the right hand side we have the Hamming distance.
We call two -linear rank metric codes and equivalent if there exists and such that . This definition follows the notion of linear rank metric equivalence in [Mor14, Proposition 1].
Using Definition 2 and Theorem 1, we can define the minimum rank distance of a code generated by a generator matrix as
[TABLE]
The vectors in are now considered to be the corresponding class in . We can do this because, since we only consider non-degenerate rank metric code, then does not contain the zero vector.
Now, in the above equation, if is a hyperplane such that , then columns of are in . Thus, working in the projective setting, the -projective subspace generated by these columns are in since is a hyperplane in and can also be considered as an -projective subspace of . Since runs through all the possible invertible matrices over , then this leads us to think of the minimum number of -linearly independent elements of instead of , for all . In other words, we may think of the notion of dimension of some vector space over . Recall that denotes the -vector space generated by the columns of .
Now, we are ready to formalize this generalization with the notion of projective system. However, for simplicity, there is no need for us to work in the projective space. We will work in the affine space. We will come back to the projective setting in a later section with the notion of linear sets.
defn 3** (-Systems).**
Let be an extension of finite degree . An -system over is an -dimensional -subspace of the -dimensional affine space such that is not contained in any hyperplane in and
[TABLE]
* is called the minimum distance of and it is usually denoted by .*
rem 3**.**
Note that in the above definition, the affine space is defined over whereas is considered to be only an -subspace.
We can see that an -system over can be defined as a set of points in a -dimensional projective space over such that for any , is a projective system over .
Two -systems and are called equivalent if there is a vector space automorphism of such that .
Similarly to linear Hamming metric codes, -systems are in one to one correspondence with non-degenerate -linear rank metric codes.
Namely we have the following proposition.
thm 2**.**
Let be an extension of degree . The equivalence classes of -systems are in one to one correspondence with the equivalence classes of non-degenerate -linear rank metric codes via the correspondence
[TABLE]
or equivalently
[TABLE]
Proof.
It is easy to see that equivalent -systems give equivalent linear rank metric codes. Let us check the parameters.
Let be an -system. Let be the linear code such that the columns of the generator matrix are the ’s. It is obvious that the length of the code is . For any , for some with . Otherwise such defines a hyperplane which contains all the ’s. Therefore the rows of are linearly independent over , thus the dimension of the code is . The equality of the minimum distance comes from the definition of for the -system and from Theorem 1 for the rank metric codes. Since the ’s are linearly independent over , then is non-degenerate.
One can easily check that this map is surjective by taking as the vector space generated over by the columns of the generator matrix of a rank metric code. ∎∎
We are now ready to define the generalized weights of a -system.
defn 4** (Generalized rank weight).**
Let be a -system over . The generalized weights of a -system is given by
[TABLE]
We easily see that the minimum distance of a -system is given by .
defn 5**.**
Let be an -linear rank metric code with generator matrix . We define the generalized rank weights of as the generalized rank weights of the -system generated over by the columns of , i.e., .
In fact, this definition of generalized weights of has an analogous version from Definition 1. First let us define the notion of -support for rank metric code.
defn 6** (-Support).**
Let be a vector space with generator matrix over . The -support of the matrix is the -vector space generated by the columns of . A -support of with respect to is .
rem 4**.**
In Definition 6, since there are multiple choices for the generator matrix , then there are also multiple choices for the -support of . However, it is not difficult to show that does not depend on the choice of the generator matrix. Therefore is uniquely defined and this also does not affect the notion of generalized weight as we define in the following theorems.
The first theorem is the analogue of Definition 1 whereas the second theorem is the analogue of Proposition 1.
thm 3**.**
Let be an -linear rank metric code with generator matrix , then the generalized rank weights of are equal to
[TABLE]
Proof.
Suppose that the generalized rank weight in Definition 4 is equal to and the generalized rank weight in Theorem 3 is equal to . Our goal is to show that . We assume that is the -system generated by the columns of .
From Definition 4, suppose that , with and . Assume that is the orthogonal complement of in with generator matrix , and therefore it has dimension . is a subcode of of dimension . Then we have a -support of given by . Therefore , since . Since does not contain any element of , then we have . By definition of , we must have .
Conversely, suppose that such that of dimension . We can write and define to be the -subspace of dimension in with generator matrix is . By the definition of -support, for the -subspace , . Suppose that is the orthogonal complement of in . Then, is of codimension . We claim that so that i.e. , which will conclude the proof. But by hypothesis and is of dimension , therefore there is such that and . But obviously, . ∎∎
thm 4**.**
Let be an -linear rank metric code with parity check matrix , then the generalized rank weights of are equal to
[TABLE]
Proof.
Suppose that the generalized rank weight in Theorem 3 is equal to and the generalized rank weight in Theorem 4 is equal to . Our goal is again to show that .
Suppose that and such that . We may assume that such that and . Indeed, if such that and , then we may remove a column of to get a matrix of rank in and . This is in contradiction with the definition of as being the minimum.
Consider the -linear map
[TABLE]
Let be the kernel of the above map. Since, , by the rank nullity theorem, . Now, let be the subspace of defined by
[TABLE]
Thus, and has dimension . Furthermore has dimension , where is some matrix to concatenate with so that is invertible. is also a subcode of the code since . By the definition of in Theorem 3, we have .
Conversely, let be a subcode of dimension of with . Thus there is an invertible matrix such that (notice that here we have the classical support in the Hamming metric setting). Let be the matrix consisting of all the first columns of . is of rank . By the definition of the support, has dimension . If is the generator matrix of the subcode , then , where is the parity check matrix of the code. Therefore, if we write , then
[TABLE]
However, so that
[TABLE]
Set to be the matrix consisting of the first rows of . Therefore . Since is of rank , then its kernel (as a linear map ) has dimension . Therefore , since the column space of is in the previous kernel. Hence , and . Thus, by the definition of , . This concludes the proof. ∎∎
We can also check that corresponds to the original definition of the minimum rank distance of a code.
The definition using the -system notion is very helpful in computing the generalized rank weights of some linear codes. For instance, we will see in a later section that the generalized weights of a constant rank weight code can be easily computed. Theorem 3 is especially useful to obtain the definition of generalized rank weights with Theorem 4. Theorem 4 in turn is needed to see why our notion of generalized rank weight characterizes the performance of codes when used in wiretap network codes as we will see in a later section. There are several approaches for the notion of generalized weights for rank metric codes [JP17, KMU15, OS12, DK15, Rav16]. These existing definitions were shown to be equivalent in [JP17].
For the remaining part of this paper, we will switch between these three definitions of generalized rank weights depending on the situation. We will use both the notions of -systems and rank metric codes interchangeably, depending on which notion we find easy to write down a proof.
A natural question to us is whether our definition of generalized rank weights is equivalent to the other known definitions in [JP17, KMU15, OS12, DK15, Rav16]. Indeed we show that our definition is equivalent to the definition in [JP17].
We fix a basis of and for , let . For a codeword in , Let be the matrix such that the -th column of is the . We define the matrix support of as the rowspace of . For a subspace of a linear code , the matrix support of is defined to be the -vector space generated by the matrix support of each element of a basis of . Then, in [JP17], we have the following definition of generalized rank weight.
defn 7**.**
Let be a linear rank metric code over . Then the generalized rank weight is defined as
[TABLE]
If we fix a basis of , then is also equal to the dimension of the columnspace of
[TABLE]
But this later dimension is also equal to the dimension of the vector space generated over by the columns of
[TABLE]
And therefore . Thus the definition of generalized weight in Definition 7 is equal to the definition of generalized weight in Theorem 3.
4 Wiretap network codes
We briefly explain the scheme as it was shown in [OS12]. Let be a non-zero -linear code with parity check matrix . The secret message is a vector . The message which is sent across the network is randomly chosen in the coset with syndrome . -linear combinations of the ’s will be spread across the network via known encoding. We assume that the eavesdropper, Eve, can observe edges. So, we can say that Eve knows , with . We assume that is also of full rank . We want to minimize the information Eve can know about . The information Eve knows are . We will not go into the details of the information theoretical properties of the scheme but rather we give a simple algebraic argument. For more details one can have a look at [ES07, OS12].
Let and respectively be the -subspaces of generated by the rows of and . Suppose that . Thus we can write , for some and . Multiplying by , we get a relation
[TABLE]
where is the syndrome defined earlier and is known by Eve.
Thus an element of the intersection gives a linear relation between the entries of . The more the size of the intersection is, the more the linear relations about the elements of are and therefore the more we know about . Thus to minimize the information accessed by Eve about , we want to minimize the intersection for any . So, an important parameter to look at is
[TABLE]
We want to look at the largest possible for a particular in order to decide if defines the best code.
For , let be a generator matrix of the orthogonal complement of as a subspace of . Thus is equivalent to and . So the dimension of , is equal to the dimension of the kernel of the map where . By the rank nullity theorem, the later dimension is equal to . Therefore our task is equivalent to finding the minimum
[TABLE]
For such , there is of rank such that . Therefore, by Theorem 4, we have
[TABLE]
Furthermore, by Theorem 4 (and as we saw in its proof), there exists such that and . If we suppose that , then , . Therefore, with and .
Now choose a matrix over such that and . Since we added columns from to get , then . Hence, by definition we have which is a contradiction. Therefore
[TABLE]
Equations (1) and (2) give us the following theorem.
thm 5**.**
[TABLE]
The above proof is largely inspired by a proof of the same statement in the context of Hamming code in [Wei91]. This theorem implies that the gain of information for the eavesdropper exactly occurs at the generalized weights. This makes them as interesting parameters for a code. The use of to describe the security parameters is suggested in [OS12]. However the I have not seen the statement of Theorem 5 as I wrote it here. A different expression of the use of generalized weights as parameters for the security of wiretap network codes can also be found in [KMU15].
Since our scheme is the same as the scheme in [OS12], this confirms the fact that our definition of generalized rank weights is equivalent to existing definitions.
In the next sections, we will have a look at the properties of the generalized rank weights.
5 Properties of generalized rank weights
The first important properties of generalized rank weights is the monotonicity. The proof uses the geometric property in analogy with [TV95]. Since our definition is equivalent to existing definitions, there is not really a need to present the proofs of the following properties. In fact, the monotonicity, duality of the generalized rank weights and the generalized Singleton bound were already proved but using different definitions [KMU15, DK15]. However, we still think that it is nice to give the proof of the monotonicity and duality using our definitions. Our proofs are different and they are largely inspired by [Wei91]. We adapt the method therein context of rank metric codes.
thm 6** (Monotonicity).**
Let be a -linear rank metric code over . Let be the generalized weight of , then
[TABLE]
Proof.
First, we show that for any , i.e.
[TABLE]
By definition of -system, is not contained in any hyperplane and thus not in any subspaces of codimension . Therefore for any and .
Now, we want to show that for , . Suppose that , of codimension . By the first part of the proof, . So, there is such that such that . Now, take . Since the codimension of is , then the codimension of is . If
[TABLE]
and , then
[TABLE]
Therefore .
Finally, since having a codimension equal to means that the subspace is the zero space, then . ∎∎
As a consequence of the monotonicity and the Singleton bound, we have the following corollary.
cor 1** (Generalized Singleton bound).**
Let be a -linear rank metric code over . Let be the generalized weight of , then
[TABLE]
The next property is the duality theorem. The proof will follow the method in [Wei91].
thm 7** (Duality).**
Let be an -linear rank metric code and let be its dual code. Then
[TABLE]
Proof.
We claim that for , . To prove this claim, suppose that such that and . If is the generator matrix of and is the parity check matrix of , then
[TABLE]
By the definition of , there is an invertible matrix over such that
[TABLE]
where . Indeed, we can choose so that and hence we can find such that .
If we define as the matrix obtained with the last columns of , then and has rank . Therefore, by Theorem 4, .
Next we prove that for all where these generalized rank weights are defined. Suppose the contrary. By the first part we have . Thus , . By, Theorem 3, there is a subcode of of dimension such that . Thus, if is the generator matrix of , then there is an invertible matrix over such that
[TABLE]
where . Now define to be from the last columns of . Thus such that and has rank . Again, by Theorem 4,
[TABLE]
i.e.
[TABLE]
This is in contradiction with the monotonicity in Theorem 6. ∎∎
6 Linear sets
Linear sets are well known sets in the area of geometry. They generalize the concept of subgeometry of a projective space. They were used to construct blocking sets [Lun99] and they were extensively studied. One can for example see [Pol10, LVdV15] and the references therein. Recently, relations between rank metric codes and linear sets were studied, especially for MRD codes. In this section we give a summary of the notion of linear sets and we give relations between them and rank metric codes.
defn 8**.**
Let be a projective space. A set of points in is called an -linear set of of rank if it is given by all the non-zero vectors of an -dimensional -vector subspace of i.e.
[TABLE]
Hence a linear set is just set of points defined by a -system . This already allows us to construct a linear set from a rank metric code. If has dimension over then is said to have rank . If is a subspace of then is also a linear set.
defn 9**.**
Let be an -linear set of of rank and define as a subspace of of dimension . We say that has weight with respect to if i.e. if has rank .
The weight of a linear set can be used to define the generalized weights of a rank metric code.
thm 8**.**
Let be an -linear code over and suppose that is a generator matrix of . Let be the -system defined by the columns of and define the -linear set in . Then the -th generalized weights of satisfy
[TABLE]
Proof.
This follows directly from the definition of generalized weights in Definition 4 and the notion of weight of subspaces in Definition 9. ∎∎
rem 5**.**
In the first version of this paper, we were not aware of the notion of linear sets. Only after a reviewer told us about this notion, we believe that it is worth it to give the above relation between rank metric codes and linear sets. In fact, following the approach of Tsfasman and Vladut, linear sets are the -analogue of the projective systems. In this regards, we may also call linear sets as projective -systems.
As we mentioned at the beginning of this section, linear sets and rank metric codes were already shown to be related [Lun17, She16, CMPZ17, CMPZ19, SVdV19]. We give some of this correspondence.
defn 10**.**
An -linear set of or rank is scattered if all of its points have weight . It is called a maximum scattered -linear set if it is of highest possible rank.
In [She16], it was shown that maximum scattered -linear sets of correspond to -linear MRD code. Notice that the linearity of the rank metric code here is as an -vector space, whereas we only consider -linear rank metric codes when we worked on the -system. Furthermore, [CMPZ17] shows that MRD codes can be constructed from every scattered linear set of rank of where is even.
The construction from [CMPZ17] is as follows.
Let be an -dimensional -subspace of , even, and let . Let be an -linear function , with such that .
Define , where .
thm 9** ([CMPZ17]).**
If , then is an -linear rank metric code of dimension , dimension and minimum distance . Moreover, is an MRD-code if and only if is a maximum scattered -linear set.
A further study of this correspondence can be found in [SVdV19], where they give a geometric interpretation. We would like to point out that the correspondence, in Lemma 2.2 of that paper, between linear sets and rank metric codes is similar to the relation between linear sets from a -system and the corresponding rank metric code at the beginning of this section. The equivalence classes of rank metric codes and linear sets were studied in [SVdV19]. The connection between the rank weight of a linear code and weight of hyperplanes with respect to a linear set were also given. With the -system approach, we describe the higher rank weights, i.e. the generalized rank weights of a linear codes. And as we will see in the next section, the -system approach allows us classify constant weight rank metric codes.
7 Constant rank weight codes
In this section, we show that the geometric approach helps studying rank metric codes. In particular we can easily classify constant rank weight codes. First we want to show the following lemma which is useful to characterize constant rank weight codes.
lem 1**.**
Let be a -system of parameters . Suppose that there is an integer such that for any -subspace of of dimension , . Then
[TABLE]
Proof.
We follow a method in [LC09]. Define a value function on by
[TABLE]
and extend it to any subset by . Notice that . Let be the number of -dimensional -subspaces of . Finally, for any fixed point , let be the number of -dimensional -subspaces of containing . Then, it is easy to show that
[TABLE]
and
[TABLE]
Let be all the -dimensional -subspaces of . Then
[TABLE]
Since any non-zero elements of appears exactly in -subspaces of dimension and appears in each subspaces, then
[TABLE]
Therefore,
[TABLE]
Combining Equations (3) and (4), we get our result. ∎∎
Let be an -linear rank metric code over . Recall that a constant rank weight code is a linear code such that all non-zero codewords have the same rank weight. If , then it is obvious that is a constant rank weight code. Thus for the remaining part of this section, we assume that . Suppose that the generator matrix of is . Let be the -system corresponding to , i.e. is an -subspace of . Suppose that is a generator matrix of an -dimensional subcode . Then a generator matrix for is , with . Define
[TABLE]
Then . In fact this relation gives a one-to-one correspondence between subspaces of of dimension and subcodes of of dimension . Moreover,
[TABLE]
Since we have a constant rank weight code, then , for any subcode of dimension of . Therefore, by the above correspondence, for any hyperplane of . Now, we choose and . By Lemma 1,
[TABLE]
We have the following properties.
- •
,
- •
.
If , then and Equation (5) gives
[TABLE]
But then divides the LHS but not the RHS of the equation. Thus by contradiction, . However, if , then
[TABLE]
Since does not divide the RHS, then . But then which is contrary to . So at the end
[TABLE]
But with Equation (5), this implies that
[TABLE]
Since , then . So, in fact . In the following, we show that we indeed have a constant rank weight code for which some parameters are studied.
A particular class of linear codes in the Hamming metric are the class of Hadamard codes. These codes, for a particular dimension over , are constructed in such a way that all elements of make the columns of the generator matrix. Taking generalize this construction in the rank metric setting and using the geometric approach we can easily compute the generalized weight of such code.
Let be field extension of degree . Let be a positive integer and Let . Since is a vector space of dimension over , then it is also a vector space of dimension over . Let , then defines an -system, which is given in the next theorem.
thm 10**.**
Let be an -system defined as above. The generalized rank weights of are given by
[TABLE]
In other words, .
Proof.
By definition
[TABLE]
Notice that and therefore,
[TABLE]
Therefore . ∎∎
defn 11**.**
The linear code corresponding to the projective system is called the Hadamard rank metric code which we denote by . It has parameters and it has generalized weights .
cor 2**.**
The Hadamard rank metric code is a constant rank weight code i.e. all the codewords have rank weight .
Proof.
We have seen that . So, . But since the alphabet is over , then . Thus . ∎∎
It is interesting that this code is optimal in the sense that it reaches the bound for rank metric codes with such parameters. Namely for an -linear code over with have and here we have an equality. For a proof of such bound, one can view the code as -linear code where the codewords are matrices (see [Del78] for example). Notice also that this code is linear over but not only over .
Taking the dual, we have the following.
defn 12**.**
The Hamming rank metric code is the dual of .
Using the duality from Theorem 7, we get the following property of Hamming rank metric codes.
thm 11**.**
The Hamming rank metric code has parameters . Moreover the generalized weight hierarchy is given by
[TABLE]
Having a minimum distance , the code is not really of a particular interest for error correcting as it can only detect error of rank . However, the generalized weights can be useful.
To conclude this section, we present the following classification of non-degenerate constant weight linear rank metric codes.
thm 12**.**
Let be an -non degenerate linear code over .
If , then such that . 2. 2.
If , then , and the columns of the generator matrix of is made of a basis of as a vector space over .
rem 6**.**
If the linear code is degenerate i.e. the columns of its generator matrix are linearly independent, then the code is equivalent to a linear code with generator matrix of the form where, defines a non-degenerate rank metric code . Thus we can also use Theorem 12 on in order to classify degenerate constant weight linear rank metric code .
8 Conclusion
In this work, we considered a geometric approach of linear rank metric codes via the notion of -systems which are similar to linear sets. We have redefined the notion of generalized rank weight and we gave new proofs of some of their properties. The method also helps us to completely classify constant rank weight codes. We give a construction of such codes. These codes are analogous to the Hadamard codes in the Hamming metric setting. As a future work, we want to explore the properties of rank metric codes using this geometric approach. For instance we want to study the generalized weight of -cyclic rank metric codes as it was similarly studied for cyclic Hamming metric codes. We want to use the projective setting with linear sets to find linear codes whose generalized weights can be easily computed using the geometric approach. We also want to generalize this geometric approach into rank metric codes in the Delsarte setting [Del78] i.e. we want to consider rank metric codes as subspaces of matrices.
Acknowledgments
I would like to thank Rakhi Pratihar and Prof. Sudhir Ghorparde for their valuable comments and suggestions on this work. I also thank the anonymous reviewer who introduced me to the notion of linear sets.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[Bon 83] Arrigo Bonisoli. Every equidistant linear code is a sequence of dual Hamming codes. Ars Combinatoria , 18:181–186, 1983.
- 2[CMPZ 17] Bence Csajbók, Giuseppe Marino, Olga Polverino, and Ferdinando Zullo. Maximum scattered linear sets and MRD-codes. Journal of Algebraic Combinatorics , 46(3):517–531, Dec 2017.
- 3[CMPZ 19] Bence Csajbók, Giuseppe Marino, Olga Polverino, and Ferdinando Zullo. A special class of scattered subspaces, 2019.
- 4[CY 02] N. Cai and R. W. Yeung. Secure Network Coding. In Proceedings IEEE International Symposium on Information Theory , pages 323–, June 2002.
- 5[Del 78] P. Delsarte. Bilinear forms over a finite field, with applications to coding theory. Journal of Combinatorial Theory, Series A , 25(3):226 – 241, 1978.
- 6[DK 15] Jérôme Ducoat and G Kyureghyan. Generalized rank weights: A duality statement. Topics in Finite Fields , 632:101–109, 2015.
- 7[ES 07] S. Y. El Rouayheb and E. Soljanin. On wiretap networks II. In 2007 IEEE International Symposium on Information Theory , pages 551–555, June 2007.
- 8[Gab 85] E. Gabidulin. Theory of codes with maximum rank distance (translation). Problems of Information Transmission , 21:1–12, 1985.
