Covering radius of rank-metric codes via covering lifts and clubs
Giuseppe Marino, Alessandro Neri, Alessia Vallefuoco
Abstract
We introduce a generator-matrix-based geometric approach to the covering radius of Fqm-linear rank-metric codes. Starting from the q-system associated with the code, we define the notion of covering lift and show that the covering radius can be recovered from the hyperplane weights of such lifts. This yields an exact criterion, in terms of the length and effective length of the code, for the covering radius to attain its largest possible value, together with the upper bound ρ(C)≤min{m,n}−1 in all remaining cases. We then specialize our approach to 1-dimensional codes, for which the effective length coincides with the minimum rank distance. In this setting, codes attaining ρ(C)=min{m,n}−1 are related to covering lifts that are clubs. More generally, we characterize this case through linear maps into suitable quotient spaces, obtaining equivalent interpretations in terms of generalised evasive subspaces and auxiliary matrix rank-metric codes. These results determine the covering radius for several boundary values of the minimum distance and for all 1-dimensional codes with extension degree m∈{3,4,5}. For m=6 and every q we provide constructions and, for q∈{2,3}, computational results showing that 1-dimensional rank-metric codes with the same length and minimum distance can have different covering radii.
Background. The covering radius is a classical parameter in coding theory. Given a code C in a metric space, its covering radius measures the largest possible distance between an element of the ambient space and the code. In this paper, we study the covering radius in the rank-metric setting. Let Fqm be an extension of degree m of Fq. For v=(v1,…,vn)∈Fqmn, its rank weight is
rk(v)=dimFq(⟨v1,…,vn⟩Fq),
and the associated rank distance is defined as drk(u,v)=rk(u−v), for u,v∈Fqmn. An Fqm-linear rank-metric code C of length n and dimension k is an Fqm-subspace of Fqmn of dimension k. If d denotes its minimum rank distance, we refer to such a code as an [n,k,d]qm/q code. In this setting, the covering radius of C is
Equivalently, it is the smallest integer ρ such that the balls of radius ρ centered at the codewords cover the whole ambient space. Hence, while the minimum rank distance is an intrinsic parameter of the code, determined by the ranks of its nonzero codewords, the covering radius is an ambient parameter: it measures how far vectors of the whole space Fqmn can lie from C. Its determination requires controlling simultaneously all the cosets of the code, and is in general a considerably difficult problem. Since every vector of Fqmn has rank at most m, and every coset of C contains a vector with at most n−k nonzero entries, one always has ρ(C)≤min{m,n−k}; see Section 5. The study of covering radii links coding theory with covering problems, and has led to a rich interaction between coding theory, combinatorics and finite geometry, see e.g. [8].
The covering radius has been extensively investigated in the Hamming-metric setting, see e.g. [8, 9]. From a geometric point of view, linear codes in the Hamming metric can be represented through projective systems, allowing several code parameters to be translated into incidence properties of finite projective spaces; see e.g. [24]. By this correspondence, the covering radius of a linear code admits a geometric counterpart in terms of saturating sets, geometric objects that were first introduced by Ughi in [25]. This correspondence has led to a fruitful interaction between coding theory and finite geometry, and many constructions of linear codes with small covering radius arise from geometric constructions of saturating sets, see e.g. [10, 11, 14].
The situation is rather different for the rank-metric setting. Although rank-metric codes have been widely studied, comparatively fewer results are known about their covering radius. A systematic study of the covering radius of rank-metric codes, with general upper and lower bounds, was carried out by Gadouleau and Yan in [17], while further upper bounds, including the dual distance and external distance bounds, were established by Byrne and Ravagnani for matrix rank-metric codes [7]. More recently, Bonini, Borello and Byrne introduced rank-saturating systems, that are the q-analogues of saturating sets, and obtained a geometric interpretation of the rank-metric covering radius [5]. This approach relies on the parity-check matrix of the code, in analogy with the classical correspondence between the covering radius of linear codes and saturating sets. Constructions of rank-saturating systems of the smallest possible rank can be found e.g. in [3, 5, 27]. A further geometric interpretation for matrix rank-metric codes whose minimum distance equals their number of rows was given in terms of generalised evasive subspaces in [18].
Our contributions. In this paper, we develop a different geometric approach to the covering radius of Fqm-linear rank-metric codes, based on the generator matrix of the code rather than on its parity-check matrix.
Let C be an [n,k]qm/q code with generator matrix G, and let U⊆Fqmk be the Fq-span of the columns of G. The dimension n′ of U is the effective length of C, and δ=n−n′ is the number of coordinates which, up to equivalence, vanish on the whole code. The starting point is an elementary observation (Lemma 3.5): a vector α is far from C exactly when, after adding α as a new row of G, all the codewords that really involve α have large rank. Following [22], the ranks of these codewords can be read as weights of hyperplanes, where the weight of a subspace is the dimension of its intersection with the Fq-span U⊆Fqmk+1 of the columns of the extended matrix. This subspace projects onto U and, as long as δ≤m, it can be assumed to meet the point P=⟨(0,…,0,1)⟩Fqm in dimension δ; we call such subspaces δ-covering lifts of U (Definition 3.7). In a covering lift, the hyperplanes through P have weights determined by U alone (Lemma 3.8), while the hyperplanes not through P encode the distance of α from C: the smaller their largest weight μP(U), the farther α is from the code. This gives our first main result.
Main Theorem (see Theorem 3.9). Let C be an [n,k]qm/q code with effective length n′, and assume that δ=n−n′≤m. Then
ρ(C)=n−UminμP(U),
where U runs over all δ-covering lifts of U.
As a consequence, the effective length decides when the covering radius reaches its largest possible value m: this happens if and only if δ≥m, and otherwise ρ(C)≤min{m,n}−1 (Proposition 3.11). For 0<δ<m this improves on the dual distance bound of [7], see Section 5.
We then focus on 1-dimensional codes, where the picture becomes much more concrete. Here the effective length coincides with the minimum distance d, and U is simply a d-dimensional Fq-subspace V of Fqm (Remark 4.1). Contrary to the Hamming metric, where all [n,1,d]q codes are equivalent, different choices of V may give inequivalent codes (Lemma 4.2). The covering lifts now lie in Fqm2, whose hyperplanes are just points, so the Main Theorem asks for a lift in which all points other than P have small weight. In the extreme case, all these points have weight at most one: such subspaces are known as clubs [15, 12, 21]. More precisely, a t-club of rank n is an n-dimensional Fq-subspace of Fqm2 having one point of weight t and all other points of weight at most one.
Theorem (Club characterization, see Corollary 4.5). Let C be an [n,1,d]qm/q code with m≥n. Then ρ(C)=n−1 if and only if V has an (n−d)-covering lift which is an (n−d)-club, with P as the point of weight n−d.
A similar sufficient condition holds when m<n<m+d (Corollary 4.6). In this way, known constructions [12, 21] and nonexistence results [13] for clubs translate directly into information on covering radii. Beyond clubs, we characterize when ρ(C)=min{m,n}−1 in terms of an Fq-linear map f:V→Fqm and a δ-dimensional Fq-subspace W⊆Fqm, which together describe a suitable covering lift (Proposition 4.8). This condition can be read in terms of generalised evasive subspaces in the sense of [18] (Remark 4.9), and also in terms of auxiliary matrix codes: the covering radius of C equals δ plus the largest covering radius among a family of Fq-linear matrix codes AV,W naturally attached to V (Theorem 4.10).
These geometric descriptions lead to several concrete determinations. For 1-dimensional rank-metric codes we completely determine the covering radius in the cases d∈{1,2,min{m,n}−1,min{m,n}} (Theorem 4.13) and, combining this with the nonexistence of 2-clubs of rank 5, for every extension degree m∈{3,4,5} (Proposition 4.15). In particular, every [4,1]q4/q code has covering radius 3, which recovers the main result proved in [27] via rank-saturating systems. For m=6, a known construction of 3-clubs shows that [6,1,3]q6/q codes for which V is a scalar multiple of Fq3 have covering radius 5 (Proposition 4.17), and MAGMA computations for q∈{2,3} deal with the remaining open cases (Table 4). These computations show that [6,1,3]q6/q codes can have covering radius 4 or 5: thus, the covering radius of a 1-dimensional rank-metric code is not determined by its length and minimum distance, in sharp contrast with the Hamming metric.
Outline. The paper is organized as follows. In Section 2, we recall the basic notions concerning rank-metric codes, q-systems and t-clubs on the projective line. Section 3 develops the general geometric approach, introduces the notion of covering lift and proves the main characterization and the resulting bounds in terms of the effective length. In Section 4, we specialize the results to 1-dimensional codes, establish the connection with t-clubs, generalised evasive subspaces and auxiliary matrix codes, and apply these tools to boundary cases and small extension degrees. Finally, in Section 5, we compare our results with the bounds previously obtained by Gadouleau and Yan [17], by Byrne and Ravagnani [7] and by Gruica, Ravagnani, Sheekey and Zullo [18].
2 Preliminaries
2.1 Rank-metric codes and q-systems
We begin by introducing rank-metric codes, which provide the main setting for this paper. To this end, we fix some notation: throughout the paper, q denotes a prime power, m, n and k denote positive integers.
and let [n]={1,…,n}. We consider the field extension Fqm of degree m of Fq. Moreover, we need to endow Fqmn with a suitable distance.
Definition 2.1. For v=(v1,…,vn)∈Fqmn, we can define its rank weight as
rk(v)=dimFq(⟨v1,…,vn⟩Fq).
Let B be an Fq-basis of Fqm. Then every element of Fqm can be uniquely written as a linear combination of the elements in B. In particular, for v=(v1,…,vn)∈Fqmn, every i-th coordinate can be identified with its coordinate vector with respect to B, i.e. vi≡B(v1i,…,vmi)∈Fqm. Taking them as vector columns, we get an m×n matrix ϕB(v) defining v. Equivalently, after fixing a basis B, the vector v∈Fqmn can be represented by ϕB(v)∈Fqm×n, and its rank weight coincides with the usual rank of this matrix
rk(v)=rank(ϕB(v)).
This rank weight induces a metric on Fqmn, called the rank metric, which is defined by
drk:Fqmn×Fqmn(u,v)⟶⟼N0,rk(u−v).
Definition 2.2. A (Fqm-linear) rank-metric code is an Fqm-linear subspace C of Fqmn. The positive integer n is the length of the code, its dimension is the Fqm-dimension and its minimum rank distance is
d=drk(C)=min{rk(v):v∈C∖{0}}.
If C has length n, dimension k and minimum distance d, we will call it an [n,k,d]qm/q code. If the minimum distance is not known or not relevant, we will say that C is an [n,k]qm/q code.
As just defined, an [n,k]qm/q code is an Fqm-subspace of dimension k. Hence, we can choose a basis of C and put its elements as rows of a k×n matrix. Such a matrix is called a generator matrix for C. Equivalently, if G is a generator matrix for C, then
C={uG:u∈Fqmk}.
From now on, if C is an [n,k]qm/q code, assume that m,n>1 and 0<k<n. Throughout the paper, we consider rank-metric codes only up to Fqm-linear rank-metric isometries of Fqmn, see e.g. [4, 20, 26].
Definition 2.3. Two [n,k,d]qm/q rank-metric codes C and C′ are linearly equivalent if there exists A∈GL(n,q) such that C′=CA={vA:v∈C}.
Before proceeding, we introduce another parameter usually associated with a rank-metric code, called the effective length, which will be useful throughout the paper.
Definition 2.4. Let C be an [n,k]qm/q code, and let G=(G1,…,Gn) be a generator matrix for C, where Gi denotes the i-th column of G. The effective length of C is defined as
n′=dimFq(⟨G1,…,Gn⟩Fq).
If n′=n, i.e. if the columns of G are Fq-independent, then C is nondegenerate.
Before moving to the geometric counterpart of rank-metric codes, we introduce two standard operations that can be performed on a code: duality and puncturing.
Definition 2.5. Let C be an [n,k]qm/q code. Its dual code, denoted by C⊥, is defined as
C⊥={u∈Fqmn∣u⋅c=0foreveryc∈C},
where · denotes the standard inner product on Fqmn.
Definition 2.6. Let I⊆[n] and consider the projection map
πI:c∈Fqmn→c[n]∖I∈Fqmn−∣I∣,
where c[n]∖I denotes the vector in Fqmn−∣I∣ obtained by deleting all the coordinates indexed by I. Let C be an [n,k]qm/q code, the puncturing of C on I is
Π(C,I)={πI(c):c∈C}.
The rest of this section will be devoted to the geometric interpretation of rank-metric codes in terms of q-systems.
From now on, we use vector-space notation and in particular we identify 1-dimensional Fqm-subspaces with the corresponding projective points. With a slight abuse of notation, if H is an Fqm-subspace, we write P∈H to mean that P⊆H.
As in the Hamming metric setting, where linear codes can be studied through their associated projective systems, also rank-metric codes admit a geometric counterpart, which is defined as follows.
Definition 2.7. An [n,k,d]qm/q system U is an Fq-subspace of Fqmk of Fq-dimension n, not contained in any hyperplane (i.e. ⟨U⟩Fqm=Fqmk), with
d:=n−max{dimFq(U∩H):H⊆Fqmk,dimFqm(H)=k−1}.
Moreover, for an Fq-subspace X⊆Fqmk, its weight in U is the quantity
wtU(X):=dimFq(U∩X).
Definition 2.8. Two [n,k,d]qm/q systems U and U′ are linearly equivalent if there exists an Fqm-isomorphism φ∈GL(k,qm) such that φ(U)=U′.
The geometric interpretation of rank-metric codes in terms of q-systems relies on the possibility of reading the rank of a codeword in terms of the weight of a hyperplane.
Lemma 2.9 ([22], [1, Lemma 3.7]). Let C be a nondegenerate [n,k]qm/q code and let G be a generator matrix. Then for every v∈Fqmk∖{0},
rk(vG)=n−wtU(⟨v⟩Fqm⊥),(1)
where U denotes the [n,k]qm/q-system given by the Fq-span of the columns of G.
In particular, given an [n,k]qm/q nondegenerate code C and a generator matrix G for C, the Fq-span of the columns of G, namely G1,…,Gn, forms an [n,k]qm/q system U. Conversely, taken an Fq-basis of an [n,k]qm/q system U, the matrix G containing the elements of the basis as columns, defines an [n,k]qm/q nondegenerate code. Moreover, from (1), if d=drk(C)
and since every hyperplane H of Fqmk is of the form ⟨v⟩Fqm⊥ for some v∈Fqmk∖{0}, the minimum rank distance of C coincides with the parameter d associated with the q-system.
This correspondence is true up to equivalence and it is formally proved in [22] and [1].
Theorem 2.10 ([22, Theorem 2]). There exists a one-to-one correspondence between classes of [n,k,d]qm/q nondegenerate rank-metric codes and classes of [n,k,d]qm/q systems.
We conclude this preliminary section by recalling the notion of t-clubs, well-studied objects in finite geometry that will play a role in the next sections.
2.2 t-clubs on the projective line
The notion of clubs on the projective line was first introduced by Fancsali and Sziklai in [15]. However, the more general notion of t-club, in which the exceptional weight can be different from its rank minus 1, was introduced by De Boeck and Van de Voorde in [12] in connection with translation KM-arcs. Then, more works provided constructions, classification results and nonexistence results for particular parameters [12, 13, 21], while a recent development includes clubs in higher-dimensional projective spaces [19]. Recently it has been also exploited the link between t-clubs and the free product of uniform q-matroids in [2].
Definition 2.11. Let U be an Fq-subspace of Fqm2. We say that U is scattered of rank n if it has Fq-dimension n and wtU(P)≤1 for every point P∈Fqm2.
Definition 2.12. Let t be a nonnegative integer and let U be an Fq-subspace of Fqm2. We say that U is a t-club of rank n if it has Fq-dimension n and there exists a point P such that wtU(P)=t, while for every other point Q=P, wtU(Q)≤1.
Remark 2.13. In particular, for t∈{0,1}, the notion of t-club is closely related to that of scattered subspace. Indeed, for t=1, a t-club is simply a scattered subspace with wtU(P)=1, while for t=0, U is again scattered, but the point P is disjoint from U. We include these two cases in the definition of a club, as they will be useful later to simplify the notation.
In this subsection we introduce a few results on t-clubs that will be needed later in the paper in order to recover lower bounds on the covering radius of rank-metric codes. The first result deals with the classification of (m−2)-clubs on the projective line provided in [21].
Theorem 2.14 ([21, Theorems 3.2 and 3.6]). Let m≥3, let β∈Fqm∖Fq, and let T⊆Fqm be an (m−2)-dimensional Fq-subspace containing 1. Choose an Fq-basis t1,…,tm−2 of T. For γ∈Fqm, let
U=⟨(1,1),(β,γ),(0,t1),…,(0,tm−2)⟩Fq.
Then dimFq(U)=m and wtU(⟨(0,1)⟩Fqm)=m−2. Moreover, U is an (m−2)-club if and only if γ∈/T+βT, where
T+βT:={v+βw:v,w∈T}.
In particular, every (m−2)-club of rank m is equivalent to one of this form.
We next recall some results that will be useful for the small parameter analysis in Section 4.3. First, we recall a construction of clubs obtained from a scattered graph over a subfield, that will be helpful to construct [6,1,3]q6/q codes with covering radius 5.
Proposition 2.15 ([12, Theorem 3.6]). Let m=hr, with h,r>1, and let f:Fqh→Fqh be an Fq-linear map whose graph Γf={(x,f(x)):x∈Fqh} is scattered. For fixed a,b∈Fqh, with b=0, define
We now recall a nonexistence result on clubs needed to compute the covering radius of [5,1,3]q5/q codes.
Theorem 2.16 ([13]). For every prime power q, there is no 2-club of rank 5 in Fq52.
As shown in Section 4, clubs are related to the study of the covering radius of Fqm-linear rank-metric codes, but not only, as highlighted by the following remark.
Remark 2.17. Alfarano, Byrne and Fulcher identify clubs on the projective line with representations of free products of two rank-one uniform q-matroids [2, Theorem 87]. Their theorem ensures that if U is a t-club of rank n, with 2≤t<n, then the q-matroid MU=(U,rU), defined by the rank function rU(A)=dimFqm(⟨A⟩Fqm) where A is an Fq-subspace of U, satisfies
MU≅U1,t(q)□U1,n−t(q).
Here, U1,j(q) denotes the uniform q-matroid of rank one on a j-dimensional Fq-space, and □ denotes the free product. Conversely, an Fqm-representation of this free product yields a t-club of rank n. This means that our Corollary 4.5, for δ≥2, can be also read in terms of free product of uniform q-matroids.
3 A geometric link with the covering radius
Starting from any distance, we can define the notion of covering radius. In our context, we focus on the covering radius for rank-metric codes.
Notation 3.1. Let x∈Fqmn, we will denote the distance between x and C as
drk(x,C)=c∈Cmindrk(x,c).
Definition 3.2. The covering radius of an [n,k,d]qm/q code C is
ρ(C):=x∈Fqmnmaxdrk(x,C).
The notion of covering radius can be defined in any metric space. In particular, in the Hamming metric setting, it has a geometric interpretation in terms of saturating sets. An analogous geometric counterpart for rank-metric codes was introduced in [5] using saturating systems, the q-analogues of saturating sets.
Definition 3.3. An [n,k]qm/q system U is rank- ρ-saturating if, for every v∈Fqmk there exists a subspace W⊂U of Fq-dimension at most ρ such that v∈⟨W⟩Fqm.
In the Hamming metric, there exists a one-to-one correspondence between classes of codes with covering radius at most ρ and classes of ρ-saturating sets. Similarly, there exists a correspondence between rank-metric codes and saturating systems.
Theorem 3.4 ([5, Theorem 3.5]). There exists a one-to-one correspondence between classes of [n,n−k]qm/q codes whose dual is nondegenerate, with covering radius at most ρ, and classes of [n,k]qm/q rank- ρ-saturating systems.
The study of the covering radius of a code is in general a difficult task. It is known that this problem can be approached using the correspondence with rank- ρ-saturating systems, as just observed. However, in some cases, it might be easier to use a different approach. The stepping stone of our approach is based on the following elementary lemma.
Lemma 3.5. Let C be an [n,k]qm/q code and let G be a generator matrix for C. Let t be a positive integer such that t≤min{m,n}. Then the following conditions are equivalent.
(1) ρ(C)≥t.
(2) There exists α∈Fqmn such that minc∈Crk(α−c)≥t.
(3) There exists α∈Fqmn such that, if we take the code Cα=rowsp(Gα) with Gα=[Gα], then
Proof. (1) ⟺ (2): It follows directly from the definition of covering radius.
(2) ⟹ (3): Let α∈Fqmn such that minc∈Crk(α−c)≥t. Since t≥1, we necessarily have α∈/C. Otherwise, by taking c=α, we would obtain rk(α−c)=0. Hence, α does not belong to the Fqm-row space of G, and rank(Gα)=k+1. Let u′=(u1,…,uk,uk+1)∈Fqmk+1 with uk+1=0, and set u=(u1,…,uk)∈Fqmk. Then
u′Gα=uG+uk+1α.
Since C is Fqm-linear, then −uk+1−1(uG)∈C. Moreover, multiplication by a nonzero element of Fqm preserves the rank. Thus,
rk(u′Gα)=rk(uG+uk+1α)=rk(α−(−uk+1uG))≥t.
Since this holds for every u′∈Fqmk+1 whose last coordinate is nonzero, then it is true for the minimum among all such vectors u′.
Hence, we can conclude that there exists α∈Fqmn such that minc∈Crk(α−c)≥t.
The previous lemma allows us to introduce a different geometric approach for studying the covering radius of linear rank-metric codes. We will later provide evidence of the fact that this approach simplifies the discussion in some cases. Before doing this, let us introduce some notation.
Let C be an [n,k]qm/q code with effective length n′, let G be a generator matrix for C and denote by Gi, with i∈[n] the i-th column of G. By definition of effective length, dimFq(⟨G1,…,Gn⟩Fq)=n′, hence there exist i1,…,in′∈[n] such that ⟨G1,…,Gn⟩Fq=⟨Gi1,…,Gin′⟩Fq. Therefore, there exists A∈GL(n,q) such that GA=(G~1⋯G~n′0⋯0) with G~1,…,G~n′ linearly independent over Fq. Thus, up to linear equivalence, every [n,k]qm/q code C with effective length n′ admits a generator matrix of the form
G=(G1⋯Gn′0⋯0),(2)
with G1,…,Gn′ linearly independent over Fq. Since right multiplication by an element of GL(n,q) gives rank-metric isometries of Fqmn, the covering radius is preserved by this operation, thus
ρ(C)=ρ(CA)foreveryA∈GL(n,q).
In particular, if n′<n then C is linearly equivalent to a code in Fqmn′×{0}n−n′. Hence, it can be isometrically embedded in Fqmn′ in the following way. Consider the code
C~ has the same dimension and minimum distance as C, in particular it is an [n′,k,d]qm/q code. Moreover, we can also consider the associated [n′,k,d]qm/q system.
Remark 3.6. From now on, we will consider every [n,k]qm/q code with effective length n′<n to have generator matrix of the form (2). In particular, we will call the associated [n′,k]qm/q system U=⟨G1,…,Gn′⟩Fq.
Moreover, let us introduce the following notation. For every positive integer s we denote by
Hs(qm)={H⊆Fqms:dimFqm(H)=s−1}
the set of all the hyperplanes of Fqms. In particular, fix P=⟨(0,…,0,1)⟩Fqm, we need to introduce two subsets of Hk+1(qm), that are
HP+={H∈Hk+1(qm):P∈H}andHP−={H∈Hk+1(qm):P∈/H}.
Observe that we can identify the elements of HP+ and Hk(qm) in the following way. There exists a natural isomorphism between S=Fqmk×{0}⊆Fqmk+1 and Fqmk, that is the restriction to S of the natural projection π:Fqmk+1→Fqmk. Using this isomorphism we can construct a bijection between HP+ and Hk(qm). Define the map
Φ:H∈HP+⟼π∣S(H∩S)∈Hk(qm),
by Grassmann dim(H∩S)=k−1, hence π∣S(H∩S)∈Hk(qm). Conversely
Φ−1:H∈Hk(qm)⟼π∣S−1(H)+P∈HP+.
Definition 3.7. Let U be an [n′,k]qm/q system and let 0≤δ≤m be an integer. An [n′+δ,k+1]qm/q system U is a δ-covering lift of U if π(U)=U, where π:Fqmk+1→Fqmk denotes the natural projection on the first k coordinates. We define Lδ(U) to be the family of all δ-covering lifts of U. In particular, for every δ-covering lift U, we define
μP(U)=H∈HP−maxwtU(H).
The weights of the hyperplanes in HP+ are determined by U and δ, as the following lemma shows.
Lemma 3.8. Let U be a δ-covering lift of an [n′,k]qm/q system U. Then wtU(P)=δ and, for every H∈HP+,
wtU(H)=wtU(Φ(H))+δ.
Proof. First observe that the restriction of π to U is an Fq-linear surjection onto U with kernel U∩P. Hence,
Theorem 3.9. Let m,n and n′ be positive integers, let δ=n−n′ and assume that δ≤m. Let C be an [n,k]qm/q code with effective length n′ and let U be the [n′,k]qm/q system associated with C. Then
ρ(C)=n−U∈Lδ(U)minμP(U).
Proof. First, let us prove that for every 1≤t≤min{m,n},
ρ(C)≥tifandonlyif∃U∈Lδ(U)withμP(U)≤n−t.(4)
By Lemma 3.5, the code C has covering radius at least t if and only if there exists α∈Fqmn such that drk(α,C)≥t. Since t≥1, necessarily α∈/C and Gα has Fqm-row rank k+1. Thus, Gα is a generator matrix of an [n,k+1]qm/q code Cα satisfying
Since uk+1=0, we can normalize the vector u′ and consider u′=(u1,…,uk,1) by redefining ui as the ratio ui/uk+1, for i∈[k]. From (5) we get
rk((u1,…,uk,1)Gα)≥t,forevery(u1,…,uk)∈Fqmk.
In order to construct the [n,k+1]qm/q system associated with Cα, we need to prove that we can always take an α∈Fqmn such that Cα is nondegenerate. By definition, Cα is nondegenerate if and only if the columns of Gα are Fq-independent. The first n′ columns of Gα are Fq-independent since we have taken a generator matrix for C of the form (2). Hence, Cα is degenerate if and only if αn′+1,…,αn are Fq-dependent, i.e. there exists a nonnegative integer s such that
s=dimFq(⟨αn′+1,…,αn⟩Fq)<δ.
Up to permuting the last δ coordinates of α, we can assume that αn′+1,…,αn′+s form an Fq-basis of ⟨αn′+1,…,αn⟩Fq. Since m≥δ, there exist zn′+s+1,…,zn∈Fqm such that αn′+1,…,αn′+s,zn′+s+1,…,zn are Fq-independent. Define α′=(α1,…,αn′+s,zn′+s+1,…,zn)∈Fqmn. Observe that
and every c∈C has the form c=(c1,…,cn′,0,…,0), hence drk(α′,c)≥drk(α,c) for every c∈C. Thus, it holds also for the minimum over all the codewords, i.e.
drk(α′,C)≥drk(α,C)≥t.
When m≥δ, replacing α with α′ if necessary, we can assume that Cα is nondegenerate and drk(α,C)≥t.
Since Cα is an [n,k+1]qm/q nondegenerate code, we can consider the associated [n,k+1]qm/q system Uα. First observe that π(Uα)=⟨G1,…,Gn′⟩Fq=U, hence Uα∈Lδ(U) and by Lemma 3.8 we have
wtUα(H)=wtU(Φ(H))+δ,
for every hyperplane H∈HP+. Moreover, for every u′∈Fqmk+1 we have that rk(u′Gα)=n−wtUα(⟨u′⟩Fqm⊥) and
and this means that wtUα(H)≤n−t for every H∈HP−, hence μP(Uα)≤n−t.
Conversely, assume there exists U∈Lδ(U) such that μP(U)≤n−t. Since π(U)=U, for every i∈[n′] there exists αi∈Fqm such that (Gi,αi)∈U. By Lemma 3.8 dimFq(U∩P)=δ, hence there exist αn′+1,…,αn∈Fqm linearly independent over Fq such that {(0,…,0,αn′+1),…,(0,…,0,αn)} form a basis for U∩P. Since the first n′ columns of G are Fq-independent and also αn′+1,…,αn are Fq-independent, we have found a basis of U and
where 0 denotes the zero-vector in Fqmk. For every H=⟨(u,1)⟩Fqm⊥∈HP−, with u∈Fqmk, we have
rk(uG+α)=n−wtU(H)≥n−μP(U)≥t,
hence ρ(C)≥t. Let us prove that (4) implies the statement. Applying (4) with t=ρ(C) we get a lift U0∈Lδ(U) such that
U∈Lδ(U)minμP(U)≤μP(U0)≤n−ρ(C).
On the other hand, the preceding construction associates with every lift U∈Lδ(U) a vector α such that drk(α,C)=n−μP(U). Hence,
μP(U)=n−drk(α,C)≥n−ρ(C),
for every U∈Lδ(U), in particular it holds for the minimum over all the possible δ-covering lifts and the statement follows.
Lemma 3.10. Let C be an [n,k]qm/q code with effective length n′, let 1≤t≤min{m,n} be a positive integer and let δ=n−n′. If ρ(C)≥t, then
qn−qδ≤qm(qn−t−1).(6)
Proof. If δ≥m, then immediately
qm(qn−t−1)=qm+n−t−qm≥qn−qm≥qn−qn−n′=qn−qδ.
Assume now that δ<m. Since ρ(C)≥t we can apply (4) of Theorem 3.9 and there exists U∈Lδ(U) such that μP(U)≤n−t. Thus, wtU(H)≤n−t for every hyperplane H∈HP−, while by Lemma 3.8 wtU(H)=wtU(Φ(H))+δ for every H∈HP+. Hence, we can compute the cardinality of the intersection of U∖{0} with every hyperplane of Fqmk+1. Since every H∈HP− has the form ⟨(u1,…,uk,1)⟩Fqm⊥, with u1,…,uk∈Fqm, ∣HP−∣=qmk, then
H∈HP−∑(U∖{0})∩H≤qmk(qn−t−1).
For H∈HP+ we have that
∣U∩H∣=qδ∣U∩Φ(H)∣,
hence
∣(U∖{0})∩H∣=qδ(∣(U∖{0})∩Φ(H)∣+1)−1.
If we sum on all the hyperplanes H∈HP+, since Φ is a bijection, we get
Proposition 3.11. Let C be an [n,k]qm/q code with effective length n′ and let δ=n−n′. Then ρ(C)=m if and only if δ≥m. In particular, if δ<m, then ρ(C)≤min{m,n}−1.
Proof. Assume that δ≥m. Recall that every c∈C has the form c=(c1,…,cn′,0,…,0). Take x=(0,…,0,xn′+1,…,xn′+m,0,…,0) where xn′+1,…,xn′+m∈Fqm are Fq-independent. Since for every c∈C the vector x−c has at least m coordinates Fq-independent, drk(x,c)≥m for every c∈C. Hence, drk(x,C)≥m and ρ(C)≥m, but the covering radius cannot exceed m, so ρ(C)=m.
Let m≥n and assume by contradiction that ρ(C)≥n, then by Lemma 3.10
qn−qδ≤qm(qn−n−1)=0.
Since the code is nonzero, n′>0, hence qn−qδ>0 and we get a contradiction. We can conclude that ρ(C)≤n−1.
Let m−n′<δ<m or, equivalently, m<n<m+n′ and assume by contradiction that ρ(C)≥m. By Lemma 3.10
qn−qδ≤qm(qn−m−1)=qn−qm,
hence qδ≥qm but this is a contradiction since by hypothesis δ<m. Thus, in this case ρ(C)≤m−1.
In order to apply the characterization obtained in Theorem 3.9, it is useful to compare codes of length n≥m with suitable puncturings of length m, as shown in the following proposition.
Proposition 3.12. Let n≥m and let r be a positive integer such that k≤r≤m. Assume that every [m,k]qm/q code with effective length r has covering radius m−1. Then, for s∈{0,…,n−m} every [n,k]qm/q code with effective length s+r has covering radius at least m−1.
Proof. Let C be an [n,k]qm/q code with effective length r+s and assume it has generator matrix G of the form (2). Since G has Fqm-row rank k, its columns span Fqmk and among G1,…,Gr+s, we can choose k columns which are Fqm-independent. Since r≥k, we can extend this set to a set J={j1,…,jr}⊆{1,…,r+s} of cardinality r. Moreover, since s≤n−m, we have n−(r+s)≥m−r. Hence, among the zero columns of G, we can choose a set Z⊆{r+s+1,…,n} of cardinality m−r. Let I=[n]∖(J∪Z), then ∣I∣=n−m. Consider the punctured code
Π(C,I)=rowsp(Gj1…Gjr0…0).
The columns Gj1,…,Gjr are Fq-independent, since they are a subset of G1,…,Gr+s. Thus, Π(C,I) has effective length r. Moreover, these columns contain k columns which are Fqm-independent. Hence, this matrix has Fqm-row rank k and thus Π(C,I) is an [m,k]qm/q code with effective length r. By hypothesis ρ(Π(C,I))=m−1. Hence, by Lemma 3.5, there exists α=(α1,…,αm)∈Fqmm such that
In this section, we focus on [n,1]qm/q codes. We specialize the results obtained in the previous section, and in particular Theorem 3.9, to the case of 1-dimensional rank-metric codes. Since in this setting the covering lifts lie in Fqm2, weight conditions on hyperplanes translate into weight conditions on points. This leads to a connection with a well-studied class of Fq-subspaces known as t-clubs. Unlike the Hamming-metric case, 1-dimensional rank-metric codes with the same length and minimum distance are not necessarily equivalent. Indeed, in the Hamming metric, any two [n,1,d]q codes are equivalent once n and d are fixed, thus their covering radius can be determined by studying a single representative. In the rank-metric setting, however, there exist [n,1,d]qm/q codes with the same length and minimum distance but with different covering radii.
Remark 4.1. As in the general case, for k=1 we can consider the notion of effective length. However, since a generator matrix for an [n,1]qm/q code is an element of Fqm1×n, the columns are elements of Fqm and the effective length coincides with the minimum distance of the code. Indeed, let C be an [n,1,d]qm/q code and let (v1,…,vn)∈Fqm1×n be a generator matrix for C. The effective length is
n′=dimFq(⟨v1,…,vn⟩Fq)=rk(v1,…,vn)=d.
As in the previous section, there exists A∈GL(n,q) such that (v1,…,vn)A=(v~1,…,v~d,0,…,0). Since this operation preserves the covering radius, from now on we can assume that every [n,1,d]qm/q code, up to linear equivalence, is generated by a vector of the form (v1,…,vd,0,…,0), where v1,…,vd∈Fqm are Fq-independent.
Lemma 4.2. Let C=⟨(v1,…,vd,0,…,0)⟩Fqm and C′=⟨(w1,…,wd,0,…,0)⟩Fqm be two [n,1,d]qm/q codes. Let V=⟨v1,…,vd⟩Fq and V′=⟨w1,…,wd⟩Fq. Then C∼C′ if and only if V′=λV for some λ∈Fqm∗.
Proof. Let v=(v1,…,vd,0,…,0) and w=(w1,…,wd,0,…,0). Suppose first that C∼C′. Then there exists A∈GL(n,q) such that C′=CA. Since ⟨w⟩Fqm=⟨vA⟩Fqm, there exists λ∈Fqm∗ such that w=λvA. Since A∈GL(n,q), the coordinates of vA are Fq-linear combinations of the coordinates of v, hence ⟨(vA)1,…,(vA)n⟩Fq⊆V, but also v=(vA)A−1 and the reverse inclusion holds. Hence,
V′=⟨w1,…,wd⟩Fq=λ⟨(vA)1,…,(vA)n⟩Fq=λV.
Conversely, suppose that V′=λV for some λ∈Fqm∗. Therefore, w1,…,wd and λv1,…,λvd are two Fq-bases of V′ and there exists B∈GL(d,q) such that (w1,…,wd)=λ(v1,…,vd)B. If we consider the matrix
A=(B00In−d)∈GL(n,q),
then w=λvA. Since multiplication by the nonzero scalar λ does not change the Fqm-span of a vector, we obtain
C′=⟨w⟩Fqm=⟨λvA⟩Fqm=⟨vA⟩Fqm=CA,
and the statement holds.
Thus, the equivalence class of a 1-dimensional code C is completely determined by the orbit of V under scalar multiplication by Fqm∗.
Throughout this section, the point P introduced above specializes to P=⟨(0,1)⟩Fqm. We specialize Theorem 3.9 and Proposition 3.11 to k=1, recalling that in this case, as just observed in Remark 4.1 the effective length coincides with the minimum distance.
Corollary 4.3. Let m,n and Id be positive integers and let δ=n−d such that δ≤m. Let C=⟨(v1,…,vd,0,…,0)⟩Fqm be an [n,1,d]qm/q code and let V=⟨v1,…,vd⟩Fq. Then
ρ(C)=n−U∈Lδ(V)minμP(U).
Corollary 4.4. Let C be an [n,1,d]qm/q code and let δ=n−d. Then ρ(C)=m if and only if δ≥m. In particular, if δ<m, then ρ(C)≤min{m,n}−1.
4.1 Codes attaining the upper bound
When m≥n Corollary 4.3 provides a correspondence between codes with covering radius n−1 and clubs. When m<n clubs give sufficient conditions for the covering radius to be at least m−1. This new geometric perspective can help in determining the covering radius of 1-dimensional codes.
Corollary 4.5. Let C=⟨(v1,…,vd,0,…,0)⟩Fqm be an [n,1,d]qm/q code with m≥n, let V=⟨v1,…,vd⟩Fq and let δ=n−d. Then ρ(C)=n−1 if and only if there exists U∈Lδ(V) which is a δ-club of rank n with ⟨(0,1)⟩Fqm of weight δ.
Proof. Since m≥n, by Corollary 4.4 we have ρ(C)≤min{m,n}−1=n−1. Moreover, by Corollary 4.3 we have that ρ(C)≥n−1 and hence the equality, if and only if there exists U∈Lδ(V) such that μP(U)≤1. By Lemma 3.8, wtU(⟨(0,1)⟩Fqm)=δ, hence U is a δ-covering lift which is a δ-club of rank n.
Corollary 4.6. Let m,n and d be positive integers, let δ=n−d such that m−d<δ<m, let C=⟨(v1,…,vd,0,…,0)⟩Fqm be an [n,1,d]qm/q code and let V=⟨v1,…,vd⟩Fq. If there exists U∈Lm−d(V) which is an (m−d)-club of rank m with wtU(⟨(0,1)⟩Fqm)=m−d, then ρ(C)=m−1.
Proof. Let U be an (m−d)-covering lift that is an (m−d)-club of rank m and let us write it in coordinates. Since it is a covering lift, there exists x=(α1,…,αd,β1,…,βm−d)∈Fqmm such that
and β1,…,βm−d are linearly independent over Fq. Since δ<m there exist βm−d+1,…,βδ∈Fqm linearly independent over Fq such that β1,…,βδ are Fq-independent, define y=(α1,…,αd,β1,…,βδ) and the [n,2]qm/q system
On the other hand, since δ<m, Corollary 4.4 gives ρ(C)≤m−1, thus the equality holds.
Let us write Proposition 3.12 for k = 1.
Corollary 4.7. Let n≥m, let r be a positive integer such that 1≤r≤m and assume that every [m,1,r]qm/q code has covering radius m−1. Then, for s∈{0,…,n−m} every [n,1,s+r]qm/q code has covering radius at least m−1.
Proposition 4.8. Let C=⟨(v1,…,vd,0,…,0)⟩Fqm be an [n,1,d]qm/q code, let V=⟨v1,…,vd⟩Fq and let δ=n−d. Assume that δ<m. Then the following statements are equivalent:
(i) ρ(C)=min{m,n}−1.
(ii) There exist an Fq-subspace W of Fqm of dimension δ and an Fq-linear map f:V⟶Fqm such that
dimFq({x∈V:f(x)−λx∈W})≤n−min{m,n}+1,∀λ∈Fqm.(7)
(iii) There exist an Fq-subspace W of Fqm of dimension δ and an Fq-linear map f:V⟶Fqm such that, denoting by πW:Fqm⟶Fqm/W the canonical quotient map,
Proof. Let v=(v1,…,vd,0,…,0). Since C has minimum rank distance d, the elements v1,…,vd are linearly independent over Fq and hence form an Fq-basis of V. By Corollary 4.4, the assumption δ<m gives ρ(C)≤min{m,n}−1. Moreover, let Pλ=⟨(1,λ)⟩Fqm, for every λ∈Fqm, which are exactly all the points different from P.
(i) ⇒ (ii). Suppose that ρ(C)=min{m,n}−1. By Corollary 4.3, there exists U∈Lδ(V) with μP(U)≤n−min{m,n}+1. Hence, wtU(P)=δ and wtU(Pλ)≤n−min{m,n}+1, for every λ∈Fqm. Since U is a δ-covering lift, there exists α=(α1,…,αn)∈Fqmn such that U=⟨(v1,α1),…,(vn,αn)⟩Fq. Define W=⟨αd+1,…,αn⟩Fq, so that U∩P={0}×W and let f:V⟶Fqm be the unique Fq-linear map satisfying f(vi)=αi, for every i∈[d]. Then
U={(x,f(x)+w):x∈V,w∈W}.
In particular, since wtU(P)=δ, we have dimFq(W)=δ. Moreover, for every λ∈Fqm, observe that (x,λx)∈U if and only if x∈V and λx=f(x)+w, i.e. f(x)−λx=−w∈W, thus
U∩Pλ={(x,λx):x∈V,f(x)−λx∈W}.
Thus,
dimFq({x∈V:f(x)−λx∈W})=wtU(Pλ)≤n−min{m,n}+1,
and (7) holds.
(ii)⇒(i). Let us consider the Fq-subspace
U={(x,f(x)+w):x∈V,w∈W}.
In particular, dimFq(U)=dimFq(V)+dimFq(W)=d+δ=n. Moreover, if we compute the weight of the points we get wtU(P)=dimFq(W)=δ, while, for every λ∈Fqm,
wtU(Pλ)=dimFq({x∈V:f(x)−λx∈W})≤n−min{m,n}+1,
Since δ<n and n−min{m,n}+1<n, U is not contained in any point of Fqm2. Hence, U is an [n,2]qm/q system. Since π(U)=V, we have that U is a δ-covering lift with μP(U)≤n−min{m,n}+1. Thus, Corollary 4.3 yields ρ(C)≥min{m,n}−1. Since we already have that ρ(C)≤min{m,n}−1, this gives ρ(C)=min{m,n}−1.
(ii)⟺(iii). For every λ∈Fqm, we have
ker(πW∘(f−λidV))={x∈V:f(x)−λx∈W}.
Since dimFq(V)=d, the rank-nullity theorem gives
Remark 4.9. Condition (7) can be read in terms of generalised evasive subspaces as in [18]. Recall that, given a family S of Fq-subspaces of a vector space X, all having the same dimension, an Fq-subspace U of X is called (S,h)-evasive if
wtU(S)≤h,∀S∈S,
see [18, Definition 1.2]. Regard Fqm2 as a 2m-dimensional vector space over Fq and let S={⟨(1,λ)⟩Fqm:λ∈Fqm}. Then S is the partial Desarguesian spread obtained by removing the spread element corresponding to the point P=⟨(0,1)⟩Fqm from the Desarguesian spread of Fqm2. With the notation of Proposition 4.8, let W⊆Fqm be an Fq-subspace of dimension δ=n−d and define
Uf,W={(x,f(x)+w):x∈V,w∈W}.
Since dimFq(V)=d and dimFq(W)=δ, we have dimFq(Uf,W)=n. Moreover, Uf,W∩P={0}×W and for every λ∈Fqm, we have
Consequently, condition (7) holds if and only if Uf,W is (S,n−min{m,n}+1)-evasive. Thus, Proposition 4.8 characterizes the equality ρ(C)=min{m,n}−1 by the existence of W and f such that the associated subspace Uf,W is (S,n−min{m,n}+1)-evasive. In particular if m≥n, then min{m,n}=n and Uf,W is (S,1)-evasive.
Condition (8) in Proposition 4.8 leads to an exact expression for the covering radius in terms of auxiliary matrix codes. Recall that a (linear) matrix code is an Fq-subspace C⊆Fqm×n of the space of m×n matrices with coefficients in Fq endowed with the distance
drk(A,B)=rank(A−B),A,B∈Fqm×n.
Let V⊆Fqm be an Fq-subspace of dimension d, let δ=n−d and assume that 0≤δ≤m. Fix an Fq-subspace W of Fqm of dimension δ and, for every λ∈Fqm, define the Fq-linear map Aλ:x∈V⟼πW(λx)∈Fqm/W, where πW:Fqm⟶Fqm/W is the canonical quotient map. Let
AV,W={Aλ:λ∈Fqm}⊆HomFq(V,Fqm/W),
where HomFq(V,Fqm/W) denotes the Fq-vector space of all Fq-linear maps from V to Fqm/W. Since dimFq(V)=d and dimFq(Fqm/W)=m−δ, choosing Fq-bases of V and Fqm/W identifies HomFq(V,Fqm/W) with Fq(m−δ)×d, preserving ranks. Moreover, since the map λ⟼Aλ is Fq-linear, AV,W is an Fq-linear rank-metric code in Fq(m−δ)×d. In particular, when m=n, the ambient space is the space Fqd×d of square matrices. We compute ρ(AV,W) in the ambient space HomFq(V,Fqm/W) endowed with the rank metric.
Theorem 4.10. Let C=⟨(v1,…,vd,0,…,0)⟩Fqm be an [n,1,d]qm/q code, let V=⟨v1,…,vd⟩Fq, and let δ=n−d. Assume that 0≤δ≤m. Then
ρ(C)=δ+W⊆FqmdimFq(W)=δmaxρ(AV,W).
Proof. If δ=m, Corollary 4.4 gives ρ(C)=m. On the other hand, the only possible choice is W=Fqm, for which Fqm/W={0}, hence ρ(AV,W)=0. Thus, the statement holds. Assume that δ<m. By the construction in the proof of Proposition 4.8, proving (i)⟹(ii), every covering lift U∈Lδ(V) can be written as
U=Uf,W={(x,f(x)+w):x∈V,w∈W},
for some W⊆Fqm of Fq-dimension δ and an Fq-linear map f:V→Fqm. Let f=πW∘f and let Pλ=⟨(1,λ)⟩Fqm, λ∈Fqm, which are all the points different from P and
Taking the maximum over all δ-dimensional subspaces W⊆Fqm gives the statement when δ>0. Suppose now that δ=0. Then W={0}, f=f, and Uf,0={(x,f(x)):x∈V}. This subspace is a 0-covering lift of V if and only if it spans Fqm2 over Fqm. Since its projection onto V is nonzero, it fails to span Fqm2 precisely when it is contained in some Pλ=⟨(1,λ)⟩Fqm, or equivalently when f(x)=λx for every x∈V. Thus, the maps giving 0-covering lifts are exactly those outside AV,0. The maps in AV,0 clearly have rank distance zero from AV,0. Moreover, since d=n>1,
dimFq(AV,0)=m<dm=dimFq(HomFq(V,Fqm)).
Consequently, maps outside AV,0 exist and have positive distance from it. Excluding the maps in AV,0 does not change the maximum:
Corollary 4.11. With the notation of Theorem 4.10, assume that δ=n−d<m. Then ρ(C)=min{m,n}−1 if and only if there exists an Fq-subspace W⊆Fqm of dimension n−d such that ρ(AV,W)=min{m,n}−δ−1.
Proof. Fix an Fq-subspace W⊆Fqm of dimension δ, then dimFq(Fqm/W)=m−δ, which is positive since by hypothesis δ<m. We first prove that
ρ(AV,W)≤min{d−1,m−δ−1}.
First, let B∈HomFq(V,Fqm/W) and fix x∈V∖{0}. Let y∈Fqm such that πW(y)=B(x) and take λ=y/x. Then
Aλ(x)=πW(λx)=πW(y)=B(x),
hence x∈ker(B−Aλ) and drk(B,AV,W)≤rk(B−Aλ)≤d−1. On the other hand, fix a basis of Fqm/W and recall that V=⟨v1,…,vd⟩Fq. For every λ∈Fqm, let Rλ∈Fqd denote the first row of the matrix representing Aλ. We claim that
{Rλ:λ∈Fqm}=Fqd.
Otherwise, since the map λ↦Rλ is Fq-linear, there would exist c=(c1,…,cd)∈Fqd∖{0} such that Rλc⊤=0 for every λ∈Fqm. If we consider x=c1v1+⋯+cdvd, we have x=0, and Rλc⊤ is the first coordinate of Aλ(x)=πW(λx). As λ ranges over Fqm, the elements λx range over the whole field Fqm, and hence the elements πW(λx) range over the whole quotient Fqm/W. This contradicts the fact that their first coordinate is always zero.
Thus, for every B, there exists λ∈Fqm such that the first row of Aλ coincides with the first row of B. Hence, the matrix representing B−Aλ has a zero row, and drk(B,AV,W)≤m−δ−1. It follows that ρ(AV,W)≤min{d−1,m−δ−1}. Since d=n−δ, we have
Equality holds if and only if the maximum over W is equal to min{m,n}−δ−1, which is equivalent to the existence of an Fq-subspace W⊆Fqm of dimension n−d such that ρ(AV,W)=min{m,n}−δ−1.
Remark 4.12. Fix an Fq-subspace W⊆Fqm of dimension δ and let B∈HomFq(V,Fqm/W). Choose an Fq-linear map f:V⟶Fqm such that B=πW∘f. Whenever the associated subspace Uf,W is a covering lift, the proof of Theorem 4.10 gives
n−μP(Uf,W)=δ+drk(B,AV,W).
Consequently, we can characterize the deep holes of AV,W, namely the elements B∈HomFq(V,Fqm/W) such that drk(B,AV,W)=ρ(AV,W). Indeed, B is a deep hole of AV,W if and only if Uf,W maximizes n−μP(Uf,W) among the covering lifts having kernel {0}×W.
In particular, if W satisfies the equality in Corollary 4.11, then an Fq-linear map f:V⟶Fqm satisfies (8) if and only if πW∘f is a deep hole of AV,W.
4.2 Boundary cases
The following theorem determines the covering radius for some boundary values of the minimum distance, using known constructions of clubs.
Theorem 4.13. Let C be an [n,1,d]qm/q code, let δ=n−d and suppose that d∈{1,2,min{m,n}−1,min{m,n}}. Then
ρ(C)={m,min{m,n}−1,ifδ≥m,ifδ<m.
Proof. For a 1-dimensional code, as observed in Remark 4.1 the effective length coincides with its minimum distance d. Therefore, if δ≥m, the equality ρ(C)=m follows from Proposition 3.11. Hence, from now on, suppose that δ<m and let V=⟨v1,…,vd⟩Fq
Case d=min{m,n}. Let m≥n. An [n,1,n]qm/q code has the form C=⟨(v1,…,vn)⟩Fqm, with dimFq(⟨v1,…,vn⟩Fq)=n. We want to find U∈Lδ(V) being a scattered subspace. By taking α=(α1,…,αn)=(v1q,…,vnq) we obtain the q-system
U=⟨(v1,v1q),…,(vn,vnq)⟩Fq,
which is a scattered subspace of pseudoregulus type. Hence, by Corollary 4.5 we get ρ(C)=n−1=min{m,n}−1.
Let m<n<2m and C=⟨(v1,…,vm,0,…,0)⟩Fqm be an [n,1,m]qm/q code. Then we can consider an [m,1,m]qm/q code C′=⟨(v1,…,vm)⟩Fqm and from the previous case we know that there exists U∈Lm−d(V) which is a scattered subspace of pseudoregulus type of rank m. Hence, by Corollary 4.6 we can conclude that ρ(C)=m−1=min{m,n}−1.
Case d=min{m,n}−1. Let m≥n and let C=⟨(v1,…,vn−1,0)⟩Fqm be an [n,1,n−1]qm/q code, with v1,…,vn−1 linearly independent over Fq. In order to prove that ρ(C)≥n−1, we look for a U∈Lδ(V) which is a scattered subspace of rank n containing P=⟨(0,1)⟩Fqm. Let θ denote the Frobenius automorphism of Fqm, i.e. θ(x)=xq for every x∈Fqm and consider
f:=θ−id:x∈Fqm⟶xq−x∈Fqm,
which is an Fq-linear map with ker(f)=Fq and Im(f)=ker(Trqm/q), where Trqm/q denotes the trace of Fqm over Fq, i.e. Trqm/q(z)=z+zq+…+zqm−1, z∈Fqm. Consider the orthogonal complement of V with respect to the nondegenerate trace bilinear form, i.e. ⟨x,y⟩=Trqm/q(xy), x,y∈Fqm,
V⊥={μ∈Fqm:Trqm/q(μv)=0,∀v∈V}
and observe that λ∈V⊥ if and only if λV⊆ker(Trqm/q)=Im(f). Since dimFq(V⊥)=m−n+1≥1, there exists λ∈V⊥∖{0}. Define V=λV, choose an Fq-basis v1,…,vn−1 of V, and let C=⟨(v1,…,vn−1,0)⟩Fqm. Since V=λV, by Lemma 4.2 the codes C and C are equivalent. In particular, they have the same covering radius. Thus, after replacing C by an equivalent code and relabelling, we can assume that V⊆Im(f). Hence, for every i∈{1,…,n−1}, there exists xi∈Fqm such that vi=f(xi) and 0=vn=f(xn), with xn∈Fq∗, thus C=⟨(f(x1),…,f(xn))⟩Fqm. Moreover, x1,…,xn are linearly independent over Fq. Indeed, if
y=i=1∑n−1aixi∈⟨x1,…,xn−1⟩Fq∩Fq,
then
0=f(y)=i=1∑n−1aif(xi)=i=1∑n−1aivi.
The Fq-linear independence of v1,…,vn−1 implies that a1=⋯=an−1=0, and hence y=0. Therefore, ⟨x1,…,xn−1⟩Fq∩Fq={0}, and, since xn∈Fq∗, the elements x1,…,xn are Fq-linearly independent. Since C=⟨(f(x1),…,f(xn))⟩Fqm with x1,…,xn linearly independent over Fq, in order to obtain a scattered subspace it is sufficient to consider
U=⟨(f(x1),x1),…,(f(xn),xn)⟩Fq.
This is a scattered subspace contained in one of pseudoregulus type of rank n, since it is equivalent to ⟨(x1,x1q),…,(xn,xnq)⟩Fq. Hence, by Corollary 4.5 we get ρ(C)=n−1=min{m,n}−1.
Assume now that m<n<2m−1 and let C=⟨(v1,…,vm−1,0,…,0)⟩Fqm be an [n,1,m−1]qm/q code. Then we can consider an [m,1,m−1]qm/q code C′=⟨(v1,…,vm−1,0)⟩Fqm and we know that in this case there exists U∈Lm−d(V) which is a scattered subspace of rank m containing P=⟨(0,1)⟩Fqm. Hence, by Corollary 4.6 we can conclude that ρ(C)=m−1=min{m,n}−1.
Case d=1. Let m≥n be positive integers. If we consider an [n,1,1]qm/q code C, up to equivalence we can write C=⟨(1,0,…,0)⟩Fqm and we want to find U∈Lδ(V) which is an (n−1)-club. If we consider any Fq-basis of Fqm, for instance let ω∈Fqm of degree m over Fq and consider B={1,ω,…,ωm−1} as Fq-basis of Fqm. Take the [n,2]qm/q system
U=⟨(1,0),(0,1),(0,ω),…,(0,ωn−2)⟩Fq,
this is an (n−1)-club of rank n and π(U)=V. With these choices
Hence, by Corollary 4.5 we can conclude that ρ(C)=n−1.
Case d=2. Since δ=n−2<m, we have n≤m+1. We first consider the case n=m. Up to equivalence, we can write C=⟨(1,β,0,…,0)⟩Fqm,β∈Fqm∖Fq.
Our aim is to find U∈Lδ(V) which is a δ-club of rank m. In coordinates, we need to find α=(α1,…,αm)∈Fqmm such that U=⟨(1,α1),(β,α2),(0,α3),…,(0,αm)⟩Fq is a δ-club of rank m. Since the case m=n=2 was already covered, we can assume that m≥3. By Theorem 2.14, it is enough to find an (m−2)-dimensional Fq-subspace T of Fqm containing 1 and an element γ∈Fqm∖(T+βT), where
T+βT={t1+βt2:t1,t2∈T}.
Indeed, if t1,…,tm−2 is an Fq-basis of T, then
Uα=⟨(1,1),(β,γ),(0,t1),…,(0,tm−2)⟩Fq
is an (m−2)-club of rank m. We put α1=1 and we need to find α3,…,αm∈Fqm such that T=⟨α3,…,αm⟩Fq is a subspace of Fq-dimension m−2 and γ=α2∈/T+βT. In order to obtain this result, we need to consider three different cases depending on which subfield contains β.
If β is not contained in any proper subfield, i.e. Fq(β)=Fqm, then we can take T=⟨1,β,…,βm−3⟩Fq. Since T+βT=⟨1,β,…,βm−3,βm−2⟩Fq, we can choose γ=βm−1. In this case the q-system obtained is
Uα=⟨(1,1),(β,βm−1),(0,1),(0,β),…,(0,βm−3)⟩Fq,
and it is an (m−2)-club.
Suppose that the smallest proper subfield containing β is Fqt with t≥3, i.e. Fq(β)=Fqt. We can take an Fqt-basis of Fqm, namely {1,ξ,…,ξr−1}, where r:=tm. We can take T=ξFqt+…+ξr−1Fqt+⟨1,β,…,βt−3⟩Fq, whose Fq-dimension is dimFq(T)=t(r−1)+t−2=m−2. Since T+βT=ξFqt+…+ξr−1Fqt+⟨1,β,…,βt−2⟩Fq, we can choose γ=βt−1. In this second case, the q-system obtained is
• If m is even, it can happen that Fq(β)=Fq2. In this case we can consider an Fq2-basis of Fqm, namely {1,ξ,…,ξr−1} with r:=2m, and take the Fq-subspace T=⟨1,ξ,…,ξr−2,β,…,βξr−2⟩Fq, which has Fq-dimension m−2. In this case βT=T, T is an Fq2-subspace and we can consider γ=ξr−1. Doing these choices we obtain the following q-system
Since it is always possible to find an (m−2)-covering lift of V which is an (m−2)-club, by Corollary 4.5 we can conclude that ρ(C)=m−1.
Let m>n, the case n=2 has already been covered by the first case, so assume that n≥3. Let C=⟨(1,β,0,…,0)⟩Fqm be an [n,1,2]qm/q code. If we consider C′=⟨(1,β,0,…,0)⟩Fqm an [m,1,2]qm/q code, hence there exist an (m−2)-subspace T′=⟨1,t2′,…,tm−2′⟩Fq and γ∈Fqm∖(T′+βT′) such that
U′=⟨(1,1),(β,γ),(0,1)…,(0,tm−2′)⟩Fq,
is an (m−2)-covering lift which is an (m−2)-club. Consider T=⟨1,t2,…,tn−2⟩Fq⊆T′ to be an (n−2)-subspace, and define
U=⟨(1,1),(β,γ),(0,1),(0,t2),…(0,tn−2)⟩Fq.
Since for every Q=P, U∩Q⊆U′∩Q, then
wtU(Q)=dimFq(U∩Q)≤dimFq(U′∩Q)=wtU′(Q),
while wtU(P)=dimFq(T)=n−2. Hence, U∈Lδ(V) and it is an (n−2)-club of rank n, thus by Corollary 4.5 we get ρ(C)=n−1.
Let n=m+1 and let C=⟨(1,β,0,…,0)⟩Fqm, with β∈Fqm∖Fq, be an [n,1,2]qm/q code. Then we can consider an [m,1,2]qm/q code C′=⟨(1,β,0,…,0)⟩Fqm and we know that in this case there exists U∈Lm−2(V) which is an (m−2)-club of rank m. Hence, by Corollary 4.6 we can conclude that ρ(C)=m−1.
By Theorem 4.13 and Corollary 4.7 we can derive another result on the covering radius of 1-dimensional rank-metric codes.
Proposition 4.14. Let n≥m and let s∈{0,…,n−m}. Then
(1) Every [n,1,s+1]qm/q code has covering radius at least m−1.
(2) Every [n,1,s+2]qm/q code has covering radius at least m−1.
4.3 Special cases
We conclude this section on the covering radius of 1-dimensional codes presenting an overview on some cases involving small values for the degree of the extension m. We focus on the cases m∈{3,4,5,6} using the results appearing in Theorem 4.13, Proposition 4.14 and Proposition 5.1. To avoid redundancy, Tables 1–4 display the range n≥m except for Table 4, where the column n=5 is included. Indeed, every omitted case with n<m is already determined by Theorem 4.13, while n=5, m=6, d=3 is the unique admissible triple not covered by the boundary cases and requires attention.
Proposition 4.15. Let m∈{3,4,5} and let C be an [n,1,d]qm/q code. If n≥m+d, then ρ(C)=m. If n<m+d, then ρ(C)=min{m,n}−1 except when (m,n,d)=(5,5,3), in which case ρ(C)=3.
Proof. For m∈{3,4} and every value of d and n the statement follows directly from Theorem 4.13. For m=5, every case different from (m,n,d)=(5,5,3) can be retrieved by Theorem 4.13 and Proposition 4.14. For (m,n,d)=(5,5,3), by Theorem 2.16 there is no 2-club of rank 5 in Fq52, hence for d=3 and n=5 we have that ρ(C)≤3. Moreover, by the lower bound of Proposition 5.1, we can conclude that ρ(C)=3.
The results in Proposition 4.15 are summarized in the following tables.
n=3
n=4
n=5
n≥6
d=1
ρ(C)=2
ρ(C)=3
ρ(C)=3
ρ(C)=3
d=2
ρ(C)=2
ρ(C)=2
ρ(C)=3
ρ(C)=3
d=3
ρ(C)=2
ρ(C)=2
ρ(C)=2
ρ(C)=3
Table 1: m=3
n=4
n=5
n=6
n=7
n≥8
d=1
ρ(C)=3
ρ(C)=4
ρ(C)=4
ρ(C)=4
ρ(C)=4
d=2
ρ(C)=3
ρ(C)=3
ρ(C)=4
ρ(C)=4
ρ(C)=4
d=3
ρ(C)=3
ρ(C)=3
ρ(C)=3
ρ(C)=4
ρ(C)=4
d=4
ρ(C)=3
ρ(C)=3
ρ(C)=3
ρ(C)=3
ρ(C)=4
Table 2: m=4
n=5
n=6
n=7
n=8
n=9
n≥10
d=1
ρ(C)=4
ρ(C)=5
ρ(C)=5
ρ(C)=5
ρ(C)=5
ρ(C)=5
d=2
ρ(C)=4
ρ(C)=4
ρ(C)=5
ρ(C)=5
ρ(C)=5
ρ(C)=5
d=3
ρ(C)=3
ρ(C)=4
ρ(C)=4
ρ(C)=5
ρ(C)=5
ρ(C)=5
d=4
ρ(C)=4
ρ(C)=4
ρ(C)=4
ρ(C)=4
ρ(C)=5
ρ(C)=5
d=5
ρ(C)=4
ρ(C)=4
ρ(C)=4
ρ(C)=4
ρ(C)=4
ρ(C)=5
Table 3: m=5
In particular, it is worth mentioning that every [4,1]q4/q code has covering radius 3. Hence, using this new geometric perspective, we can recover the result obtained by Zullo in [27], who used the correspondence with rank-ρ-saturating systems.
Example 4.16. For m=5, the cases d=3 and n=6 or n=7 provide two examples showing that the sufficient condition in Corollary 4.6 is not necessary. For instance, consider a [6,1,3]q5/q code C=⟨(v1,v2,v3,0,0,0)⟩Fq5. By Proposition 4.14 and Corollary 4.4 this code has covering radius 4, but it does not satisfy the sufficient hypothesis in Corollary 4.6. Since there is no 2-club of rank 5 in Fq52, there is no 2-covering lift of V=⟨v1,v2,v3⟩Fq which is a 2-club of rank 5 in Fq52.
For m=6 we have four cases that are still open using our results, while by Proposition 5.1 we can at least say that the covering radius of [5,1,3]q6/q codes can be either 3 or 4, while for [6,1,3]q6/q and [6,1,4]q6/q codes we can conclude that 4≤ρ(C)≤5. As shown in the proof of Proposition 3.12, ρ(C)≥ρ(Π(C,I)), for every I⊆[n]. Hence, if C is a [7,1,4]q6/q code and we puncture it in a zero coordinate, we get ρ(C)≥4, hence also in this case 4≤ρ(C)≤5.
Moreover, for d=3 and n=6 there is a construction of 3-clubs, that can be derived from Proposition 2.15.
Proposition 4.17. Let C=⟨(v1,v2,v3,0,0,0)⟩Fq6 be a [6,1,3]q6/q code. If V=⟨v1,v2,v3⟩Fq=λFq3 with λ∈Fq6∗, then ρ(C)=5.
Proof. Let ui=λ−1vi, then C=⟨(u1,u2,u3,0,0,0)⟩Fqm, and by Corollary 4.5 ρ(C)=5 if and only if there exists U∈L3(V) which is a 3-club with rank 6. Replacing the generator by λ−1(v1,v2,v3,0,0,0), we can assume V=Fq3. Since m=6=tr with t=3 and r=2, we can use the construction in Proposition 2.15. Choose f(x)=xq, a=0, b=1 and observe that Γf is scattered and f is invertible since it is a field automorphism. Let ω∈Fq6 such that {1,ω} is an Fq3-basis of Fq6, then
U0,1={(xq,x+yω):x,y∈Fq3}
is a 3-club of rank 6. The code C can be extended with this construction: let xi=uiq2, then ui=xiq and fixed {1,ξ,ξ2} an Fq-basis of Fq3, we can consider
Observe that π(U)=V and it is a [6,2]q6/q system, hence it is a 3-covering lift of V. Moreover, U is a 3-club with rank 6 and wtU(⟨(0,1)⟩Fq6)=3. By Corollary 4.5, ρ(C)=5.
Proposition 4.17 shows how to construct [6,1,3]q6/q codes with covering radius 5. Its converse is not true in general, i.e. if C=⟨(v1,v2,v3,0,0,0)⟩Fq6 is a [6,1,3]q6/q code with covering radius 5, not necessarily V=λFq3, with λ∈Fq6∗. By MAGMA computations [6], we have found an example of such situation. For q=3 we have found 28 equivalence classes of 1-dimensional [6,1,3]36/3 codes having covering radius 5, besides the class arising from a scalar multiple of the subfield F33.
For instance, let a∈F36 be a root of the primitive polynomial x6+x+2∈F3[x], so that a is a primitive element of F36 and take the code C=⟨(1,a282,a117,0,0,0)⟩F36 with V=⟨1,a282,a117⟩F3. By MAGMA computations ρ(C)=5 and suppose that V=λF33 with λ∈F36∗. Since 1∈V, then λ∈F33, thus V=F33. However this is not possible since a282∈/F33∗=⟨a28⟩.
It is worth pointing out that the first counterexample appears for q=3. Indeed we have performed an exhaustive computation for the covering radius of [6,1,3]q6/q codes with q∈{2,3}. In the first case, the action of F26∗ on the set of three-dimensional F2-subspaces of F26 has 23 orbits. Among them, exactly one has covering radius 5, and it is the class for which the F2-span of the nonzero coordinates is a scalar multiple of the subfield F23. All the remaining 22 classes have covering radius 4. For q=3 the situation is different and in this case the action of F36∗ on the set of three-dimensional F3-subspaces of F36 has 94 orbits. Among them, we have found 29 classes with covering radius 5, including the one of the counterexample.
We have applied the same strategies as for [6,1,3]q6/q for q∈{2,3}, also for the other three open cases. For q∈{2,3}, we have found that every [6,1,4]q6/q code has covering radius 4, every [5,1,3]q6/q code has covering radius 4 and we have also found that every [7,1,4]q6/q code has covering radius 5. All the scripts can be found at https://github.com/AlessiaVallefuoco/Covering-radius-via-clubs.
The following table shows the results for m = 6 and every value of q.
n=5
n=6
n=7
n=8
n=9
n=10
n=11
n≥12
d=1
ρ(C)=4
ρ(C)=5
ρ(C)=6
ρ(C)=6
ρ(C)=6
ρ(C)=6
ρ(C)=6
ρ(C)=6
d=2
ρ(C)=4
ρ(C)=5
ρ(C)=5
ρ(C)=6
ρ(C)=6
ρ(C)=6
ρ(C)=6
ρ(C)=6
d=3
ρ(C)∈{3∗,4}
ρ(C)∈{4,5}∗∗
ρ(C)=5
ρ(C)=5
ρ(C)=6
ρ(C)=6
ρ(C)=6
ρ(C)=6
d=4
ρ(C)=4
ρ(C)∈{4,5∗}
ρ(C)∈{4∗,5}
ρ(C)=5
ρ(C)=5
ρ(C)=6
ρ(C)=6
ρ(C)=6
d=5
ρ(C)=4
ρ(C)=5
ρ(C)=5
ρ(C)=5
ρ(C)=5
ρ(C)=5
ρ(C)=6
ρ(C)=6
d=6
-
ρ(C)=5
ρ(C)=5
ρ(C)=5
ρ(C)=5
ρ(C)=5
ρ(C)=5
ρ(C)=6
Table 4: m=6
(∗) : MAGMA computations show that, at least for q∈{2,3}, these values do not occur.
(**): MAGMA computations show that, at least for q∈{2,3}, both values occur.
It is worth pointing out that, among the cases considered above, the [6,1,3]q6/q cases with q∈{2,3} are the ones for which our computations exhibit codes with the same length and minimum distance but different covering radii: both ρ(C)=4 and ρ(C)=5 occur. Thus, at least for q∈{2,3}, in these cases the covering radius is not determined by the parameters n and d alone.
5 Comparison with known results
The aim of this section is to compare our approach with some known results on the covering radius of linear rank-metric codes.
5.1 Gadouleau and Yan results
Let us start by analyzing the results on the covering radius of linear rank-metric codes proved by Gadouleau and Yan in [17].
Proposition 5.1. Let C be an [n,k]qm/q code with m≥n. Then
⌊2m+n−(m+n)2−4(mn−mk−2)⌋+1≤ρ(C)≤n−k.
In particular if m=n, then
⌊m−mk+2⌋+1≤ρ(C)≤m−k(10)
Proof. By [17, Proposition 14],
n−ρ(C)−mρ(C)(n−ρ(C))−logqKq<k≤n−ρ(C),
where Kq=∏j≥1(1−q−j). Moreover,
Kq≥K2≈0.288788>41≥q−2,
and hence logqKq>−2. This estimate and the first inequality yield ρ(C)(m+n−ρ(C))>mn−mk−2 and solving the corresponding quadratic inequality we obtain
ρ(C)≥⌊2m+n−(m+n)2−4(mn−mk−2)⌋+1.
The upper bound follows from k≤n−ρ(C). Finally, for m=n, the claimed expression follows by simplification.
The lower bound only works for the case m≥n, therefore it does not say anything for the case n>m. In particular we have used the lower bound for k=1 in the special cases, when we could not use the characterization provided by the construction of clubs. However, the upper bound can be stated in its generality, since it works for every value of m and n. Indeed, let C is an [n,k]qm/q code and let G be a generator matrix of C. Since G has rank k, it contains k linearly independent columns. Hence, for every x∈Fqmn, there exists c∈C so that the first k coordinates of x−c are zero. Thus, x−c has at most n−k nonzero coordinates, and hence rk(x−c)≤n−k. Thus, we can always conclude that ρ(C)≤min{m,n−k}.
5.2 Byrne and Ravagnani results
We next consider two upper bounds proved by Byrne and Ravagnani in [7]. Although these results are stated for matrix rank-metric codes, they can be applied to our setting. Indeed, by choosing dual bases of Fqm over Fq with respect to the trace form, the standard inner product dual of an Fqm-linear code is identified, under matrix expansion, with the trace product dual of the corresponding matrix code, preserving rank weights, see [23, Theorem 21].
The first one is the dual distance bound.
Theorem 5.2 (Dual distance bound, [7, Corollary 18]). Let C be an [n,k]qm/q code, then
ρ(C)≤min{m,n}−drk(C⊥)+1.
In order to apply the dual distance bound in our setting, we recall the following characterization of degenerate Fqm-linear codes.
Proposition 5.3 ([1, Proposition 3.2]). Let C be an [n,k]qm/q code, then drk(C⊥)=1 if and only if C is degenerate.
The dual distance bound, for every degenerate Fqm-linear code C gives the trivial upper bound, which is ρ(C)≤min{m,n}, while for Proposition 3.11 we have that if n<m+n′ where n′ is the effective length, then ρ(C)≤min{m,n}−1. The second upper bound proved by Byrne and Ravagnani is the external distance bound.
Theorem 5.4 (External distance bound, [7, Theorem 24]). Let m≥n and let C be an [n,k]qm/q code. Then
ρ(C)≤∣{i∈[n]:Ai(C⊥)>0}∣,
where
Ai(C⊥):=∣{c∈C⊥:rk(c)=i}∣.
The external distance bound for k=1 gives the same result as Corollary 4.4 just for d∈{1,n}, since in the other cases there exist codewords in the dual that achieve every value of weight between 1 and n.
Proposition 5.5. Let m≥n and let C be an [n,1,d]qm/q code with 1<d<n. Then Ai(C⊥)>0 for every i∈[n].
Proof. Let C=⟨(v1,…,vd,0,…,0)⟩Fqm be an [n,1,d]qm/q code and denote v=(v1,…,vd)∈Fqmd, the dual of C has the form
If we consider C as isometrically embedded in Fqmd, then ⟨v⟩Fqm⊥ is a [d,d−1,2]qm/q code.
• If i=1, then we can consider u=(0,…,0) and w=(w1,0,…,0) with w1∈Fqm∖{0}.
• If 1<i≤d, the rank-weight distribution of the MRD code ⟨v⟩Fqm⊥ (see [16, Proposition 9]) implies that there exists u∈⟨v⟩Fqm⊥ such that rk(u)=i. Moreover, we take w=(0,…,0).
• If d<i≤n, then there exists u∈⟨v⟩Fqm⊥ such that rk(u)=d. Moreover, we can consider w=(w1,…,wi−d,0,…,0)∈Fqmn−d such that u1,…,ud,w1,…,wi−d are Fq-independent.
Thus, we have just shown that for every i∈[n], there exists (u,w)∈C⊥ such that rk((u,w))=i.
By Proposition 5.5, we can apply the external distance bound for 1-dimensional codes with 1<d<n and obtain
ρ(C)≤∣{i∈[n]:Ai(C⊥)>0}∣=n,
while for d=n we do not have codewords of weight 1 and for d=1 we do not have codewords of weight n, hence ρ(C)≤n−1.
5.3 Gruica, Ravagnani, Sheekey and Zullo results
We conclude by comparing Proposition 4.8 and Theorem 4.10 with the geometric interpretation of the covering radius given in [18, Theorem 6.3]. First, let us briefly recall their setting. Let D⊆Fqm×n, with m≤n, be a rank-metric code with minimum distance m, and let
SA={(x,xA):x∈Fqm}⊆Fqm×Fqn,AD={SA:A∈D}.
Since D has minimum distance m, then AD is a partial m-spread whose elements are disjoint from S∞={0}×Fqn.
Proposition 5.6 ([18, Theorem 6.3]). Let D⊆Fqm×n, with m≤n, be a rank-metric code with minimum distance m and let t be a positive integer. Then ρ(D)≥m−t if and only if there exists an (AD,t)-evasive m-subspace meeting S∞ trivially.
The subspace Uf,W of Remark 4.9 does not fit the framework of [18, Theorem 6.3] directly. Indeed, the family S={Pλ:λ∈Fqm} is obtained from the Desarguesian spread, with P as the missing spread element, where Uf,W has dimension n=d+δ and satisfies Uf,W∩P={0}×W. In order to highlight this connection, we need to do the quotient over {0}×W. Consider
ΨW:(x,y)∈V×Fqm⟶(x,πW(y))∈V×(Fqm/W)
and, for g∈HomFq(V,Fqm/W), let Γg={(x,g(x)):x∈V}.
Writing f=πW∘f, we obtain ΨW(Uf,W)=Γf and ΨW(Pλ∩(V×Fqm))=ΓAλ, where Aλ:x∈V⟶πW(λx)∈Fqm/W. Moreover, ker(ΨW∩Uf,W)={0}×W, so that the intersection with P is trivial in the quotient. In particular, Γf meets {0}×(Fqm/W) trivially.
The relevant intersection dimensions are preserved in the following form:
Thus, after choosing bases of V and Fqm/W, the quotient construction yields exactly the rank-intersection mechanism underlying [18, Theorem 6.3]. More precisely, the family {ΓAλ:λ∈Fqm} is the family of graphs associated with the auxiliary matrix code AV,W, while Γf is the graph associated with the ambient map f.
Taking t=n−min{m,n}+1, and recalling that d=n−δ, we have d−t=min{m,n}−δ−1. Hence, the equivalence between conditions (ii) and (iii) in Proposition 4.8 is governed by the same rank-intersection identity appearing in [18, Theorem 6.3]. The difference is that, in our setting, this identity is available for every auxiliary code AV,W, independently of whether its graphs form a partial spread. Moreover, [18, Theorem 6.3] assumes that the matrix code has minimum distance equal to its number of rows. For AV,W, this corresponds, when no transposition is needed, to requiring every nonzero element of AV,W to be injective. Equivalently, for every λ∈Fqm,
λV∩W={0}⟹λV⊆W.
Under this condition, the distinct graphs ΓAλ form a partial d-spread. In general this need not happen. For instance, if 0<δ<d, choose v∈V∖{0} and w∈W∖{0} and set λ=w/v. Then λV∩W={0}, whereas λV⊆W because dimFq(λV)=d>δ.
Thus, after quotienting by {0}×W, the characterization in Proposition 4.8 is governed by the same rank-intersection mechanism as [18, Theorem 6.3], but without requiring the resulting family of graphs to form a partial spread. The additional feature of Theorem 4.10 is that the covering radius of the original code is recovered by optimizing over the auxiliary codes AV,W. The connection with clubs provides a further geometric ingredient which is not involved in [18, Theorem 6.3]
Declaration on the use of AI tools
During the preparation of this work, the authors used generative AI tools (GPT-5.6 Sol) for two purposes only: to improve the language and readability of the manuscript, and to assist in writing the MAGMA code used for the computations in Section 4.3. All mathematical content, including the definitions, results and proofs, was developed by the authors. The authors reviewed and edited all AI-assisted text, checked the code and verified its output, and take full responsibility for the content of this publication.
Acknowledgments
This research has been partially supported by the Italian National Group for Algebraic and Geometric Structures and their Applications (GNSAGA – INdAM). A. Neri is supported by the University of Naples Federico II through the FRA2024 Project CUP E63C26001530001 “NHACT – New Horizons in Algebraic Coding Theory”.
References
[1] G. N. Alfarano, M. Borello, A. Neri, and A. Ravagnani. Linear cutting blocking sets and minimal codes in the rank metric. Journal of Combinatorial Theory, Series A, 192:105658, 2022.
[2] G. N. Alfarano, E. Byrne, and A. Fulcher. The free product of q-matroids. The Electronic Journal of Combinatorics, 32(3):P3.52, 2025.
[3] D. Bartoli, M. Borello, and G. Marino. Saturating linear sets of minimal rank. Finite Fields and Their Applications, 95:102390, 2024.
[4] T. P. Berger. Isometries for rank distance and permutation group of Gabidulin codes. IEEE Transactions on Information Theory, 49(11):3016–3019, 2003.
[5] M. Bonini, M. Borello, and E. Byrne. Saturating systems and the rank metric covering radius. Journal of Algebraic Combinatorics, 58(4):1173–1202, 2023.
[6] W. Bosma, J. Cannon, and C. Playoust. The Magma algebra system I. The user language. Journal of Symbolic Computation, 24(3–4):235–265, 1997.
[7] E. Byrne and A. Ravagnani. Covering radius of matrix codes endowed with the rank metric. SIAM Journal on Discrete Mathematics, 31(2):927–944, 2017.
[8] G. Cohen, I. Honkala, S. Litsyn, and A. Lobstein. Covering Codes, volume 54 of North-Holland Mathematical Library. Elsevier, 1997.
[9] G. D. Cohen, M. G. Karpovsky, H. F. Mattson, and J. R. Schatz. Covering radius - survey and recent results. IEEE Transactions on Information Theory, 31:328–343, 1985.
[10] A. A. Davydov. Constructions and families of covering codes and saturated sets of points in projective geometry. IEEE Transactions on Information Theory, 41(6):2071–2080, 1995.
[11] A. A. Davydov, M. Giulietti, S. Marcugini, and F. Pambianco. Linear nonbinary covering codes and saturating sets in projective spaces. Advances in Mathematics of Communications, 5(1):119–147, 2011.
[12] M. De Boeck and G. Van de Voorde. A linear set view on KM-arcs. Journal of Algebraic Combinatorics, 44(1):131–164, 2016.
[13] M. De Boeck and G. Van de Voorde. The weight distributions of linear sets in PG(1, q5). Finite Fields and Their Applications, 82:102034, 2022.
[14] L. Denaux. Constructing saturating sets in projective spaces using subgeometries. Designs, Codes and Cryptography, 90(9):2113–2144, 2022.
[15] S. Fancsali and P. Sziklai. About maximal partial 2-spreads in PG(3m−1, q). Innovations in Incidence Geometry: Algebraic, Topological and Combinatorial, 4(1):89–102, 2006.
[16] M. Gadouleau and Z. Yan. MacWilliams identity for codes with the rank metric. EURASIP Journal on Wireless Communications and Networking, 2008:754021, 2008.
[17] M. Gadouleau and Z. Yan. Packing and covering properties of rank metric codes. IEEE Transactions on Information Theory, 54:3873–3883, 2008.
[18] A. Gruica, A. Ravagnani, J. Sheekey, and F. Zullo. Generalised evasive subspaces. Journal of Combinatorial Designs, 32(11):642–678, 2024.
[19] J. Mannaert, P. Santonastaso, and F. Zullo. Clubs in projective spaces and three-weight rank-metric codes, 2025. arXiv:2508.00502.
[20] K. Morrison. Equivalence for rank-metric and matrix codes and automorphism groups of Gabidulin codes. IEEE Transactions on Information Theory, 60(11):7035–7046, 2014.
[21] V. Napolitano, O. Polverino, P. Santonastaso, and F. Zullo. Clubs and their applications. SIAM Journal on Applied Algebra and Geometry, 8(3):493–518, 2024.
[22] T. H. Randrianarisoa. A geometric approach to rank metric codes and a classification of constant weight codes. Designs, Codes and Cryptography, 88(7):1331–1348, 2020.
[23] A. Ravagnani. Rank-metric codes and their duality theory. Designs, Codes and Cryptography, 80(1):197–216, 2016.
[24] M. A. Tsfasman, S. G. Vláduč, and D. Nogin. Algebraic Geometric Codes: Basic Notions, volume 139 of Mathematical Surveys and Monographs. American Mathematical Society, 2007.
[25] E. Ughi. Saturated configurations of points in projective Galois spaces. European Journal of Combinatorics, 8(3):325–334, 1987.
[26] Z. X. Wan. Geometry of Matrices: In Memory of Professor L. K. Hua (1910–1985). World Scientific, Singapore, 1996.
[27] F. Zullo. Saturating linear sets in PG(2, q4). Finite Fields and Their Applications, 97:102447, 2024.