arXiv:2609.01484math.NTSep 2026

Manuscript Offprint

arXiv:2609.01484

A General Construction of Codes from Drinfeld Modules

Alessandro Giannoni, Giacomo Micheli, Mihran Papikian

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ALESSANDRO GIANNONI, GIACOMO MICHELI, AND MIHRAN PAPIKIAN

ABSTRACT. We construct additive rank-metric and sum-rank-metric codes from Drinfeld modules by restricting bounded-degree morphisms to prime-to-characteristic torsion. For supersingular Drinfeld modules of rank rr in characteristic p\mathfrak{p} of degree dd, the stabilization formula for morphism spaces yields rank-metric codes of Fq\mathbb{F}_q-dimension mrt−cmrt - c and minimum distance r−t+1r - t + 1, where c=r(r−1)(d−1)/2c = r(r - 1)(d - 1)/2. Simultaneous restriction to ℓ\ell distinct degree-mm torsion modules gives additive sum-rank codes of the same dimension and minimum distance at least ℓr−t+1\ell r - t + 1. Their normalized Singleton defects tend to zero, while in characteristic (T)(T) the module ϕT=τr\phi_T = \tau^r makes the defect vanish and produces an explicit MSRD family. We identify this family with a skew Chinese remainder theorem code supported on central skew polynomials and prove that its poly-skew weight is exactly mm times its sum-rank weight. This gives a specialized Singleton-type bound and a polynomial-time unique decoder up to the full sum-rank unique-decoding radius. We also derive a Welch-Berlekamp-type filter equation for the general supersingular sum-rank construction; it becomes an effective decoder whenever bases of the relevant morphism spaces and the restriction maps are computable.

1. INTRODUCTION

Rank-metric codes were introduced independently, in two equivalent formalisms, by Delsarte and Gabidulin [6, 7]. Delsarte studied subsets of matrix spaces through the association scheme of bilinear forms, whereas Gabidulin used vectors over an extension field and their rank over the base field. Both viewpoints lead to a Singleton-type bound, and codes attaining it are called maximum rank distance, or MRD, codes. The classical Gabidulin construction evaluates q-linearized polynomials of bounded q-degree at points that are linearly independent over the base field. The fact that the root space of a nonzero linearized polynomial is controlled by its q-degree gives both the minimum distance and, together with an interpolation argument, the existence of MRD codes throughout the admissible parameter range. This root-space principle is also one of the main ingredients of the constructions in the present paper. Rank-metric codes have since become central in random network coding, distributed storage, and code-based cryptography; see [30, 1] for representative applications and a broad survey.

For many years, Gabidulin codes and their generalized versions were the only known linear MRD families available for general parameters. A major change came with Sheekey's twisted Gabidulin codes [27], which provided infinite families inequivalent to generalized Gabidulin codes. This was followed by additive variants [25], generalized twisted Gabidulin codes [12], constructions arising from maximum scattered linear sets [5], and the Trombetti-Zhou family [31]. Skew-polynomial quotients give another unifying source of MRD codes and semifields, containing several of the classical and twisted constructions as special cases [29]. These developments revealed particularly fruitful connections among MRD codes, linearized and skew polynomials, finite semifields, and scattered subspaces; an overview of this circle of ideas can be found in [28].

The sum-rank metric extends the rank metric from a single matrix to an ordered collection of matrix blocks by adding their ranks. It specializes to the rank metric when there is

2020 Mathematics Subject Classification. Primary 94B05; Secondary 94B35, 11G09, 16S36.

Key words and phrases. Drinfeld modules, rank-metric codes, sum-rank-metric codes, MRD codes, MSRD codes, skew polynomial rings, decoding.

A. GIANNONI, G. MICHELI, AND M. PAPIKIAN

one block and to the Hamming metric when all blocks have size 1×11 \times 1. The metric appeared naturally in multishot network coding [23] and was subsequently developed as a general coding-theoretic framework in [13, 14, 3, 19]. Its Singleton-type bound defines the class of maximum sum-rank distance, or MSRD, codes. The theory of supports, duality, anticodes, and generalized weights has by now been developed in substantial generality; see, in particular, [14, 3, 4]. MSRD codes play the same extremal role for the sum-rank metric as MDS and MRD codes do for the Hamming and rank metrics, respectively.

