betaFeedback

WorksMathematics

Few-Weight Linear Sets and Divisibility of Rank-Metric Codes

Abstract

We study Fq\mathbb F_q-linear sets whose positive point weights belong to a prescribed finite set AA. The integer e=gcd⁡(A)e=\gcd(A) always divides the rank of the defining subspace, but the divisibility does not by itself imply linearity over Fqe\mathbb F_{q^e}. We show that it does in a broad parameter range. Let LUL_U be an Fq\mathbb F_q-linear set of rank NN spanning PG(h−1,qm)PG(h-1,q^m), h≥2h\ge2, without being equal to it, and assume that q≥mq\ge m and that the minimum weight of its points is a≥2a\ge2. Combining the theorem of Csajbók, Marino and Pepe on the maximum field of linearity with the lower bound of Adriaensen and Santonastaso for the size of a linear set containing a point of weight one, we prove that LUL_U is also defined by an Fqt\mathbb F_{q^t}-subspace, for some divisor tt of mm, whose Fq\mathbb F_q-dimension is exactly N+t−aN+t-a. Under a natural gap condition excluding divisors of mm in the interval (e,N−e](e,N-e], this forces a=ea=e and the defining subspace to be Fqe\mathbb F_{q^e}-linear. Through geometric duality, the point weights of the dual of a system are the deficiencies m−wm-w of the rank weights ww of the associated code. For rank-metric codes in which the subcode generated by the codewords of nonmaximum rank contains codewords of maximum rank, we show that deleting suitable coordinates yields the Fq\mathbb F_q-expansion of a code over Fqt\mathbb F_{q^t}. We show that the codes in which the codewords of nonmaximum rank generate a subcode without codewords of maximum rank are exactly the direct sums of a simplex code and a code of length smaller than mm. We derive field-reduction results for two-weight and three-weight rank-metric codes, and show that no gap condition is needed when mm divides the length or when the code has only two nonzero weights. Finally, we study two-dimensional codes of length at most mm and provide families of three-weight examples.

Introduction

Restrictions on the weights of a linear code can force strong algebraic and geometric structure. This principle is particularly visible for codes with only a few nonzero weights. In the Hamming metric, two-weight codes connect coding theory with point sets having two hyperplane intersection numbers and with strongly regular graphs; see the survey of Calderbank and Kantor [5]. Divisibility of weights provides another source of structural constraints, with a substantial theory of its own [20]. These connections motivate the study of how much of a code’s structure can be recovered from its weight spectrum and the arithmetic relations among its weights.

The rank metric offers a natural setting for this problem. Here the weight of a vector over a finite extension field is the dimension, over the base field, of the space generated by its coordinates. The foundational work of Delsarte and Gabidulin [9, 10] established an algebraic theory of codes for this metric, which also plays a central role in error control for random network coding [18]. Since rank weight measures linear dependence over a chosen base field, restrictions on rank weights are closely connected with the interaction between different field structures.

Finite geometry makes this connection explicit. A linear code in the rank metric can be represented by a vector subspace over the base field, and codeword weights are determined by its intersections with hyperplanes [16, 2]. The associated projective point sets are called linear sets; their point weights record the dimensions of the intersections with the corresponding one-dimensional subspaces. Linear sets have been extensively studied in finite geometry [13], and their duality theory provides a bridge between geometric intersection properties and rank-weight distributions [17, 3].

This geometric approach has been particularly effective for codes with few weights. Constant-weight rank-metric codes were classified in [16], and two-weight rank-metric codes were described through scattered subspaces in [22]. Three-weight families associated with clubs were studied in [11] (see [19, 21] for some extensions). These results suggest investigating which features of such descriptions persist when the entire weight spectrum is restricted, without prescribing a particular geometric configuration.

A central issue is whether divisibility of weights reveals an underlying structure over a larger field. Field expansion gives a natural source of divisible rank-metric codes: expanding a code from a larger base field multiplies all rank weights by the degree of the field extension. The converse is more delicate. In [14] the authors identified cases in which divisibility does imply such an origin, but also constructed counterexamples. Thus numerical divisibility alone does not determine the field structure. The problem is to find additional conditions, expressed in terms of the weight spectrum and the code parameters, that make this implication valid.

In this paper we approach this problem through linear sets with restricted point weights. If the defining subspace is linear over a larger subfield, then every point weight is divisible by the degree of that subfield over the base field. We investigate when the converse holds and, when it does not hold directly, how far the defining subspace is from one with a larger field of linearity. This distinction is essential: a point set may admit a representation over a larger field even when its original defining subspace is not linear over that field.

