arXiv:2610.21509cs.ITOct 2026

Manuscript Offprint

arXiv:2610.21509

On the structure of polynomial ideal codes and additive Reed--Solomon codes

Umberto Martínez-Peñas, Rubén Rodríguez-Ballesteros

Abstract

We study structural properties of polynomial ideal (PI) codes and additive Reed–Solomon (aRS) codes in the folded Hamming metric (equivalently, the Hamming metric over a larger alphabet). We first determine the maximum possible length of PI codes, prove that the dual of every PI code is a generalized PI code, and deduce that PI codes are dually QMDS together with an explicit formula for their weight distribution. We then show that PI codes defined by irreducible polynomials correspond to aRS codes with pairwise nonconjugate evaluation points. For these aRS codes, the previous results on PI codes apply (duality, QMDS property and weight distribution). We show that, asymptotically, aRS codes with nonconjugate evaluation points achieve the same length as PI codes. We also compute the permutation group of such aRS codes. We also extend the family of PI codes to consider arbitrary polynomial modules (not necessarily pairwise coprime), and study when these and general aRS codes satisfy the QMDS and dually QMDS properties.

Keywords: Additive codes, finite geometry, folded Hamming distance, MDS codes, polynomial ideal codes, quasi MDS codes, Reed–Solomon codes, weight distributions.

1 Introduction

Codes in the folded Hamming metric may be viewed equivalently as codes endowed with the ordinary Hamming metric over an extension alphabet, while retaining linearity only over a prescribed subfield. This point of view includes additive codes and provides a natural framework in which the dimension over the base field need not be a multiple of the alphabet extension degree. In [12] we developed the basic theory of such codes and introduced quasi-MDS (QMDS) codes, which lie in between MDS and almost MDS codes [7] (their dimensions are larger than those of almost MDS codes for a given minimum distance, see [12, Remark 10]). Since we showed in [12] that the dual of a QMDS code need not be QMDS, we also introduced the concept of dually QMDS codes (i.e., codes that themselves and their duals are both QMDS).

Independently, QMDS codes were introduced in [1] under the name fractional MDS codes, and in [18] under the name additive MDS codes.

Constructions of QMDS codes and dually QMDS codes can be found in [1, 2, 12, 14, 18]. Upper bounds on their lengths (relative to their base field sizes) have been given in [1, 13].

*umberto.martinez@uva.es

†^{\dagger}ruben.rodriguez22@estudiantes.uva.es; rubenrb@iesgalileo.es

Polynomial ideal (PI) codes were introduced in [3] in connection with capacity-achieving list decoding. They generalize several well known families of codes such as classical Reed–Solomon codes [15], folded Reed–Solomon codes [8], multiplicity codes [17] and, as we will show here, additive Reed–Solomon codes [18].

Their definition is particularly well adapted to the folded Hamming metric: their codewords are formed by the residues of polynomials of restricted degree modulo several pairwise coprime polynomials of a common degree. In fact, they are always QMDS [12, Th. 2]. Despite this simple description, several of their structural properties remain unknown, including their largest possible length, computing their duals in general, proving whether they are always dually QMDS and computing their weight distribution. In this work, we fully describe all of these properties of PI codes. We also introduce the class of polynomial residue (PR) codes, which extend PI codes to arbitrary polynomial modules (not necessarily pairwise coprime) and study when they are QMDS and/or dually QMDS.

Additive Reed–Solomon (aRS) codes, introduced in [18], arise from evaluating polynomials over Fq\mathbb{F}_q at points of an extension field Fqr\mathbb{F}_{q^r}. They are therefore Fq\mathbb{F}_q-linear but need not be linear over their alphabet, Fqr\mathbb{F}_{q^r}. We will show that there is a large intersection between both families of codes: when the evaluation points belong to pairwise distinct Frobenius conjugacy classes of degree rr, aRS codes are linearly isometric (i.e., equivalent) to PI codes with irreducible defining polynomials. In particular, all of the properties that we study for PI codes directly apply to this subfamily of aRS codes. Regarding aRS codes with pairwise nonconjugate evaluation points, we will also give an explicit formula for their duals, show that they asymptotically achieve the maximum possible length of PI codes and compute their permutation group. Finally, we study when general aRS codes are QMDS and dually QMDS in the cases when they are not equivalent to PI codes.

The organization of the manuscript is as follows. In Section 2, we provide some preliminaries on the folded Hamming metric and QMDS codes; in Section 3, we study PI codes (their maximum length in Subsection 3.1, their duals and weight distribution in 3.2, and when they are QMDS and/or dually QMDS when the polynomial modules are not necessarily coprime in Subsection 3.3); and in Section 4, we study aRS codes (the equivalence between the classical Hamming and folded Hamming metrics in Subsection 4.1, the intersection between PI and aRS codes in Subsection 4.2, their permutation group in Subsection 4.3 and aRS codes that are not PI codes in Subsection 4.4).