arXiv:2610.39655cs.ITOct 2026

Manuscript Offprint

arXiv:2610.39655

The Support-Distribution Conditions for MSRD Codes Reduce to a Single Inequality

Xiang Fan

XIANG FAN

ABSTRACT. Byrne, Gluesing-Luerssen, and Ravagnani determined the number of codewords with a prescribed nonzero support in a linear maximum sum-rank distance code whose blocks have a common number of columns. Their formula depends only on the code parameters and the support dimensions. Evaluating it for arbitrary parameters gives a family of necessary nonnegativity conditions for existence. We prove their conjecture that this family is equivalent to the condition at the vector of total dimension d+1d+1 obtained by filling the longest blocks first, where dd is the distance parameter. The resulting explicit criterion applies over every finite field Fq\mathbb{F}_q, for all row numbers ni⩽mn_i \leqslant m and 1⩽d<N1 \leqslant d < N, where mm is the common number of columns and NN is the total number of rows. It also covers the boundary cases in which this vector fills each of its nonzero blocks completely, not explicitly included in the conjecture's displayed parameter range. The proof uses a generating function and an exchange identity to reduce the problem to vectors obtained by filling the longest blocks first. We then estimate alternating sums of elementary symmetric polynomials, with a separate argument for q=2q = 2. The dual conditions admit the same reduction. For codes that exist, the joint condition follows from sphere-packing bounds for the code and its dual. An infinite family of parameters satisfies the joint condition but admits no such linear code.

1. INTRODUCTION

Sum-rank-metric codes contain Hamming-metric and rank-metric codes as special cases, and maximum sum-rank distance (MSRD) codes, which attain the Singleton bound in this metric, are the sum-rank analogue of maximum distance separable (MDS) codes; see [1] for a survey of constructions, decoding, and applications. The weight distribution of an MDS code is determined by its length, its dimension, and the field size [2, Ch. 11, Sec. 3, Theorem 6]. Byrne, Gluesing-Luerssen, and Ravagnani [3] proved an analogue for MSRD codes whose blocks have a common number of columns: the number of codewords with a prescribed nonzero support depends only on the parameters of the code and on the dimensions of the support. Their formula can be evaluated for arbitrary parameters, whether or not a code with these parameters exists, and the nonnegativity of its values is a family of necessary conditions for existence. They conjectured that the whole family is equivalent to a single one of its inequalities [3, Conjecture VI.8]. We prove this conjecture. The argument also covers some boundary values of the parameters that are not explicitly included in its statement.

1.1. Sum-Rank-Metric Codes. Let qq be a prime power, and let t,n1,…,nt,m1,…,mtt, n_1, \ldots, n_t, m_1, \ldots, m_t be positive integers with ni⩽min_i \leqslant m_i for all 1⩽i⩽t1 \leqslant i \leqslant t. The ambient space is Π:=⨁i=1tFqni×mi\Pi := \bigoplus_{i=1}^t \mathbb{F}_q^{n_i \times m_i}, whose elements are tuples X=(Xi)i=1tX = (X_i)_{i=1}^t of matrices over Fq\mathbb{F}_q. We call the ii-th summand, which has nin_i rows and mim_i columns, the ii-th block, and XiX_i the ii-th block of XX. The sum-rank of XX is srk(X):=∑irk(Xi)\text{srk}(X) := \sum_i \text{rk}(X_i), where rk\text{rk} is matrix rank, and the sum-rank distance is (X,Y)↦srk(X−Y)(X, Y) \mapsto \text{srk}(X - Y). For t=1t = 1 this is the rank metric, and for ni=mi=1n_i = m_i = 1 it is the Hamming metric.

Key words and phrases. Elementary symmetric polynomials, maximum sum-rank distance codes, support distribution.

XIANG FAN

