betaFeedback

WorksComputer Science

On the Length of Maximum Sum-Rank Distance Codes

Abstract

The classical theory of arcs in finite projective spaces provides a powerful geometric framework for studying maximum distance separable (MDS) codes and their possible lengths. In this paper, we investigate how this perspective extends to maximum sum-rank distance (MSRD) codes, whose geometric description involves systems of linear sets rather than individual projective points. Our main goal is to understand how the block structure of an MSRD code constrains its length. In dimension three, we determine the possible intersection patterns of lines with the associated linear sets and obtain explicit formulas for their characters and the weight distribution of the corresponding codes. These results lead to new length bounds and show that the block structure comes at a cost: the presence of a block of rank at least two reduces the maximum possible total length by at least q−1q-1, and sufficiently long MSRD codes must be classical, that is, MDS codes over Fqm\mathbb F_{q^m}. We also prove that three-dimensional one-weight MSRD codes do not exist. In arbitrary dimension, we interpret shortening geometrically as projection and establish a general projection bound that extends classical counting arguments for arcs. This yields restrictions depending explicitly on the block profile and, for full-length blocks, identifies parameter ranges in which linearized Reed–Solomon codes attain the maximum possible number of blocks. Finally, we construct an exceptional three-dimensional MSRD code over F9\mathbb F_9 with three blocks of length two and propose a sum-rank analogue of the MDS conjecture.

Introduction

The study of arcs in finite projective spaces is one of the classical problems of finite geometry. An arc is a set of points satisfying a strong independence condition, and understanding how large such sets can be has motivated research for several decades. A fundamental contribution was made by Beniamino Segre in the 1950s. In his celebrated work on ovals in finite projective planes, Segre proved that every oval of PG⁡(2,q)\operatorname{PG}(2,q), for qq odd, is a non-degenerate conic [35]. This result established a remarkable connection between a purely combinatorial condition, namely that no three points are collinear, and the algebraic geometry of projective curves. In even characteristic, the situation is substantially different, as conics can be extended to hyperovals. The study of arcs, their maximal sizes, and their classification has since become a central topic in finite geometry, see [1, 6, 7, 14] and the references therein.

A few years later, the introduction of Reed–Solomon codes [31] provided a coding counterpart to these geometric questions. Indeed, the columns of a generator matrix of a non-degenerate linear code over Fq\mathbb{F}_q define points of a projective space, and the code is maximum distance separable (MDS) precisely when these points form an arc. Under this correspondence, extended Reed–Solomon codes are represented by normal rational curves, while the maximum possible length of an MDS code becomes the maximum possible size of an arc. This correspondence has proved extremely fruitful, allowing methods and results from finite geometry to be applied to coding theory, and conversely. Perhaps the most prominent example is the MDS conjecture, originating from Segre’s investigations, which says that a non-trivial MDS code over Fq\mathbb{F}_q has length at most q+1q+1, apart from the well-known exceptional cases associated with hyperovals. Despite substantial progress, including the proof over prime fields by Ball [5] (see also [12] for recent results), the conjecture remains open in its full generality.

A different notion of distance emerged with the development of rank-metric codes. Their foundations go back to Delsarte’s work on bilinear forms over finite fields [11], while Gabidulin [13] subsequently initiated the theory of codes with maximum rank distance, introducing the family now known as Gabidulin codes and an efficient decoding algorithm. In this setting, the distance between vectors over Fqm\mathbb{F}_{q^m} is measured by the dimension of the Fq\mathbb{F}_q-span of the entries of their difference, rather than by the number of non-zero coordinates. Codes attaining the corresponding Singleton-like bound are called maximum rank distance (MRD) codes, and play a role analogous to that of MDS codes in the Hamming metric. The importance of rank-metric codes has also been reinforced by applications to network coding, where errors naturally affect the ranks of transmitted matrices [37], and to code-based cryptography.

Although the theory of rank-metric codes initially developed mainly through algebraic methods, its connections with finite geometry have gradually become clearer. In particular, the relationship between MRD codes and scattered subspaces has provided new constructions and new perspectives on the classification of optimal codes, see e.g., [27, 29, 36]. A systematic geometric approach was subsequently developed through the notion of qq-systems [2, 30]. These are suitable Fq\mathbb{F}_q-subspaces of vector spaces over Fqm\mathbb{F}_{q^m}, closely related to linear sets in finite projective spaces. Under this correspondence, the rank distribution and the minimum distance of a code can be expressed in terms of intersection dimensions with hyperplanes. Thus, the geometric language of projective systems, which has been so successful for Hamming-metric codes, admits a natural counterpart in the rank metric.

