On additive MDS codes with linear projections
Abstract
We support some evidence that a long additive MDS code over a finite field must be equivalent to a linear code. More precisely, let C be an -linear MDS code over . If , , , and C has three coordinates from which its projections are equivalent to -linear codes, we prove that C itself is equivalent to an -linear code. If , , and there are two disjoint subsets of coordinates whose combined size is at most from which the projections of C are equivalent to -linear codes, we prove that C is equivalent to a code which is linear over a larger field than .
Full text
On additive MDS codes with linear projections Sam Adriaensen ∗ Vrije Universiteit Brussel [email protected] Simeon Ball ∗ Universitat Polit`ecnica de Catalunya [email protected] Abstract We support some evidence that a long additive MDS code over a finite field must be equivalent to a linear code. More precisely, let Cbe an Fq-linear (n, qhk, n −k+ 1)qhMDS code over Fqh. Suppose that either k= 3, h∈ {2,3},n > max qh−1, hq −1+ 3, and Chas three coordinates from which its projections are equivalent to linear codes; or that k > 3, n≥qh−1+kand Chas two coordinates from which its projections are equivalent to linear codes. We prove that in these cases Citself is equivalent to a linear code. 1 Introduction MDS codes, which are codes meeting the Singleton bound, are very useful in different applications of coding theory and cryptography, such as error-correcting codes [Bal20, Chapter 6], secret sharing [PZ03], and distributed storage [DBGW+10]. The classical examples are the Reed-Solomon codes. They are constructed as follows. Take a finite field Fqand denote its elements as α1, . . . , αq. Choose an integer k≤qand for any polynomial f(X) = Pk−1 i=0 fiXi∈Fq[X] of degree smaller than k, define f(∞) = fk−1. Then {(f(α1), . . . , f(αq), f(∞)) || f∈Fq[X],deg(f)< k} is the k-dimensional Reed-Solomon code over Fq. This is an MDS code of length q+ 1. If k∈ {3, q −1} and qis even, this code can be extended to an MDS code of length q+ 2. It is generally believed that if Cis an (n, qk, d)qMDS code with d≥3 and k < q, then n≤q+1, with a few known exceptions. This belief is referred to as the MDS conjecture. For linear MDS codes over Fq, with q=phand pprime, this conjecture is known to hold if one of the following conditions is met: •qis prime, •qis not prime and k≤Cpbh+1 2c, for some constant Cthat depends on the parity of qand on whether qis a square. For more details, we refer to the recent survey [BL19]. The MDS conjecture has been verified for nonlinear codes of alphabet size up to 8 [KKO15, KO16]. In this paper, we study additive MDS codes over finite fields. It was shown in [BGL22] that these codes are equivalent to certain geometric objects, called generalised arcs. The general link between additive codes over finite fields and certain geometric objects is explained in §3. Generalised arcs have been investigated in the context of generalised quadrangles, and we revise the most relevant results for the study of MDS codes in §4. In §5, we prove the following theorem. Theorem 1.1. Let Cbe an Fq-linear (n, qhk, n −k+ 1)qhMDS code over Fqh. Suppose one of the following conditions holds. 1. k= 3,h∈ {2,3},n > max qh−1, hq −1+ 3 and Chas three coordinate positions from which its projection is Fq-equivalent to a linear code. 2. k > 3,n≥qh−1+kand there are disjoint subsets Aand Bof the coordinate positions of Csuch that |A|+|B| ≤ k−2, and the projections from Aand Bare Fq-equivalent to linear codes. Then Citself is Fq-equivalent to a linear code. ∗The authors acknowledge the support of PID2020-113082GB-I00 financed by MCIN / AEI / 10.13039/501100011033, the Spanish Ministry of Science and Innovation. 1
2 Preliminaries We will start by revising the basics of coding theory. For a survey, see e.g. [Bal20]. Suppose that Ais a finite set of size q. A code of length nover the alphabet Ais a subset Cof An. The (Hamming) distance between two vectors x= (x1, . . . , xn) and y= (y1, . . . , yn) is given by d(x,y) = | {i∈[1, n]|| xi6=yi} |. The minimum distance of Cis given by d(C) = min {d(x,y)|| x,y∈C, x6=y}. If |C|=Mand d(C) = d, we call Can (n, M, d)qcode. Suppose that the alphabet Aof Cis an abelian group. Then we call Cadditive if Cis closed under addition, i.e. (x1, . . . , xn),(y1, . . . , yn)∈C=⇒(x1+y1, . . . , xn+yn)∈C. Moreover, suppose that the alphabet is a finite field Fqh. Then Fn qhis also an nh-dimensional vector space over Fq. If Cis an Fq-subspace of Fn qhwe call CFq-linear. An Fqh-linear code over the alphabet Fqhis simply called linear. Note that if Cis Fq-linear, it is also additive. The weight of a codeword xin an additive code is the number of coordinate positions in which xhas a non-zero entry, and we denote it by wt(x). Note that d(x,y) = wt(x−y), which implies that d(C) = min {wt(x)|| x∈C\ {0}} . Definition 2.1. Let Cand Dbe two Fq-linear codes over Fqh. We call Cand DFq-equivalent (or simply equivalent if Fqis clear from context) if one can be obtained from the other by •permuting the coordinate positions, •in each coordinate position, applying an Fq-linear automorphism of Fqh. We are allowed to apply different Fq-linear automorphisms in the different coordinate positions. Note that equivalent codes have the same size and minimum distance. One of the most important bounds on the parameters of a code is the Singleton bound. Theorem 2.2 (Singleton bound).Let Cbe an (n, M, d)qcode. Then M≤qn−d+1. Codes attaining equality in the Singleton bound are called maximum distance separable codes, or simply MDS codes. The characteristic property of an (n, qk, n −k+ 1)qMDS code over alphabet Ais that if one chooses the entries of a vector of Anin kpositions, the vector can be completed in a unique way to a codeword of C. One of the most central questions in the study of MDS codes is the following. Question 2.3. Given positive integers q,k, what is the largest number nsuch that an MDS code with parameters (n, qk, n −k+ 1)qexists? Quite some effort has been invested in (partially) answering this question for linear MDS codes, as was mentioned in the introduction. In this paper, we will investigate Fq-linear MDS codes over Fqh. On one end of the spectrum, we have the case where qis prime, in which case a code is Fq-linear if and only if it is additive. On the other end of the spectrum, we have the case where q=qh, in which case a code is Fq-linear if and only if it is linear. 3 The geometry behind additive codes A linear (n, qk, d)qcode can be linked to a point set in PG(k−1, q) and vice versa. In [BGL22], this link was generalised to additive codes over finite fields. In this section, we will explain this link and prove some extra properties. First we note that an additive code over Fqhmust be linear over some subfield, which we fix to be Fq. Consider an Fq-linear (n, qk, d)qhcode Cover Fqh. Let G∈Fk×n qhbe a matrix whose rows form an Fq-basis for C. We call Gagenerator matrix of C(over Fq). Choose an Fq-basis α1, . . . , αhfor Fqh, and write α=α1. . . αht. Then the jth column of Gis of the form Gjαfor some Gj∈Fk×h q. Let πj denote the subspace of PG(k−1, q) corresponding to the column space of Gj. Note that the (projective) dimension of πjis at most h−1. 2
Remark 3.1. πjis independent of the choice of the Fq-basis α1, . . . , αhof Fqh. Indeed, take another Fqbasis β1, . . . , βhof Fqh, and write β=β1. . . βht. Then β=Mαfor some non-singular M∈Fh×h q. Therefore, Gjα= (GjM−1)β. Since M−1is non-singular, Gjand GjM−1have the same column space. The non-zero codewords of Care the vectors aG,a∈Fk q\ {0}. Note that aGhas a zero in position jif and only if aGjα= 0. Since the entries of αare linearly independent over Fq, this is equivalent to aGj=0. This happens if and only if every column of Gjis orthogonal to a, or equivalently if πjis contained in the hyperplane a1X1+· · · +akXk= 0 of PG(k−1, q). Therefore, d= min hyperplane Π of PG(k−1,q) | {j|| πj6⊆ Π} |. Definition 3.2. Aprojective h−(n, k, d)qsystem is a multiset {π1, . . . , πn}of subspaces in PG(k−1, q) that have dimension at most h−1, span the entire space, and such that d= min hyperplane Π of PG(k−1,q) | {j|| πj6⊆ Π} |. We will also refer to it as a projective h-system. As we just saw, an Fq-linear (n, qk, d)qcode over Fqhgives rise to a projective h−(n, k, d)qsystem. In fact, it gives rise to several such systems, since we have freedom in choosing the generator matrix G. If Gis one generator matrix of Cover Fq, the others are exactly the matrices MG,M∈GL(k, q). Thus, the set of all projective h-systems corresponding to Cforms an orbit under PGL(k, q). Vice versa, given a projective h−(n, k, d)q-system, we can construct an Fq-linear (n, qk, d)qhcode by doing the following. •Order the elements of the projective h-system, and denote the elements in this ordering as π1, . . . , πn. •For each πj, choose a k×hmatrix Gjwhose column space corresponds to πj. •Choose an Fq-basis α1, . . . , αhof Fqh. •Construct the matrix G=G1α. . . Gnα. •Let Cbe the row space of Gover Fq. We have freedom in choosing the ordering of the subspace, which corresponds to a coordinate permutation in the code. We are also free to choose any matrix Gjwhose column space corresponds to πj. A different choice for Gjcorresponds to applying an Fq-linear map in the jth coordinate of C. Thus there is an equivalence between: •Equivalence classes of Fq-linear codes over Fqh(where the notion of equivalence is taking from Definition 2.1). •Orbits of projective h-systems under PGL(k, q). For the case h= 1, this correspondence is well-known, see e.g. [TV91, §1.1.2] Definition 3.3. Ageneralised arc of (h−1)-spaces is a set of (h−1)-spaces in PG(kh −1, q) such that any subset of size kspans the entire space. If h= 1, this is simply called an arc. Recall that if Gis a generator matrix of C, the codewords of Care of the form aG, and wt(aG) equals the number of subspaces πjnot contained in the hyperplane a1X1+. . . akXk= 0. This leads to the following result. Result 3.4 ([BGL22]).An Fq-linear code over Fqhis MDS if and only if its associated projective h-system is a generalised arc. 3
We now describe a way to geometrically recognise Fq-linear codes which are Fq-equivalent to linear codes. Definition 3.5. An (h−1)-spread of PG(kh −1, q) is a set of (h−1)-spaces in PG(kh −1, q) such that each point is contained in exactly one of these (h−1)-spaces. An (h−1)-spread of PG(kh −1, q) is equivalent to a set of h-dimensional subspaces of Fkh qsuch that every non-zero vector is contained in exactly one of them. The classical way to construct such a set is by considering Fk qhas a kh-dimensional Fq-vector space. The Fqh-subspaces of Fk qhof Fqh-dimension 1 have Fq-dimension h, and every non-zero vector is contained in exactly one of them. This gives us a so-called Desarguesian spread. In general, the Desarguesian spreads are the spreads which are PGL-equivalent to this construction [VdV16, Corollary 3.8]. Desarguesian spreads can also be characterised by the fact that the set of all subspaces spanned by some elements of the spread together with the natural incidence gives us PG(k−1, qh). For a survey on Desarguesian spread, we refer the reader to [BL11]. The previous description can be translated into a more algebraic one. Fix a primitive element ωof Fqh. Then 1,ω,...,ωh−1is an Fq-basis for Fqh. For each element α∈Fqh, define the matrix M(α) as the matrix representation of the Fq-linear map Fqh→Fqh:x7→ αx with respect to the basis 1, ω, . . . , ωh−1. Alternatively, if the minimal polynomial of ωover Fqis Xh−ah−1Xh−1−. . . −a0,then M(ω) = 0a0 1...a1 ...0. . . 1ah−1 , M(ωj) = M(ω)j, and M(0) is the zero matrix. Given a vector v∈Fk qh, hviFk qh=v, ωv, . . . , ωh−1vFq. If we replace each element of Fqhby its coordinate vector over Fqw.r.t. the basis 1, . . . , ωh−1, we see that Col M(x1) . . . M(xk) || x1 . . . xk ∈PG(k−1, qh) is a Desarguesian spread of (h−1)-spaces in PG(kh −1, q), where Col(M) denotes the column space of a matrix M. Lemma 3.6. An Fq-linear (n, qkh, d)qhcode over Fqhis Fq-equivalent to a linear code if and only if its associated projective h-system consists of (h−1)-spaces is contained in a Desarguesian spread. Proof. First suppose that C0is an Fq-linear code over Fqh, equivalent to the linear code C. It suffices to prove that we can construct a projective h-system from Ccontained in a Desarguesian spread. Take an Fqh-basis g1, . . . , gkof C. Then G0= −g1− −ωg1− . . . −ωh−1g1− . . . −gk− . . . −ωh−1gk− is a generator matrix for Cover Fq. Write gi=gi1. . . ginfor i∈[1, k], and define Gj= M(g1j) . . . M(gkj). Write ω=1ω . . . ωh−1t. Then G=G1ω. . . Gnωis a generator matrix of Cover Fq, and Col(G1),...,Col(Gn) is contained in a Desarguesian spread. 4
Vice versa, consider a projective h-system of (h−1)-spaces {π1, . . . , πn}contained in a Desarguesian spread. Then up to PGL-equivalence, there exist a matrix G= (gij) such that πj= Col M(g1j) . . . M(gkj) . Reversing the above part of the proof, we see that the codes associated to this projective h-system are the codes which are Fq-equivalent to the row space of Gover Fqh. Lastly, an important tool in this paper will be projections, both of projective h-systems and of codes. We will give the definitions here, and prove their equivalence. Definition 3.7. The projection of an additive (n, M, d)qcode Cfrom position iis the code {(x1, . . . , xi−1, xi+1, . . . , xn)|| (x1, . . . , xi−1,0, xi+1, . . . , xn)∈C}. Let πbe an (m−1)-space in PG(k−1, q) and let Ube the corresponding m-dimensional subspace of V=Fk q. The cosets of Uin Fk qform a (k−m)-dimensional vector space over Fq, which we denote by V/U. For every subspace Wof V, define its projection from Uas the subspace W+Uin V/U. In the projective space PG(k−1, q) = PG(V), this yields a map from its subspaces to the subspaces of PG(k−m−1, q) = PG(V/U). We call this map the projection from π. A more geometric way to describe this projection is as follows. Take a (k−m−1)-space Σ in PG(k−1, q), disjoint to π. Map a subspace ρof PG(k−1, q) to the subspace hπ, ρi ∩ Σ. For any choice of Σ, this map is PGL-equivalent to the projection from πas defined above. Definition 3.8. Let A={π1, . . . , πn}be a projective h-system in PG(k−1, q). The projection of A from πiequals the projective h-system consisting of the images of the elements of A\{πi}under the projection from πi. Lemma 3.9. Let Cbe an Fq-linear (n, qk, d)qhover Fh q, and let A={π1, . . . , πn}be an associated projective h-system (where πjcorresponds to position jin the codewords of C). Then the projective hsystems associated to the projection of Cfrom position iequal (up to PGL-equivalence) the projection of Afrom πi. Proof. We will use vector space notation instead of projective space notation for the projective h-systems. Let Gbe a generator matrix for C. Fix an Fq-basis α1, . . . , αhof Fqh. Write α=α1. . . αht. Suppose that G=G1α. . . Gnα. Denote the columns of Gjby G1 j, . . . , Gh j, and denote the dual space of Fk qby (Fk q)∗. Then C=aG|| a∈Fk q=f(G1 j). . . f(Gh j)αj∈[1,n]|| f∈(Fk q)∗. Then the projection of Cfrom position iequals C0=f(G1 j). . . f(Gh j)αj∈[1,n]\{i}|| f∈(Fk q)∗,Col(Gi)∈ker f =fG1 j,Col(Gi) . . . f Gh j,Col(Gi)αj∈[1,n]\{i}|| f∈(Fk q/Col(Mi))∗. So the projective h-system associated to C0in vector space notation equals hCol(M2),Col(M1)i,...,hCol(Mn),Col(M1)i in the vector space Fk q/Col(M1). In projective terminology, this equals the projection of Afrom πi. These ideas can be generalised. The projection of Cfrom a subset of positions can be obtained by consecutively projecting from each of the positions. Likewise, the projection of a projective h-system can be obtained by consecutively projecting from the elements of this subset. The above lemma generalises in an obvious way to these more general notions of projection. 5
4 Generalised arcs and translation generalised quadrangles Definition 4.1. Ageneralised quadrangle of order (s, t) is a point-line incidence geometry such that 1. every line is incident with exactly s+ 1 points (s≥1), 2. every point is incident with exactly t+ 1 lines (t≥1), 3. given a point Pand a line lnot incident with P,Pis collinear with a unique point of l. An oval is an arc of size q+ 1 in PG(2, q). Tits described a way to construct a generalised quadrangle T2(O) of order (q, q), from an oval. A pseudo-oval is a generalised arc of (h−1)-spaces of size qh+ 1 in PG(3h−1, q). As a generalisation of Tits’ construction, a generalised quadrangle of (qh, qh) can be constructed from a pseudo-oval. Generalised quadrangles arising from this construction are characterised by certain properties of their automorphism group, and are called translation generalised quadrangles. We refer to the monograph [TTVM06] for more information. Suppose that a pseudo-oval is contained in Desarguesian spread. We can interpret the elements of the spread as points in PG(2, qh). Hence, the pseudo-oval corresponds to an oval in PG(2, qh). The generalised quadrangle constructed from the pseudo-oval in PG(3h−1, q) will be isomorphic to the generalised quadrangle constructed from the oval in PG(2, qh). Therefore, people have been looking for pseudo-ovals not contained in Desarguesian spreads, but none have been found so far. One could wonder if there even exist pseudo-ovals not contained in Desarguesian spreads. There is some evidence to the contrary. Let Abe a generalised arc of (h−1)-spaces in PG(kh −1, q), of size n. One easily verifies that the projection of Afrom any of its elements is a generalised arc of (h−1)-spaces of size n−1 in PG((k− 1)h−1, q). The projection of a Desarguesian spread from any of its elements is again a Desarguesian spread. Hence, if a generalised arc is contained in a Desarguesian spread, then so are all its projections. Conversely, can we infer that a generalised arc is contained in a Desarguesian spread if some of its projections are? The following result proved by Penttila and Van de Voorde [PVdV13], and strengthens a result by Casse, Thas, and Wild [CTW85]. A conic in a projective plane PG(2, q) is a set of points satisfying an irreducible homogeneous quadratic equation. All conics are projectively equivalent, and Segre [Seg55] proved that the largest arcs in PG(2, q), qodd, are exactly the conics, which have q+ 1 points. Result 4.2 ([PVdV13]).Consider a generalised arc Aof (h−1)-spaces in PG(3h−1, q),qodd, whose size is at least the size of the largest arc in PG(2, qh)which isn’t contained in a conic. If the projection of Afrom at least one of its elements is contained in a Desarguesian spread, then Aitself is contained in a Desarguesian spread. The case where qis even is much more difficult. Result 4.3 ([RVdV15, Tha19]).Consider a pseudo-oval Ain PG(3h−1, q), with q > 2even, and hprime. If all projections of Aare contained in a Desarguesian spread, then Ais contained in a Desarguesian spread. The previous results were motivated by their link to translation generalised quadrangles. The next result arose in the study of additive MDS codes. Result 4.4 ([BGL22]).Let Abe a generalised arc of lines in PG(2k−1, q)of size at least q+k. If there is a subset Sof Aof size k+ 1 with the property that the projection of Afrom any (k−2)-subset of Sis contained in a Desarguesian spread, then Aitself is contained in a Desarguesian spread. Using Lemma 3.9, we can interpret these results respectively as follows. Result 4.5. Let Cbe an Fq-linear (n, q3h, n−2)qhMDS code over Fqh. Suppose that one of the following properties hold: 1. [PVdV13] qis odd, nis at least the size of the largest arc in PG(2, qh)not contained in a conic, and Chas a projection which is equivalent to a linear code; 2. [RVdV15, Tha19] q > 2is even, his prime, n=qh+ 1, and all projections of Care equivalent to linear codes. Then Cis equivalent to a linear code. 6
Result 4.6 ([BGL22]).Let Cbe an Fq-linear (n, q2k, n −k+ 1)q2MDS code over Fq2with n≥q+k. Suppose that there exists k+ 1 positions such that the projection of Cfrom any k−2of these positions is equivalent to a linear code. Then Cis equivalent to a linear code. Oberve that Result 4.6 can be recovered from Theorem 1.1 substituting h= 2. 5 Proof of the main theorem The characteristic property of an (n, qk, n −k+ 1)qMDS code Cover an alphabet Ais that if you fix the entries of a vector in Anin any kpositions, there is a unique way to choose the n−kremaining entries from Awhich gives you a codeword of C. Thus, an Fq-linear (n, qkh, n −k+ 1)qhMDS Cover Fqhis of the form C=n(x, f(x)) || x∈Fk qho, for some function f:Fk qh→Fn−k qh. Take x,y∈Fk qhand α, β ∈Fq. Since Cis Fq-linear, the codeword α(x, f(x)) + β(y, f(y)) = (αx+βy, αf(x) + βf(y)) is also in C. Hence, (αx+βy, αf(x) + βf(y)) = (αx+βy, f(αx+βy)). This implies that fis Fq-linear. In other words, fis of the form f: (x1, . . . , xk)7→ (fk+1,1(x1) + . . . +fk+1,k(xk), . . . , fn,1(x1) + . . . +fn,k(xk)), where each fi,j :Fqh→Fqhis a linearised polynomial, i.e. it is of the form fi,j(X) = h−1 X l=0 alXql, for some coefficients al∈Fqh. We will use the notation fi,j in this way throughout this section, with (i, j)∈[k+ 1, n]×[1, k]. The fact that Cis MDS implies that every fi,j is invertible. The next result applies to a larger class of Fq-linear codes than only the MDS codes. Definition 5.1. Let Cbe an Fq-linear (n, qhk, d)qhcode over Fqh. We say that Cis in standard form if C=n(x, f(x)) || x∈Fk qhofor some Fq-linear map f:Fk qh→Fn−k qhsatisfying •fk+1,j(xj) = xjfor all j∈[1, k], •fi,1(x1) = x1for all i∈[k+ 1, n]. Lemma 5.2. Assume that C=n(x, f(x)) || x∈Fk qhois an Fq-linear (n, qhk, d)qh-code over Fqhin standard form. Cis equivalent to a linear code if and only if there exist an invertible linearised polynomial g, such that fi,j(xj) = g(ai,jg−1(xj)) for all (i, j)∈[k+ 2, n]×[2, k], with all ai,j ∈Fqhconstants. Proof. Let Dbe an Fqh-linear code equivalent to C. We may suppose without loss of generality that we do not need to permute the coordinate positions of D, since such a permutation does not affect the linearity of D. The first k+ 1 positions of Care an [k+ 1, k, 2]qhMDS code. Therefore, the same holds for the first k+1 positions of D. Consider a generator matrix (M z N) of Dover Fqh, where Mis square, and za column vector. Then Mmust have full rank due to the MDS property. Therefore, (Ikz0N0), with z0=M−1zand N0=M−1Nis also a generator matrix for D. Furthermore, z0cannot have any entries equal to zero, for this would violate the MDS property. Let 1denote the all-one vector, and let ∆ denote the diagonal matrix with the entries of z0on the diagonal. Consider the Fqh-linear code Ewith generator matrix G= (Ik1∆−1N0) = ∆−1(∆ z0N0). 7
Then (∆ z0N0) is also a generator matrix for E, which shows that Eis an equivalent code to D, without permutation of the coordinate positions. Thus, Ccan be constructed from Eby applying an Fq-linear permutation giof Fqhto each coordinate i. Hence, C= g1(x1), . . . , gk(xk), k X j=1 gk+1(xj), ..., k X j=1 gi(ai,jxj), . . . || (x1, . . . , xk)∈Fk qh (1) = y1, . . . , yk, y1+· · · +yk, . . . , y1+ k X j=2 fi,j(yj), . . . || (y1, . . . , yk)∈Fk qh ,(2) with (ai,j)(i,j)∈[k+2,n]×[1,k]= ∆−1N0. Let ejdenote the vector in Fk qhwith a 1 in position j, and zeros everywhere else. Since Ccontains the codeword (e1, f(e1)) = (e1,1), this has to equal the codeword (g1(x1),0,...,0, gk+1(x1), . . . , gj(ai,1x1), . . . ), for some x1∈FqhHence, none of the ai,1are zero. We can replace Eby an equivalent linear code by rescaling the last columns of Gin such a way that each ai,1= 1. Now choose j∈[1, k]. Consider the codewords (βej, f(βej)) of Cfor all β∈Fk qh. These correspond to the codewords of Cin (1) with (x1, . . . , xk) = xjej. Looking in positions jand k+ 1, we see that gj(xj) = gk+1(xj) for each xj. Write g=gk+1. For j= 1, we look in positions 1 and j > k + 1. Then we see that g1(x1) = gj(x1) for all x1. Thus gi=gfor all i. In (1), we can replace (x1, . . . , xk) by (g−1(x1), . . . , g−1(xk)), since the latter also runs through all elements of Fk qhif we vary (x1, . . . , xk). Therefore, C= x1, . . . , xk, x1+· · · +xk, . . . , x1+ k X j=2 g(ai,jg−1(xj)) || (x1, . . . , xk)∈Fk qh , as claimed. Now, conversely, suppose that Cis in standard form and that fi,j(xj) = g(ai,jg−1(xj)) for all (i, j)∈ [k+ 2, n]×[2, k]. Let Dbe the code equivalent to Cobtained by applying the linearised polynomial g−1 in every position, i.e. D= g−1(x1), . . . , g−1(xk),..., k X j=1 ai,jg−1(xj), . . . || (x1, . . . , xk)∈Fk qh = y1, . . . , yk,..., k X j=1 ai,jyj, . . . || (y1, . . . , yk)∈Fk qh . Then Dis clearly linear. Theorem 5.3. Let Cbe an Fq-linear (n, qhk, n −k+ 1)qhMDS code over Fqh, with k > 3. Suppose that n≥qh−1+kand that there exist two subsets A, B ⊂[1, n]such that •A∩B=∅, •|A|+|B| ≤ k−2, •the projections of Cfrom Aand Bare equivalent to linear codes. Then Citself is equivalent to a linear code. Less technical version of the proof Proof. Since Cis an MDS code, we can permute the coordinates of Cad libidum and then put it into standard form without any more coordinate permutations. Thus, Cis equivalent to a code C0= n(x, f(x)) || x∈Fk qhoin standard form, such that its projections from A0, B0⊆[3, k], with A0∩B0=∅, are equivalent to linear codes. Lemma 5.2 implies that there exist invertible Fq-linearised polynomials f and gsuch that 8
1. {fi,j(X)|| i∈[k+ 1, n], j ∈[2, k]\A0}⊆F:= f(af−1(X)) || a∈Fqh, 2. {fi,j(X)|| i∈[k+ 1, n], j ∈[2, k]\B0}⊆G:= g(bg−1(X)) || b∈Fqh. By Lemma 5.2, it suffices to prove that the set {fi,j(X)|| i∈[k+ 1, n], j ∈[2, k]} is contained in F. Since this set is contained in F ∪ G, it suffices to prove that F=G. There exist constants (ai)i∈[k+1,n]and (bi)i∈[k+1,n]such that for every i fi,2(X) = f(aif−1(X)) = g(big−1(X)). We will show that F=f(aif−1(X))Fq. Note that this is equivalent to proving that haiiFq=Fqh. •All aiare non-zero. Otherwise the codeword (e2, f(e2)) would contain zeros in positions 1, 3, . . . , k, and i, and its weight would be at most n−k. This contradicts that the minimum weight of C equals n−k+ 1. •All aiare distinct. Suppose to the contrary that there exist iand l6=isuch that ai=al. Then the codeword (x, f(x)) with x= (f(aif−1(1)),−1,0,...,0) contains zeros in positions 3, . . . , k and in positions iand l. Again, this contradicts the assumption on the minimum weight. Since there are n−k≥qh−1distinct non-zero ai, they cannot be contained in an Fq-subspace of Fqhof dimension h−1. Hence, haiiFq=Fqh. Analogously, G=g(big−1(X))Fq. Note that this implies that G=g(big−1(X))Fq=hfi,2(X)iFq=f(aif−1(X))Fq=F, which finishes the proof. Version of the proof as it was before, but restructured to increase readability. Proof. Since Cis an MDS code, we can permute the coordinates of Cad libidum and then put it into standard form without any more coordinate permutations. Thus, Cis equivalent to a code C0= n(x, f(x)) || x∈Fk qhoin standard form, such that its projections from A0, B0⊆[3, k], with A0∩B0=∅, are equivalent to linear codes. Lemma 5.2 implies that there exist invertible Fq-linearised polynomials f and gand constants (aij)i∈[k+1,n] j∈[2,k]\A0and (bij)i∈[k+1,n] j∈[2,k]\B0such that 1. ak+1,j = 1 and bk+1,j = 1, 2. fi,j(xj) = f(ai,jf−1(xj)) for all j∈[2, k]\A0, 3. fi,j(xj) = g(bi,jg−1(xj)) for all j∈[2, k]\B0. Using Lemma 5.2, it suffices to prove that for each (i, j)∈[k+1, n]×A0, there exists a constant ai,j such that fi,j(xj) = f(ai,jf−1(xj)). First we prove that {bi,2|| i∈[k+ 1, n]}contains an Fq-basis of Fqh. •All bi,2are non-zero. Otherwise the codeword (e2, f(e2)) would have a zero in position i, and its weight would be at most n−k. This contradicts that the minimum weight of Cequals n−k+ 1. •All bi,2are distinct. Suppose to the contrary that there exist iand l6=isuch that bi,2=bl,2. Then the codeword corresponding to x= (g(bi,2g−1(1)),−1,0,...,0) contains zeros in positions 3, . . . , k and in positions iand l. Again, this contradicts the assumption on the minimum weight. Since there are n−k≥qh−1distinct non-zero bi,2, they must contain an Fq-basis {β1, . . . , βh}of Fqh. Now we can define the constants ai,j for j∈A0. If βl=bi,2, then define αl=ai,2. Note that g(βlg−1(x)) = f(αlf−1(x)). Take (i, j)∈[k+ 1, n]×A0. Then there exist cl∈Fqsuch that bi,j = Ph l=1 clβl. Define ai,j =Ph l=1 clαl. Then fi,j(xj) = g(bi,jg−1(xj)) = g h X l=1 clβl·g−1(xj)!= h X l=1 clgβl·g−1(xj) = h X l=1 clfαl·f−1(xj)=f h X l=1 clαl·f−1(xj)! =f(ai,jf−1(xj)). 9