April 27, 2025
We derive bounds on the lengths of linear codes with fixed Singleton defect \(s\), working within the framework of projective systems as advocated by Tsfasman and Vlǎduţ. This geometric perspective allows us to unify and extend a range of existing results. We introduce the parameter \(m^s(k,q)\), denoting the maximum length of a non-degenerate \([n,k,d]_q\) A\(^s\)MDS code, and more generally \(m^s_t(k,q)\), where the dual code is additionally required to be A\(^t\)MDS. We also study \(\kappa(s,q)\), the maximum dimension \(k\) for which a length-maximal A\(^s\)MDS code exists. Among our main results, we provide sufficient conditions on \(n\) and \(k\) under which the dual of an A\(^s\)MDS code is necessarily A\(^s\)MDS, addressing a gap in the existing literature. We show that codes of sufficient length must be projective, meet the Griesmer bound, and be dual to an AMDS code. Our bounds subsume or improve several results in the literature. Two conjectures on the non-existence of length-maximal codes of dimension \(k\ge 5\) are proposed, supported by computational evidence.
This section establishes the notation and background used throughout. We begin by recalling the definitions of linear codes and projective systems, then introduce the central parameters \(m^s(k,q)\), \(m^s_t(k,q)\), and \(\kappa(s,q)\), and survey existing bounds in the literature. Section 2 treats codes of small dimension, Section 3 reviews bounds from the theory of classical arcs, and Section 4 presents the main results. Section 5 concludes with open questions and conjectures.
For \(n\geq k\), a linear code \(C\) of length \(n\), dimension \(k\), and minimum distance \(d\), denoted an \([n,k,d]_q\) code, is a \(k\)-dimensional subspace of \(\mathbb{F}_q^n\) such that the minimum (Hamming) distance between any two elements (codewords) of \(C\) is \(d\); that is to say, there exist two codewords agreeing in \(n-d\) coordinates and no two codewords agree in as many as \(n-d+1\) coordinates. A linear code \(C \subset \mathbb{F}_q^n\) is degenerate if \(C \subseteq \mathbb{F}_q^{n-1} \subset \mathbb{F}_q^n\), where \(\mathbb{F}_q^{n-1}\) is the subspace of vectors with \(0\) at some fixed position, otherwise, we say that the code is non-degenerate. Unless otherwise stated, the codes considered here shall be non-degenerate. Given an \([n, k, d]_q\) code \(C\), the dual code \(C^\perp = \{ y \in \mathbb{F}_q^n \mid y\cdot x = 0 \text{ for all } x \in C \}\) is an \([n,k^\perp, d^\perp]_q\) code where \(k^\perp = n-k\).
Following Tsfasman and Vlǎduţ [1], we represent linear codes as projective systems — finite multisets of points in a projective space — thereby gaining a geometric vantage point from which to analyze code parameters. We now recall the necessary definitions.
The projective space of \(k\) dimensions over \(\mathbb{F}_q\) will be denoted by PG\((k, q)\). A projective subspace of dimension \(m\) of PG\((k-1,q)\) is called an \(m\)-flat; it is isomorphic to PG\((m,q)\) as an abstract projective space, though we retain the term flat to emphasize its embedding in the ambient space. We say that a set of \(m\) points of PG\((k-1, q)\) are independent if they are not contained in an \((m-2)\)-flat. More generally, the quotient of \(PG(k,q)\) by a \(d\)-flat \(\Omega\) is isomorphic to PG\((k-d-1,q)\). The flats of the quotient space are precisely the flats of PG\((k,q)\) containing \(\Omega\), (see e.g. [2]).
An \([n, k, d]_q\) code \(C\) is determined by an associated generator matrix, \(G\). Up to code equivalence, the columns of \(G\) can be considered as an \(n\)-multiset \(\mathcal{G}\) of points in \(PG(k-1,q)\), at most \(n-d\) per hyperplane (subspace of co-dimension \(1\)). Any hyperplane meeting \(\mathcal{G}\) in \(n-d\) points is said to be a secant of \(\mathcal{G}\). We may thus discuss codes in terms of equivalent objects known as projective systems (see e.g. [1]).
A projective \([n, k, d]_q\) system is a finite unordered family \(\mathcal{G}\) of points in \(\Sigma =\text{PG}(k-1,q)\) that does not lie entirely in a hyperplane of \(\Sigma\). Though generally, \(\mathcal{G}\) may be a multiset, we shall employ a slight abuse of notation, writing \(\mathcal{G} \subseteq \Sigma\), and \(|\mathcal{G}|\) to denote the cardinality of \(\mathcal{G}\) counting multiplicities. For a point \(P\), we denote by \(\mu(P)\) the multiplicity of \(P\) in \(\mathcal{G}\). The parameters \(n, k,\) and \(d\) are defined as follows: \[\label{eqn:32Proj32Sys32Code32parameters} n=|\mathcal{G}|, \quad k=\operatorname{dim} \Sigma +1, \quad n-d= \max \{|\mathcal{G}\cap H| \geq 1 \mid H \text{ is a hyperplane of } \Sigma\}.\tag{1}\]
Similarly, the set of parameters \([n,k^\perp,d^{\perp}]_q\) of a dual code \(\mathcal{G}^\perp\) can be characterized in terms of the projective system \(\mathcal{G}\). For a projective system \(\mathcal{G}\), \[\label{eqn:32Proj32Sys32dual32distance} d^{\perp}=\min \{|\mathcal{Q}|: \mathcal{Q} \subset \mathcal{G},|\mathcal{Q}|-\operatorname{dim} \operatorname{lin}\langle\mathcal{Q}\rangle=1\},\tag{2}\] where \(\langle\mathcal{Q}\rangle\) is the span of \(\mathcal{Q}\), and \(\operatorname{dim} \operatorname{lin}\langle\mathcal{Q}\rangle\) is its linear dimension (which is greater by 1 than the projective dimension of \(\langle\mathcal{Q}\rangle\) ). Equivalently, a set \(\mathcal{Q}\subset\mathcal{G}\) is dependent if \(|\mathcal{Q}|-\operatorname{dim}\operatorname{lin}\langle\mathcal{Q}\rangle=1\), i.e.the points of \(\mathcal{Q}\) fail to span a \(\mathrm{PG}(|\mathcal{Q}|-1,q)\); thus \(d^\perp\) is the minimum size of a dependent set of points of \(\mathcal{G}\). Note that degenerate codes are degenerate projective systems, in that they contain a point \(0\), corresponding to the \(0\)-dimensional vector subspace \(\langle 0 \rangle\). Though we generally avoid degenerate codes here, in such cases, the point \(0\) is said to have projective dimension \(-1\). Notice that according to Eqn. (2 ), a code \(\mathcal{G}\) is degenerate if and only if \(d^\perp=1\).
Our working definition of a (non-degenerate) linear code is as follows.
Definition 1. A linear \([n,k,d]_q\) code \(\mathcal{G}\) is an \(n\)-(multi)set of points in \(\Sigma =\)PG\((k-1,q)\) such that \[n-d= \max \{|\mathcal{G}\cap H| \geq 1 \mid H \text{ is a hyperplane of } \Sigma\}.\] That is to say, \(\mathcal{G}\) is an \([n,k,d]_q\) projective system.
It follows immediately that an \([n,k,d ]_q\) code \(\mathcal{G}\) satisfies \(n-d\geq k-1\), which is the well known Singleton bound. The Singleton defect of an \([n,k,d]_q\) code is \(S(\mathcal{G})=n-k+1-d\). An \([n,k,d]_q\) code \(\mathcal{G}\) with \(S(\mathcal{G})=0\) is called a maximum distance separable (MDS) code. Codes of Singleton defect \(1\) are called Almost-MDS (AMDS) codes [3], and more generally, codes with \(S(\mathcal{G}) = s\) are denoted A\(^s\)MDS codes. The dual code of an MDS code is MDS, but generally speaking the dual of an A\(^s\)MDS code need not be A\(^s\)MDS. If \(S(\mathcal{G})=S(\mathcal{G}^\perp)=1\), \(\mathcal{G}\) is said to be dually-AMDS (or Near MDS, or NMDS). This notation extends naturally to dually A\(^s\)MDS (or N\(^s\)MDS) codes.
A linear code \(\mathcal{G}\) is projective if \(\mathcal{G}\) is a set, that is to say if \(P\in \mathcal{G}\) then \(\mu(P)=1\). A non-projective code is therefore equivalent to a code with one or more repeated coordinates. As we shall see, codes of sufficient length are necessarily projective.
Projective systems may be viewed as arcs or, sometimes as caps in PG\((k-1,q)\). An \((n,r)\)-arc \(\mathcal{K}\) in \(\Pi=PG(k-1,q)\), \(k\leq r+1\), is a collection of \(n\) points such that each hyperplane of \(\Pi\) is incident with at most \(r\) points in \(\mathcal{K}\), and some hyperplane is incident with \(r\) points of \(\mathcal{K}\). In the case where \(\mathcal{K}\) is a multi-set, we shall use the term multi-arc. An \((n,k-1)\)-arc in \(PG(k-1,q)\) is an \(n\)-arc. From the definitions, it is immediate that \((n,n-d)\)-arcs in \(PG(k-1,q)\) and projective \([n,k,d]_q\)-codes are equivalent objects, as are \((n,n-d)\)-multi-arcs in \(PG(k-1,q)\) and \([n,k,d]_q\)-codes. An \((n,r)\)-arc in \(PG(k-1,q)\) is said to be maximal if \(n=(r-k+2)(q+1)+k-2\). Such arcs are complete, in that they are not contained in an \((n+1,r)\)-arc. The (non)-existence question regarding maximal \((n,r)\)-arcs in PG\((2,q)\) has largely been answered (see e.g.[4] ). Here, for fixed \(q\), and \(s\) and with \(r=k+s-1\), we investigate the parameter \(\kappa(s,q)\), representing the maximum value \(k\) for which there exists a maximal \((n,r)\)-arc in \(PG(k-1,q)\).
An \(n\)-cap in PG\((k-1,q)\) is an \(n\)-set of points such that no three are collinear. It follows immediately that for \(k\ge 3\), a projective \([n,k,d]_q\) code, \(\mathcal{G}\) is an \(n\)-cap in PG\((k-1,q)\) if and only if \(d^\perp \ge 4\) (equivalently, \(S(C^\perp)\le k-3\)).
A fundamental problem in coding theory is that of determining the maximum length of a code with \(k\), \(q\), and \(S(\mathcal{G})\) fixed. To this end, we make the following definition.
Definition 2. We shall denote by \(m^{s}_t(k,q)\) the maximum length of a (non-degenerate) \([n,k,d]_q\) A\(^s\)MDS code \(\mathcal{G}\) such that \(\mathcal{G}^\perp\) is an A\(^t\)MDS code. If \(t\) is not restricted, we shall simply write \(m^{s}(k,q)\). In keeping with the standard notation, in the special cases \(s=0\), and \(s=t=1\) these parameters shall be denoted \(m(k,q)\), and \(m'(k,q)\) respectively.
Investigations into the bounds on \(m^s_t(k,q)\) initially focused on codes of small defect. In particular, the case \(s=0\) has received much attention by way of the Main Conjecture on MDS codes (see Section 3.1). The focus of the current work is on codes of defect \(s>0\). For \(s=1\), De Boer [3] and Dodunekov and Landjev [5], [6] provide the following.
Recall the notation \(m'(k,q):= m^1_1(k,q)\).
Theorem 2 ([5], Thm. 2.7). Let \(k\ge 2\).
\(m'(k,q) \le 2q+k\);
\(m'(2,q) = 2q+2\);
\(m'(k,q)\le m'(k-\alpha, q)+\alpha\) ; for every \(\alpha\), \(0\le \alpha \le k\);
\(m'(k,q)=k+1\) for \(k>2q\);
\(m'(2q,q)=2q+2\) for \(q>3\).
\(m'(2q-1,q)=2q+1\) for \(q>3\).
Dodunekov and Landjev furthermore showed that an \((n,k,d)_q\) AMDS code with \(n>q+k\) must in fact be NMDS. Written using our current notation, their result is as follows.
Theorem 3 ([6], Thm. 3.4). For \(k\ge3\), if \(m^1_t(k,q)>q+k\), then \(t=1\).
In [7], Tong discusses the case \(s=2\), establishing the following bound in the binary case.
Proposition 4 ([7], Cor. 2). If \(k\ge 3\) then \(m^2(k,2)\le k+5\).
Faldum and Willems [8] opened discussions to codes of arbitrary defect, providing bounds on \(m^s(k,q)\). In particular, they provided the following result which subsumes part [part:32thm32Dodunekov32P1] of Theorem 2, and Theorem 3.
Lemma 1 ([8], Lem. 2).
If \(k\ge 2\), then \(m^s(k,q)\le (s+1)(q+1)+k-2\).
If \(k\ge 3\), and \(m^s(k,q) = (s+1)(q+1)+k-2\) then \(s\le q-1\).
If a code achieves the bound in Lemma 1 then it is said to be length-maximal. Faldum and Willems go on to show a code of sufficient length must be dual to an AMDS code.
Theorem 5 ([8], Thm. 7). If \(s\ge 1\) and \(k\ge 2\), and \(m^s_t(k,q)>s(q+1)+k-1\), then \(t\le 1\).
Corollary 1 ([8], Lem. 2). Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code with \(k\ge 2\) and \(n>s(q+1)+k-1\).
If \(s=1\), then \(k\le 2q\);
If \(s>1\), then \(k\le q\), and consequently (Lemma 1) \(n\le (q+1)(s+2)-3\).
In the sequel we shall establish bounds on \(m^{s}_t(k,q)\) which subsume and generalize the existing bounds. We are also interested in the existence question of length-maximal codes. Our work leads us to conjecture that such codes do not exist for code dimension \(k>4\).
Let us briefly describe code shortening, a technique that shall be employed in the sequel.
Code shortening is a common technique employed in coding theory (see e.g. constructions Y1–Y4, p. 592 in [9]). We shall employ shortening in some of
our proofs. Within the framework of projective systems, shortening can be performed by way of quotients, described as follows.
Suppose \(\mathcal{G}\) is an \([n,k,d]_q\) A\(^s\)MDS code in \(\Sigma=\text{PG}(k-1,q)\), let \(\Lambda\) be an \(\ell\)-flat (i.e.an \(\ell\)-dimensional projective subspace) of codimension \(r\ge 2\), and let \(\alpha=|\Lambda \cap \mathcal{G}|\) (including multiplicities). Let \(\Sigma^*\) be the quotient geometry taken at \(\Lambda\), so that in particular, \(\Sigma^*\cong \text{PG}(r-1,q)\). Each point \(P\) of \(\Sigma^*\) is the image of an \((\ell+1)\)-flat, \(\Omega_P\), where \(\Lambda \subseteq \Omega_P\). If for each such point \(P\), we assign the multiplicity \(\mu(P) = |\Omega_P\cap
\mathcal{G}|-\alpha\) then we obtain an \([n-\alpha, r, d^*]_q\) A\(^{s^*}\)MDS code \(\mathcal{G}^*\), where \(n-\alpha-d^*\le n-d-\alpha\), giving \(d^*\ge d\), and \[s^*=n-\alpha -r+1-d^* = n-\alpha +\ell-k+2-d^* \le n-\alpha +\ell-k+2-d =s-\alpha +\ell+1.\]
Consequently, we have the following.
Proposition 6. Let \(\mathcal{G}\) and \(\mathcal{G}^*\) be as above.
If \(\alpha = |\Lambda \cap \mathcal{G}|\ge \ell+1\), then \(s^*\le s\), and \(n \le m^{s^*}(r,q)+\alpha\).
\(d^*=d\) if and only if \(\Lambda\) is contained in at least one secant of \(\mathcal{G}\), and \(s^*=s\) if and
only if \(d=d^*\), and \(\alpha = \ell+1\).
In particular, if \(\Lambda\) is a point of \(\mathcal{G}\) (i.e.\(\ell=0\) and \(\Lambda \in \mathcal{G}\)), then \(d=d^*\) and \(s^*=s-\mu(\Lambda)+1\).
Remark 7. The quotient construction is the geometric form of classical code shortening, and admits a purely algebraic description. When \(\Lambda\) is spanned by a set \(T=\{i_1,\dots,i_{\ell+1}\}\) of (independent) coordinates of \(\mathcal{G}\), the resulting code \(\mathcal{G}^*\) is precisely the iterated shortening of \(C\) at the coordinates in \(T\), namely \(C_T=\{u\in C\mid u_i=0 \text{ for all } i\in T\}\) punctured on \(T\); for \(\ell=0\) this recovers the familiar \(C_i=\{u\in C\mid u_i=0\}\). More generally, projecting from an arbitrary flat \(\Lambda\) amounts, at the level of a generator matrix \(G\), to passing each column to its image in \(\Sigma^*=\Sigma/\Lambda\). Upon choosing coordinates with \(\Lambda=\langle e_1,\dots,e_{\ell+1}\rangle\), this is simply the deletion of the first \(\ell+1\) rows of \(G\). The only points of \(\mathcal{G}\) mapping to the zero of the quotient are those lying in \(\Lambda\). Once they are removed, \(\mathcal{G}^*\) is non-degenerate, since (by assumption) \(\mathcal{G}\) is not contained in a hyperplane of \(\Sigma\).
Before delving into the main results of this paper, we explore bounds that follow from the basic theory, as well as those that follow from the established bounds on planar arcs.
For ease of reference, Table 1 collects the recurring notation. We follow the convention that Roman letters denote code- and arc-theoretic quantities, while Greek letters denote geometric objects (subspaces and flats) and point multiplicities; the one traditional exception is \(H\), reserved for a hyperplane.
| Symbol | Meaning |
|---|---|
| Code and arc parameters (Roman) | |
| \(q\) | order of the finite field \(\mathbb{F}_q\) |
| \(\mathcal{G}\) (\(C\)) | a linear code, viewed as a projective system |
| \(n\) | length of \(\mathcal{G}\); \(n=|\mathcal{G}|\) (counting multiplicity) |
| \(k\) | dimension of \(\mathcal{G}\); \(k=\dim\Sigma+1\) |
| \(d\) | minimum distance of \(\mathcal{G}\) |
| \(s\) | Singleton defect of \(\mathcal{G}\); \(s=S(\mathcal{G})=n-k+1-d\) |
| \(k^\perp,d^\perp\) | dimension, minimum distance of \(\mathcal{G}^\perp\); \(k^\perp=n-k\) |
| \(t\) | Singleton defect of \(\mathcal{G}^\perp\); \(t=S(\mathcal{G}^\perp)\) |
| A\(^s\)MDS, N\(^s\)MDS | code with \(S(\mathcal{G})=s\); resp.\(S(\mathcal{G})=S(\mathcal{G}^\perp)=s\) |
| \(m^s(k,q)\) | max.length of a non-degenerate \([n,k,d]_q\) A\(^s\)MDS code |
| \(m^s_t(k,q)\) | as above, with \(\mathcal{G}^\perp\) additionally A\(^t\)MDS |
| \(m(k,q),\,m'(k,q)\) | \(m^0(k,q)\) and \(m^1_1(k,q)\) respectively |
| \(\kappa(s,q)\) | max.\(k\) with a length-maximal A\(^s\)MDS code |
| \((n,r)\)-arc | \(n\) points, \(\le r\) per hyperplane, \(=r\) on some hyperplane |
| \(\mu(P)\) | multiplicity of the point \(P\) in \(\mathcal{G}\) |
| secant, tangent | hyperplane meeting \(\mathcal{G}\) in \(n-d\), resp.\(n-d-1\), points |
| Geometric objects (Greek; \(H\) for hyperplane by convention) | |
| PG\((k,q)\) | projective space of dimension \(k\) over \(\mathbb{F}_q\) |
| \(m\)-flat | projective subspace of (projective) dimension \(m\) |
| \(\Sigma\) | ambient space PG\((k-1,q)\) containing \(\mathcal{G}\) |
| \(\Sigma^*\) | quotient geometry (used in shortening) |
| \(H\) | a hyperplane of \(\Sigma\) |
| \(\Lambda,\Omega,\Gamma\) | flats (of various dimensions) |
| \(\langle\mathcal{Q}\rangle\) | span of the point set \(\mathcal{Q}\) |
We begin with 1-dimensional codes, where we temporarily widen the discussion to include degenerate codes. For any \(n,d,q\) one may construct the trivial (possibly degenerate) \([n,1,d]_q\) A\(^s\)MDS code by taking as \(\mathcal{G}\) a multiset from \(\{0,1\}\) (\(=\)PG\((0,q) \cup\{0\})\), where \(s=\mu(0)\), and \(d=\mu(1)\). By definition, \(\mathcal{G}\) will be MDS and non-degenerate if \(d=n\), and degenerate with \(s>0\) otherwise. The dual code \(\mathcal{G}^\perp\) is an \([n,n-1,d^\perp]_q\) code, which is MDS (\(d^\perp = 2\)) if \(d=n\), and is AMDS (\(d^\perp = 1\)) otherwise.
In the 2-dimensional case, for arbitrary \(n,d,q\), and \(s=n-d-1\), one may clearly select a multiset of points from PG\((1,q)\) with the maximum multiplicity of any point being \(n-d\). As such, one may construct an \([n,2,d]_q\)- A\(^s\)MDS code if and only if \(2+s\le n\le (s+1)(q+1)\). If \(\mathcal{G}\) is such a code with \(\mathcal{G}^\perp\) an \([n,n-2,d^\perp]_q\) code, then (Eqn. 2 ) \(d^\perp =3\) if \(s=0\), and \(d^\perp=2\) otherwise. For \(k>2q\), any \([k+2,2,d]_q\)-code necessarily satisfies \(d^\perp =2\) and is therefore dual to a \([k+2,k,2]_q\)-AMDS code. Since a \([k+2,2,d]_q\) code can only be AMDS if \(k+2\le 2(q+1)\), part [part:32thm32Dodunekov32P4] of Theorem 2 follows immediately, as does each of the following.
Lemma 2.
If \(C\) is an \([n,2,d]_q\) A\(^s\)MDS code, \(s>0\), then \(C^\perp\) is AMDS.
\(m(1,q)\) is unbounded, and \(m^s(1,q)=0\) for \(s>0\);
\(m^1(k,q)\ge k+1\), and \(m^1(k,q)\ge k+2\) for \(k>2q\).
\(m'(k,q)\ge k+2\) for \(2\le k \le 2q\).
\(m^s(2,q)=(s+1)(q+1)\)
Remark 8. Note that part [part:32thm32Dodunekov32P2] of Theorem 2 is subsumed by Lemma 2([part32532lem:32trivial32bounds]).
Let us denote by \(e_i\), \(1\le i \le k\), the projective point with homogeneous coordinates being the \(i\)’th standard basis vector in \(\mathbb{F}_q^k\). For fixed \(k,q,s\), the code \(\mathcal{G}\) comprising \(\{e_1,e_2,e_3,\ldots,e_k\}\), where \(\mu(e_1)=s+1\), and \(\mu(e_i)=1\) for \(2\le i \le k\), is an \([k+s,k,1]_q\) A\(^s\)MDS code, with \(d=1\), and \(d^\perp=2\). We thus have the following.
Lemma 3. \(m^s(k,q)\ge k+s\).
Codes of interest here are those which are non-degenerate and “long”—in the sense of being (near) length-maximal. If \(\mathcal{G}\) is an \([n,k,d]_q\) A\(^s\)MDS code with \(d^\perp=1\) then \(\mathcal{G}\) is degenerate, and if \(d=1\), then \(n=k+s\), so \(\mathcal{G}\) is far from length-maximal. Thus, having discussed codes of dimension \(2\) or less, in the sequel we shall generally limit discussion to cases where \(d,d^\perp>1\) and \(k>2\).
We now explore the relationship between \((n,r)\)-arcs in projective planes and the bounds on the lengths of linear codes.
In 1952, Bush [10] established that if \(k\ge q\) then \(m(k,q) = k+1\). For \(k<q\) there is a long-standing conjecture regarding linear MDS codes: every linear \([n,k,n-k+1]_q\) MDS code with \(1 < k < q\) satisfies \(n \le q + 1\), except when \(q\) is even and \(k = 3\) or \(k = q - 1\) in which cases \(n \le q + 2\). This conjecture is called the main conjecture on linear MDS codes. Though the main conjecture has been shown to hold in many cases, the topic is far from moribund. Below we list some of the cases where the main conjecture holds, but for a more complete summary see [11] and [12].
Lemma 4. Throughout, assume \(q>k\).
\(m(k,q)= q+1\) for \(k=2,4, 5\).
\(m(3,q)= q+1\) if \(q\) is odd, and \(m(3,q)= q+2\) if \(q\) is even.
For \(k\ge 4\), \(m(k,q)\le q+k-3\).
If \(q=p^h\) and \(4\le k \le p\), then \(m(k,q)=q+1\).
If \(q=p^h\), \(h>1\) and \(k \le 2p-2\), then \(m(k,q)=q+1\).
If \(q=p^{2h}\), and \(k \le \sqrt{q}-\sqrt{q}/p+2\), then \(m(k,q)=q+1\).
Proof. Part 1 is clear for \(k=2\). For \(k=4,5\), the case \(q\) odd is due to Segre [13], whereas the case \(q\) even is due to Casse [14], and Gulati and Kounias [15]. For part 2 see [16] for \(q\) odd, and for \(q\) even see e.g. [17]. For part 3, see [13] for \(q>4\) odd, [18] for \(q>4\) even. For the remaining parts, see [19], [20]. ◻
The results of Barlotti (1956) [21], when paired with the later developments of Ball et al.[22], give bounds on \((n,r)\)-arcs in PG\((2,q)\) which provide the first three items in the following lemma. The fourth item is due to the construction of Denniston [23].
\(m^s(3,q)\le (s+1)(q+1)+1\).
If \(0<s< q-2\), and \((s+2,q) \ne (2^e,2^h)\), then \(m^s(3,q)\le (s+1)(q+1)-1\).
If \(0<s< q-2\), \((s+2)|q\), and \(m^s(3,q) \ge (s+1)(q+1)\), then \(m^s(3,q)= (s+1)(q+1)+1\).
If \(0<s\le q-2\), and \((s+2,q) = (2^e,2^h)\), then \(m^s(3,q)= (s+1)(q+1)+1\).
Further, we have the following.
Lemma 6. \(m^s(3,q)\le (s+1)q+1\) in each of the following cases:
In this section, we present the primary findings, focusing on the bounds for the lengths of codes with non-zero Singleton defects. We first establish some elementary properties of \(m^s(k,q)\).
Lemma 7. The following hold.
\(m^{s}(k,q)<m^{s+1}(k,q)\).
For \(k\ge 2\), \(m^{s}(k,q)\le m^{s}(k-1,q)+1\).
For \(\alpha<k\), \(m^{s}(k,q)\le m^{s}(k-\alpha,q)+\alpha\). In particular, for \(k\ge 3\), \(m^{s}(k,q)\le m^{s}(3,q)+k-3\).
If \(s=k-1+b\), where \(b=s_1+s_2\), \(s_1,s_2\ge 0\), then \(m^s(k,q)\ge m^{s_1}(k,q)+m^{s_2}(k,q).\)
\(m^s(3,q)\ge \left\{ \begin{array}{ll} \frac{s+2}{2}\cdot m(3,q) & \text{ if s is even, } \\ \frac{s-1}{2}\cdot m(3,q) +m^1(3,q) & \text{ if s is odd.} \end{array}\right.\)
Proof. Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code, let \(\mathcal{H}\) be a secant of \(\mathcal{G}\), and let \(P\in \mathcal{G}\cap \mathcal{H}\). If \(n=m^{s}(k,q)\), then \(\mathcal{G}'=\mathcal{G}\cup\{P\}\)
is an \([n+1,k,d]_q\) A\(^{s+1}\)MDS code (by the maximality of \(n\)), giving part [part:32132bounds32on32length32of32AsMDS]. For part [part:32232bounds32on32length32of32AsMDS], suppose \(P\) has multiplicity \(m\). Taking the quotient geometry by \(P\), \(\mathcal{G}^*=\mathcal{G}\setminus \{P\}\) corresponds to an \([n-m,k-1,d]_q\) code in PG\((k-2,q)\). By part [part:32132bounds32on32length32of32AsMDS], \(n-m\le m^{s-m+1}(k-1,q)\le
m^s(k-1,q)-(m-1)\). Part [part:32332bounds32on32length32of32AsMDS] follows inductively from part [part:32232bounds32on32length32of32AsMDS].
For part [part:32432bounds32on32length32of32AsMDS], observe that if \(\mathcal{G}_1\)
is an \([n_1,k,d_1]_q\) A\(^{s_1}\)MDS code, and \(\mathcal{G}_2\) is an \([n_2,k,d_2]_q\) A\(^{s_2}\)MDS code then each hyperplane of PG\((k-1,q)\) holds at most \(k+s_1-1\) points of \(\mathcal{G}_1\), and at most \(k+s_2-1\) points of \(\mathcal{G}_2\). Taking \(\mathcal{G}=\mathcal{G}_1\cup\mathcal{G}_2\) yields an \([n_1+n_2,k,d]_q\)
A\(^s\)MDS code where \(s=k-1+s_1+s_2\).
Part [part:32532bounds32on32length32of32AsMDS] is obtained by recursively applying part [part:32432bounds32on32length32of32AsMDS]. ◻
Remark 9. Note that part [part:32thm32Dodunekov32P3] of Theorem 2 is subsumed by Lemma 7([part:32332bounds32on32length32of32AsMDS]).
Remark 10. Note that if \(\mathcal{G}\) is a degenerate \([n,k,d]_q\) A\(^s\)MDS code, having \(\alpha>0\) all-zero coordinates, then deleting these coordinates from \(\mathcal{G}\) results in a non-degenerate \([n-\alpha, k, d]_q\) A\(^{s-\alpha}\)MDS code with \(n-\alpha \le m^{s-\alpha}(k,q)\). By part [part:32132bounds32on32length32of32AsMDS] of Lemma 7, we see that \(\mathcal{G}\) satisfies \(n\le m^{s-\alpha}(k,q)+\alpha \le m^s(k,q)\). Consequently, in searching for long codes, it suffices to consider only those that are non-degenerate.
The bounds in Lemmas 5 and 6 may be extended to higher dimensions as follows.
Corollary 2. For \(k\ge 3\), the following hold.
(cf. Lemma 1 ([part:32lem32long32bound32P1])) \(m^s(k,q)\le (s+1)(q+1)+k-2\).
If \(0<s< q-2\), and \((s+2,q) \ne (2^e,2^h)\), then \(m^s(k,q)\le (s+1)(q+1)+k-4\).
Under the conditions specified in parts 1–3 of Lemma 6, \(m^s(k,q)\le q(s+1)+k-2\).
If \(\gcd(s+2,q)=1\), \(s\le q\), \(\mathcal{G}\) is an \([n,k,d]_q\) A\(^s\)MDS code, and some hyperplane \(H\) satisfies \(|H\cap \mathcal{G}|=k-3\), then \(n\le q(s+1)+k-2\).
Remark 11. Note that Proposition 1 is a particular case of part [part32232cor:32from32Barlotti] of Corollary 2.
Proof. Parts [part32132cor:32from32Barlotti], [part32232cor:32from32Barlotti], and [part32432cor:32from32Barlotti] follow immediately from the application of part [part:32232bounds32on32length32of32AsMDS] of Lemma 7 to Lemmas 5 and 6. For part [part32632cor:32from32Barlotti], let \(H\cap \mathcal{G}=S\), and let \(\Omega\) be a \((k-4)\)-flat with \(S\subseteq \Omega\subseteq H\). Taking the quotient through \(\Omega\) yields an \([n-k+3, 3,d']_q\) A\(^{s'}\)MDS code \(\mathcal{G}'\), where \(d'\ge d\), \(s'\le s\), and the line corresponding to \(H\) is disjoint from \(\mathcal{G}'\). If \(s'=s\), then since \(\gcd(s'+2,q)=\gcd(s+2,q)=1\), part [part:3234432lem:32s-arcs32in32the32plane] of Lemma 6 applies to \(\mathcal{G}'\), giving \(n-k+3\le (s+1)q+1\), so \(n\le q(s+1)+k-2\). If instead \(s'<s\), then part 1 of Lemma 5 gives \(n-k+3\le (s'+1)(q+1)+1\le s(q+1)+1\), so that \(n\le s(q+1)+k-2\le q(s+1)+k-2\), the last inequality holding as \(s\le q\). In either case the result follows. ◻
Recall that a code \(\mathcal{G}\) is projective if \(\mathcal{G}\) is a set, i.e.every point has multiplicity \(1\). We now establish conditions under which codes are necessarily projective, and derive bounds on their lengths.
Note that according to equation (2 ), a (non-degenerate) code of dimension \(k>2\) is projective if and only if \(d^\perp\ne 2\).
Theorem 12. Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code, \(k\ge 2\).
If \(s=0\) then \(\mathcal{G}\) is projective.
If \(k=2\), then \(\mathcal{G}\) is projective if and only if \(s=0\).
If \(s>0\), \(k>2\), and \(n> m^{s-1}(k-1,q)+2\) then \(\mathcal{G}\) is projective.
For \(k>2\), if \(n> s(q+1)+k-1\) then \(\mathcal{G}\) is projective.
If \(s=1\), \(k>q\), and \(n> k+2\) then \(\mathcal{G}\) is projective.
Proof. Part [part:32132thm32proj] follows from the definition of MDS codes. In \(\Sigma=\) PG\((1,q)\), points and hyperplanes coincide, so according to Definition 1, an \([n,2,d]_q\) code is projective if and only if \(n-d=1\), giving part [part:32232thm32proj].
For the third part, let \(\mathcal{G}=\{P_1,P_2,\ldots,P_n\}\) be an \([n,k,d]_q\) A\(^s\)MDS code where, say \(\mu(P_n)=m\ge2\). Taking the quotient at \(P_n\), the projective system \(\mathcal{G}'=\mathcal{G}\setminus \{P_n\}\) corresponds to an \([n-m, k-1,d]_q\) A\(^{s'}\)MDS code where \(s'=s-m+1\), giving \(n\le m^{s'}(k-1,q)+m\le m^{s-1}(k-1,q)+2\) (by Lemma 7).
For part [part:32432thm32proj], suppose \(\mathcal{G}\) is an \([n,k,d]_q\)-A\(^s\)MDS code, and \(\mu(P)=m\ge 2\). Through \(P\), there exists a \((k-3)\)-flat \(\Gamma\) with \(|\Gamma \cap \mathcal{G}|=x\ge k-1\). Each of the \(q+1\) hyperplanes through \(\Gamma\) meets \(\mathcal{G}\) in at most \(k+s-1-x\le s\) points outside of \(\Gamma\), giving the result.
Part [part:32532thm32proj] follows from part [part:32332thm32proj] and the fact that \(m(k-1,q)=k\) for \(k-1\ge q\). ◻
Remark 13. By part [part:32332thm32proj], an \([n,k,n-k]_q\) AMDS-code \(\mathcal{G}\) is necessarily projective if \(n>m(k-1,q)+2\). With the current state of the Main Conjecture on linear MDS codes, in many cases \(m(k-1,q)=q+1\), whence \(\mathcal{G}\) is projective if \(n>q+3\).
We may also deduce the following bound on A\(^s\)MDS codes that are not dual to an AMDS code.
Lemma 8. If \(k\ge 3\), and \(t>1\) then \[m^s_t(k,q)\le m^{s-1}(t,q)+d^\perp = m^{s-1}(t,q)+k-t+1.\]
Proof. Note that since \(t>1\), \(s>0\). Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code. If \(d^\perp=2\) then \(t=k-1\) and \(\mathcal{G}\) is not projective, so the result follows from Theorem 12. Let \(d^\perp \ge 3\), so that in particular, \(\mathcal{G}\) is projective. There exist \(d^\perp\) points of \(\mathcal{G}\) incident with a common \((d^\perp-2)\)-flat, \(\lambda\), and any \(d^\perp-1\) or fewer points of \(\mathcal{G}\) are independent. Consider a \((d^\perp-3)\)-flat, \(\lambda'\) spanned by \(d^\perp-2\) points of \(\mathcal{G}\cap \lambda\). Taking the quotient by \(\lambda'\) yields an \([n-d^\perp+2,k-d^\perp+2,d^*]_q\) A\(^{s^*}\)MDS code, \(\mathcal{G}^*\), with \(s^*\le s\) (Prop. 6). Since the point in the quotient corresponding to \(\lambda\) has multiplicity at least \(2\), \(\mathcal{G}^*\) is not projective, consequently (Theorem 12), \(n-d^\perp+2\le m^{s^*-1}(k-d^\perp+1,q)+2\le m^{s-1}(k-d^\perp+1,q)+2\). ◻
From Lemma 7, if \(t\ge 3\) and \(s>0\) then \(m^{s-1}(t,q)\le m^{s-1}(3,q)+t-3\). This bound may in turn be leveraged by bounds on \((n,s+1)\)-arcs in the plane, such as those in Lemmas 5, and 6. Specializing to the case \(s=1\): if \(t\ge 2\) then \(m(t,q)\le m(2,q)+t-2=q+t-1\). From part 1 of Lemma 2, the dual of any 2-dimensional non-MDS code is AMDS. Furthermore, if \(t\ge q\), then as observed in Section 3.1, \(m(t,q)=t+1\). We thus have the following corollary, the second part of which appears as Theorem 3.4 of [6].
Corollary 3.
If \(t\ge 3\) and \(s>0\), then \(m^s_t(k,q)\le m^{s-1}(3,q)+k-2\)
If \(k,t\ge 2\), then \(m^1_t(k,q)\le q+k\).
If \(t\ge q\) then \(m^1_t(k,q)\le k+2\).
Remark 14. With reference to Lemma 4, it is often the case that \(m(t,q)=q+1\). In such cases, the above corollary provides \(m^1_t(k,q)\le q+k+2-t\) when \(t>1\).
It is noteworthy that \(S(C^\perp) =t > 1\) if and only if \(d^\perp < k\). Thus, for \(k = 3\), all projective codes are either MDS or dual to an AMDS code. For dimensions \(k > 3\), there exist projective codes that are neither MDS nor dual to an AMDS code. However, such codes are shown to necessarily be short, indicating that for dimensions three or greater, the longest codes are typically dual to AMDS codes. Ball and Hirschfeld observed in [4] that, in most cases, no examples exist of \((n, r)\)-arcs in \(\text{PG}(2, q)\) with a large \(n/q\) ratio, specifically \(n/q > r - 2\). The following demonstrates that for dimensions \(k > 3\), the longest codes that are neither AMDS nor dual to an AMDS code generally correspond (by shortening) to \((n, r)\)-arcs in \(\text{PG}(2, q)\) with \(n \leq (r - 2)q + r\).
Remark 15. Recall that an \([n,k,d]_q\) A\(^s\)MDS code \(\mathcal{G}\) is degenerate if and only if \(d^\perp=1\), equivalently \(n=k^\perp+t\). Likewise \(\mathcal{G}^\perp\) is an \([n,k^\perp,d^\perp]_q\) A\(^t\)MDS code, and is degenerate if and only if \(d=1\), in which case \(n=k+s\). Thus, in our search for long non-degenerate codes we generally dismiss the case \(d=1\), or equivalently, consider only \(s<n-k\).
Theorem 16. Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code, with \(\mathcal{G}^\perp\) an \([n,k^\perp,d^\perp]_q\) A\(^t\)MDS code, \(d>1\), and \(s, t\ge 1\).
If \(t>1\) then \(n\le s(q+1)+k-1\).
If \(s>1\) then \(k\le t(q+1)-1\).
If \(t=1\) and \(\mathcal{G}\) has a codeword of weight \(d+s+1-\alpha\) for some \(0\le \alpha\le s+1\) then \(n\le q(s+1)+k-2+\alpha\).
If \(s=1\) then \(n\le (t+1)(q+1)+k^\perp -2\), or equivalently, \(k\le (t+1)(q+1)-2\).
If \(s=t=1\), \(q>3\), and \(k\ge 3,\) then \(n\le 2q+k-2\), and if \(n>k+2\) then \(k\le 2q-2\).
If \(t=1\) then \(k+s-1\le m(k-1,q)\), equivalently \(n\le m(k-1,q) +k^\perp -s+1\).
If \(s=1\) then \(k^\perp+t-1\le m(k^\perp-1,q)\), so \(n\le m(k^\perp-1,q)+k-t+1\).
If \(s=t=1\) then \(k\le m(k-1,q)\); \(k^\perp \le m(k^\perp-1,q)\).
\(k\le (t+1)(q+1)-2\).
Remark 17. Part [part:32thm:32ub32ASMDS321a32]: cf.Theorem 5; in the case \(t=2\), cf.Corollary 1 in [7];
Corollary 1 follows from parts [part:32132thm32ub32ASMDS] and [part:32332thm32ub32ASMDS];
Part [part:32632thm32ub32ASMDS]: cf.Theorem 11 in [3].
Proof. Before proceeding with the proof, we first note that \(d^\perp = k+1-t\), and from equation (2 ) it follows that \(k+1-t\) points of \(\mathcal{G}\) are incident with a common \((k-1-t)\)-flat, \(\Omega\), and any \(k-t\) points of \(\mathcal{G}\) are independent. Let \(H\) be a secant of \(\mathcal{G}\), so \(H\) is a hyperplane of \(PG(k-1,q)\) with \(|H\cap \mathcal{G}|= k-1+s\), and no hyperplane meets \(\mathcal{G}\) in as many as \(k+s\) points. Part [part:32132thm32ub32ASMDS]: If \(t>1\) then \(d^\perp\le k-1\), so \(k\ge 3\), so Lemma 8 (which gives \(m^s_t(k,q)\le m^{s-1}(t,q)+k-t+1\)) and part [part:32332bounds32on32length32of32AsMDS] of Lemma 7 (which gives \(m^{s-1}(t,q)\le m^{s-1}(2,q)+t-2\)) give \[m^s_t(k,q)\le m^{s-1}(2,q)+k -1 = s(q+1)+k-1.\] Similarly, if \(s>1\) then by working with \(\mathcal{G}^\perp\) and the fact that \(d>1\) provides \(k^\perp\ge 3\), we obtain \(n\le t(q+1)+k^\perp -1\), so \[\label{eqn:32max32length32ASMDS32t} k\le t(q+1)-1.\tag{3}\] Part [part:32232thm32ub32ASMDS]: If \(t=1\) then \(d^\perp=k\), so any \((k-1)\)-subset of \(\mathcal{G}\) is independent. \(\mathcal{G}\) has a codeword of weight \(d+s+1-\alpha\) for some \(0\le \alpha\le s+1\) if and only if there exists some hyperplane \(\Pi\) meeting \(\mathcal{G}\) in precisely \(k-2+\alpha\) points. Let \(\Omega\) be the span of \(k-2\) of these points. Each hyperplane through \(\Omega\) meets \(\mathcal{G}\) in at most \(s+1\) further points, giving \[\label{eqn:32bound32on32wt32spectrum} n-k+2\le (s+1)(q) + \alpha.\tag{4}\]
Part [part:32332thm32ub32ASMDS] follows from Part [part:32232thm32ub32ASMDS], and the existence of a word of weight \(d^\perp\) in \(\mathcal{G}^\perp\). Part [part:32432thm32ub32ASMDS]: If \(t=s=1\) then part [part32232cor:32from32Barlotti] of Corollary 2 gives \(n\le 2q+k-2\), and \(n> k+2\) gives \(k^\perp \ge 3\), whence \(n\le 2q+k^\perp-2\). Part [part:32532thm32ub32ASMDS]: If \(t=1\) then \(H\cap \mathcal{G}\) is a set of \(k+s-1\) points such that every \((k-1)\)-subset is independent. In other words \(H\cap \mathcal{G}\) is a \((k+s-1, k-2)\)-arc in PG\((k-2,q)\). Reasoning for Part [part:32632thm32ub32ASMDS] is entirely similar, and applied to \(\mathcal{G}^\perp\). Part [part:32732thm32ub32ASMDS] follows from parts [part:32532thm32ub32ASMDS] and [part:32632thm32ub32ASMDS]. Part [part:32832thm32ub32ASMDS] follows from parts [part:32132thm32ub32ASMDS] and [part:32332thm32ub32ASMDS]. ◻
Note that codes that achieve equality in part [part32132cor:32from32Barlotti] of Corollary 2 have no codewords of weight \(d+1\), whereas codes dual to those meeting the bound in part [part:32832thm32ub32ASMDS] of Theorem 16 have no codewords of weight \(d^\perp +1\).
Corollary 4. Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code, with \(\mathcal{G}^\perp\) an \([n,k^\perp,d^\perp]_q\) A\(^t\)MDS code, \(s, t\ge 1\).
If \(n>s(q+1)+k-1\), then \(s\le m(k-1,q)-k+1\).
If \(k> q\) and \(s>1\), then \(n\le s(q+1)+k-1\).
If \(s>1\) and \(t=1\) then \(n\le q+k^\perp\), so \(k\le q\).
If \(t>1\) and \(s=1\) then \(n\le q+k\), so \(k^\perp \le q\).
Proof. Part [part321:32cor:32AMDS32k32bound] follows from parts [part:32132thm32ub32ASMDS] and [part:32532thm32ub32ASMDS] of Theorem 16. Part [part322:32cor:32AMDS32k32bound] clearly holds if \(d=1\), and if \(d>1\) then the result follows from part 1 of Theorem 16. Parts [part323:32cor:32AMDS32k32bound] and [part324:32cor:32AMDS32k32bound] are particular cases of part [part:32132thm32ub32ASMDS] of Theorem 16. ◻
Let \(C\) be an A\(^s\)MDS code, where \(k\ge3\), \(q>3\), and suppose \(C^\perp\) is AMDS. By part [part:32432thm32ub32ASMDS] of Theorem 16, if \(s=1\) then \(k\le 2q-2\), and if \(s>1,\) then by part [part:32132thm32ub32ASMDS], \(k\le q\). Thus, by part [part32132cor:32from32Barlotti] of Corollary 2 we obtain the following.
Corollary 5. If \(k\ge 3\), and \(q>3\), then \[m^s_1(k,q)\le \left\{\begin{array}{ll} (s+3)(q+1)-6, & \text{ if } s=1\\ (s+2)(q+1)-3, & \text{ if } s>1. \end{array}\right.\]
Lemma 9. If \(\mathcal{G}\) is an \([n,k,d]_q\) A\(^s\)MDS code and a \((k-3)\)-flat \(\Lambda\) meets \(\mathcal{G}\) in \(k-2+a\) points, \(a\ge 0\), then \[n\le (s+1-a)(q+1)+ k-2+a\]
Proof. Each hyperplane meets \(\mathcal{G}\) in at most \(n-d=k+s-1\) points of \(\mathcal{G}\). Thus, by considering the pencil of hyperplanes through \(\Lambda\) we obtain \[n\le k-2+a+(q+1)\bigl(k+s-1-(k-2+a)\bigr)\] ◻
As an immediate consequence, we have the following bound for non-projective codes.
Corollary 6. If \(\mathcal{G}\) is an \([n,k,d]_q\) A\(^s\)MDS code where \(\mu(P_i)=1+x_i\), \(1\le i \le k-2\), then \[n\le (s+1-a)(q+1)+ k-2+a,\] where \(a=\sum_{i=1}^{k-2}x_i\).
The next several corollaries of Lemma 9 highlight that both codes of large minimum distance, and those of large defect must be short.
Corollary 7. If \(s\ge a (q+1)-1\), and \(k\ge 3\), then \[m^s(k,q)\le (s+1-a)(q+1)+k-2+a.\] In particular, if \(s\ge q\), then \(m^s(k,q)\le s(q+1)+k-1\).
Remark 18. Corollary 7 immediately implies both Proposition 4 and part [part:32lem32long32bound32P2] of Lemma 1.
Proof. We shall deal with the cases \(k=3\) and \(k>3\) separately. Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code, \(k>3\) and let \(H\) be a secant of \(\mathcal{G}\). If there exists a \((k-3)\)-flat meeting \(\mathcal{G}\) in at least \(k-2+a\) points, then we are done (Lemma 9), so assume otherwise. Let \(\Omega\subseteq H\) be an \((k-4)\)-flat with \(|\Omega \cap \mathcal{G}| = k-3+x\). The assumption implies that \(x<a\). By considering the respective intersections of \(\mathcal{G}\) with the pencil of hyperplanes of \(H\) through \(\Omega\), we obtain \[\begin{align} k+s-1& \le k-3+x+(q+1)\bigl(k-3-a-(k-3-x)\bigr) \\ \Rightarrow\;\;\; & s \le a(q+1)-qx-2<a(q+1)-1 \end{align}\] giving a contradiction. If \(k=3\) then a secant of \(\mathcal{G}\) is a line \(\ell\) meeting \(\mathcal{G}\) in \(s+2 \ge a(q+1)+1\) points. It follows that some point \(P\in \ell\) has multiplicity \(\mu(P)\ge a+1\), so \(n\le a+1+ (q+1)(s+2-a+1)\). ◻
We may improve upon the bound in Corollary 7 when \(a=1\), provided \(k\) and \(q\) are such that \(m(k-1,q)=q+1\) (as per the Main Conjecture on MDS Codes).
Corollary 8. Let \(k\) and \(q\) be such that \(m(k-1,q)=q+1\). If \(s>q+2-k\), then \(m^s(k,q)\le s(q+1)+k-1\). In particular, if \(q\) is prime with \(3\le k \le q\) then \(m^s(k,q)\le s(q+1)+k-1\).
Proof. Let \(k\) and \(q\) be as required, and let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code. If \(n>s(q+1)+k-1\), then by part [part:32132thm32ub32ASMDS] of Theorem 16, \(t=1\), and by part [part:32532thm32ub32ASMDS], we obtain \[s\le m(k-1,q)-k+1=q+2-k.\] ◻
Corollary 9. If \(k\ge 3\), and \(d>a (q^2+q)-q\), \(a\ge 0\) then an \([n,k,d]_q\) A\(^s\)MDS code satisfies \[n\le (s+1-a)(q+1)+k-2+a.\] In particular, if \(d>q^2\), then \(n\le s(q+1)+k-1\).
Proof. For \(k\ge 3\) let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code with \(d>a (q^2+q)-q\). Let \(H\) be a secant of \(\mathcal{G}\), and let \(S\subseteq H\) be a \((k-3)\)-flat with \(|S\cap \mathcal{G}|\ge k-2\). Through \(S\) there are \(q\) hyperplanes other than \(H\). Since \(d>a (q^2+q)-q\), there exists a hyperplane \(H'\) through \(S\) with \(|H'\cap \mathcal{G}|\ge k-2 + a q +a\). It follows that \(n-d=k+s-1\ge k-2 +a q+a\), whence \(s\ge a q+a-1\), and Corollary 7 gives the result. ◻
We may improve slightly if \(t>1\).
Corollary 10. Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code, and \(\mathcal{G}^\perp\) an \([n,k^\perp,d^\perp]_q\) A\(^t\)MDS code, \(k\ge 3\). If \(t>1\), and \(d>a (q^2+q)-2q\), \(a\ge 0\) then \[n\le (s+1-a)(q+1)+k-2+a.\]
Proof. Since \(t>1\) there exists a \((k-3)\)-flat \(\Omega\) with \(|\Omega\cap \mathcal{G}|\ge k-1\). Let \(H\) be a hyperplane through \(\Omega\). By definition, \(|H\cap \mathcal{G}|\le n-d\), so (as in the previous proof) there exists a hyperplane \(H'\) through \(\Omega\) with \(|H'\cap \mathcal{G}|\ge k-1 + a q +a -1\). It follows that \(n-d=k+s-1\ge k-1+a q+a -1\), whence \(s\ge a q+a-1\), and Corollary 7 gives the result. ◻
In [4], it is shown (for \(k=3\)) that if \(d\le q^2\), then an \([n,k,d]_q\) A\(^s\)MDS code \(\mathcal{G}\) meets the Griesmer bound if and only if \(n> s(q+1)+k-2\). The proof holds for \(k\ge 3\). Thus, with Corollary 9, Theorem 12, and part [part:32132thm32ub32ASMDS] of Theorem 16 we obtain the following.
Corollary 11. For \(k\ge 3\) let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code with \(\mathcal{G}^\perp\) an A\(^t\)MDS code. If \(n> s(q+1)+k-2\) then \(\mathcal{G}\) meets the Griesmer bound, \(\mathcal{G}\) is projective, and \(t=1\).
Corollary 12. The following hold.
If \(s\in \{0,1\}\) and \(k\ge (t+1)(q+1)-1\), then \(m^s_t(k,q) = k+1\).
If \(s>1\) and \(k\ge t(q+1)\), then \(m^s_t(k,q) = k+s\).
Proof. For the case \(s=0\), see Bush [10]. For the case \(s=1\), part [part:32332thm32ub32ASMDS] of Theorem 16 gives \(d=1\), so \(n=k+s\). The case \(s>1\) follows similarly from part [part:32132thm32ub32ASMDS] of Theorem 16. ◻
The largest of the upper bounds on the length of linear \([n,k,d]_q\) codes presented here applies only to cases where \(t=1\): \[\label{eqn:32largest32bound} n\le (s+1)(q+1)+k-2.\tag{5}\] We are interested in determining existence conditions for codes meeting this bound. From Corollary 2, and Corollary 7 any code of dimension \(k\ge 4\) meeting the bound (5 ) satisfies either
\((s+2)|q\), \(q\) even, and \(2\le s \le q-4\), or
\(q-2 \le s\le q-1\).
There are clearly codes of dimension \(k=2\) meeting (5 ) for each \(s\ge 0\). When \(k=3\) there are optimal codes of type (b). For example, removing a single line from the plane \(PG(2,q)\) yields a \([q^2,3,q^2-q]_q\) code \(C\) with \(S(C)=q-2\), whereas the entire plane yields an \([q^2+q+1, 3, q^2]_q\) code \(C'\), with \(S(C')=q-1\). For each \(q>2\), there exists a \((q^2+1)\)-cap in PG\((3,q)\) with maximal plane intersection \(q+1\), and there exists a cap of size \(8\) in PG\((3,2)\) (see e.g. [27]). Thus for each \(q\ge 3\) there is a \([q^2+1,4,d]_q\) code \(C\) with \(S(C)=q-2\), and \(S(C^\perp)=1\), and in the binary case there is an \([8,4,4]_2\) NMDS code (\(s=q-1\)). For dimensions \(k\ge 5\) we are able to show that no codes of type (b) exist for \(q>3\).
Corollary 13.
If \(q>2\), and \(2\le k \le 3\), or if \(q=2\) and \(2\le k \le 4\) then \(m^{q-1}(k,q)=(s+1)(q+1)+k-2 = q^2+q+k-2\).
If \(q>2\), and \(k\ge 4\), then \(m^{q-1}(k,q)\le s(q+1)+k-2 = q^2+k-3\).
If \(q=2\), and \(k\ge 5\), then \(m^{q-1}(k,q) = k+2\).
If \(2\le k\le 4\) and \(q>2\) then \(m^{q-2}(k,q)=(s+1)(q+1)+k-2 = q^2+k-3\).
If \(k\ge 5\) and \(q>3\), then \(m^{q-2}(k,q)\le s(q+1)+k-1\).
Proof. Parts [part:32132cor:32q-132and32q-2], and [part:32432cor:32q-132and32q-2] follow from the preceding discussion. For the remaining parts, let \(\mathcal{G}\) be an \([n,k,d]_q\)
A\(^s\)MDS code with \(\mathcal{G}^\perp\) an A\(^t\)MDS code, and \(n\ge s(q+1)+k\). Note that if \(d=1\) then \(n=k+s\), so \(d>1\). By part [part:32132thm32ub32ASMDS] of Theorem 16, \(t=1\), so if \(k\ge 4\) then \(\mathcal{G}\) is an \(n\)-cap in PG\((k-1,q)\). For part [part:32232cor:32q-132and32q-2], \(s=q-1\), and \(q>2\). Taking \(k=4\) and
\(n=q^2+k-2\) yields a \((q^2+2)\)-cap in PG\((3,q)\), contrary to the result of Bose [16] for \(q\) odd, and that of Qvist [28] for \(q\)
even.
Part [part:32332cor:32q-132and32q-2]: If \(k\ge 5\) then (part [part32332lem:32trivial32bounds] of Lemma 2), \(m^1(k,q)\ge k+2\). The result then follows from part [part:32thm:32ub32ASMDS321a32] of Theorem 16 (which gives \(n\le s(q+1)+k-1\) when \(t>1\)), and part [part:32thm32Dodunekov32P4] of Theorem 2 (which gives \(m'(k,q)=k+1\) for \(k>2q\)).
For part [part:32532cor:32q-132and32q-2], \(s=q-2\), \(q>2\).
Consider \(k=5\). By part [part:32532thm32ub32ASMDS] of Theorem 16 (which gives \(k+s-1\le m(k-1,q)\)), \(m(4,q)\ge q+2\). The result of Bush [10] (see introduction to Section 3.1) gives \(m(4,4)=5\), so consider \(q>4\). Part [part323:32lem:32Bounds32on32MDS32codes] of Lemma 4 gives the contradiction \(m(4,q)\le q+1\) The bound for \(k=5\) being established, the cases \(k>5\)
follow inductively from part [part:32232bounds32on32length32of32AsMDS] of Lemma 7. ◻
Lemma 10. Let \(k\ge 3\). If \(\mathcal{G}\) is an \([n,k,d]_q\) A\(^s\)MDS code with \(n=(s+1)(q+1)+k-2\), then for each \(0\le j\le k-2\), \(\gamma_j = \frac{{n-j\choose k-1-j}}{{n-d-j \choose k-1-j}}\) is an integer.
Proof. Suppose \(\mathcal{G}\) is an \([n,k,d]_q\) A\(^s\)MDS code with \(n= (s+1)(q+1)+k-2\). From Theorem 16 \(S(\mathcal{G}^\perp)=1\), so \(d^\perp=k\). Consequently, any subset of \(k-1\) or fewer points of \(\mathcal{G}\) are independent. In particular, if \(S \subseteq \mathcal{G}\) with \(|S|=k-2\), then \(\langle S \rangle\) is a \((k-3)\)-flat with \(|\langle S \rangle \cap \mathcal{G}| = k-2\). Simple counting shows that each member of the pencil of \(q+1\) hyperplanes through \(\langle S \rangle\) meets \(\mathcal{G}\) in exactly \(s+k-1\) points (i.e. each is a secant of \(\mathcal{G}\)). Denote by \(\gamma_0\) the number of secants. Counting set, hyperplane pairs \((A,\mathcal{S})\) where \(A\subseteq \mathcal{G}\), \(|A|=k-1\), \(A \subseteq \mathcal{S}\), and \(\mathcal{S}\) is a secant of \(\mathcal{G}\) we obtain \[{n\choose k-1} = \gamma_0 \cdot {k+s-1 \choose k-1},\] establishing the result for \(j=0\). Let \(H\) be a secant of \(\mathcal{G}\), and let \(B\subseteq \mathcal{G}\cap H\) with \(|B|=j\), \(1\le j\le k-2\). Let \(\mathcal{G}^*\) be the points in the quotient by \(\langle B \rangle\) corresponding to \(\mathcal{G}\setminus B\). Since \(\mathcal{G}\) is necessarily projective, and \(S(\mathcal{G}^\perp) = 1\), \(\mathcal{G}^*\) is a non-degenerate, projective \([n-j, k-j,d]_q\)-code. Thus the result follows inductively. ◻
Lemma 11. Let \(k\ge 3\). If \(\mathcal{G}\) is an \([n,k,d]_q\) A\(^s\)MDS code with \(n=(s+1)(q+1)+k-3\), then for each \(0\le j\le k-3\), \(\alpha_j\), and \(\beta_j\) are integers, where \(\alpha_j = \frac{{n-j\choose k-2-j}}{{k+s-2-j \choose k-2-j}}\) and \(\beta_j = \alpha_j \cdot \frac{q(s+1)}{k+s-1-j}\).
Proof. Suppose \(\mathcal{G}\) is an \([n,k,d]_q\) A\(^s\)MDS code with \(n= (s+1)(q+1)+k-3\). As in the previous proof, \(S(\mathcal{G}^\perp)=1\), and if \(S\subseteq \mathcal{G}\) with \(|S|=k-2\), then \(\langle S \rangle\) is a \((k-3)\)-flat with \(\langle S \rangle \cap \mathcal{G}= k-2\). Simple counting shows that the pencil of \(q+1\) hyperplanes through \(\langle S \rangle\) holds exactly one member meeting \(\mathcal{G}\) in \(s+k-2\) points (let us call such a hyperplane a tangent of \(\mathcal{G}\)), the remaining \(q\) members are secants of \(\mathcal{G}\). Denote by \(\alpha_0\) the number of tangents of \(\mathcal{G}\), and by \(\beta_0\) the number of secants. Counting \((k-3)\)-flat, hyperplane incident pairs \((\mathcal{A},\mathcal{T})\) where \(\mathcal{A}\cap \mathcal{G}= k-2\), and \(\mathcal{T}\) is a tangent of \(\mathcal{G}\) we obtain \[{n\choose k-2}\cdot 1 = \alpha_0 \cdot {k+s-2 \choose k-2}.\] Similarly, counting \((k-3)\)-flat, hyperplane incident pairs \((\mathcal{B},\mathcal{S})\) where \(\mathcal{B}\cap \mathcal{G}= k-2\), and \(\mathcal{S}\) is a secant of \(\mathcal{G}\) we obtain \[\beta_0 = \frac{{n\choose k-2}\cdot q}{{k+s-1 \choose k-2}} \left(= \alpha_0 \cdot \frac{q(s+1)}{k+s-1}\right).\] As in the previous result, an inductive argument completes the proof. ◻
Corollary 14. Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code.
If there exists a prime \(p\) with \(\prod_{i=1}^{s} (q(s+1)+i) \equiv 0 \mod p\) where \(s<p<k+s\), then \(n\le (s+1)(q+1)+k-3\).
If there exists a prime \(p\) with \(\prod_{i=1}^{s} (q(s+1)+i) \equiv 0 \mod p\) where \(s<p<k+s-1\), then \(n\le (s+1)(q+1)+k-4\).
If there exists a prime \(p\) with \(\prod_{i=0}^{s} (q(s+1)+i) \equiv 0 \mod p\), and gcd\((p,q)=1\) where \(s+1<p<k+s-1\), then \(n\le (s+1)(q+1)+k-4\).
Proof. For part 1, suppose \(\mathcal{G}\) is an \([n,k,d]_q\) A\(^s\)MDS code with \(n=(s+1)(q+1)+k-2\), and let \(p\) be a prime with \(\prod_{i=1}^{s} (d+i) \equiv 0 \mod p\), \(s<p<k+s\). By Lemma 10, for any \(0\le j \le k-1\) \[\gamma_j = \frac{{n-j\choose k-1-j}}{{n-d-j \choose k-1-j}} = \frac{(n-j)!\cdot s!}{(d+s)!\cdot (n-j-d)!} =\frac{s!{n-j \choose d}}{(d+1)(d+2)\cdots (d+s)}\] is an integer. Taking \(j=n-d-p\), we obtain \[\gamma_j =\frac{s!{d+p \choose d}}{(d+1)(d+2)\cdots (d+s)} =\frac{s!(d+s+1)(d+s+2)\cdots (d+p)}{p!}.\] However, since \(p\mid d+a\) for some \(1\le a\le s\), \(p\) does not divide \(d+x\) for \(s+1\le x <a+p\), whence \(\gamma_j\) is not an integer. With reference to Lemma 11, the proofs of parts 2 and 3 are entirely similar after observing that \[\alpha_j = \frac{s!{n-j \choose d+1}}{(d+2)(d+3)\cdots (d+s+1)}, \text{ and } \beta_j = \frac{q\cdot (s+1)!{n-j \choose d}}{(d+1)(d+2)\cdots (d+s+1)}.\] ◻
With reference to Lemma 10, part [part:32132cor:32prime32divisors] of Corollary 14 gives the following.
Corollary 15. If \(0<s< q-2\), \((s+2)|q\), and there exists a prime \(p\) with \(\prod_{i=1}^{s} (q(s+1)+i) \equiv 0 \mod p\) where \(s<p<k+s\), then \[m^s(k,q) \le (s+1)(q+1)+k-4.\]
For fixed \(s,q\), let us denote by \(\kappa (s,q)\) the maximum \(k\) such that \(m^s(k,q)=(s+1)(q+1)+k-2\). Table 2 serves to set some of our results in context.
| Conditions | \(\kappa(s,q)\) | Ref. |
|---|---|---|
| \(s\ge 0\) | \(\ge 2\) | Lem. 2 |
| \(s= 0,\, q\) odd | \(= 2\) | |
| \(s= 0,\, q>2\) even | \(= 3\) | |
| \(s = 1, q>3\) | \(= 2\) | [21],[22], [29] |
| \(q\) odd , \(1\le s < q-2\) | \(=2\) | [21] |
| \(q\) even , \((s+2)\nmid q, 1\le s < q-2\) | \(=2\) | [21] |
| \(q\) even , \((s+2)\mid q, 1\le s \le q-2\) | \(\ge 3\) | |
| \(s \ge q\) | \(=2\) | Cor. 7 |
| \(s=q-1, q\ne 2\) | \(=3\) | Cor. 13 |
| \(s= q-1, q=2\) | \(= 4\) | Cor. 13 |
| \(s=q-2, q>3\) | \(=4\) | Cor. 13 |
From the bounds in Corollary 13, and by computing the parameters in Lemmas 10 and 11 for some small values of \(s\) and \(q\), we may leverage the bounds in Table 2 to obtain the values of \(\kappa(s,q)\) in Table 3. Entries on the diagonal follow from Corollary 13, entries with an asterisk follow from Corollary 4, and remaining entries were verified numerically using Sage [30].
| \(q \backslash (s+2)\) | \(2^{2}\) | \(2^{3}\) | \(2^{4}\) | \(2^{5}\) | \(2^{6}\) | \(2^{7}\) | \(2^{8}\) | \(2^{9}\) | \(2^{10}\) | \(2^{11}\) | \(2^{12}\) | \(2^{13}\) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| \(2\) | 2 | |||||||||||
| \(2^2\) | 4 | |||||||||||
| \(2^3\) | 3 | 4 | ||||||||||
| \(2^4\) | 3 | 3 | 4 | |||||||||
| \(2^5\) | \(\le 5\) | 3 | 3 | 4 | ||||||||
| \(2^6\) | \(\le 64^*\) | 3 | 3 | 3 | 4 | |||||||
| \(2^7\) | 3 | 3 | 3 | 3 | 3 | 4 | ||||||
| \(2^8\) | 3 | \(\le 5\) | 3 | 3 | 3 | 3 | 4 | |||||
| \(2^9\) | \(\le 27\) | \(\le 4\) | 3 | 3 | 3 | 3 | 3 | 4 | ||||
| \(2^{10}\) | \(\le 5\) | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 4 | |||
| \(2^{11}\) | 3 | 3 | \(\le 5\) | 3 | 3 | 3 | 3 | 3 | 3 | 4 | ||
| \(2^{12}\) | 3 | 3 | \(\le 4\) | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 4 | |
| \(2^{13}\) | \(\le 5\) | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 4 |
If \(\mathcal{G}\) is an \([n,k,d]_q\) AMDS code with \(n>q+k\), then by Theorem 3, \(\mathcal{G}\) is NMDS. In the next section, we address a gap in the literature by providing sufficient conditions on \(n\) and \(k\) under which an A\(^s\)MDS code must be N\(^s\)MDS, \(s\ge 1\).
For \(q>3\), if an \([2q+3,2q,3]_q\) NMDS code were to exist, then the dual code would be an \([2q+3,3,2q]_q\) code, and thus, by part [part32232cor:32from32Barlotti] of Corollary 2, we arrive at the contradiction \(2q+3\le 2q+1\). By the discussion in Section 2, an \([2q+2,2,2q]_q\) code exists and its dual is an \([2q+2,2q,2]_q\) NMDS code.
If \(\mathcal{G}\) is an \([k+3,k,3]_q\) NMDS code, then \(\mathcal{G}^{\perp}\) is an \([k+3,3,k]_q\) NMDS code, whence \(k+3\le 2q+1\), so \(k\le 2q-2\). From the discussion in Section 2, the dual code of a \([k+2,2,k]_q\) code, \(1\le k\le 2q\), is an \([k+2,k,2]_q\) NMDS code. We thus have the following:
Lemma 12. If \(3\le k \le 2q\) then \(m'(k,q)\ge k+2\) with equality if \(q>3\) and \(k = 2q-1,2q\).
Remark 19. cf.parts [part:32thm32Dodunekov32P5] and [part:32thm32Dodunekov32P6] of Theorem 2.
With reference to Theorem 16 we obtain the following.
Corollary 16. Let \(\mathcal{G}\) be an \([n,k,d]_q\) N\(^s\)MDS code.
If \(s=1\) then \(n\le 2q +k\), and if \(n\ge k+3\) then \(k\le 2q-2\).
If \(s>1\) then \(n\le \min\{s(q+1)+k-1, s(q+1)+k^\perp-1\}\), and \(k,k^\perp \le s(q+1)-1\).
The dual of an MDS code is also MDS, and if \(\mathcal{G}\) is an \([n,k,n-k]_q\) AMDS code with \(n>q+k\) then (Theorem 16, part [part:32132thm32ub32ASMDS]) \(\mathcal{G}^\perp\) is also AMDS, so \(\mathcal{G}\) is NMDS. For \(s>1\), Liao and Liao ([31], Theorem 3.6) provide lower bounds on \(n\) and \(k\) sufficient for an \([n,k,d]_q\) A\(^s\)MDS code to be N\(^s\)MDS, so too does Tong ([7], Theorem 4). However, in both works the authors require \(n>s(q+1)+k-1\), so according to part [part:32132thm32ub32ASMDS] of Theorem 16 their results hold vacuously. This observation identifies a gap in the existing literature, which we address by establishing feasible bounds within which such codes demonstrably exist. Towards this end, we first provide the following lemma.
Lemma 13. Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code, \(s,d>1\). If \(k\ge (s-1)(q+1)\), and every \((k-s)\)-subset of \(\mathcal{G}\) is independent, then \(\mathcal{G}\) is N\(^s\)MDS.
Proof. Suppose the conditions hold and that \(\mathcal{G}^\perp\) is an \([n,k^\perp,d^\perp]_q\) A\(^t\)MDS code. The conditions provide \(n\ge k^\perp + (s-1)(q+1)>k^\perp+s\), so (Corollary 3), \(t>1\). As such, the condition \(k\ge (s-1)(q+1)\) gives \(t\ge s\) (Theorem 16, part [part:32132thm32ub32ASMDS]). Since every \((k-s)\)-subset of \(\mathcal{G}\) is independent, it must be the case that \(d^\perp (=k+1-t) \ge k-s+1\), whence \(t\le s\). ◻
The previous Lemma provides some easily obtained examples of N\(^2\)MDS binary codes.
Example 1. Let \(\mathcal{G}\) be a binary \([n,k,d]_2\) A\(^2\)MDS code, where \(\mathcal{G}^\perp\) is an A\(^t\)MDS code.
If \(k=3\), then (since \(\mathcal{G}\) is assumed to be non-degenerate), \(\mathcal{G}\) is N\(^2\)MDS.
If \(k=4\), and \(\mathcal{G}\) is projective, then \(\mathcal{G}\) is N\(^2\)MDS.
If \(k=5\), and \(\mathcal{G}\) is projective and contains no line, then \(\mathcal{G}\) is N\(^2\)MDS.
We now present some bounds providing sufficiency conditions under which an A\(^s\)MDS code is necessarily an N\(^s\)MDS code.
Theorem 20. Let \(\mathcal{G}\) be an \([n,k,d]_q\) A\(^s\)MDS code, \(1< s < q-1\), \((s+1,q) \ne (2^e,2^h)\). If \(k>(s-1)(q+1)-1\) and \(n>s(q+1)+k-3\) then \(\mathcal{G}^\perp\) is an A\(^s\)MDS code, so \(\mathcal{G}\) is an N\(^s\)MDS code.
Proof. By assumption, \(n>q+k^\perp\) and \(s>1\), so applying Corollary 3 to \(\mathcal{G}^\perp\), \(t>1\). Since \(n>s(q+1)+k-3\) we also have \(n>k+s\), so \(d>1\). Thus, by part [part:32132thm32ub32ASMDS] of Theorem 16, the condition \(k>(s-1)(q+1)-1\) gives \(t\ge s\). There exists a \((d^\perp-2)\)-flat \(\Lambda\) with \(|\Lambda\cap \mathcal{G}|\ge d^\perp\). Let \(\Omega\subseteq \Lambda\) be an \((d^\perp-3)\)-flat with \(|\Omega\cap \mathcal{G}|=d^\perp-2\). Taking the quotient at \(\Omega\) provides a non-projective \([n-d^\perp+2, k-d^\perp+2,d']_q\) A\(^{s'}\)MDS code, where \(d'\ge d\), and therefore \(s'\le s\). Note that \(\mathcal{G}'\) is not projective since the point corresponding to \(\Lambda\) has multiplicity at least \(2\). Observe that if \(t>s\), then \(d^\perp =k+1-t<k+1-s\), so \(k-d^\perp \ge s\ge 2\), and we obtain by part [part:32332thm32proj] of Theorem 12 \[\begin{align} n-d^\perp+2 & \le m^{s'-1}(k-d^\perp+1,q)+2 \tag{6}\\ & \le m^{s-1}(k-d^\perp+1,q)+2\tag{7}\\ &\le s(q+1)+k-d^\perp -1,\tag{8} \end{align}\] where (6 ) follows from part [part:32332thm32proj] of Theorem 12 (if \(n > m^{s'-1}(k-1,q)+2\) then \(\mathcal{G}\) is projective), (7 ) follows from part [part:32132bounds32on32length32of32AsMDS] of Lemma 7 (which gives \(m^{s'-1}(k,q) \le m^{s-1}(k,q)\) since \(s'\le s\)), and (8 ) follows from part [part32232cor:32from32Barlotti] of Corollary 2 (which gives \(m^{s-1}(k,q)\le s(q+1)+k-4\) when \((s+1,q)\ne(2^e,2^h)\)). Since this contradicts \(n> s(q+1)+k-3\), it must be the case that \(t=s\). ◻
We note that there are codes meeting the condition of the previous theorem, for example, both \([13,5,7]_4\), and \([14,5,8]_4\) A\(^2\)MDS codes exist (see e.g. [32]).
Here, we have explored bounds on the lengths of codes with non-zero Singleton defects within the framework of projective systems. We introduced the parameters \(m^{s}(k,q)\), denoting the maximum length of a (non-degenerate) \([n,k,d]_q\) A\(^s\)MDS code, and \(m^{s}_t(k,q)\) denoting the maximum length of a (non-degenerate) \([n,k,d]_q\) A\(^s\)MDS code \(\mathcal{G}\) such that \(\mathcal{G}^\perp\) is an A\(^t\)MDS code. Tables 4, and 5 may help place our results in context.
| Conditions | \(m^{s}(k,q)\) | Ref. |
|---|---|---|
| \(s=q-1\); \(q>2\), and \(2\leq k \leq 3\), or \(q=2\) and \(2\leq k \leq 4\) | \(= (s+1)(q+1)+k-2\) | Cor. 13 |
| \(k\geq 3\) | ||
| prime \(p\) divides \(\prod_{i=1}^{s} (q(s+1)+i)\), \(s<p<k+s\) |
\(\leq (s+1)(q+1)+k-3\) | Cor. 14 |
| prime \(p\) divides \(\prod^{s}_{i=1}(q(s+1)+i)\), \(s<p<k+s-1\) |
||
| prime \(p\) divides \(\prod^{s}_{i=0}(q(s+1)+i)\), \(\gcd(p,q)=1\), \(s+1<p<k+s-1\) | ||
| prime \(p\) divides \(\prod_{i=1}^{s} (q(s+1)+i)\), \(s<p<k+s\), \(0<s<q-2\), \((s+2)\mid q\) |
||
| \(k\geq 3\), \(0<s< q-2\), and \((s+2,q) \neq (2^e,2^h)\) | ||
| \(q>3\), and \(s=1\) | ||
| \(q\) is prime, and \(s+2\le (q+3)/2\) | \(\leq q(s+1)+k-2\) | Cor. 2 |
| \(q\) odd, \(s+2\) divides \(q\), \(s<\frac{1}{4}\sqrt{q}-2\) | ||
| \(s>1\) and \(k>q\) | \(\leq s(q+1)+k-1\) | Cor. 4 |
| \(s\ge q\), and \(k\ge 3\) | Cor. 7 | |
| \(m(k-1,q)=q+1\), and \(s>q+2-k\) | Cor. 8 | |
| \(m(k-1,q)=q+1\), \(s>q+2-k\), \(q\) is prime, and \(3\le k \le q\) | ||
| \(k\geq 3\), and \(d>q^{2}\) | ||
| \(s=q-1\); \(q>2\), and \(k\geq 4\) | Cor. 13 | |
| \(s=q-2\); \(k\ge 5\) and \(q>3\) | ||
| \(s\ge a (q+1)-1\), and \(k\ge 3\) | Cor. 7 | |
| \(k\geq 3\), and \(d>a (q^2+q)-q\), \(a\geq 0\) | Cor. 9 | |
| \(s=q-1\); \(q=2\), and \(k\geq 5\) | \(\leq k+2\) | Cor. 13 |
| Conditions | \(m_{t}^{s}(k,q)\) | Ref. |
|---|---|---|
| \(s>1\) | \(\leq t(q+1)+k^{\perp}-1\) | Thm. 16 |
| \(t>1\) | \(\leq s(q+1)+k-1\) | |
| \(s,t>1\) | \(\leq (s+t)(q+1)-2\) | |
| \(t=1\) | \(\leq m(k-1,q)+k^{\perp}-s+1\) | |
| \(\leq (t+1)(q+1)+k^{\perp}-2\) | ||
| \(\leq m(k^{\perp}-1,q)+k-t+1\) | ||
| \(\leq 2q+k-2\) | ||
| \(\leq (s+3)(q+1)-6\) | Cor. 5 | |
| \(s>1\), \(t=1\), \(q>3\) | \(\leq (s+2)(q+1)-3\) | |
| \(s>1\) and \(t=1\) | \(\leq q+k^{\perp}\) | Cor. 4 |
| \(t>1\), and \(d>a (q^2+q)-2q\), \(a\ge 0\) | \(\leq (s+1-a)(q+1)+k-2+a\) | Cor. 10 |
| \(t>1\) and \(s=1\) | \(\leq m(t,q)+k-t+1\) | Cor. 3 |
| \(t>2\) and \(s>0\) | \(\leq m^{s-1}(3,q)+k-2\) | Cor. 3 |
| \(t>1\), \(s=1\), and \(q\) is an odd prime | \(\leq q+k-(t-2)\) | Rem. 14 |
| \(t>1\), and \(s>0\) | \(\leq m^{s-1}(t,q)+k-t+1\) | Lem. 8 |
| \(s\in \{0,1\}\), and \(k\geq (t+1)(q+1)-1\) | \(\leq k+1\) | Cor. 12 |
| \(s>1\), and \(k\geq t(q+1)\) | \(\leq k+s\) | |
| \(s=t=1\), \(q>3\), and \(k=2q-1, 2q\) | \(\leq k+2\) | Lem. 12 |
| \(t=s=1\) | \(\leq 2q+k\) | Cor.16 |
Our results provide new insights that both extend and refine existing knowledge in the literature, with the bounds obtained through these methods often subsuming those previously established.
The findings presented highlight the effectiveness of interpreting linear codes as projective systems. This perspective not only allows us to derive tighter bounds on code lengths but also to gain insight into the structural properties of these codes. For example, we easily see that for fixed Singleton defect, dimension, and field, codes of reasonable length must meet the Griesmer bound, must be projective, and must be dual to an AMDS code.
The results and methods presented here have potential implications for the design and analysis of error-correcting codes, particularly in scenarios where maximizing code length is critical. Based on the findings and observations, we propose the following questions and conjectures for further investigation.
Question 1: Codes meeting the hypothesis of Theorem 20 form an extremely restricted family (especially in view of Corollary 3). Can the bounds be widened, or otherwise relaxed to include more codes?
Question 2: For which values of \(k,s,\) and \(q\) is the inequality in part [part:32232bounds32on32length32of32AsMDS] of Lemma 7 strict? For example, when \(s=0\) and \(k = 3\), the inequality is strict only if \(q\) is odd.
The dual of the perfect ternary Golay code is a projective two-weight \([11,5,6]_3\) code underlying the Berlekamp–van Lint–Seidel strongly regular graph \(\mathrm{SRG}(243,22,1,2)\). The \([11,5,6]_3\) code dual to the perfect ternary Golay code is a length-maximal two-weight code with weights \(6\) and \(9\). The self-dual extended ternary Golay code \([12,6,6]_3\) is a three-weight length-maximal code, with weights \(6\), \(9\) and \(12\). We suspect that, up to equivalence, these are the only examples of linear length maximal codes in dimensions \(k>4\).
Conjecture 21. (Weak \(\kappa(s,q)\) conjecture) Linear length-maximal codes of dimension \(5\) or more do not exist if \(q>3\). That is: \(\kappa(s,q)\le 4\) for \(q>3\).
Conjecture 22. (Strong \(\kappa(s,q)\) conjecture) For \(q>3\), linear length-maximal codes of dimension \(5\) or more do not exist, moreover \[\kappa(s,q) = \left\{ \begin{array}{cl} 2 & \text{ if s\ne q-2, and either q is odd, or if q is even and } (s+2)\nmid q; \\ 3 & \text{ if s\ne q-2, q even, and (s+2)\mid q },\text{ or } s=0\text{ and } q=2; \\ 4 & \text{ if } s=q-2,\; q>3. \end{array} \right.\]
The first author acknowledges the support of the Natural Sciences and Engineering Research Council of Canada (NSERC), [funding reference number 2019-04103]. Cette recherche a été financée par le Conseil de recherches en sciences naturelles et en génie du Canada (CRSNG), [numéro de référence 2019-04103].↩︎