A further generalization is provided by the sum-rank metric, which simultaneously extends the Hamming and rank metrics. Here, the coordinates of a vector over Fqm\mathbb{F}_{q^m} are partitioned into blocks, and the weight is obtained by summing the Fq\mathbb{F}_q-ranks of the individual blocks. Taking all blocks of length one recovers the Hamming metric, whereas a single block gives the rank metric. The sum-rank metric is particularly relevant in situations where information is transmitted or stored in several groups. For instance, it arises naturally in multishot network coding, where several transmissions may be affected by rank errors and erasures, see e.g. [21]. Sum-rank codes also play an important role in distributed storage, particularly in the construction of maximally recoverable locally repairable codes and partial MDS codes [18]. These applications have stimulated the development of a general theory of codes endowed with the sum-rank metric, see [9, 22] for an account of their fundamental properties.

As in the Hamming and rank metrics, a Singleton-like bound holds in the sum-rank metric. Codes attaining it are called maximum sum-rank distance (MSRD) codes. A major step in their construction was made by Martínez-Peñas, who introduced linearized Reed–Solomon codes [23]. These codes simultaneously generalise Reed–Solomon and Gabidulin codes and provide a large family of MSRD codes. Further constructions, including families based on extended Moore matrices, have subsequently been obtained, see e.g., [15, 18, 19, 20, 26, 32, 33].

The geometric viewpoint has also been extended to the sum-rank setting. In [26], it was shown that non-degenerate Fqm\mathbb{F}_{q^m}-linear sum-rank metric codes can be described by tuples of Fq\mathbb{F}_q-subspaces, or by systems of Fq\mathbb{F}_q-linear sets in a projective space. More precisely, a code of dimension kk with block profile n=(n1,…,nt)\mathbf{n}=(n_1,\ldots,n_t) corresponds to a tuple U=(U1,…,Ut)\mathcal{U}=(U_1,\ldots,U_t), where UiU_i is an nin_i-dimensional Fq\mathbb{F}_q-subspace of Fqmk\mathbb{F}_{q^m}^k. The MSRD property is then equivalent to the condition

∑i=1tdim⁡Fq(Ui∩H)≤k−1\sum_{i=1}^{t}\dim_{\mathbb{F}_q}(U_i\cap H)\leq k-1

for every Fqm\mathbb{F}_{q^m}-hyperplane HH. This provides a natural sum-rank analog of the geometric characterization of MDS codes by arcs. In this framework, a geometric description of linearized Reed–Solomon codes based on a qq-analogue of the normal rational curve has recently been developed in [4].

The existence of this correspondence raises a fundamental question: to what extent can the classical theory of arcs and MDS codes be extended to MSRD codes? In particular, one would like to understand which restrictions the MSRD condition imposes on the possible parameters and, more specifically, on the length of a code. Unlike in the Hamming metric, however, the total length is not the only relevant parameter: the distribution of the coordinates among the different blocks plays an essential role.

The main objective of this paper is therefore to investigate the length problem for MSRD codes from a geometric perspective. Throughout the paper, we put Q=qmQ=q^m and consider an MSRD system of dimension kk with profile n=(n1,…,nt)\mathbf{n}=(n_1,\ldots,n_t) and total length N=n1+⋯+ntN=n_1+\cdots+n_t. A central quantity in our analysis is

M(n)=∑i=1tqni−1q−1,M(\mathbf{n})=\sum_{i=1}^{t}\frac{q^{n_i}-1}{q-1},

which counts the points of the associated projective linear sets. While the classical theory of arcs provides bounds on NN, the quantity M(n)M(\mathbf{n}) allows us to obtain finer restrictions reflecting the block structure of an MSRD code.

Our first results concern three-dimensional MSRD codes. In this setting, we determine the possible intersection sizes of lines with the associated projective MSRD system and obtain explicit formulas for its characters and the weight distribution of the corresponding code (Theorem 4.2 and Corollary 4.4). By studying the lines through a point, we derive restrictions on the block profile and prove that the presence of a block of rank at least two reduces the maximum possible total length by at least q−1q-1 (Theorem 4.8). These results yield structural constraints for sufficiently long MSRD codes (Corollary 4.10 and Theorem 4.11). As a consequence, MSRD codes that are sufficiently long, or that have sufficiently many blocks, must be classical, that is, MDS codes over FQ\mathbb{F}_Q (Corollary 4.10 and Theorem 4.11). We also establish the non-existence of three-dimensional one-weight MSRD codes (Theorem 5.3).