A nonzero Fq\mathbb{F}_q-linear code C⊆ΠC \subseteq \Pi has minimum distance d:=min⁡{srk(X):X∈C∖{0}}d := \min\{\text{srk}(X) : X \in C \setminus \{0\}\}. Deleting any d−1d - 1 rows across the blocks gives an injective map on CC, which yields the sum-rank Singleton bound [3, Theorem III.2]

(1.1)

dim⁡FqC⩽min⁡ai∈{0,…,ni}∑iai=d−1∑i=1tmi(ni−ai).\dim_{\mathbb{F}_{q}}C\leqslant\min_{\substack{a_{i}\in\{0,\ldots,n_{i}\}\\ \sum_{i}a_{i}=d-1}}\sum_{i=1}^{t}m_{i}(n_{i}-a_{i}).

A nonzero Fq\mathbb{F}_q-linear code attaining equality is an MSRD code. This is the linear case of the definition [3, Definition III.3], which also allows nonlinear codes. The terminology and early constructions, using linearized Reed–Solomon codes, are due to Martínez-Peñas [4]. Those constructions are linear over an extension field; here we only assume Fq\mathbb{F}_q-linearity. When every mi=mm_i = m, the right-hand side of (1.1) equals m(N−d+1)m(N - d + 1), where N:=∑iniN := \sum_i n_i.

1.2. Support Distributions and the Conjecture. The support of a codeword is the tuple of column spaces of its blocks, and the support distribution of a code records how many codewords have each prescribed support [3, Definitions II.4 and II.8]; summing over the supports of a given total dimension recovers the weight distribution. When the blocks have a common number of columns, the number of codewords with a fixed nonzero support in a nonzero linear MSRD code is given by an explicit formula [3, Theorem VI.5]. We call the values of this formula formal support counts. They can be negative for parameters that admit no code, and their nonnegativity is a necessary condition for the existence of such a code [3, Corollary VI.6].

For blocks with n1,…,ntn_1, \ldots, n_t rows, this condition consists of ∏i(ni+1)−1\prod_i(n_i + 1) - 1 inequalities, one for each nonzero support-dimension vector, although those of total dimension at most dd hold automatically. The conjecture [3, Conjecture VI.8] asserts that one of them suffices, namely the inequality at the support-dimension vector of total dimension d+1d + 1 obtained by filling the longest blocks first.

1.3. Main Result. Order the blocks so that m⩾n1⩾⋯⩾ntm \geqslant n_1 \geqslant \cdots \geqslant n_t, and let 1⩽d<N1 \leqslant d < N. Filling the blocks in this order with d+1d + 1 units gives the vector u~=(n1,…,nj−1,δ,0,…,0)\widetilde{\mathbf{u}} = (n_1, \ldots, n_{j-1}, \delta, 0, \ldots, 0), where n1+⋯+nj−1<d+1=n1+⋯+nj−1+δn_1 + \cdots + n_{j-1} < d + 1 = n_1 + \cdots + n_{j-1} + \delta and 1⩽δ⩽nj1 \leqslant \delta \leqslant n_j. By Theorem 2.1, all formal support counts for the distance parameter dd are nonnegative if and only if

(1.2)

∑i<j(qni−1)+(qδ−1)⩽(q−1)(qm+1).\sum_{i<j}(q^{n_{i}}-1)+(q^{\delta}-1)\leqslant(q-1)(q^{m}+1).

This inequality is equivalent to the nonnegativity of the count at u~\widetilde{u}, so Theorem 2.1 proves the conjecture in the range in which it is stated; no code with the given parameters is assumed to exist. The theorem also covers the values of dd with d+1=n1+⋯+njd+1 = n_1 + \cdots + n_j for some jj, including d+1=Nd+1 = N, which are not explicitly covered by the parameter range displayed in [3, Conjecture VI.8].