Linearized Reed-Solomon codes form the basic explicit MSRD family. They were introduced through evaluations of skew polynomials and proved to be MSRD over arbitrary division rings in [13]. They simultaneously recover Reed-Solomon codes in the Hamming case and Gabidulin codes in the rank-metric case. Their use in reliable and secure multishot network coding, together with an efficient decoding algorithm, was developed in [18]. Further constructions have enlarged the available parameter ranges. Extended Moore matrices yield several MSRD families with smaller field sizes [15]; twisted linearized Reed-Solomon codes provide sum-rank analogues of twisted Gabidulin and Trombetti-Zhou codes [22]; and extension, product, and modification procedures give doubly and triply extended families and codes with block sizes not covered by the original construction [16, 17]. A systematic account of the theory, constructions, decoding methods, and applications of sum-rank codes is given in [19].

Chinese-remainder constructions for linearized and skew polynomials have also been developed recently. Linearized polynomial CRT codes were introduced in [8] for the rank and sum-rank metrics, with an auxiliary composition polynomial used to influence their minimum-distance properties. Skew CRT codes and the associated poly-skew metric were introduced in [24]. The explicit characteristic-(T) family considered in the present paper belongs to the latter formalism for a distinguished collection of central moduli. In this case, unlike for general skew CRT supports, the poly-skew metric admits a direct interpretation as a scaled sum-rank metric on matrix blocks.

We do not determine the sum-rank equivalence class of the explicit characteristic-(T) family relative to previously known linearized Reed-Solomon or linearized polynomial CRT codes [13, 18, 8]. Accordingly, our novelty claims concern its Drinfeld-module realization, its identification with a central skew CRT code, the exact poly-skew/sum-rank metric correspondence, and the resulting specialized decoder and Singleton-type bound, rather than a new equivalence class of MSRD codes.

Drinfeld modules offer a different arithmetic source of the same algebraic features. A Drinfeld A-module is encoded by a homomorphism from A=Fq[T]A = \mathbb{F}_q[T] to a ring of twisted polynomials. If f∈Af \in A is a prime of degree mm away from the A-characteristic and ϕ\phi has rank rr, then its ff-torsion is a free A/(f)A/(f)-module of rank rr, and therefore becomes an rr-dimensional vector space over Fqm\mathbb{F}_{q^m}. A morphism of Drinfeld modules commutes with the A-action and consequently induces a linear map on these torsion spaces. This turns spaces of morphisms into matrix codes in a natural way. We refer to [26] for the arithmetic of Drinfeld modules and their torsion.

The use of Drinfeld modules in rank-metric coding has developed recently. Bastioni, Darwish, and Micheli used their arithmetic, together with the Dirichlet theorem for polynomial arithmetic progressions, to construct infinite families of optimal rank-metric codes with rank-locality [2]. Micheli and Papikian then introduced a general restriction-to-torsion method based on linear spaces of endomorphisms [20]. Their work focused on semifield codes: it recast a skew-polynomial construction of Sheekey in Drinfeld-module language and produced new infinite families from Drinfeld modules over finite fields. More recently, the same authors determined the dimensions of spaces of bounded-degree morphisms between supersingular Drinfeld modules. Put Fp:=A/p\mathbb{F}_p := A/\mathfrak{p}. If ϕ\phi and ψ\psi are supersingular of rank rr over F‾p\overline{\mathbb{F}}_p, with d=deg⁡T(p)d = \deg_T(\mathfrak{p}), and Ms(ϕ,ψ)M_s(\phi, \psi) denotes the space of morphisms of τ\tau-degree at most s, their stabilization theorem [21, Theorem 1.1] gives

dim⁡FqMs(ϕ,ψ)=r(s+1)−r(r−1)(d−1)2\dim_{\mathbb{F}_{q}}M_{s}(\phi,\psi)=r(s+1)-\frac{r(r-1)(d-1)}{2}

throughout an explicit stable range. They also conjectured the optimal threshold [21, Conjecture 3.10] and proved it in rank 2 [21, Theorem 1.2].

The purpose of this paper is to develop the restriction-to-torsion viewpoint beyond the full-rank, semifield setting and to place it in the sum-rank metric. Our contributions are as follows.

  • We begin with two Drinfeld modules ϕ\phi and ψ\psi of the same rank rr, not necessarily supersingular or equal. For a prime ff of degree mm away from the characteristic, restriction to ff-torsion defines
ρf:Hom(ϕ,ψ)⟶Matr×r(Fqm).\rho_{f}:\mathrm{Hom}(\phi,\psi)\longrightarrow\mathrm{Mat}_{r\times r}(\mathbb{F}_{q^{m}}).