In arbitrary dimension, we investigate the behaviour of MSRD systems under shortening and show that this operation admits a geometric interpretation as projection. This leads to a general projection bound (Theorem 6.5), which extends the classical counting of tangent hyperplanes to an arc. We use this bound to obtain restrictions depending explicitly on the block profile (Corollaries 6.10 and 6.11). For equal block lengths, our approach recovers a bound of Byrne, Gluesing-Luerssen and Ravagnani [9]. For full-length blocks, we determine parameter ranges in which the bound t≤q−1t \le q-1 holds and is attained by linearized Reed–Solomon codes (Corollary 6.14). We also provide an explicit exceptional construction over F9\mathbb{F}_9 (Theorem 6.18) and formulate a sum-rank analogue of the MDS conjecture (Conjecture 6.21).

The paper is organized as follows. § 2 recalls the necessary background on arcs, MDS codes, sum-rank metric codes, and their geometric description. In § 3, we show the first bound on the parameters of an MSRD code. In § 4, we investigate three-dimensional MSRD systems, their intersection distributions, and the resulting length bounds. Section 5 is devoted to one-weight MSRD codes in dimension three. In § 7, we develop the projection method, derive bounds in arbitrary dimension, study the case of equal and full-length blocks, and propose an MSRD analogue of the MDS conjecture. Finally, § 8 summarises our results and discusses directions for further research.

Preliminaries

Throughout the paper, qq is a prime power, Fq\mathbb{F}_q is the finite field of order qq, kk and m≥2m \ge2 are integers, Q:=qmQ := q^m, and FQ\mathbb{F}_Q is the extension of Fq\mathbb{F}_q of degree mm. For integers 0≤l≤k0 \le l \le k, the Gaussian binomial coefficient

(kl)q:=∏i=0l−1qk−qiql−qi\binom{k}{l}_q := \prod_{i=0}^{l-1}\frac{q^k-q^i}{q^l-q^i}

is the number of ll-dimensional subspaces of Fqk\mathbb{F}_q^k. For a non-negative integer nn we put

θn:=(n+11)q=qn+1−1q−1=1+q+⋯+qn,θ−1:=0,\theta_n := \binom{n+1}{1}_q = \frac{q^{n+1}-1}{q-1}=1+q+\cdots+q^n,\qquad\theta_{-1}:=0,

so that θn\theta_n is the number of one-dimensional subspaces of Fqn+1\mathbb{F}_q^{n+1}. Note that θn\theta_n always refers to the subfield Fq\mathbb{F}_q, also when we work in projective spaces over FQ\mathbb{F}_Q. We will often use the identity

θn−1−θn−a−1=qn−a+qn−a+1+⋯+qn−1=qn−aθa−1,0≤a≤n,(1)\theta_{n-1}-\theta_{n-a-1}=q^{n-a}+q^{n-a+1}+\cdots+q^{n-1}=q^{n-a}\theta_{a-1},\qquad0\le a\le n, \tag*{(1)}

and the inequality

θn−1≥n+(q−1)max⁡{n−1,0},(2)\theta_{n-1}\ge n+(q-1)\max\{n-1,0\}, \tag*{(2)}

which holds with equality if and only if n≤2n\le2. Indeed, (2) is an equality for n∈{0,1}n\in\{0,1\}, and for n≥2n\ge2 we have θn−1=1+∑j=1n−1qj≥1+(n−1)q\theta_{n-1}=1+\sum_{j=1}^{n-1}q^j\ge1+(n-1)q, with equality if and only if n=2n=2.

Vectors are denoted by bold letters. For a field F\mathbb{F} and a vector x∈Fk\mathbf{x}\in\mathbb{F}^k we put x⊥:={v∈Fk:x⋅v=0}\mathbf{x}^{\perp}:=\{\mathbf{v}\in\mathbb{F}^k:\mathbf{x}\cdot\mathbf{v}=0\}, where x⋅v\mathbf{x}\cdot\mathbf{v} is the standard dot product. For integer vectors a=(a1,…,at)\mathbf{a}=(a_1,\ldots,a_t) and n=(n1,…,nt)\mathbf{n}=(n_1,\ldots,n_t), we write a≤n\mathbf{a}\le\mathbf{n} if ai≤nia_i\le n_i for every ii, we put ∣a∣:=a1+⋯+at|\mathbf{a}|:=a_1+\cdots+a_t, and we denote by ei\mathbf{e}_i the ii-th standard unit vector.

Projective spaces and arcs