Our first main result quantifies this distinction. Let UU be an Fq\mathbb{F}_q-subspace of rank NN defining a linear set LUL_U that spans PG(h−1,qm)\mathrm{PG}(h-1,q^m), with h≥2h \ge2, and UU is a proper subset of that space. Assume that q≥mq \ge m and that the minimum positive point weight is a≥2a \ge2. Building on the theorem of Csajbók, Marino and Pepe [6], we show that there is a divisor tt of mm such that W=⟨U⟩FqtW = \langle U\rangle_{\mathbb{F}_{q^t}} defines the same point set, LWL_W admits a point of weight one over Fqt\mathbb{F}_{q^t} and

dim⁡FqW=N+t−a.\dim_{\mathbb{F}_q} W = N + t - a.

Moreover, a≤t≤N−aa \le t \le N-a (Theorem 3.7). The exact dimension follows by comparing an elementary counting bound with the lower bound of Adriaensen and Santonastaso [1] for linear sets containing a point of weight one; see also [7].

This dimension formula yields a structural criterion. Let ee be the greatest common divisor of the positive point weights. An elementary counting argument gives e∣Ne \mid N. Under the preceding assumptions, if mm has no divisor in the interval (e,N−e](e,N-e], then t=a=et=a=e and W=UW=U (Theorem 3.9). Consequently, the original subspace is Fqe\mathbb{F}_{q^e}-linear, and its minimum positive point weight equals the gcd of all its point weights. The arithmetic restriction therefore identifies the larger field and rules out the need to enlarge the defining subspace.

The first application concerns two-dimensional codes of length nn with a codeword of weight nn. The hyperplanes of PG(1,qm)\mathrm{PG}(1,q^m) are points, so by (5) the positive point weights of an associated system UU are the differences n−din-d_i between the length and the nonzero weights di<nd_i<n of the code, and the minimum one is the gap a=n−dra=n-d_r between the two largest weights. A nontrivial Fq\mathbb{F}_q-expansion of such a code always has a≥2a \ge2. Conversely, if q≥mq \ge m and a≥2a \ge2, applying Theorem 3.7 to UU shows that the code is obtained by deleting t−at-a coordinates from the Fq\mathbb{F}_q-expansion of a [drt+1,2]qm/qt[\frac{d_r}{t}+1,2]_{q^m/q^t} code, for some divisor tt of mm with a≤t≤min⁡{dr,m−dr}a \le t \le\min\{d_r,m-d_r\}. and t∣drt \mid d_r; a codeword of rank ww arises from a codeword of rank t⌈w/t⌉t\lceil w/t\rceil (Theorem 4.1). This gives congruence restrictions on the weights, the inequality d1+dr≥nd_1+d_r\ge n and, for three-weight codes with t>at>a, an explicit weight distribution (Corollary 4.3). We complement these results with several families of three-weight [n,2]qm/q[n,2]_{q^m/q} codes, which exist for every prime power qq. They show that, when a=1a=1, no arithmetic restriction survives, even if the gap between the two smallest weights is large, and that the case t>at>a really occurs: Family F4\mathcal{F}_4 provides codes whose first gap t−1t-1 can be as large as m/2−1m/2-1 and which are not expansions from any larger field. This is in sharp contrast with the two-weight case, in which q≥mq\ge m and a≥2a\ge2 force the code itself to be an expansion (Theorem 6.4).

For rank-metric codes of larger dimension, the link with these results is provided by geometric duality: the positive point weights of the dual of an associated system are precisely the deficiencies m−wm-w of the codeword ranks w<mw<m. For a nondegenerate code of length at least mm, a useful dichotomy is determined by the subcode generated by its codewords of rank smaller than mm. If this subcode contains no codeword of rank mm, we characterize the original code, up to equivalence, as the direct sum of a simplex code and a code of length smaller than mm (Theorem 5.2 and Corollary 5.4). This reduces the determination of its weight spectrum to the study of the weights of a shorter code.

In the complementary case, that is when the subcode generated by its codewords of rank smaller than mm contains a codeword of rank mm, assume q≥mq\ge m and let a≥2a\ge2 be the difference between mm and the largest nonmaximum rank weight. We prove that, after a rank-metric equivalence, deleting t−at-a suitable coordinates yields the Fq\mathbb{F}_q-expansion of a code whose rank is measured over Fqt\mathbb{F}_{q^t}, for some divisor tt of mm. The effect on every codeword is explicit: a word of rank ww becomes a word of rank t⌊w/t⌋t\lfloor w/t\rfloor (Theorem 5.6). This gives both congruence restrictions on the original weight spectrum and the weight distribution after puncturing. Under the corresponding divisor-gap condition, no coordinates need to be deleted, and the original code itself arises by field expansion.