Every Fq\mathbb{F}_q-linear subspace M⊆Hom(ϕ,ψ)\mathcal{M} \subseteq \text{Hom}(\phi, \psi) therefore gives an additive rank-metric code. The rank of ρf(u)\rho_f(u) is exactly rr minus the Fqm\mathbb{F}_{q^m}-dimension of the kernel of uu on ϕ[f]\phi[f]. Thus the metric problem is reduced to controlling kernels of morphisms on torsion.

• We apply this construction to the bounded-degree space Mtm−1(ϕ,ψ)M_{tm-1}(\phi, \psi) for supersingular modules in characteristic p. Put

c:=r(r−1)(d−1)2.c:=\frac{r(r-1)(d-1)}{2}.

For 1≤t<r1 \leq t < r and in the stable range, the resulting additive code has parameters

dim⁡FqC=mrt−c,dR(C)=r−t+1.\dim_{\mathbb{F}_{q}}\mathcal{C}=m r t-c,\qquad d_{R}(\mathcal{C})=r-t+1.

For distinct primes q1,…,qℓ\mathfrak{q}_1, \ldots, \mathfrak{q}_\ell of degree mm, simultaneous restriction of bounded-degree endomorphisms gives a code in Matr×r(Fqm)ℓ\text{Mat}_{r \times r}(\mathbb{F}_{q^m})^\ell. The Chinese remainder decomposition of the torsion turns the sum of the kernel dimensions in the blocks into a global root count, and for 1≤t≤ℓr1 \leq t \leq \ell r we obtain

dim⁡FqC=mrt−c,dSR(C)≥ℓr−t+1.\dim_{\mathbb{F}_{q}}\mathcal{C}=m r t-c,\qquad d_{S R}(\mathcal{C})\geq\ell r-t+1.

In both constructions the normalized additive Singleton defect tends to zero.

  • We specialize to characteristic (T)(T) and the explicit supersingular module ϕT=τr\phi_T = \tau^r. Here c=0c = 0, so the construction is MSRD. With R=Fqr{τ}R = \mathbb{F}_{q^r} \{\tau\} and Qi=qi(τr)Q_i = \mathfrak{q}_i(\tau^r), the polynomials QiQ_i are central and define a skew CRT realization
R/(Qi)≅EndFqm(ϕ[qi])≅Matr×r(Fqm).R/(Q_{i})\cong\mathrm{E n d}_{\mathbb{F}_{q^{m}}}\left(\phi[\mathfrak{q}_{i}]\right)\cong\mathrm{M a t}_{r\times r}(\mathbb{F}_{q^{m}}).

For this support we prove the exact metric identity

wtps=mwtSR\mathrm{wt}_{\mathrm{ps}}=m\mathrm{wt}_{SR}

and the corresponding specialized Singleton-type bound.

  • For the general supersingular sum-rank construction, we derive a Welch-Berlekamp-type filter equation. Under two explicit dimension and degree conditions, the equation has a nonzero solution and every nonzero solution recovers the transmitted endomorphism. This gives an existence-and-uniqueness result in arbitrary finite characteristic. It becomes an effective decoder whenever bases of the relevant bounded-degree endomorphism spaces and the corresponding restriction matrices can be computed. For the characteristic-(T) family, the skew CRT key equation gives a polynomial-time unique decoder for all sum-rank errors of weight at most
⌊ℓr−t2⌋.\left\lfloor\frac{\ell r-t}{2}\right\rfloor.

A. GIANNONI, G. MICHELI, AND M. PAPIKIAN

The sum-rank construction is naturally adapted to a multishot channel with a global error budget. We recall the usual correction criterion and compare a joint MSRD strategy with protecting every shot by an independent MRD code. For errors of total sum-rank at most e, the joint strategy has normalized rate 1−2e/(ℓr)1 - 2e/(\ell r), whereas the separated strategy has normalized rate 1−2e/r1 - 2e/r. This elementary comparison explains why simultaneous evaluation on several torsion modules is the appropriate coding model.

The paper is organized as follows. Section 2 recalls rank-metric and sum-rank-metric codes, discusses the multishot channel, and collects the required background on Drinfeld modules. Section 3 develops the general restriction-to-torsion construction, applies the stabilization theorem to bounded-degree morphism spaces, derives the asymptotically MRD and MSRD families, and concludes with the exact MSRD construction in characteristic (T)(T). Section 4 derives a filter equation for the general supersingular sum-rank construction, identifies the characteristic- (T)(T) family with a skew CRT code, proves the equivalence of the poly-skew and sum-rank metrics in this setting, and gives a polynomial-time bounded-distance decoder for the explicit family.