The projective space PG(k−1,q)\mathrm{PG}(k-1,q) is the set of one-dimensional subspaces of Fqk\mathbb{F}_q^k. For a vector v∈Fqk∖{0}\mathbf{v} \in\mathbb{F}_q^k \setminus\{\mathbf{0}\} we denote by ⟨v⟩Fq\langle\mathbf{v} \rangle_{\mathbb{F}_q} the corresponding point in PG(k−1,q)\mathrm{PG}(k-1,q). A projective subspace of dimension l−1l-1 of PG(k−1,q)\mathrm{PG}(k-1,q) is the set of points contained in PG(W)\mathrm{PG}(W) for an ll-dimensional subspace WW of Fqk\mathbb{F}_q^k. Projective subspaces of dimension 00, 11 and k−2k-2 are called points, lines and hyperplanes, respectively. The projective space PG(k−1,q)\mathrm{PG}(k-1,q) contains exactly (kl)q\binom{k}{l}_q projective subspaces of dimension l−1l-1. In particular, PG(2,q)\mathrm{PG}(2,q) has q2+q+1q^2+q+1 points and q2+q+1q^2+q+1 lines, every line contains q+1q+1 points, and every point lies on q+1q+1 lines. The points ⟨v1⟩Fq,…,⟨vs⟩Fq\langle\mathbf{v}_1\rangle_{\mathbb{F}_q},\ldots,\langle\mathbf{v}_s\rangle_{\mathbb{F}_q} are projectively independent if v1,…,vs\mathbf{v}_1,\ldots,\mathbf{v}_s are linearly independent.

Definition 2.1. Let SS be a set of points of PG(k−1,q)\mathrm{PG}(k-1,q). A line ℓ\ell of PG(k−1,q)\mathrm{PG}(k-1,q) is external to SS if ∣ℓ∩S∣=0|\ell\cap S|=0, tangent to SS if ∣ℓ∩S∣=1|\ell\cap S|=1, and jj-secant to SS if ∣ℓ∩S∣=j≥2|\ell\cap S|=j\ge2.