We apply these results to codes with two or three nonzero weights. The two-weight case admits stronger conclusions: in the field-size range q≥mq\ge m, the relevant field-expansion results require no divisor-gap assumption, with the direct-sum case treated separately. A further simplification occurs when mm divides the code length: the expansion theorem then holds without a divisor-gap condition or a restriction on qq (Theorem 5.13). In § 6 we apply these results to codes with two or three nonzero weights. For two-weight codes no divisor-gap condition is needed: when q≥mq\ge m, a linear set whose points all have the same weight a≥2a\ge2 is forced to be Fqa\mathbb{F}_{q^a}-linear (Lemma 6.2). If the length is at least mm, then either h(C)=1h(\mathcal{C})=1 and C\mathcal{C} is the direct sum of a simplex code and a one-dimensional code, or h(C)≥2h(\mathcal{C})\ge2 and, when q≥mq\ge m or mm divides the length, C\mathcal{C} is the Fqa\mathbb{F}_{q^a}-expansion of a code over Fqa\mathbb{F}_{q^a}, where aa is the difference between the two weights (Theorem 6.3). If the length is at most mm, the code is two-dimensional and, when q≥mq\ge m or the length equals mm, it is again an expansion (Theorem 6.4). This recovers the results of [22], shows that the description given there for length larger than mm requires the additional assumption h(C)≥2h(\mathcal{C})\ge2, and removes the restriction on qq when mm divides the length. For three-weight codes of length at least mm, the direct-sum case reduces to two-weight codes of length smaller than mm, and its weight distribution is determined by the parameters (Theorem 6.6); in the remaining case we obtain the puncturing and rigidity statements described above (Theorem 6.7). Together with the families of § 4, these results show that three-weight codes are much less rigid than two-weight codes. Our results thus identify parameter regimes in which the question raised in [14], namely whether an ee-divisible code arises from a code over Fqe\mathbb{F}_{q^e}, has a positive answer, under hypotheses stated directly in terms of the weight spectrum and the divisors of mm.

Organization. § 2 collects the preliminaries on linear sets, rank-metric codes, qq-systems and field expansion. In § 3 we prove Theorems 3.7 and 3.9 on the fields of linearity of linear sets with restricted point weights. § 4 deals with two-dimensional codes of length at most mm and contains several families of three-weight examples. Section 5 translates the results of Section 3 to rank-metric codes, distinguishing between direct sums of a simplex code and a short code (Section 5.1) and the remaining codes (Section 5.2). Finally, Section 6 collects the results on codes with two or three nonzero weights.

Preliminaries

Throughout the paper, qq is a prime power, mm and kk are positive integers, and VV is a kk-dimensional vector space over Fqm\mathbb{F}_{q^m}. We identify points of PG⁡(V,Fqm)=PG⁡(k−1,qm)\operatorname{PG}(V,\mathbb{F}_{q^m}) = \operatorname{PG}(k-1,q^m) with one-dimensional Fqm\mathbb{F}_{q^m}-subspaces of VV.

Linear sets

We begin by recalling the basic terminology and notation for Fq\mathbb{F}_q-linear sets that will be used throughout the paper.

Definition 2.1. Let UU be an Fq\mathbb{F}_q-subspace of VV. The Fq\mathbb{F}_q-linear set defined by UU is

LU={⟨u⟩Fqm:u∈U∖{0}}⊆PG⁡(V,Fqm).L_U = \{\langle u\rangle_{\mathbb{F}_{q^m}} : u \in U \setminus\{0\}\} \subseteq\operatorname{PG}(V,\mathbb{F}_{q^m}).

Its rank is dim⁡FqU\dim_{\mathbb{F}_q} U. For a point P=⟨v⟩FqmP = \langle v\rangle_{\mathbb{F}_{q^m}}, its weight with respect to UU is

wU(P)=dim⁡Fq(U∩⟨v⟩Fqm).w_U(P) = \dim_{\mathbb{F}_q}(U \cap\langle v\rangle_{\mathbb{F}_{q^m}}).

We set wU(P)=0w_U(P) = 0 when P∉LUP \notin L_U.

We refer to [13] for background on linear sets. The following vector-counting identity will be used repeatedly. If NiN_i denotes the number of points of weight ii, then

qdim⁡FqU−1=∑i≥1Ni(qi−1).(1)q^{\dim_{\mathbb{F}_q} U} - 1 = \sum_{i \ge1} N_i(q^i - 1). \tag*{(1)}

