The permutation and automorphism groups of univariate multiplicity codes
Eduardo Camps Moreno, Hiram H. López, Umberto Martínez-Peñas, Rodrigo San-José
Abstract
We give explicit characterizations of the permutations and linear isometries that leave (univariate) multiplicity codes invariant. We consider any evaluation subset of the finite field, any multiplicity and dimension, and the automorphisms are with respect to the Niederreiter-Rosenblom-Tsfasman (NRT) metric. For multiplicity one, we recover the permutation and automorphism groups of classical Reed–Solomon codes in the classical Hamming metric. In the main dimension range, automorphisms are uniquely determined by a projectivity that permutes the evaluation subset, up to multiplication by a nonzero scalar. For multiplicity one, permutations are given by affine maps that permute the evaluation subset. In contrast, for multiplicity at least two, permutations are only given by translations that permute the evaluation subset. Finally, we give an algebraic characterization of automorphisms of multiplicity codes for the folded Hamming metric.
The automorphism groups of classical Reed–Solomon codes [16] in the Hamming metric were obtained in [5, Th. 4]. A natural generalization of Reed–Solomon codes, obtained by evaluating also derivatives, was first defined (for a single variable) by Rosenbloom and Tsfasman in [17]. There they also introduce the m-metric, nowadays known as the Niederreiter-Rosenblom-Tsfasman (or NRT) metric. Such codes were later generalized to several variables in [10], where they are called multiplicity codes. However, there they are considered with respect to the folded Hamming metric. For this metric, (univariate) multiplicity codes achieve the optimal rate versus list-decodability tradeoff [7]. Later, multiplicity codes have independently been studied under the name hyperderivative Reed–Solomon (HRS) codes [4,6]. Multiplicity codes (for one variable) attain the Singleton bound for both the NRT metric and the folded Hamming metric. Both
1Email: umberto.martinez@uva.es metrics particularize to the classical Hamming metric for multiplicity one (the Reed–Solomon case).
To the best of our knowledge, the permutation and automorphism groups of multiplicity codes have not yet been investigated. Whereas there is a clear notion of permutation group, automorphisms could be studied for the NRT metric or the folded Hamming metric. Linear NRT isometries are given by permutations and invertible upper triangular matrices, whereas linear folded-Hamming isometries are given by permutations and arbitrary invertible matrices.
In this manuscript, we explicitly describe the NRT automorphisms of multiplicity codes since they have exactly the same group structure as the Hamming-metric automorphism group of classical Reed–Solomon codes (in the central dimension range), as we will show. However, we also briefly discuss an algebraic characterization of the automorphism group of multiplicity codes for the folded Hamming metric, which is generally much larger.
We treat univariate multiplicity codes of arbitrary multiplicity and dimension and evaluated over arbitrary subsets of a finite field. For most dimensions, automorphisms for the NRT metric are given by projectivities that stabilize the evaluation set and a global nonzero scalar. Permutations are given by affine maps that stabilize the evaluation set for multiplicity one (Reed–Solomon codes), and only affine translations for multiplicity at least two. Finally, folded Hamming automorphisms are given by those whose associated polynomial map stabilizes (after permutation) the subspaces of polynomials with prescribed multiplicities.
The manuscript is organized as follows. Section 2 contains preliminaries on multiplicity codes, the NRT metric and the finite projective line. Section 3 shows that projectivities that stabilize the evaluation set yield NRT automorphisms. Section 4 shows that for an NRT automorphism, the permutation is necessarily given by a projectivity. Section 5 shows that, when the permutation is the identity, an NRT automorphism consists simply in multiplying by a global nonzero scalar. Section 6 collects these results to fully characterize the NRT automorphism group of multiplicity codes. Section 7 uses such an NRT characterization to describe the permutation group. Finally, Section 8 gives an algebraic characterization of the automorphisms for the folded Hamming metric. The appendices give the low and high dimensional ranges for the NRT automorphism groups, and the extreme cases of dimension one, codimension one, and one or two evaluation points.
2 Preliminaries
Basic notation. Throughout this manuscript, Fq denotes the finite field of size q, which is a power of a prime. We set N={0,1,2,…}. For k∈N, we denote by Fq[x] the ring of polynomials over Fq, and by Fq[x]<k and Fq[x]≤k the sets of polynomials in Fq[x] of degree less than k and at most k, respectively (where Fq[x]<0={0}). We indistinctively write f and f(x) for polynomials in Fq[x]. We denote by ⟨A⟩Fq the vector space over Fq generated by a set A. For integers m,n, we denote [m,n]={m,m+1,…,n} (if m≤n) and [n]=[1,n], we let Fqm×n be the set of m×n matrices over Fq, and we define Fqn=Fq1×n.
Throughout this paper, we fix an arbitrary nonempty evaluation set A⊆Fq, where we denote n=∣A∣>0.
2.1 Multiplicity codes
As usual in the multiplicity code literature, we will consider Hasse derivatives in this work.
Definition 2.1 (Hasse derivatives [8]). Take f∈Fq[x]. Given a variable y, algebraically independent of x, the polynomial f(x+y)∈Fq[x,y] can be written uniquely as
f(x+y)=i∈N∑f(i)(x)yi,
for some polynomials f(i)(x)∈Fq[x], for i∈N. We define the ith Hasse derivative of f(x)∈Fq[x] as the polynomial f(i)(x)∈Fq[x], for i∈N.
Notice that f(0)=f, and f(1)=f′ is the usual derivative of f∈Fq[x]. The following relationship between Hasse derivatives and multiplicities of roots of polynomials is trivial and holds even though Fq has positive characteristic (that is why Hasse derivatives are used).
Proposition 2.2. Given f∈Fq[x], a∈Fq and a positive integer m, then (x−a)m divides f if and only if f(0)(a)=f(1)(a)=…=f(m−1)(a)=0.
We may define (univariate) multiplicity codes as follows. For the rest of the manuscript, we fix integers r≥1 and k∈[rn].
Definition 2.3 (Multiplicity codes [17]). For f∈Fq[x], we define its rth jet on a∈Fq as
Ja(r)(f)=(f(a),f(1)(a),…,f(r−1)(a))∈Fqr.
Then we define the k-dimensional multiplicity code of multiplicity r over the evaluation set A as
MA(r,k)={(Ja(r)(f))a∈A:f∈Vk}⊆(Fqr)n,
where we will repeatedly use the abbreviated notation Vk=Fq[x]<k.
Technically, we should write (Fqr)A instead of (Fqr)n, but we implicitly assume some ordering of A.
Clearly, MA(1,k) (i.e., multiplicity codes for r=1) correspond to classical Reed–Solomon codes [16]. The following result follows since the polynomials x−a, for different a∈Fq, are pairwise coprime and k≤rn.
Proposition 2.4. The evaluation map
evA:Vk⟶MA(r,k),
which sends f∈Vk to (Ja(r)(f))a∈A, is a vector space isomorphism. In particular,
dim(MA(r,k))=k.
2.2 The NRT metric
In this article, we will consider multiplicity codes with respect to the NRT metric, which was introduced in [17, Sec. 1].
Definition 2.5 (NRT metric [17]). For z=(z0,z1,…,zr−1)∈Fqr, we define its NRT weight as
wt(z)={0,r−j,ifz=0,ifj=min{i∈[0,r−1]:zi=0}.
For c=(ca)a∈A∈(Fqr)n, we define its NRT weight as
wt(c)=a∈A∑wt(ca).
Finally we define the NRT metric by d(c,c′)=wt(c−c′), for all c,c′∈Fqr and c,c′∈(Fqr)n. Context will clarify in which of the two cases we are in.
As usual, given a code C⊆(Fqr)n, we define its minimum NRT distance as
d(C)=min{d(c,c′):c,c′∈C,c=c′},
which coincides with the minimum NRT weight of a nonzero codeword if C is linear.
Observe that, for r=1, the NRT metric coincides with the classical Hamming metric in Fqn. The NRT metric also satisfies a Singleton bound for every r≥1. See [17, Th. 1].
Proposition 2.6 (Singleton bound [17]). Given a code C⊆(Fqr)n with d=d(C) and k=logq∣C∣ (i.e., the dimension over Fq of C if it is linear), then
d≤rn−k+1.
It was shown in [17, Th. 6] that multiplicity codes attain such a Singleton bound.
Proposition 2.7 ([17]). For the multiplicity code MA(r,k), we have
d(MA(r,k))=rn−k+1.
As usual, we say that a map T:(Fqr)n⟶(Fqr)n is a linear isometry for the NRT metric if it is linear and wt(T(c))=wt(c), for all c∈(Fqr)n. We have the following characterization of the linear isometries for the NRT metric. We will use the elements a∈A as the subindices for tuples in (Fqr)n. Later this notation will prove quite useful. The following result, obtained first in [11], was generalized to poset metrics in [15, Th. 1].
Proposition 2.8 ([11]). A linear map T:(Fqr)n⟶(Fqr)n is an isometry for the NRT metric if and only if there exists a permutation π:A⟶A and upper triangular matrices Aa∈GLr(Fq), for a∈A, such that
T((za)a∈A)=(zπ(a)Aa)a∈A,
for all (za)a∈A∈(Fqr)n.
The two main objects of our interest in this manuscript are the following two groups.
Definition 2.9 (Permutation and automorphism groups). We define the automorphism group of MA(r,k) as the group Aut(MA(r,k)) of linear isometries T:(Fqr)n⟶(Fqr)n for the NRT metric such that
T(MA(r,k))=MA(r,k).
Given a permutation π:A⟶A, we define Pπ:(Fqr)n⟶(Fqr)n by Pπ((za)a∈A)=(zπ−1(a))a∈A, for all (za)a∈A∈(Fqr)n. Finally, we define the permutation group of MA(r,k) as the group PAut(MA(r,k)) of maps Pπ:(Fqr)n⟶(Fqr)n, for permutations π:A⟶A, such that
Pπ(MA(r,k))=MA(r,k).
Remark 2.10. We associate π−1 to Pπ so that the map that sends a permutation π of A to the linear isometry Pπ is a group morphism instead of an anti-morphism (i.e., with our definition, Pπ∘Pρ=Pπ∘ρ, for all permutations π,ρ:A⟶A).
Remark 2.11. In the literature, multiplicity codes are considered sometimes with the NRT metric [4, 6, 12, 17] and sometimes with the folded Hamming metric [10, 14] (i.e., the classical Hamming metric in (Fqr)n with length n and alphabet Fqr). With the latter, they are MDS (if r∣k) and dually quasi MDS (otherwise), see [14, Cor. 31]. The permutation and automorphism groups Aut(MA(r,k)) and PAut(MA(r,k)) are both subgroups of the automorphism group of MA(r,k) for the folded Hamming metric by [13, Th. 2] (see also [14, Prop. 5]). However, the results on automorphism groups for Reed–Solomon codes for the Hamming metric [5] generalize very naturally to multiplicity codes in the NRT metric, as we show throughout this paper. However, we also discuss their folded Hamming metric automorphisms in Section 8.
2.3 The projective line
We will need some basic facts regarding the projective line over Fq, which we revisit here. For more details, we refer the reader to [1,9].
Definition 2.12 (Projective line). Define in Fq2∖{0} the equivalence relation (u1,u2)∼(v1,v2) if there exists λ∈Fq∗ such that (v1,v2)=(λu1,λu2), for all (u1,u2),(v1,v2)∈Fq2∖{0}. Denote by [v1:v2] the class of (v1,v2)∈Fq2∖{0} with respect to that relation. The projective line P1(Fq) is simply defined as the quotient (Fq2∖{0})/∼, i.e., the set of equivalence classes
P1(Fq)={[v1:v2]:(v1,v2)∈Fq2∖{0}}.
Observe that if [v1:v2]∈P1(Fq) is such that v2=0, then the same happens for any other representative of its class, and dividing by v2, we obtain
[v1:v2]=[v1v2−1:1].
Similarly, if v=0, then [v:0]=[1:0]. Thus if we denote ∞=[1:0] and identify a∈Fq with [a:1], we may write P1(Fq) as a disjoint union
P1(Fq)=Fq∪{∞}.
We will make use of projectivities, especially in fractional form.
Definition 2.13 (Projectivities). Given
M=(αβγδ)∈GL2(Fq),
we define the projectivity ψM:P1(Fq)⟶P1(Fq) by
ψM([v1:v2])=[(v1,v2)⋅M],
which does not depend on the representative (v1,v2)∈Fq2∖{0}. In Fq∪{∞}, it acts in fractional form as
ψM(x)=γx+δαx+β,
for all x∈Fq such that γx+δ=0. If γ=0, then it also acts as
ψM(−δγ−1)=∞andψM(∞)=αγ−1.
We say then that −δγ−1∈Fq is the pole of ψM. Finally, we define the group of all projectivities in P1(Fq) as
PGL(Fq)={ψM:M∈GL2(Fq)}.
Observe that projectivities are bijective (i.e., permutations of P1(Fq)) and two matrices M,N∈GL2(Fq) define the same projectivity (ψM=ψN) if and only if there exists λ∈Fq∗ such that N=λM. Note also that ψM(∞)=∞ (i.e., ψM(Fq)=Fq) if and only if γ=0, in which case we may take δ=1 and the projectivity becomes
ψM(x)=αx+β,
for x∈Fq, which is an affinity (or affine map) of the line Fq.
Note also that, in all cases, since M∈GL2(Fq) is invertible, then
Δ=αδ−βγ=0.
We will also need cross ratios.
Definition 2.14 (Cross ratios). Given distinct a,b,c,d∈P1(Fq) with representatives u,v,w,t∈Fq2∖{0}, respectively, we define the cross ratio
which does not depend on the chosen representatives. When a,b,c,d∈Fq, their cross ratio coincides with
[a,b;c,d]=(a−d)(b−c)(a−c)(b−d).
We will need the following classical facts, see [1, Cor. 3.6.3] and [9, Sec. 6.1].
Proposition 2.15. Given three distinct points a,b,c∈P1(Fq) and another three distinct points a′,b′,c′∈P1(Fq), there exists a unique projectivity ψM:P1(Fq)⟶P1(Fq) such that
ψM(a)=a′,ψM(b)=b′andψM(c)=c′.
Proposition 2.16. Projectivities preserve cross ratios. That is, given distinct a,b,c,d∈P1(Fq) and a projectivity ψM:P1(Fq)⟶P1(Fq), then
[ψM(a),ψM(b);ψM(c),ψM(d)]=[a,b;c,d].
Proposition 2.17. Fix three distinct a,b,c∈Fq. Then the map ϕ:Fq∖{a,b,c}⟶Fq given by ϕ(d)=[a,b;c,d], for all d∈Fq∖{a,b,c}, is injective.
3 Projectivities yield NRT automorphisms
In this section, we start by showing that the projectivities that keep A invariant are all automorphisms of MA(r,k). Throughout this section, fix an arbitrary
M=(αβγδ)∈GL2(Fq).
On the polynomial side, projectivities will act as follows.
Definition 3.1. We define ΨM,k:Vk⟶Vk by
ΨM,k(f)=(γx+δ)k−1f(γx+δαx+β).
Sometimes we will write ΨM,kf instead of ΨM,k(f).
Proposition 3.2. The map ΨM,k from Definition 3.1 is well defined and a vector space automorphism of Vk.
Proof. If f=f0+f1x+⋯+fk−1xk−1∈Vk, then
ΨM,k(f)=i=0∑k−1fi(αx+β)i(γx+δ)k−1−i∈Vk.
Thus clearly ΨM,k is well-defined, linear and its image is contained in Vk. Now, for another
In other words, ΨM,k∘ΨN,k=ΨMN,k, which implies that ΨM,k is invertible with inverse ΨM−1,k (since the identity matrix yields the identity automorphism of Vk), and we are done.
We may now show that projectivities give NRT automorphisms of MA(r,k). The key point is that the associated matrices in each block are upper triangular.
Proposition 3.3. Let a∈Fq be a point distinct from the pole of ψM. Set
b=ψM(a)∈Fqandca=γa+δ∈Fq∗.
For m∈[k], define the upper triangular matrix Ra,M,k(m)∈Fqm×m by
where in the last equality we define j=i+ℓ. Thus, the coefficient of yj in the ith term of the sum is zero if i>j, and adding the coefficients of yj for i∈[0,j], we obtain
As an immediate consequence of Proposition 3.3, we obtain the following family of automorphisms of multiplicity codes.
Corollary 3.6. Assume that ψM(A)=A (in particular, a is not the pole of ψM, for all a∈A). If k≥r, then TM:(Fqr)n⟶(Fqr)n given by
TM((za)a∈A)=(zψM(a)Ra,M,k(r))a∈A,
for all (za)a∈A∈(Fqr)n, belongs to Aut(MA(r,k)). If k<r, the same holds for TM:(Fqr)n⟶(Fqr)n given by
TM((za)a∈A)=(zψM(a)Ra,M,k)a∈A,
where
Ra,M,k=(Ra,M,k(k)00Ir−k)∈GLr(Fq).
Proof. Combine Equation (1) with Proposition 3.2. In the case k<r, use Equation (1) with m=k and notice that the last r−k components of Ja(r)(f) are zero for all f∈Vk and a∈A. □
In the remainder of the paper, we show that for most dimensions these are all the elements in Aut(MA(r,k)), except for multiplication by nonzero scalars.
4 The permutation is a projectivity
In this section, fix T∈Aut(MA(r,k)). By Proposition 2.8, there exist a permutation π:A⟶A and upper triangular matrices Aa∈GLr(Fq), for a∈A, such that
T((za)a∈A)=(zπ(a)Aa)a∈A,
for all (za)a∈A∈(Fqr)n. We will need the following linear operator, which will end up being ΨM,k from Proposition 3.2, up to a nonzero scalar.
Proposition 4.1. There exists a unique vector space automorphism L:Vk⟶Vk such that
Ja(r)(Lf)=Jπ(a)(r)(f)Aa,(2)
for all a∈A and all f∈Vk. We will indistinctively write L(f) or Lf, for f∈Vk.
Proof. Existence follows because T∈Aut(MA(r,k)) and uniqueness by Proposition 2.4.
We will also need the following multiplicity-root subspaces of Vk.
Definition 4.2. For a∈A and t∈[0,min{r,k}], we define the subspace
Ka,t=(x−a)tVk−t⊆Vk,
or in other words, the subspace of polynomials of degree less than k that have a as a root of multiplicity at least t (see Proposition 2.2).
Next we show that L sends such subspaces in the “opposite direction” than the permutation π associated to T. Notice that here we use that the matrices Aa are upper triangular.
Lemma 4.3. For every a∈A and t∈[0,min{r,k}],
L(Kπ(a),t)=Ka,t.
Proof. Let c=(c0,c1,…,cr−1)∈Fqr. Since Aa is upper triangular and invertible, then the first t components of c are zero if and only if so are the first t components of cAa (i.e., wt(cAa)=wt(c) for NRT weights, see also Proposition 2.8). Applying this fact to the defining Equation (2) and using Proposition 2.2, the result follows.
We now consider subspaces for multiplicities of roots among all elements of A.
For b∈A, we define 1b∈[0,r]A as the indicator function of b, i.e., for all a∈A,
(1b)a={01,ifa=b,,ifa=b.
The proof of the following result is straightforward using Lemma 4.3.
Lemma 4.5. If e∈[0,r]A and ∣e∣<k, then
Ke=PeVk−∣e∣.
Moreover, if ρ=π−1:A⟶A, and we define ρ(e)∈[0,r]A by
ρ(e)a=eπ(a),
for all a∈A, then we have
L(Ke)=Kρ(e).
In particular, if ∣e∣=k−1, then L(Pe)=λePρ(e), for some λe∈Fq∗.
As we will show later, the vector lines Ke, for ∣e∣=k−1, are crucial for showing that π is given by a projectivity. However, in order to relate these lines, we will need to use the vector planes Ke, for ∣e∣=k−2. Subtract one dimension for the projective point of view.
Lemma 4.6. Assume n=∣A∣≥4 and 2≤k≤rn−r. Assume also k≤n−2 if r=1. Given four distinct points a,b,c,d∈A, there exists e∈[0,r]A such that
∣e∣=k−2andmax{ea,eb,ec,ed}≤r−1.
Proof. If we allow max{ea,eb,ec,ed}≤r−1 and ez≤r, for all z∈A∖{a,b,c,d}, then e may have total sum up to
∣e∣≤4(r−1)+(n−4)r=nr−4.
If r≥2, since k≤rn−r, then
k−2≤rn−r−2≤rn−4.
In the case r=1, since k≤n−2, then we also have k−2≤n−4=rn−4. Thus k−2 multiplicities may be distributed among the components of e as desired.
We may now start to see why π is a projectivity: it preserves cross ratios.
Lemma 4.7. Assume n=∣A∣≥4 and 2≤k≤rn−r. Assume also k≤n−2 if r=1. If a,b,c,d∈A are distinct, then
[π(a),π(b);π(c),π(d)]=[a,b;c,d].
Proof. Choose e∈[0,r]A as in Lemma 4.6. Since ∣e∣=k−2, by Lemma 4.5, we have that
Ke=PeV2=⟨xPe,Pe⟩Fq,
which has dimension 2. For z∈{a,b,c,d}, since ez≤r−1, we may increase the multiplicity at z by one, obtaining the subspace
Ke+1z=⟨(x−z)Pe⟩Fq⊆Ke,
which has dimension 1. By checking each component at every y∈A, the reader may verify that
ρ(e+1z)=ρ(e)+1ρ(z),
for all z∈{a,b,c,d}, for the permutation ρ=π−1:A⟶A. Thus by Lemma 4.5,
L(Ke+1z)=Kρ(e)+1ρ(z).
In the ordered bases (xPe,Pe) and (xPρ(e),Pρ(e)) of Ke and Kρ(e), respectively, the lines Ke+1z and Kρ(e)+1ρ(z) are generated by the vectors with coordinates (1,−z),(1,−ρ(z))∈Fq2, respectively, for z∈{a,b,c,d}. Hence the projectivity associated to L:Ke⟶Kρ(e), in such bases, sends the projective point [1:−z] to [1:−ρ(z)], for z∈{a,b,c,d}. Since projectivities preserve cross ratios (Proposition 2.16) and cross ratios do not depend on the chosen bases (which is essentially the same result), we deduce that
Since ρ=π−1, we deduce that π also preserves cross ratios.
Finally, we can show that π is given by a projectivity.
Proposition 4.8. Assume n=∣A∣≥3 and 2≤k≤rn−r. Assume also k≤n−2 if r=1. Then there exists a unique projectivity ψM∈PGL(Fq) such that
π(a)=ψM(a),
for all a∈A. In particular, ψM(A)=A.
Proof. If n=3, any permutation of A can be extended to a projectivity of P1(Fq) by Proposition 2.15. Now assume n≥4. Fix three distinct points a,b,c∈A. By Proposition 2.15, there exists a unique projectivity ψM∈PGL(Fq) such that
ψM(a)=π(a),ψM(b)=π(b)andψM(c)=π(c).
For any d∈A∖{a,b,c}, Lemma 4.7 for π and Proposition 2.16 for ψM yield
By Proposition 2.17, we have that π(d)=ψM(d), for all d∈A∖{a,b,c}. Thus π=ψM in A. □
Remark 4.9. If A=Fq, then the condition ψM(A)=A means that ψM(∞)=∞. As shown after Definition 2.13, this means that ψM is affine. Hence for A=Fq, Proposition 4.8 says that there exist α,β∈Fq, with α=0 (since α=Δ), such that
π(a)=αa+β,
for all a∈Fq.
5 The (k−1)-degree graph and the scalar λ
In this section, we assume that
n=∣A∣≥3,2≤k≤rn−r,andk≤n−2ifr=1.(3)
Let T∈Aut(MA(r,k)). As shown in Proposition 2.8, T consists of a permutation π:A⟶A and products by upper triangular invertible matrices. By Proposition 4.8, there exists a projectivity ψM∈PGL(Fq) such that π(a)=ψM(a), for all a∈A. In particular, since TM∈Aut(MA(r,k)) also has permutation associated to ψM by Corollary 3.6, then T∘TM−1∈Aut(MA(r,k)) is an automorphism whose permutation is the identity.
Thus, in this section we just fix T∈Aut(MA(r,k)) whose permutation π is the identity in A. We will show in this section that then there exists λ∈Fq∗ such that L(f)=λf, for all f∈Vk. This will later be used to show that T(c)=λc, for all c∈(Fqr)n, which will conclude the classification problem for most parameters.
By Lemma 4.5, there exists λe∈Fq∗ such that
L(Pe)=λePe,(4)
for all e∈[0,r]A such that ∣e∣=k−1. We will show that λe is independent of such e∈[0,r]A using the (k−1)-degree graph.
Definition 5.1. Let G be the graph whose vertices are the vectors e∈[0,r]A such that ∣e∣=k−1, and whose edges are the following. Given two vertices e and e′, {e,e′} is an edge of G if
e=c+1a,e′=c+1b,
for distinct a,b∈A and some c∈[0,r]A (with ∣c∣=k−2) with at least three components strictly smaller than r (notice two of them correspond to a and b).
The key fact is that this graph is connected.
Lemma 5.2. Assuming (3), the (k−1)-degree graph G from Definition 5.1 is connected.
Proof. Clearly, G is a subgraph of the ordinary transfer graph G′. Recall that G′ is the graph whose vertices are the same vectors e∈[0,r]A, with ∣e∣=k−1, and where two such vertices e,e′ form an edge if and only if one can obtain e′ from e by subtracting 1 in one component and adding it to another component. In other words, if there exists c∈[0,r]A (with ∣c∣=k−2) and distinct a,b∈A such that
e=c+1aande′=c+1b.
This graph G′ is connected: given any two vertices e and e′, one can travel from e to e′ by successively transferring one unit from one component to another, since ∣e∣=k−1=∣e′∣.
Consider now two vertices e,e′ of G that are neighbours in G′, i.e., there exists c∈[0,r]A and distinct a,b∈A such that
e=c+1aande′=c+1b.
If at least three components of c are strictly smaller than r, then this edge is in G. Assume this is not the case, that is, a and b are the only coordinates with ca≤r−1 and cb≤r−1. Since ∣c∣=k−2, then
rn−∣c∣=rn−k+2≥r+2,
by the assumptions at the beginning of this section. If we denote the deficits as δa=r−ca and δb=r−cb, then
δa+δb≥r+2,henceca+cb≤r−2.(5)
Notice that, if r=1, then δa+δb≤2, which contradicts the first inequality in (5). Hence if r=1, the edge must be in G necessarily.
From now on, we assume r≥2. Choose s∈A∖{a,b}, which exists since we are assuming that n=∣A∣≥3. Replace now the edge {e,e′} in G′ (recall we are assuming it is not in G) by the two edges {e,m} and {m,e′}, also in G′, where
m=c−1s+1a+1b.
Notice that m∈[0,r]A since we are assuming that cs=r≥2, ca≤r−1 and cb≤r−1. For the edge {e,m}, we have that
e=(c−1s+1a)+1sandm=(c−1s+1a)+1b,
where c−1s+1a∈[0,r]A has components strictly smaller than r in the three distinct coordinates a,b,s, since we are assuming that cs≤r, cb≤r−1 and it holds that ca+1≤r−1 by Equation (5). Therefore {e,m} is an edge of G. In the same way, {m,e′} is also an edge of G.
Hence, for any two vertices e,e′ of G, one can take a path between them inside the transfer graph G′ (recall that it is connected), and replace each edge of the path, if necessary, by two edges in G as shown above. We thus conclude that G is connected.
We are now ready to show that λe does not depend on e.
Lemma 5.3. Assuming (3), there exists λ∈Fq∗ such that
L(Pe)=λPe,
for all e∈[0,r]A such that ∣e∣=k−1.
Proof. Let e,e′ be two neighbour vertices in the (k−1)-degree graph G. By definition, there exists c∈[0,r]A with ∣c∣=k−2, with at least three components strictly smaller than r and
e=c+1aande′=c+1b,
for distinct a,b∈A. In particular, there exists s∈A∖{a,b} such that max{ca,cb,cs}≤r−1. The 2-dimensional subspace
Kc=PcV2
is invariant by L (by Lemma 4.5 since π is the identity) and contains the three eigenvectors
by Equation (4). Since the three eigenvectors lie in a plane and any two of them are linearly independent, we conclude that their three eigenvalues coincide (the proof of this Linear Algebra fact is left to the reader). Now, the eigenvalues for Pc+1a=Pe and Pc+1b=Pe′ are, respectively, λe and λe′. Thus they are equal.
In other words, the eigenvalues λe are equal for neighbour vertices in G. Since this graph is connected by Lemma 5.2, we conclude that the eigenvalues in Equation (4) are equal for all e∈[0,r]A such that ∣e∣=k−1, and we are done.
A final key ingredient is that Pe, for ∣e∣=k−1, generate the whole space Vk.
Lemma 5.4. Assuming (3), For all j∈[0,k−1], we have that
⟨{Pe:e∈[0,r]A,∣e∣=j}⟩Fq=Fq[x]≤j=Vj+1.
Proof. We proceed by induction on j. For j=0, the result is trivial. Assume the lemma holds for j∈[0,k−2], and let us prove it for j+1. Let c∈[0,r]A be such that ∣c∣=j. At least two components of c are strictly smaller than r. Otherwise, at least n−1 of its components would equal r, giving
j≥(n−1)r=nr−r,
and we are assuming that
j≤k−2≤nr−r−2=nr−r−2.
Hence we may choose distinct a,b∈A such that ca<r and cb<r. Then
Pc+1a−Pc+1b=(b−a)Pc.
Thus for all c∈[0,r]A such that ∣c∣=j, we have
Pc∈⟨{Pe:e∈[0,r]A,∣e∣=j+1}⟩Fq.
By induction hypothesis, we have that
Fq[x]≤j⊆⟨{Pe:e∈[0,r]A,∣e∣=j+1}⟩Fq.
Since there exists at least one e∈[0,r]A with ∣e∣=j+1, and Pe is monic of degree j+1, we conclude the result.
We may now conclude the main result of this section. Recall that, at the beginning of this section, we fixed T∈Aut(MA(r,k)) whose associated permutation π:A⟶A is the identity in A. Recall the map L:Vk⟶Vk from Proposition 4.1.
Theorem 5.5. Assuming (3), there exists λ∈Fq∗ such that, for all f∈Vk,
L(f)=λf.
Proof. By Lemma 5.3, there exists λ∈Fq∗ such that L(Pe)=λPe, for all e∈[0,r]A such that ∣e∣=k−1. Since these polynomials generate Vk by Lemma 5.4, we conclude that L(f)=λf, for all f∈Vk.
6 The automorphism group
In this section, we collect the results from Sections 4 and 5 to show that automorphisms of multiplicity codes are given by projectivities, up to multiplication by a scalar in Fq∗, for the “central dimension” range, meaning n≥3 and r≤k≤nr−r (and 2≤k≤n−2 when r=1).
The “low and high” dimensional ranges (2≤k≤r−1 and nr−r+1≤k≤nr−2) are treated in Appendix A. The rest of the cases (i.e., the four cases k=1, k=rn−1, n=1 and n=2) are treated in Appendix B. Notice that for k=rn, we obtain the full-space code (Fqr)n.
The following result recovers (by setting r=1) the classical characterization of the automorphism group (in the classical Hamming metric) of Reed–Solomon codes by Dur [5, Th. 4].
Theorem 6.1 (Central range). Assume that n=∣A∣≥3 and r≤k≤nr−r. Assume also 2≤k≤n−2 if r=1. A linear isometry T:(Fqr)n⟶(Fqr)n for the NRT metric lies in Aut(MA(r,k)) if and only if there exists λ∈Fq∗ and a projectivity ψM∈PGL(Fq) such that ψM(A)=A and
T((za)a∈A)=λ(zψM(a)Ra,M,k(r))a∈A,
for all (za)a∈A∈(Fqr)n, where the invertible upper triangular matrices Ra,M,k(r)∈Fqr×r are given in Proposition 3.3. On polynomials, we have that L:Vk⟶Vk (Proposition 4.1) acts as
L(f)=λΨM,k(f)=λ(γx+δ)k−1f(γx+δαx+β),
for all f∈Vk, where the matrix associated to ψM is
M=(αβγδ)∈GL2(Fq).
Finally, the projectivity ψM is unique.
Proof. Any linear isometry of the form given in the theorem belongs to Aut(MA(r,k)) by Corollary 3.6. Conversely, given T∈Aut(MA(r,k)), by Proposition 4.8, the permutation associated to T is given by a unique projectivity ψM∈PGL(Fq) such that ψM(A)=A. Now, consider T′=T∘TM−1∈Aut(MA(r,k)), as at the start of Section 5 (see Corollary 3.6 for the definition of TM). Hence the permutation associated to T′ is the identity. Let L′ be the automorphism of Vk associated to T′ from Proposition 4.1, and let Aa′∈GLr(Fq), for a∈A, be the upper triangular matrices associated to T′ from Proposition 2.8. By Theorem 5.5, there exists λ∈Fq∗ such that
L′(f)=λf,
for all f∈Vk. Combined with Proposition 4.1 and the fact that the permutation associated to T′ is the identity, we deduce that
λJa(r)(f)=Ja(r)(L′f)=Ja(r)(f)Aa′,
for all a∈A. Now since k≥r, then the evaluation map
eva:Vk⟶Fqr,
given by ev(f)=Ja(r)(f), for f∈Vk, is surjective. We deduce that
Aa′=diag(λ,λ,⋯,λ)=λIr∈Fqr×r,
for all a∈A. In other words, T′(c)=λc, for all c∈(Fqr)n. Thus T=λTM, as desired.
As a group, we have the following isomorphism.
Corollary 6.2. Assume that n=∣A∣≥3 and r≤k≤nr−r. Assume also 2≤k≤n−2 if r=1. Define GL(A) as the subgroup of matrices M∈GL2(Fq) such that ψM(A)=A. We have a natural group isomorphism
Aut(MA(r,k))≅(Fq∗×GL(A))/Hk,
for the subgroup Hk={(c−(k−1),cI2):c∈Fq∗} of Fq∗×GL(A). The isomorphism sends T∈Aut(MA(r,k)) to the class of (λ,M) modulo Hk, where λ∈Fq∗ and M∈GL(A) are as in Theorem 6.1.
Proof. Define the group morphism
ϕ:Fq∗×GL(A)⟶Aut(MA(r,k))
by ϕ(λ,M)=λTM (Corollary 3.6), which is surjective by Theorem 6.1. Now, let (λ,M),(μ,N)∈Fq∗×GL(A) be such that λTM=μTN. By uniqueness of the projectivity, we have that ψM=ψN, thus there exists c∈Fq∗ such that N=cM. Now, we have that
Ra,cM,k(r)=ck−1Ra,M,k(r),
for a∈A. Hence
λTM=μTN=μTcM=μck−1TM.
This implies that μ=c−(k−1)λ. In particular, μTN is the identity if and only if N=cI2 and μ=c−(k−1), thus ker(ϕ)=Hk and the result follows.
Define PGL(A) as the subgroup of projectivities ψM∈PGL(Fq) such that ψM(A)=A. Although it is true that PGL(A) ≅ GL(A)/ {cI2:c∈Fq∗}, in general we have that
(Fq∗×GL(A))/Hk≅Fq∗×PGL(A).
Example 6.3. Let q=5, A=F5∗ and k=2. In this case, the automorphism group of the Reed–Solomon code over F5∗ of dimension 2 is isomorphic to
{(c−1,cI2):c∈F5∗}F5∗×GL(A)≅GL(A).
The center of this group is {cI2:c∈F5∗}, of size 4. On the other hand, PGL(A) is isomorphic to the dihedral group D8. Thus
F5∗×PGL(A)≅C4×D8,
whose center has size 4⋅2=8.
In some cases, however, we may obtain simpler groups. Next we give a sufficient condition to obtain the group GL(A).
Proposition 6.4. If q - 1 and k - 1 are coprime, then
(Fq∗×GL(A))/Hk≅GL(A).
Proof. We may choose the inverse d∈[q−2] of k−1 modulo q−1, and deduce that Hk={(c,c−dI2):c∈Fq∗}. Map (λ,M) to λdM. This yields a surjective morphism from Fq∗×GL(A) to GL(A). Clearly its kernel is Hk, giving the desired isomorphism.
When k−1 and q−1 share a common factor, the automorphism group may not be isomorphic to GL(A).
Example 6.5. Take q=7, A=F7∗ and k=3. In this case, GL(F7∗) has an element of order 12:
M=(0310).
However, every element of the group (F7∗×GL(F7∗))/H3 has order at most 6. This is because for every (λ,M)∈F7∗×GL(F7∗), M is diagonal or antidiagonal. In the first case, (λ6,M6)=(1,I2), and in the second case, M2=dI2, for some d∈F7∗. Thus (λ6,M6) equals (1,d3I2) modulo H3, which is the identity in the quotient since (1,d3I2)∈H3.
We conclude with the whole-field case (A=Fq).
Corollary 6.6 (Whole field). Assume that q≥3, A=Fq and r≤k≤qr−r. Assume also 2≤k≤q−2 if r=1. We have that T∈Aut(MFq(r,k)) if and only if there exist λ,α∈Fq∗ and β∈Fq such that
T((za)a∈Fq)=λ(zαa+β⋅diag(1,α,…,αr−1))a∈Fq,
for (za)a∈Fq∈(Fqr)q. In particular, if AGL(Fq) denotes the group of affine maps of Fq, then
Aut(MFq(r,k))≅Fq∗×AGL(Fq).
Proof. The projectivity ψM in Theorem 6.1 associated to T satisfies ψM(Fq)=Fq, thus it is affine (see Subsection 2.3), i.e., we may choose γ=0 and δ=1. As in Remark 3.4, in this case we have
Ra,M,k(r)=diag(1,α,α2,…,αr−1),
for all a∈Fq, which gives the desired form of T. Now in this case, for the affine map ψM, there is only one matrix M∈GL2(Fq) of the form
M=(αβ01),
where α∈Fq∗ and β∈Fq. Sending T to the pair (λ,ψM−1) gives the desired group isomorphism (ψM−1 is chosen since ψN∘ψM=ψMN, thus ψM−1∘ψN−1=ψ(MN)−1, for M,N∈GL2(Fq)). □
7 The permutation group
In this section, we compute the permutation group PAut(MA(r,k)) using the results from Section 6. In contrast with the full NRT automorphism group (Theorems 6.1, A.1 and A.3), the group PAut(MA(r,k)) is quite different for the cases r=1 and r≥2. In the first case (classical Reed–Solomon codes), it is formed by all affine maps that permute A (see also [2]), whereas in the pure multiplicity case ( r≥2), it is formed by all affine translations that permute A.
For brevity, we will only treat the case of at least 3 points. We state the results for almost all dimensions (2≤k≤rn−2), but we will only prove the central case (r≤k≤rn−r). The proof of the lower and higher ranges is analogous but using Theorems A.1 and A.3.
Theorem 7.1. Assume that n=∣A∣≥3 and 2≤k≤nr−2. A permutation π:A⟶A satisfies that Pπ∈PAut(MA(r,k)) (Definition 2.9) if and only if it is of the following form:
If r=1: π(a)=αa+β, for all a∈A, for some α∈Fq∗ and β∈Fq (affinity).
If r≥2: π(a)=a+β, for all a∈A, for some β∈Fq (translation).
Notice that in all cases, π(A)=A.
Proof. We first notice that Pπ∈PAut(MA(r,k)) if and only if Pπ−1=Pπ−1∈PAut(MA(r,k)).
Given β∈Fq, it is easy to see that if f(x)∈Vk and g(x)=f(x+β)∈Vk, then f(i)(a+β)=g(i)(a), for all i∈N and a∈A (Hasse derivatives commute with translations). Hence if π(a)=a+β, for a∈A, then Pπ−1∈PAut(MA(r,k)), thus Pπ∈PAut(MA(r,k)). For r=1, it is straightforward to verify that all affine permutations leave Reed–Solomon codes invariant.
Assume now r≤k≤rn−r (and 2≤k≤n−2 if r=1). Let Pπ∈PAut(MA(r,k)), hence Pπ−1=Pπ−1∈PAut(MA(r,k)). Since PAut(MA(r,k))⊆Aut(MA(r,k)), by Theorem 6.1, there exists λ∈Fq∗ and a projectivity ψM∈PGL(Fq) such that ψM(A)=A and
for all (za)a∈A∈(Fqr)n. By uniqueness of ψM (see Theorem 6.1), it must hold that π(a)=ψM(a), for a∈A. Using that the evaluation map ev:Vk⟶Fqr is surjective ( k≥r), as in the proof of Theorem 6.1, we deduce that
λRa,M,k(r)=Ir,(6)
for all a∈A.
Consider first the case r≥2. By Proposition 3.3, looking at the first two diagonal elements, we have that
λ(γa+δ)k−1=1andλΔ(γa+δ)k−3=1.
Dividing, we obtain
(γa+δ)2Δ=1,thatis,(γa+δ)2−Δ=0.
This holds for all a∈A and we are assuming n=∣A∣≥3. Hence the polynomial (γx+δ)2−Δ has degree at most 2 but at least 3 roots, thus it must be zero. Therefore γ=0 and Δ=δ2. Since Δ=αδ−βγ=0, we deduce that δ=0 and δ2=αδ. In other words, δ=α. Since the projectivity does not change when multiplied by a nonzero scalar, we may choose α=δ=1, and the projectivity reads
ψM(a)=γa+δαa+β=a+β,
for all a∈A, which is of the desired form. Finally, for γ=0 and α=δ=1, we have that Ra,M,k(r)=Ir by Remark 3.4. Hence λ=1 by Equation (6).
Finally, consider r = 1. In this case Equation (6) becomes
λ(γa+δ)k−1=1,
for a∈A. Since 2≤k≤n−2, the polynomial
(γx+δ)k−1−λ−1
has degree at most k−1<n and vanishes at every point of A. It is therefore the zero polynomial. Since k−1>0, its leading coefficient gives γ=0. As before, δ=0, dividing by it and redefining α and β as αδ−1 and βδ−1, respectively, we have for a∈A,
π(a)=ψM(a)=αa+β.
For r≥3 and the ranges 2≤k≤r−1 and nr−r+1≤k≤nr−2, the proofs are similar, except we need to use Theorems A.1 and A.3, respectively, from Appendix A. We leave the details to the reader. In the first case, use the first two entries of the diagonal and in the second case, the last two. In this way, one obtains
(γa+δ)2=Δ,
for all a∈A, and one proceeds as above.
As groups, we have the following isomorphisms.
Corollary 7.2. Assume that n=∣A∣≥3 and 2≤k≤nr−2. Define AGL( A) and T( A) as the groups of affine maps and translations of Fq, respectively, that leave A invariant. Then we have natural group isomorphisms from Theorem 7.1:
If r=1: PAut(MA(1,k))≅AGL(A).
If r≥2: PAut(MA(r,k))≅T(A).
8 The folded Hamming metric
Since multiplicity codes are sometimes considered with the folded Hamming metric [10, 14], we conclude the manuscript with an algebraic description of the automorphisms of multiplicity codes in this metric. As we will see, all the NRT automorphisms found in Section 6 are also automorphisms for the folded Hamming metric. However, for the latter, there are many more.
Definition 8.1. We define the r-folded Hamming weight in (Fqr)n as
wtFH((za)a∈A)=∣{a∈A:za=0}∣,
for all (za)a∈A∈(Fqr)n. For two c,c′∈(Fqr)n, we define their r-folded Hamming distance as dFH(c,c′)=wtFH(c−c′). Notice that this is the same as the classical Hamming metric in (Fqr)n of length n and alphabet Fqr.
The linear isometries for the folded Hamming metric were characterized in [13, Th. 2] (see also [14, Prop. 5]).
Proposition 8.2 ([13]). A linear map T:(Fqr)n⟶(Fqr)n is an isometry for the r-folded Hamming metric if and only if there exists a permutation π:A⟶A and arbitrary invertible matrices Aa∈GLr(Fq), for a∈A, such that
T((za)a∈A)=(zπ(a)Aa)a∈A,
for all (za)a∈A∈(Fqr)n.
Definition 8.3 (Folded automorphism groups). We define the r-folded automorphism group of MA(r,k) as the group FAut(MA(r,k)) of linear isometries T:(Fqr)n⟶(Fqr)n for the r-folded Hamming metric such that
T(MA(r,k))=MA(r,k).
Clearly, every linear isometry for the NRT metric is also an isometry for the folded Hamming metric (compare Propositions 2.8 and 8.2). In particular, we have the chain
PAut(MA(r,k))⊆Aut(MA(r,k))⊆FAut(MA(r,k)),
and all the NRT automorphisms from Section 6 are also automorphisms of multiplicity codes for the folded Hamming metric. We now give an algebraic characterization of the latter. Again, for brevity, we will only treat the “central dimension” range for at least three evaluation points. Since clearly the NRT and r-folded Hamming metrics both coincide with the classical Hamming metric for r=1, we only consider r≥2.
Consider as in Definition 4.2 the subspaces
Ka=Ka,r=(x−a)rVk−r,
for a∈A. Denoting the tuple of such subspaces as KA,r,k=(Ka)a∈A, we define
where GL(Vk) is the group of vector space automorphisms of Vk and Sym(A) is the symmetric group of A.
Theorem 8.4 (Folded Hamming automorphisms). Assume that n=∣A∣≥3, r≥2 and r≤k≤nr−r. Then there is a natural group isomorphism
FAut(MA(r,k))≅Aut(KA,r,k).
More precisely, if T∈FAut(MA(r,k)) is given by
T((za)a∈A)=(zπ(a)Aa)a∈A,
for all (za)a∈A∈(Fqr)n, for a permutation π of A and Aa∈GLr(Fq), for a∈A, and L:Vk⟶Vk is the induced polynomial automorphism (adapt Proposition 4.1 to the folded Hamming metric), then the group isomorphism is given by
T⟼(L,π−1).
If k>r, the subspaces Ka, for a∈A, are distinct and therefore
for all (za)a∈A∈(Fqr)n. The vector space automorphism L:Vk⟶Vk acts as
Ja(r)(Lf)=Jπ(a)(r)(f)Aa,(7)
for all f∈Vk and a∈A (adapt Proposition 4.1 to the folded Hamming metric). Since Aa is invertible, then we deduce from (7) that Ja(r)(Lf)=0 if and only if Jπ(a)(r)(f)=0, which means that L(Kπ(a))=Ka. In other words, if σ=π−1,
L(Kb)=Kσ(b),
for all b∈A. Hence (L,σ)∈Aut(KA,r,k).
Conversely, let (L,σ)∈Aut(KA,r,k) and define π=σ−1. Fix a∈A. Since k≥r, the linear map
Ja(r):Vk⟶Fqr
is surjective and has kernel Ka=L(Kπ(a)). Hence there exists a unique matrix Aa∈GLr(Fq) and induced vector space isomorphisms that make the following diagram commute:
where we identify the matrix Aa with the linear map that consists in multiplying by Aa (on the right, since we define Fqr=Fq1×r). In other words, we have that
Ja(r)(Lf)=Jπ(a)(r)(f)Aa,
for every f∈Vk. The resulting linear map T:(Fqr)n⟶(Fqr)n, given by
T((za)a∈A)=(zπ(a)Aa)a∈A,
for (za)a∈A∈(Fqr)n, is an isometry for the folded Hamming metric and, by construction, T∈FAut(MA(r,k)). This proves the first assertion.
The two maps above are group morphisms and inverses of each other. In the direction FAut(MA(r,k))⟶Aut(KA,r,k), it is because the permutation associated to T is unique and the induced map L is unique by injectivity of evaluation (Proposition 4.1). In the opposite direction, it is because the matrices Aa, for a∈A, that make the above diagrams commute are also unique.
Finally, if k>r, then Ka=(x−a)rVk−r is nonzero, and the spaces Ka are distinct, for a∈A. Therefore the permutation of their labels is determined by L, which gives the stated set-stabilizer description. If k=r, every Ka is zero, and the last assertion follows immediately.
We conclude by using the previous characterization to produce an example of an automorphism for the folded Hamming metric that is not an automorphism for the NRT metric.
Example 8.5. Let A=F3 and r=k=2. Since
Ka=Ka,2=(x−a)2V0=0,
for every a∈F3, Theorem 8.4 shows that every L∈GL(V2), together with the identity permutation of F3, induces a folded-Hamming automorphism of MF3(2,2). Consider the vector space automorphism L:V2⟶V2 given by
L(c0+c1x)=(c0+c1)+(c0+2c1)x,
for c0,c1∈F3. In the canonical ordered basis (1,x) of V2, the matrix of L is
H=(1112)∈GL2(F3).
Fix a∈F3. The matrix of Ja(2):V2⟶F32 in the ordered basis (1,x) and the canonical ordered basis of F32 is
Ea=(1a01).
That is, Ja(2)(f)=(c0,c1)Ea, for (c0,c1)∈F32. Hence the corresponding matrix Aa∈GL2(F3) is
Aa=Ea−1HEa=(1+a1+a−a212−a).
Explicitly,
A0=(1112),A1=(2111)andA2=(0210).
The corresponding automorphism T:(F32)3⟶(F32)3, given by
T((za)a∈F3)=(zaAa)a∈F3,
for (za)a∈F3∈(F32)3, belongs to FAut(MF3(2,2)). However, A0 and A1 have no zero entries, and in particular are neither upper nor lower triangular. Thus T is not an NRT automorphism, i.e., it does not belong to Aut(MF3(2,2)).
Disclosure on AI usage
The full permutation groups and partial results on the automorphism groups were first obtained by the authors. The idea of focusing on the NRT metric instead of the folded Hamming metric is due to the authors, after realizing the classical characterization does not hold for the folded Hamming metric. OpenAI's ChatGPT-5.6 Sol was used to fill the gaps in the proof to obtain the NRT automorphism group in the general case. AI was not used for the writing of the article. The authors take responsibility for the correctness of the results.
Acknowledgements
This work was started while H. H. López, R. San José and E. Camps Moreno were visiting the IMUVa-Mathematics Research Institute, University of Valladolid, Spain.
This work has been partially supported by Grant PID2022-138906NB-C21 funded by MI-CIU/AEI/ 10.13039/501100011033 and by ERDF/EU and Grant CLU-2025-1-02-IMUVA by the Department of Education of the Junta de Castilla y León and FEDER Funds. Hiram H. López was partially supported by the NSF grants DMS-2401558 and DMS-2502705 and the Commonwealth Cyber Initiative. Rodrigo San-José was also partially supported by the NSF grant DMS-2401558, the Commonwealth Cyber Initiative, and an AMS-Simons Travel Grant.
References
[1] A. Beutelspacher and U. Rosenbaum, Projective Geometry: From Foundations to Applications, Cambridge University Press, Cambridge, 1998.
[2] E. Camps-Moreno, J. B. Lau, H. H. López, and W. Santos, The permutation group of Reed–Solomon codes over arbitrary points, in 2025 IEEE International Symposium on Information Theory (ISIT), 2025, 1–6.
[3] E. Camps Moreno, A. Fidalgo-Díaz, H. H. López, U. Martínez-Peñas, D. Ruano, and R. San-José, Duals of multiplicity codes, Designs, Codes and Cryptography 94 (2026), Article 81.
[4] M. B. Can and B. Horowitz, Generalized hyperderivative Reed–Solomon codes, Designs, Codes and Cryptography 94 (2026), Article 91.
[5] A. Dür, The automorphism groups of Reed–Solomon codes, Journal of Combinatorial Theory, Series A 44 (1987), 69–82.
[6] R. Gu and C. Zhang, Unique decoding of hyperderivative Reed–Solomon codes, arXiv preprint arXiv:2601.03982 (2026).
[7] V. Guruswami and C. Wang, Linear-algebraic list decoding for variants of Reed–Solomon codes, IEEE Transactions on Information Theory 59 (2013), no. 6, 3257–3268.
[8] H. Hasse, Theorie der höheren Differentialie in einem algebraischen Funktionenkörper mit vollkommenem Konstantenkörper bei beliebiger Charakteristik, Journal für die reine und angewandte Mathematik 175 (1936), 50–54.
[9] J. W. P. Hirschfeld, Projective Geometries over Finite Fields, 2nd ed., Oxford University Press, Oxford, 1998.
[10] S. Kopparty, S. Saraf, and S. Yekhanin, High-rate codes with sublinear-time decoding, Journal of the ACM 61 (2014), no. 5, Article 28.
[11] K. Lee, The automorphism group of a linear space with the Rosenbloom–Tsfasman metric, European Journal of Combinatorics 24 (2003), 607–612.
[12] H. Li, Z. Zhu, W. Fang, J. Zhang, and S. Hu, Duality and reverse self-dual constructions for hyperderivative Reed–Solomon codes, arXiv preprint arXiv:2607.19905 (2026).
[13] U. Martínez-Peñas, Hamming and simplex codes for the sum-rank metric, Designs, Codes and Cryptography 88 (2020), 1521–1539.
[14] U. Martínez-Peñas and R. Rodríguez-Ballesteros, Linear codes in the folded Hamming distance and the quasi-MDS property, Designs, Codes and Cryptography 93 (2025), no. 12, 5305–5326.
[15] L. Panek, M. Firer, H. K. Kim, and J. Y. Hyun, Groups of linear isometries on poset structures, Discrete Mathematics 308 (2008), 4116–4123.
[16] I. S. Reed and G. Solomon, Polynomial codes over certain finite fields, Journal of the Society for Industrial and Applied Mathematics 8 (1960), no. 2, 300–304.
[17] M. Yu. Rosenbloom and M. A. Tsfasman, Codes for the m-metric, Problems of Information Transmission 33 (1997), no. 1, 45–52.
[18] N. Ron-Zewi, S. Venkitesh, and M. Wootters, Efficient list-decoding of polynomial ideal codes with optimal list size, arXiv preprint arXiv:2401.14517 (2024).
Appendices
A The low and high dimensional cases
In this appendix, we treat the “low and high” dimensional ranges. In these cases, the automorphisms have more degrees of freedom. They cannot be characterized simply by a projectivity up to a nonzero scalar.
Theorem A.1 (Low range). Assume that n=∣A∣≥3, r≥3 and 2≤k≤r−1. A linear isometry T:(Fqr)n⟶(Fqr)n for the NRT metric lies in Aut(MA(r,k)) if and only if there exists λ∈Fq∗, a projectivity ψM∈PGL(Fq) such that ψM(A)=A, and arbitrary upper triangular matrices Ba∈GLr−k(Fq), for a∈A, such that
T((za)a∈A)=(zψM(a)Aa)a∈A,
for all (za)a∈A∈(Fqr)n, and for the upper triangular matrices
Aa=(λRa,M,k(k)00Ba)∈GLr(Fq),
for all a∈A, where the invertible upper triangular matrices Ra,M,k(k)∈Fqk×k are given in Proposition 3.3. Finally, the projectivity ψM is unique.
Proof. The proof is essentially the same as in Theorem 6.1, since we may still use Proposition 4.8 and Theorem 5.5, because we are assuming that n≥3 and 2≤k≤r−1.
Let T∈Aut(MA(r,k)). Hence there exist λ∈Fq∗, a projectivity ψM∈PGL(Fq) such that ψM(A)=A, and with associated map L:Vk⟶Vk, as in Proposition 4.1, which acts as
L(f)=λΨM,k(f),
for f∈Vk. However, notice that now if f∈Vk, since k≤r−1, then f(i)=0, for all i∈[k,r] (which is a nonempty interval). Thus for any (za)a∈A∈MA(r,k), the ath block is
za=(za,0,za,1,…,za,k−1,0,0,…,0)∈Fqr.
For a∈A, we may subdivide the upper triangular matrix Aa∈GLr(Fq) associated to T as
Aa=(Ma0NaBa),
for some upper triangular Ma∈GLk(Fq) and Ba∈GLr−k(Fq), and some arbitrary matrix Na∈Fqk×(r−k). By Proposition 4.1,
Ja(k)(Lf)=JψM(a)(k)(f)Ma.
On the other hand, Proposition 3.3 gives
Ja(k)(Lf)=λJψM(a)(k)(f)Ra,M,k(k).
Now in contrast with Theorem 6.1, the map JψM(a)(r):Vk⟶Fqk×{0}r−k is a vector space isomorphism. Hence we conclude that
Ma=λRa,M,k(k)andNa=0,
but Ba may be arbitrary (since it only interacts with the last r−k zeros of every block), for all a∈A. Conversely, by the same arguments, any map T of this form belongs to Aut(MA(r,k)).
The “high-dimensional” range equally has more degrees of freedom than the central range. Since we were assuming 2≤k≤rn−r in most of Sections 4 and 5, we will use a duality argument to go from Theorem A.1 (the low range) to the high range.
Duals of univariate multiplicity codes were first given in [18]. See also [3, Prop. B.3]. They have also been independently obtained later in [12]. We consider duals with respect to the usual Fq-linear inner product of (Fqr)n=Fqrn.
Lemma A.2 ([3,18]). Let ha,i∈Vrn be the unique polynomial in Vrn such that
ha,i(j)(b)=δa,bδi,j,
where δa,b and δi,j denote the Kronecker delta, for all a,b∈A and i,j∈[0,r−1]. Define λa,i∈Fq be the coefficient of xrn−1 in ha,i, for all a∈A and i∈[0,r−1]. Consider the upper anti-triangular matrix Ma∈GLr(Fq) whose (i,j)th entry is λa,i+j if i+j≤r−1 and zero otherwise, for i,j∈[0,r−1]. Then
MA(r,k)⊥=φA(MA(r,rn−k)),
where φA((za)a∈A)=(zaMa)a∈A, for all (za)a∈A∈(Fqr)n.
for a∈A. Notice that Ua is an upper triangular Toeplitz matrix. In particular, for all a∈A,
RrUa⊺Rr=UaandRrUa−⊺Rr=Ua−1.
Define s=nr−k∈[2,r−1] and t=r−s∈[1,r−2]. For all a∈A, write
Ua=(Pa0QaSa),
where Pa∈GLt(Fq) and Sa∈GLs(Fq) are upper triangular, and define
Wa,s=QaSa−1∈Fqt×s.
Theorem A.3 (High range). Assume that n=∣A∣≥3, r≥3 and nr−r+1≤k≤nr−2. A linear isometry T:(Fqr)n⟶(Fqr)n for the NRT metric lies in Aut(MA(r,k)) if and only if there exists λ∈Fq∗, a projectivity ψM∈PGL(Fq) such that ψM(A)=A, and arbitrary upper triangular matrices Ba∈GLt(Fq), for a∈A, such that
T((za)a∈A)=(zψM(a)Aa)a∈A,
for all (za)a∈A∈(Fqr)n, and for the upper triangular matrices
for all a∈A, where the invertible upper triangular matrices Ra,M,k(r)∈Fqr×r are given in Proposition 3.3. Finally, the projectivity ψM is unique.
Proof. Let T:(Fqr)n⟶(Fqr)n be a linear isometry for the NRT metric with permutation π:A⟶A and upper triangular matrices Aa∈GLr(Fq), for a∈A, as in Proposition 2.8. Let θ(T):(Fqr)n⟶(Fqr)n be the linear isometry with the same permutation π but upper triangular matrices
Ca=Uπ(a)Rr(Aa−1)⊺RrUa−1.(9)
We have that T(C)=C if and only if (T−1)⊺(C⊥)=C⊥, where (T−1)⊺ also has permutation π but has upper triangular matrices (Aa−1)⊺, for a∈A. Together with Lemma A.2, we have that
θ:Aut(MA(r,k))⟶Aut(MA(r,rn−k))(10)
is a group isomorphism. In particular, θ preserves the permutation π.
Let now T∈Aut(MA(r,k)). Since s=rn−k satisfies 2≤s<r, Theorem A.1, applied to θ(T), shows that its permutation π is given by a unique projectivity ψM such that ψM(A)=A.
Let TM∈Aut(MA(r,k)) be as in Corollary 3.6. Since θ preserves permutations, θ(TM) also has permutation π=ψM. By Theorem A.1 (the low range case), its action on the first s coordinates in each block in Fqr is a global nonzero scalar multiple of Ra,M,s(s). Hence, after multiplying TM by a suitable global scalar λ∈Fq∗, the automorphism
H=T∘(λTM)−1∈Aut(MA(r,k))
has identity block permutation and θ(H) has upper triangular matrices of the form
(Is00Ca),
where Ca∈GLt(Fq) is an arbitrary invertible upper triangular matrix.
For a linear isometry with identity permutation, Equation (9) gives
(Is00Ca)=UaRr(Ha−1)⊺RrUa−1,
where Ha∈GLr(Fq) is the upper triangular matrix of H at a∈A. Since RrUa⊺Rr=Ua, we deduce that
Ha=UaRr(Is00(Ca−1)⊺)RrUa−1.
After reversing the two diagonal blocks,
Ha=Ua(Da00Is)Ua−1,
where Da=Rt(Ca−1)⊺Rt∈GLt(Fq) is equally an arbitrary invertible upper triangular matrix. Using
Conjugation by Pa is a bijection of the group of invertible upper triangular t×t matrices. Renaming
Ba=PaDaPa−1,Wa,s=QaSa−1,
we obtain
Ha=(Ba0(It−Ba)Wa,sIs).
Finally,
T=H∘(λTM),
and therefore its local matrix is exactly (8).
Every step above is reversible, which proves the converse as well. Uniqueness of the projectivity follows from the corresponding uniqueness in the low-dimensional case (Theorem A.1). ☐
B The cases k=1, k=rn−1, n=1 and n=2
In this appendix, we treat the cases k=1, k=rn−1, n=1 and n=2, which are not treated by Theorems 6.1, A.1 and A.3.
Proposition B.1 (Dimension one). Assume k=1. Then Aut(MA(r,1)) consists of the maps T:(Fqr)n⟶(Fqr)n given by
T((za)a∈A)=λ(zπ(a)(100Ba))a∈A,
for all (za)a∈A∈(Fqr)n, where λ∈Fq∗, the matrices Ba∈GLr−1(Fq) are arbitrary upper triangular, and the permutation π:A⟶A is arbitrary.
Proof. Notice in this case
MA(r,1)={((c,0,…,0))a∈A:c∈Fq}.
Clearly all of the maps T as in the proposition lie in Aut(MA(r,1)). Now if T∈Aut(MA(r,1)), then the first rows of the upper triangular matrices Aa∈GLr(Fq) from Proposition 2.8 must be of the form (λ,0,…,0)∈Fqr (independent of a), for a∈A. Factoring out the scalar λ∈Fq∗, we obtain the desired expression for T.
Proposition B.2 (Codimension one). Assume that n≥2 and k=rn−1. Then Aut(MA(r,rn−1)) consists exactly of the maps T:(Fqr)n⟶(Fqr)n given by T((za)a∈A)=(zπ(a)Aa)a∈A, for (za)a∈A∈(Fqr)n, where the permutation π:A⟶A is arbitrary and, for a∈A,
Aa=λUπ(a)(Ba001)Ua−1,λ∈Fq∗,
for some λ∈Fq∗ and some arbitrary upper triangular matrix Ba∈GLr−1(Fq).
For r = 1, this reduces to the classical Reed–Solomon formula
Aa=λGA′(π(a))GA′(a),
where GA=∏a∈A(x−a)∈Fq[x] is the vanishing polynomial of A.
Proof. Apply the complementary-dimension isomorphism from the proof of Theorem A.3 to the code MA(r,1). By Proposition B.1, an automorphism of MA(r,1) has arbitrary block permutation π and upper triangular matrices
(μ00Ca)∈GLr(Fq),
where μ∈Fq∗ is independent of a and Ca∈GLr−1(Fq) is arbitrary upper triangular.
Applying the inverse of the group isomorphism θ:Aut(MA(r,rn−1))⟶Aut(MA(r,1)) from (10) and reversing the two diagonal blocks gives
Uπ(a)(Rr−1(Ca−1)⊺Rr−100μ−1)Ua−1.
Put λ=μ−1. Notice that Rr−1(C−1)⊺Rr−1 may be written as λBa, where Ba∈GLr−1(Fq) is an arbitrary invertible upper triangular matrix. This proves the displayed formula.
For the case r=1, simply notice that then, for all a∈A,
Ua=Ma=(GA′(a)−1).
Proposition B.3 (One point). Let A={a}(n=1) and 1≤k≤r. Then Aut(MA(r,k)) consists of the maps T:(Fqr)n⟶(Fqr)n given by
T(za)=za(B00C),
for all za∈Fqr, where the matrices B∈GLk(Fq) and C∈GLr−k(Fq) are arbitrary upper triangular (and the permutation π is clearly the identity).
Proof. Simply notice that in this case MA(r,k)=Fqk×{0}r−k.
For brevity, we do not make the two-point case fully explicit. The reader may obtain explicit formulas for the corresponding upper triangular matrices. We also treat only the case 1≤k≤r and leave the case r<k≤2r to the reader.
Proposition B.4 (Two points). Let A={a,b}⊆Fq, with a=b, and let k∈[r]. Define
pj(x)=(x−a)j(x−b)k−1−j∈Vk,
for j∈[0,k−1]. Then a linear NRT isometry T:(Fqr)2⟶(Fqr)2 belongs to Aut(MA(r,k)) if and only if its permutation π is arbitrary and the induced polynomial operator L:Vk⟶Vk (Proposition 4.1) satisfies
for j∈[0,k−1], for arbitrary scalars λ0,λ1,…,λk−1∈Fq∗. On the first k coordinates of each block, the corresponding upper triangular matrices are uniquely determined by L, whereas, if k<r, arbitrary invertible upper triangular matrices may act on the last r−k coordinates.
Proof. The polynomials p0,p1,…,pk−1 form a basis of Vk. If the block permutation is the identity, Lemma 4.3 shows that L preserves the two complete flags
Ka,0⊇Ka,1⊇⋯⊇Ka,kandKb,0⊇Kb,1⊇⋯⊇Kb,k.
For every j∈[0,k−1], we have that
Ka,j∩Kb,k−1−j=⟨pj⟩Fq.
Hence each pj is an eigenvector of L, giving L(pj)=λjpj, for arbitrary λj∈Fq∗.
If π exchanges a and b, Lemma 4.3 instead gives
L(Ka,j∩Kb,k−1−j)=Ka,k−1−j∩Kb,j,
and therefore L(pj)=λjpk−1−j, for arbitrary λj∈Fq∗.
Conversely, every operator of either displayed form sends the two multiplicity flags according to the prescribed permutation. Since
Ja(k),Jb(k):Vk⟶Fqk
are vector space isomorphisms, it induces unique invertible upper triangular matrices on the first k coordinates at both blocks. If k<r, the remaining coordinates vanish on every codeword, so arbitrary invertible upper triangular matrices may act independently on those coordinates.