References

  1. [1]K. Abdukhalkikov, C. Ding, and G. K. Verma. Some constructions of non-generalized Reed–Solomon MDS codes. Discrete Mathematics, 349(10):115202, 2026.
  2. [2]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.arxiv.org/abs/2106.12465
  3. [3]E. Arbarello, M. Cornalba, P. Griffiths, and J. D. Harris. Geometry of Algebraic Curves: Volume I, volume 267. Springer Science & Business Media, 2013.
  4. [4]V. Astore, M. Borello, A. Couvreur, and F. Salizzoni. A q-analogue of the rational normal curve and linearized Reed–Solomon codes, 2026. Preprint, arXiv:2606.13246.arxiv.org/abs/2606.13246
  5. [5]S. Ball. On sets of vectors of a finite vector space in which every subset of basis size is a basis. Journal of the European Mathematical Society, 14:733–748, 2012.DOI
  6. [6]S. Ball. Finite Geometry and Combinatorial Applications, volume 82 of London Mathematical Society Student Texts. Cambridge University Press, 2015.DOI
  7. [7]S. Ball, M. Lavrauw, et al. Arcs in finite projective spaces. EMS Surveys in Mathematical Sciences, 6(1-2):133–172, 2019.arxiv.org/abs/1908.10772
  8. [8]K. A. Bush. Orthogonal arrays of index unity. The Annals of Mathematical Statistics, 23(3):426–434, 1952.DOI
  9. [9]E. Byrne, H. Gluesing-Luerssen, and A. Ravagnani. Fundamental properties of sum-rank-metric codes. IEEE Transactions on Information Theory, 67(10):6456–6475, 2021.arxiv.org/abs/2010.02779
  10. [10]B. Csajbók, G. Marino, O. Polverino, and F. Zullo. Generalising the scattered property of subspaces. Combinatorica, 41(2):237–262, 2021.DOI
  11. [11]P. Delsarte. Bilinear forms over a finite field, with applications to coding theory. Journal of Combinatorial Theory, Series A, 25(3):226–241, 1978.DOI
  12. [12]X. Fan. A linear-in-q range of dimensions for the MDS conjecture over F_q in odd characteristic. arXiv preprint arXiv:2610.03740, 2026.arxiv.org/abs/2610.03740
  13. [13]E. M. Gabidulin. Theory of codes with maximum rank distance. Problems of Information Transmission, 21(1):1–12, 1985.
  14. [14]J. W. P. Hirschfeld. Projective Geometries over Finite Fields. Oxford University Press, second edition, 1998.DOI
  15. [15]H. Lao, Y. M. Chee, H. Chen, and V. K. Vu. New constructions for linear maximum sum-rank distance codes. In 2024 IEEE International Symposium on Information Theory (ISIT), pages 1544–1549. IEEE, 2024.DOI
  16. [16]U. Martínez-Peñas. Skew and linearized Reed–Solomon codes and maximum sum rank distance codes over any division ring. Journal of Algebra, 504:587–612, 2018.
  17. [17]U. Martínez-Peñas. Theory of supports for linear codes endowed with the sum-rank metric. Designs, Codes and Cryptography, 87(10):2295–2320, 2019.
  18. [18]U. Martínez-Peñas. A general family of MSRD codes and PMDS codes with smaller field sizes from extended moore matrices. SIAM Journal on Discrete Mathematics, 36(3):1868–1886, 2022.
  19. [19]U. Martínez-Peñas. Doubly and triply extended MSRD codes. Finite Fields and Their Applications, 91:102272, 2023.
  20. [20]U. Martínez-Peñas. New constructions of MSRD codes. Computational and Applied Mathematics, 44, 2025. Article 20.
  21. [21]U. Martínez-Peñas and F. R. Kschischang. Reliable and secure multishot network coding using linearized Reed–Solomon codes. IEEE Transactions on Information Theory, 65(8):4785–4803, 2019.
  22. [22]U. Martínez-Peñas, M. Shehadeh, and F. R. Kschischang. Codes in the sum-rank metric: Fundamentals and applications. Foundations and Trends® in Communications and Information Theory, 19(5):814–1031, 2022.
  23. [23]U. Martínez-Peñas. Skew and linearized Reed–Solomon codes and maximum sum rank distance codes over any division ring. Journal of Algebra, 504:587–612, 2018.
  24. [24]D. Mirandola and G. Zémor. Critical pairs for the product Singleton bound. IEEE Transactions on Information Theory, 61(9):4928–4937, 2015.
  25. [25]U. Musharraf and F. Zullo. One-weight codes in the sum-rank metric. Finite Fields and Their Applications, 111:102788, 2026.
  26. [26]A. Neri, P. Santonastaso, and F. Zullo. The geometry of one-weight codes in the sum-rank metric. Journal of Combinatorial Theory, Series A, 194:105703, 2023.arxiv.org/abs/2112.04989
  27. [27]A. Neri and F. Zullo. Rank-metric codes over arbitrary fields: Bounds and constructions. The Art of Discrete and Applied Mathematics, 9(2):P2.09, 2026.
  28. [28]O. Polverino. Linear sets in finite projective spaces. Discrete Mathematics, 310(22):3096–3107, 2010. Combinatorics 2008.DOI
  29. [29]O. Polverino and F. Zullo. Connections between scattered linear sets and MRD-codes. Bulletin of the Institute of Combinatorics and its Applications, 89:46–74, 2020.arxiv.org/abs/2001.10067
  30. [30]T. H. Randrianarisoa. A geometric approach to rank metric codes and a classification of constant weight codes. Designs, Codes and Cryptography, 88:1331–1348, 2020.arxiv.org/abs/1907.04372
  31. [31]I. S. Reed and G. Solomon. Polynomial codes over certain finite fields. Journal of the Society for Industrial and Applied Mathematics, 8(2):300–304, 1960.DOI
  32. [32]P. Santonastaso and J. Sheekey. On MSRD codes, h-designs and disjoint maximum scattered linear sets. Journal of Combinatorial Designs, 33(4):137–155, 2025.arxiv.org/abs/2308.00378
  33. [33]P. Santonastaso and F. Zullo. On subspace designs. EMS Surveys in Mathematical Sciences, 11(1):1–62, 2023.DOI
  34. [34]P. Santonastaso and F. Zullo. Invariants for sum-rank metric codes. Annali di Matematica Pura ed Applicata (1923-), 205(3):1331–1371, 2026.arxiv.org/abs/2507.04158
  35. [35]B. Segre. Ovals in a finite projective plane. Canadian Journal of Mathematics, 7:414–416, 1955.DOI
  36. [36]J. Sheekey. A new family of linear maximum rank distance codes. Advances in Mathematics of Communications, 10(3):475–488, 2016.arxiv.org/abs/1504.01581
  37. [37]D. Silva, F. R. Kschischang, and R. Kötter. A rank-metric approach to error control in random network coding. IEEE Transactions on Information Theory, 54(9):3951–3967, 2008.

Paper details

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

views · 9

downloads · 0

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

  • Computer Science

AI-assisted tools

View statement
Looking for related papers…
Contents