References

  1. [1]S. Adriaensen and P. Santonastaso, On the minimum size of linear sets, Electron. J. Combin. 31 (2024), no. 4, Paper 4.52.arxiv.org/abs/2301.13001
  2. [2]G. N. Alfarano, M. Borello, A. Neri and A. Ravagnani, Linear cutting blocking sets and minimal codes in the rank metric, J. Combin. Theory Ser. A 192 (2022), 105658.arxiv.org/abs/2106.12465
  3. [3]M. Borello, O. Polverino and F. Zullo, Delsarte duality on subspaces and applications to rank-metric codes and q-matroids, arXiv:2509.24409, 2025.arxiv.org/abs/2509.24409
  4. [4]M. Borello and F. Zullo, Geometric dual and sum-rank minimal codes, J. Combin. Des. 32 (2024), no. 5, 238–273.arxiv.org/abs/2303.07288
  5. [5]R. Calderbank and W. M. Kantor, The geometry of two-weight codes, Bull. Lond. Math. Soc. 18 (1986), no. 2, 97–122. doi:10.1112/blms/18.2.97.DOI
  6. [6]B. Csajbók, G. Marino and V. Pepe, On the maximum field of linearity of linear sets, Bull. Lond. Math. Soc. 56 (2024), no. 11, doi:10.1112/blms.13133.DOI
  7. [7]J. De Beule and G. Van de Voorde, The minimum size of a linear set, J. Combin. Theory Ser. A 164 (2019), 109–124.arxiv.org/abs/1804.07388
  8. [8]M. De Boeck and G. Van de Voorde, A linear set view on KM-arcs, J. Algebraic Combin. 44 (2016), no. 1, 131–164.DOI
  9. [9]P. Delsarte, Bilinear forms over a finite field, with applications to coding theory, J. Combin. Theory Ser. A 25 (1978), no. 3, 226–241. doi:10.1016/0097-3165(78)90015-8.DOI
  10. [10]E. M. Gabidulin, Theory of codes with maximum rank distance, Probl. Inf. Transm. 21 (1985), no. 1, 1–12.
  11. [11]J. Mannaert, P. Santonastaso and F. Zullo, Clubs in projective spaces and three-weight rank-metric codes, arXiv:2508.00502, 2025.arxiv.org/abs/2508.00502
  12. [12]V. Napolitano, O. Polverino, P. Santonastaso and F. Zullo, Linear sets on the projective line with complementary weights, Discrete Math. 345 (2022), no. 7, Paper No. 112890.arxiv.org/abs/2107.10641
  13. [13]O. Polverino, Linear sets in finite projective spaces, Discrete Math. 310 (2010), 3096–3107.DOI
  14. [14]O. Polverino, P. Santonastaso, J. Sheekey and F. Zullo, Divisible linear rank metric codes, IEEE Trans. Inform. Theory 69 (2023), no. 7, 4528–4536.arxiv.org/abs/2211.08180
  15. [15]R. Pratihar and T. H. Randrianarisoa, Antipodal two-weight rank metric codes, Des. Codes Cryptogr. 92 (2024), no. 3, 753–769.arxiv.org/abs/2208.07295
  16. [16]T. H. Randrianarisoa, A geometric approach to rank metric codes and a classification of constant weight codes, Des. Codes Cryptogr. 88 (2020), 1331–1348.arxiv.org/abs/1907.04372
  17. [17]J. Sheekey and G. Van de Voorde, Rank-metric codes, linear sets, and their duality, Des. Codes Cryptogr. 88 (2020), 655–675.arxiv.org/abs/1806.05929
  18. [18]D. Silva, F. R. Kschischang and R. Koetter, A rank-metric approach to error control in random network coding, IEEE Trans. Inform. Theory 54 (2008), no. 9, 3951–3967. doi:10.1109/TIT.2008.928291.DOI
  19. [19]V. Smaldore, C. Zanella and F. Zullo, Regular fat linear sets, Des. Codes Cryptogr. 94 (2026), Article 191, doi:10.1007/s10623-026-01926-7.DOI
  20. [20]H. N. Ward, Divisible codes—a survey, Serdica Math. J. 27 (2001), 263–278.
  21. [21]F. Zullo, Multi-orbit cyclic subspace codes and linear sets, Finite Fields Appl. 87 (2023), 102153.arxiv.org/abs/2112.08781
  22. [22]F. Zullo, O. Polverino, P. Santonastaso and J. Sheekey, Two-weight rank-metric codes, in 2024 IEEE International Symposium on Information Theory (ISIT), IEEE, 2024, 1538–1543.arxiv.org/abs/2405.02841

Paper details

vlnc:W_8uje3hem
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 25

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

AI-assisted tools

View statement
Looking for related papers…
Contents