Write ωd(u)\omega_d(\boldsymbol{u}) for the formal support count attached to a support-dimension vector u=(u1,…,ut)\boldsymbol{u} = (u_1, \ldots, u_t), where 0⩽ui⩽ni0 \leqslant u_i \leqslant n_i, and ei\mathbf{e}_i for the ii-th standard basis vector. The proof starts from an expression of ωd(u)\omega_d(\boldsymbol{u}) as a coefficient of a rational function (Section 3). This expression yields the following identity: if ∣u∣⩾d+1|\boldsymbol{u}| \geqslant d + 1 and a unit is moved from coordinate jj of u\boldsymbol{u} to another coordinate ii, where uj⩾1u_j \geqslant 1 and ui<niu_i < n_i, then

ωd(u+ei−ej)−ωd(u)=−(qui−quj−1)ωd(u−ej).\omega_{d}(\boldsymbol{u}+\mathbf{e}_{i}-\mathbf{e}_{j})-\omega_{d}(\boldsymbol{u})=-(q^{u_{i}}-q^{u_{j}-1})\omega_{d}(\boldsymbol{u}-\mathbf{e}_{j}).

If ui⩾uju_i \geqslant u_j and all counts of total dimension ∣u∣−1|u| - 1 are nonnegative, the identity shows that the move cannot increase the count. After sorting the coordinates, repeated moves lead to the vector obtained by filling the longest blocks first. Under the same nonnegativity hypothesis, this vector therefore minimizes the count in its total dimension. Induction on the total dimension reduces the theorem to these vectors.

After rescaling, their counts become alternating partial sums of elementary symmetric polynomials in explicit numbers from (0,1/q](0, 1/q], one for each filled row except the first. For q⩾3q \geqslant 3, all these numbers are at most 1/3, and a short induction proves nonnegativity (Section 4). For q=2q = 2, a block with m rows contributes an entry 1/2, so a separate argument is needed. The cases d⩽2d \leqslant 2 require no hypothesis on (1.2). For d⩾3d \geqslant 3, Section 5 shows that, under that inequality, an entry 1/2 occurs beyond the first d+1d + 1 rows only when n1=mn_1 = m and d⩽md \leqslant m, and treats these remaining cases.

The dual necessary conditions [3, Corollary VI.10] involve the same formula with another distance parameter, so Theorem 2.1 reduces them, and both families together, to a single inequality (Section 6). For linear MSRD codes that exist, this joint condition already follows from the projective sphere-packing bound [3, Section III], applied to the code and its dual (Proposition 6.4). The contribution of this paper is thus the equivalence for the formal counts, not a stronger existence bound. Example 6.5 gives an infinite family of parameters for which all primal and dual formal support counts are nonnegative but no linear MSRD code exists.

Appendix A gives further properties of the formal support counts. Under (1.2), the counts of total dimension at least d+2d+2 are positive, with one exceptional set of parameters. For d⩾3d \geqslant 3 and odd r⩾3r \geqslant 3, we give lower bounds in total dimension d+rd+r and determine the equality cases for the bound valid over every finite field. We also determine the zero counts in total dimension d+1d+1 and the minimizers in each total dimension at least d+2d+2. Without assuming (1.2), we prove that every count is a multiple of qm−1q^m - 1 and establish congruences modulo qq, and modulo q−1q - 1 when d⩾2d \geqslant 2. Finally, we derive arithmetic restrictions on equality in (1.2).

1.4. Related Work. Martínez-Peñas developed the theory of support spaces, restriction, and shortening for sum-rank-metric codes [5], and Camps-Moreno et al. studied generalized sum-rank weights of MSRD codes [6]. Xia and Fu derived support distributions for dually quasi-MSRD codes [7], and Bartoli, Grimaldi, and Longobardi constructed nonadditive MSRD codes with the same sum-rank weight distribution as Fqm\mathbb{F}_{q^{m}}-linear MSRD codes with the same parameters [8]. Bounds on the sizes of sum-rank-metric codes have been obtained from eigenvalues [9] and from linear programming [10]. The present paper concerns instead the formal support counts themselves, and its main theorem does not presuppose that a code with the prescribed parameters exists.