August 30, 2025
Constructing optimal \((r,\delta)\)-LRCs that attain the Singleton-type bound is an active and important research direction, particularly due to their practical applications in distributed storage systems. In this paper, we focus on the construction of optimal \((r,\delta)\)-LRCs with flexible minimum distances, especially for the case \(\delta \geq 3\). We first extend a general framework—originally proposed by Li et al. (IEEE Trans. Inf. Theory, vol. 65, no. 1, 2019) and Ma and Xing (J. Comb. Theory Ser. A., vol. 193, 2023)—for constructing optimal \(r\)-LRCs via automorphism groups of elliptic function fields to the case of \((r,\delta)\)-LRCs. This newly extended general framework relies on certain conditions concerning the group law of elliptic curves. By carefully selecting elliptic function fields suitable for this framework, we arrive at several families of explicit \(q\)-ary optimal \((r,3)\)-LRCs and \((2,\delta)\)-LRCs with lengths slightly less than \(q + 2\sqrt{q}\). Next, by employing automorphism groups of hyperelliptic function fields of genus \(2\), we develop a framework for constructing optimal \((r,3)\)-LRCs and obtain a family of explicit \(q\)-ary optimal \((4,3)\)-LRCs with code lengths slightly below \(q+4\sqrt{q}\). We then consider the construction of optimal \((r,\delta)\)-LRCs via hyperelliptic function fields of arbitrary genus \(g \geq 2\), yielding a class of explicit \(q\)-ary optimal \((g+1-g',g+1+g')\)-LRCs for \(0 \leq g' \leq g-1\) with lengths up to \(q + 2g\sqrt{q}\). Finally, applying certain superelliptic curves derived from modified Norm-Trace curves, we construct two families of explicit optimal \((r,\delta)\)-LRCs with even longer code lengths and more flexible parameters. Notably, many of the newly constructed optimal \((r,\delta)\)-LRCs attain the largest known lengths among existing constructions with flexible minimum distances.
\((r,\delta)\)-locally repairable codes, algebraic geometry codes, automorphism groups, elliptic and hyperelliptic curves, superelliptic curves
To reduce the repair overhead of failed nodes in large-scale distributed storage systems, the concept of locally repairable codes (LRCs), also known as locally recoverable codes, was formally introduced in [1] by Gopalan et al. Let \([n]:= \{1,2,\dots,n\}\). For a linear code \(\mathcal{C}\) of length \(n\) over the finite field \(\mathbb{F}_q\), a code symbol \(c_i\) of \(\mathcal{C}\) has locality \(r\) if there exists a subset \(R_i\subseteq [n]\) such that \(i\in R_i,|R_i|\leq r+1\) and \(c_i\) is a linear combination of \(\{c_j\}_{j\in R_i\backslash\{i\}}\) over \(\mathbb{F}_q\). Here, \(R_i\) is called a local repair group of the \(i\)-th symbol \(c_i\). A linear code \(\mathcal{C}\) is called an \(r\)-locally repairable code (\(r\)-LRC) if each code symbol of \(\mathcal{C}\) has locality \(r\). However, when multiple node failures occur in a distributed storage system, the \(r\)-LRCs can not recover failed nodes efficiently. To address this problem, Prakash et al. [2] generalized the concept of \(r\)-LRCs to \((r,\delta)\)-LRCs which can tolerate any \(\delta-1\) erasures (\(\delta\geq 2\)). A code symbol \(c_i\) of \(\mathcal{C}\) has \((r,\delta)\)-locality if there exists a subset \(R_i\subseteq [n]\) containing \(i\) such that \(|R_i|\leq r+\delta-1\) and \(d(\mathcal{C}|_{R_i})\geq\delta\), where \(\mathcal{C}|_{R_i}\) denotes the punctured code on the set \([n]\backslash R_i\). Similarly, \(R_i\) is called a local repair group of the \(i\)-th symbol \(c_i\). A linear code \(\mathcal{C}\) is called an \((r,\delta)\)-locally repairable code (\((r,\delta)\)-LRC) if each code symbol of \(\mathcal{C}\) has \((r,\delta)\)-locality. When \(\delta=2\), \((r,\delta)\)-LRCs reduce to \(r\)-LRCs. Due to their interesting algebraic structures and practical applications in distributed storage systems, \((r,\delta)\)-LRCs have drawn significant interest in recent years. In the following, we review some known results on \((r,\delta)\)-LRCs.
In [1], the Singleton-type bound for \(r\)-LRCs with parameters \([n,k,d]_q\), analogous to the classical Singleton bound for general codes, was proposed. This bound was later generalized in [2] to the case of \((r,\delta)\)-LRCs with parameters \([n,k,d]_q\), yielding \[\begin{align} \label{eq:SLboundfor95r95delta} d\leq n-k+1-(\left\lceil k/r\right\rceil -1)(\delta -1), \end{align}\tag{1}\] which is also called the Singleton-type bound. When \(\delta=2\), it reduces to the Singleton-type bound for \(r\)-LRCs. If an \((r,\delta)\)-LRC achieves the Singleton-type bound 1 with equality, then it is called a Singleton-optimal \((r,\delta)\)-LRC, which we refer to simply as an optimal \((r,\delta)\)-LRC in this paper. In particular, an optimal \(r\)-LRC attaining the Singleton-type bound 1 (fixing \(\delta=2\)) is called an optimal \(r\)-LRC. Constructing optimal \((r,\delta)\)-LRCs with large code lengths over fixed finite fields is of practical importance, as it enables a reduction in the required field size and thereby lowers the overall computational complexity. In what follows, we review some existing constructions of optimal \((r,\delta)\)-LRCs, along with relevant results on upper bounds for their code lengths. These constructions can be broadly classified into two categories based on their parameter characteristics, particularly their minimum distances.
The first category of constructions of optimal \((r,\delta)\)-LRCs consists of those with flexible minimum distances 3, where the minimum distances \(d\) can be either small or proportional to the code length \(n\), and can be adjusted as needed. These constructions are typically obtained via evaluation-based methods using tools such as polynomials [3], [4], algebraic curves and surfaces [5]–[10]. Additionally, some constructions in this category are derived from cyclic and constacyclic codes, such as [11]–[15]. As for the upper bound on the length of this category of constructions, Guruswami et al. [16] established an upper bound on the code length \(n\) of \(q\)-ary optimal \(r\)-LRCs with minimum distance \(d=\Theta(n)\) and constant \(r\), yielding \(n\leq O(q)\). This upper bound can be generalized to the case of \((r,\delta)\)-LRCs, which similarly yields \(n\leq O(q)\) for optimal \((r,\delta)\)-LRCs with minimum distance \(d=\Theta(n)\), \(\frac{d}{n}\leq \frac{2}{3}\), and constant \(r,\delta\) (see Theorem 7 in Appendix 7). When \(r\) and \(\delta\) are constants, this upper bound naturally applies to optimal \((r,\delta)\)-LRCs with flexible minimum distances.
Below, we briefly review the above-referenced works. In 2014, Tamo and Barg [3] made a breakthrough in constructing optimal \((r,\delta)\)-LRCs by using carefully chosen polynomials. They proposed the well-known RS-like optimal \((r,\delta)\)-LRCs, whose lengths are at most \(q\). This famous family of codes is referred to as the Tamo–Barg codes. As a side note, Gao and Yang [4] later improved upon this result in 2024 by applying an extension technique, obtaining optimal \((r,\delta)\)-LRCs with lengths up to \(q+\delta\). Returning to the main line of development, in 2017, Barg et al. [5], [6] extended the Tamo-Barg codes [3] by utilizing covering maps and quotient maps of algebraic curves, and selecting appropriate evaluation function spaces via the Riemann–Roch theorem. They presented several asymptotically good \(r\)-LRCs using high-genus curves and towers of function fields. Additionally, some optimal \(r\)-LRCs based on algebraic surfaces were also proposed. Although these optimal \(r\)-LRCs have small minimum distances \(d\leq 3\), they offer valuable theoretical insights. In [7], by employing the automorphism groups of the rational function fields, Jin et al. generalized the Tamo-Barg codes [3], constructing optimal \(r\)-LRCs with code length up to \(q+1\) and more flexible locality \(r\). In [8], by leveraging the rich algebraic structures of elliptic curves, Li et al. constructed optimal \(r\)-LRCs with code length reaching or slightly below \(q+2\sqrt{q}\) for \(r=2,3,5,7,11,23\). They also provided many maximal elliptic curves with rich automorphism groups. Subsequently, Ma and Xing [9] extended the results in [8] by incorporating the translation automorphism group of elliptic function fields into the construction, thereby obtaining optimal \(r\)-LRCs with a wider range of locality \(r\). They also provided a clear exposition of the group structure of the automorphism groups of elliptic function fields. In 2021, Salgado et al. [10] proposed a family of optimal \(3\)-LRCs with length \(4q\) based on algebraic surfaces, which has the largest known code length among optimal \(r\)-LRCs with flexible minimum distances. Very recently, using automorphism groups of hyperelliptic curves of genus \(2\), Huang and Zhao [17] proposed several \(r\)-LRCs with lengths approaching \(q+4\sqrt{q}\) and \((r+1)\mid 240\), which are either optimal or almost optimal4.
There are also several notable results based on cyclic codes and constacyclic codes. Motivated by the construction of Tamo-Barg codes, Tamo et al. [11], [12] constructed a family of optimal cyclic \(r\)-LRCs with length \(q-1\). Later, Chen et al. [13], [14] generalized these results by employing both cyclic and constacyclic codes, and constructed several families of optimal \((r,\delta)\)-LRCs with \((r+\delta-1)\mid n\) and \(n\) dividing either \(q-1\) or \(q+1\). These constructions were further extended by Qiu et al. [15], who unified and generalized the constructions in [13], [14], and efficiently produced optimal cyclic \((r,\delta)\)-LRCs with flexible parameters, including cases where \((r + \delta - 1) \nmid n\).
The second category of constructions of optimal \((r,\delta)\)-LRCs consists of those with prescribed minimum distance \(d\). One first prescribes the desired minimum distance \(d\) and locality parameters \(r,\delta\), and then obtains a family of optimal \((r,\delta)\)-LRCs with minimum distance \(d\) and large code lengths. In this case, the minimum distance \(d\) is less flexible, and the relative minimum distance \(d/n\) vanishes as the code length \(n\) tends to infinity. Notably, some constructions in this category achieve super-linear code lengths with respect to the field size \(q\). Moreover, certain constructions even attain unbounded code length when \(d\leq 2\delta\). As shown in [16] and [18], the length of a \(q\)-ary optimal \((r,\delta)\)-LRC with minimum distance \(d> 2\delta\) is upper bounded by \(O(q^{C_{d,r,\delta}})\), where \(C_{d,r,\delta}\) is a constant depending only on \(d\), \(r\) and \(\delta\). Constructions in this category are usually derived using parity-check matrix approaches combined with combinatorial tools, as in [16], [18]–[25]. In addition, some constructions are obtained using cyclic codes and constacyclic codes, such as those in [26]–[28].
Apart from these two main categories, there also exist several interesting constructions that do not fall neatly into either one, e.g., [29]–[31]. We do not go into details.
To facilitate comparison, we summarize the aforementioned first category of constructions of optimal \((r,\delta)\)-LRCs, namely, those with flexible minimum distances, in Table 1. Row 15 is marked with a superscript \(^{*}\) to indicate that the corresponding construction is either optimal or almost optimal. We remark that the constructions in [7] by Jin et al. were originally presented as \(r\)-LRCs, but they can be naturally generalized to the case of \((r,\delta)\)-LRCs, as indicated in Rows 1 and 2 of Table 1. Some of our new constructions are also listed in Table 1 and will be discussed in detail in the next subsection.
| NO. | Length \(n\) | Locality \((r,\delta)\) and Conditions | References |
|---|---|---|---|
| 1 | \(q\) | ||
| \(1\leq l\leq \log_p(q)\), \(p=\Char(\F_q)\) | [3], [7] | ||
| 2 | \(q+1\) | \((r,\delta)\), with \((r+\delta-1)\mid (q+1)\) | |
| [14], [15] | |||
| 3 | |||
| ) | |||
| ) | [4] | ||
| 4 | \(3\big\lfloor\frac{q+2\sqrt{q}}{3}\big\rfloor\) | ||
| for \(p=3\text{ or }p\equiv 2\pmod{3}\) | [8] | ||
| 5 | \((r+1)\big\lfloor\frac{q+2\sqrt{q}-r-2}{r+1}\big\rfloor\) | \((r,\delta=2)\), with \(r=3,5,7,11,23\) | [8] |
| 6 | \(4q\) | \((r=3,\delta=2)\), with \(4\mid (q-1)\) | [10] |
| 7 | \(2h(\big\lceil\frac{N(E)}{2h}\big\rceil-2)\) | \((r=2h-1,\delta=2)\), with \(h\mid N(E)=|\Pbb_E^1|\leq q+2\sqrt{q}+1\) | [9] |
| 8 | \(q+2\sqrt{q}+1-3h\) | ||
| with \(q=2^{2s}\), \(h\mid (q+2\sqrt{q}+1)\) | Corollary [cor:Cons95via95EFF951461] | ||
| 9 | \(q+2\sqrt{q}-3h\) | ||
| \(q=p^{2s}\), \(p\geq 3\), \(h\mid (q+2\sqrt{q})\) | Corollary [cor:Cons95via95EFF951462] | ||
| 10 | \(ah\big\lceil\frac{q+2\sqrt{q}+1-2h-ah}{ah}\big\rceil\) | ||
| \(a\mid 24, h=h_0^2, h_0\mid (\sqrt{q}+1)\) | [9] | ||
| 11 | \(3h\big\lceil\frac{q+2\sqrt{q}+1-3h}{3h}\big\rceil\) | ||
| \(q=2^{2s},h=h_0^2,h_0\mid (\sqrt{q}+1)\) | Corollary [cor:Cons95via95EFF952461](i) | ||
| 12 | \(6h\big\lceil\frac{q+2\sqrt{q}+1-8h}{6h}\big\rceil\) | ||
| an odd prime \(p\equiv 2 \pmod{3}\) or \(p=3\), \(h=h_0^2,h_0\mid (\sqrt{q}+1)\) | |||
| 13 | \(q+2\sqrt{q}-8\) | \((r=8,\delta=2)\), with \(q=4^{2s+1}\) | [9] |
| 14 | \(q+2\sqrt{q}-8\) | Corollary [cor:Cons95via95EFF9524629540744341] | |
| 15\(^*\) | \(\leq q+4\sqrt{q}\) | \((r,\delta=2)\), with \((r+1)\mid 240\) | [17] |
| 16 | \(12\big\lceil\frac{q+4\sqrt{q}-1}{12}\big\rceil-30\) | \((r=4,\delta=3)\), with \(q=5^{2s}\), \(2\nmid s\) | Corollary [cor:Cons95via95HEFF954044434195p615](i) |
| 17 | \(12\big\lceil\frac{q+4\sqrt{q}-1}{12}\big\rceil-30\) | ||
| \(\oq\equiv 5,15,21, \text{ or } 23\pmod{24},2\nmid s\) | Corollary [cor:Cons95via95HEFF954044434195p615](ii) | ||
| 18 | \(q+2g\sqrt{q}\) | ||
| a prime power, \(0\leq g'\leq g-1, q=(2g+1)^{2s}\) | Theorem [thm:Cons95via95HEFF9540g431-g3944g43143g394195p612g43195and95p95neq952g431](i) | ||
| 19 | \((2g+1)\big\lfloor \frac{q+2g\sqrt{q}}{2g+1}\big\rfloor\) | ||
| \(0\leq g'\leq g-1\), \(q=\oq^{2s},\oq\equiv-1\pmod{2g+1},2\nmid \oq\) | Theorem [thm:Cons95via95HEFF9540g431-g3944g43143g394195p612g43195and95p95neq952g431](ii) | ||
| 20 | \(\gcd(b,\frac{\oq^c-1}{\oq-1}){\cdot} \frac{(q-1)q}{b\oq^c}{+}\frac{q}{\oq^c}\) | ||
| \(c\mid s\), \(1<M=\frac{\oq^s-1}{b(\oq-1)}<N=\oq^{s-c},0\leq b'\leq \big\lfloor\frac{N-1}{M}\big\rfloor-1\) | Theorem [thm:cons95via95SEFF951](i) | ||
| 21 | \(\gcd(b,\frac{\oq^c-1}{\oq-1}){\cdot} \frac{(q-1)q}{b\oq^c}\) | ||
| \(c\mid s,M=\frac{\oq^s-1}{b(\oq-1)}>N=\oq^{s-c}>1,0\leq b'\leq \big\lfloor\frac{M-1}{N}\big\rfloor-1\) | Theorem [thm:cons95via95SEFF951](ii) | ||
| 22 | \(\frac{1}{b\oq}q^2+\frac{b-1}{b\oq}q\) | ||
| \(b\mid \frac{\oq^s-1}{\oq-1},1< b< \frac{\oq^s-1}{\oq-1},0\leq b'\leq \big\lfloor b\frac{(\oq-1)(\oq^{s-1}-1)}{\oq^s-1}\big \rfloor-1\) | Example [exm:cons95via95SEFF951](i) | ||
| 23 | \(\frac{q(q-1)}{\oq^c}\) | ||
| \(c\mid s, c<s, 0\leq b'\leq \big\lfloor\frac{(\oq^s-\oq)}{\oq^{s-c}(\oq-1)}\big\rfloor-1\) | Example [exm:cons95via95SEFF951](ii) | ||
| 24 | \(q+(\frac{\oq+1}{b}-1)(\oq-1)\sqrt{q}\) | ||
| \(2\nmid s, 1<b<\oq+1, b\mid (\oq+1)\), \(0\leq b'\leq b-2\) | Theorem [thm:cons95via95SEFF952](i) | ||
| 25 | \(q+\oq(\oq-1)\sqrt{q}-\oq\) | \((r=2,\delta=\oq)\), with \(q=\oq^{2s}\), \(2\nmid s\) | Theorem [thm:cons95via95SEFF952](ii) |
As shown in Table 1, there have been several constructions of optimal \(r\)-LRCs (i.e., \((r,\delta=2)\)-LRCs) with flexible minimum distances and lengths exceeding \(q+1\) (see Rows 4-7, 10, 13). It is worth noting that, when \(\delta\geq 3\), there is only one previously known work [4], to the best of our knowledge, that provides optimal \((r,\delta)\)-LRCs with flexible minimum distances and lengths exceeding \(q+1\); see Row 3 of Table 1. However, this construction has a drawback: its code length depends on \(\delta\). When \(\delta\) is fixed, the resulting code length exceeds \(q+1\) by only a constant. These facts motivate us to consider the construction of long optimal \((r,\delta)\)-LRCs with flexible minimum distances, especially for \(\delta\geq 3\). Naturally, we begin to consider whether the elliptic function field-based constructions of optimal \(r\)-LRCs proposed by Li et al. [8] and by Ma and Xing [9] can be extended to the general optimal \((r,\delta)\)-LRCs. We find that, unlike the constructions based on polynomials and rational function fields in [3] and [7], the generalization of elliptic function field-based constructions in [8], [9] from \(r\)-LRCs to \((r,\delta)\)-LRCs is not straightforward. For further details, see Section 3.1, especially Remark 4 (i). Therefore, we turn our attention to the problem of constructing long optimal \((r,\delta)\)-LRCs with \(\delta \geq 3\) and flexible minimum distances, using elliptic function fields or more generally, algebraic function fields of higher genus. Our main contributions are organized into the following three parts.
By utilizing the abelian group structure of elliptic curves, we generalize the framework for constructing optimal \(r\)-LRCs via automorphism groups of elliptic function fields in [8], [9] to the case of \((r,\delta)\)-LRCs in Propositions 1 and 2. Later in Theorems 1 and 2, we propose two distinct sufficient conditions for elliptic function fields and subgroups of their automorphism groups, under which we can obtain constructions of optimal \((r,3)\)-LRCs and \((2,\delta)\)-LRCs by the generalized framework described above. By selecting suitable explicit elliptic function fields and their automorphism subgroups, we obtain several classes of explicit optimal \((r,3)\)-LRCs and \((2,\delta)\)-LRCs with lengths slightly less than \(q+2\sqrt{q}\). Their parameters are outlined in Rows 8, 9, 11, 12, 14 of Table 1.
Inspired by the constructions of either optimal or almost optimal \(r\)-LRCs via automorphism groups of hyperelliptic function fields of genus \(2\) proposed by Huang and Zhao [17], we develop a general framework for constructing optimal \((r,3)\)-LRCs via automorphism groups of such hyperelliptic function fields, as presented in Propositions 3 and 4. By applying this framework to specific hyperelliptic function fields, we arrive at a family of explicit optimal \((4,3)\)-LRCs with length slightly below \(q+4\sqrt{q}\). We then further consider the construction of optimal \((r,\delta)\)-LRCs via hyperelliptic function fields of genus \(g\geq 2\), obtaining optimal \((g+1-g',g+1+g')\)-LRCs (\(0\leq g'\leq g-1)\) with length \(q+2g\sqrt{q}\) in Theorem 4. Their parameters are outlined in Rows 16–19 of Table 1.
We propose a framework for constructing optimal \((r,\delta)\)-LRCs via superelliptic curves in Proposition 5, and obtain several classes of explicit constructions based on it. Their parameters are partially listed in Rows 20–25 of Table 1. Specifically, as shown in Rows 22 and 23 of Table 1, over \(\mathbb{F}_q=\mathbb{F}_{{\overline{q}}^s}\) with \(s\geq 2\), Theorem 5 produces \(q\)-ary optimal \((r,\delta)\)-LRCs with lengths up to \(\frac{1}{b{\overline{q}}}q^2+\frac{b-1}{b{\overline{q}}}q\) and \(\frac{q(q-1)}{{\overline{q}}^c}\), respectively. In Theorem 6 (i), we generalize Theorem 4 (i), yielding optimal \((r,\delta)\)-LRCs with longer code lengths for smaller value of \(r\) (with \((r+\delta-1)\) fixed); moreover, it can be carried out over fields of even characteristic (see Remark 10).
It is evident from Table 1 that many of our new optimal \((r,\delta)\)-LRCs have the longest lengths among existing constructions of optimal \((r,\delta)\)-LRCs with flexible minimum distances.
The rest of the paper is organized as follows. In Section 2, we review some preliminaries for this paper, including algebraic function fields, algebraic geometry codes, extension theory of algebraic function fields, elliptic function fields and hyperelliptic function fields, along with their automorphism groups. In Section 3, we present a general framework for constructing optimal \((r,\delta)\)-LRCs via automorphism groups of elliptic function fields. Based on this framework, we construct two distinct classes of optimal \((r,3)\)-LRCs and \((2,\delta)\)-LRCs with lengths slightly below \(q+2\sqrt{q}\). In Section 4, using the automorphism subgroups of hyperelliptic function fields of genus \(2\), we obtain optimal \((4,3)\)-LRCs with lengths slightly below \(q+4\sqrt{q}\). Optimal \((g+1-g',g+1+g')\)-LRCs (\(0\leq g'\leq g-1\)) via hyperelliptic curves of genus \(g\geq 2\) are also presented. In Section 5, we introduce a general framework for constructing optimal \((r,\delta)\)-LRCs via superelliptic curves. Based on it, we present two classes of explicit constructions with large code lengths. Section 6 concludes the paper.
In this section, we present some preliminaries on algebraic function fields, algebraic geometry codes, extension theory of function fields, elliptic function fields and hyperelliptic function fields, as well as their automorphism groups. For omitted details, the reader is referred to [32]–[34], [8], [9], [35]–[37], [17].
Let \(E/\mathbb{F}_q\) be a function field of genus \(g(E)\) with the full constant field \(\mathbb{F}_q\). Let \(\mathbb{P}_E\) denote the set of all places of \(E\), and let \(\mathbb{P}_{E}^1\) denote the set of all rational places of \(E\). The free abelian group generated by \(\mathbb{P}_E\) is called the divisor group of \(E/\mathbb{F}_q\) and is denoted by \(\mathrm{Div}(E)\). For \(w\in E^*=E\backslash\{0\}\), its principal divisor is defined by \[(w):=\sum_{P\in \mathbb{P}_E} v_P(w)P \in \mathrm{Div}(E),\] where \(v_P\) is the normalized discrete valuation with respect to the place \(P\). For \(D\in \mathrm{Div}(E)\), the Riemann-Roch space \[\mathcal{L}(D):=\{w\in E^*:\; (w)\ge -D\}\cup \{0\}\] is a finite-dimensional vector space over \(\mathbb{F}_q\). We denote its dimension by \(\ell(D):=\dim_{\mathbb{F}_q}\mathcal{L}(D)\), which is at least \(\deg(D)+1-g(E)\) by Riemann’s theorem (see [33]). If \(\deg(D)\geq 2g(E)-1\), then it holds \[\begin{align} \label{eq:ell40D4195of95deg40D4195geq952g-1} \ell(D)=\deg(D)+1-g(E) \end{align}\tag{2}\] by the Riemann-Roch theorem (see [33]). When dealing with multiple function fields, we use superscripts and subscripts to indicate the underlying function field of the principal divisors and the Riemann-Roch spaces, respectively. For example, we write \((w)^E\) instead of \((w)\), and write \(\mathcal{L}_{E}(D)\) instead of \(\mathcal{L}(D)\).
Let \(\mathcal{P}=\{P_1,\dots,P_n\}\) be a set of \(n\) distinct rational places of \(E\), which will be used for evaluation. For a divisor \(D\) of \(E\) with \(0\leq \deg(D)<n\) and \(\mathop{\mathrm{supp}}(D)\cap\mathcal{P}=\varnothing\), the algebraic geometry code associated with \(\mathcal{P}\) and \(D\) is defined to be \[\begin{align} \label{eq:10} \mathcal{C}(\mathcal{P},D):=\{(\phi(P_1),\dots,\phi(P_n)): \; \phi\in\mathcal{L}_E(D)\}. \end{align}\tag{3}\] Then \(\mathcal{C}(\mathcal{P},D)\) is a linear code with dimension \(\ell(D)\) and minimum distance at least \(n-\deg(D)\). For any subspace \(V\) of \(\mathcal{L}_E(D)\), we define a (linear) subcode of \(\mathcal{C}(\mathcal{P},D)\) by \[\begin{align} \label{eq:11} \mathcal{C}(\mathcal{P},V):=\{(\phi(P_1),\dots,\phi(P_n)):\; \phi\in V\}. \end{align}\tag{4}\] Consequently, \(\mathcal{C}(\mathcal{P},V)\) is an \([n,k,d]_q\)-linear code with dimension \(k=\dim_{\mathbb{F}_q}(V)\), and its minimum distance \(d\) remains at least \(n-\deg(D)\).
Let \(E/\mathbb{F}_q\) be a function field with the full constant field \(\mathbb{F}_q\) and let \(F\) be a subfield of \(E\) with the same full constant field \(\mathbb{F}_q\) such that \(E/F\) is a finite separable extension. For any place \(P\) of \(E\) and place \(Q\) of \(F\) such that \(P\) lies over \(Q\), we use \(e(P|Q),f(P|Q)\), and \(d(P|Q)\) to denote the ramification index, relative degree, and different exponent of \(P\) over \(Q\), respectively. By Dedekind’s different theorem (see [33]), it holds \[\begin{align} \label{eq:Dedekinddifferentthm} d(P|Q)\geq e(P|Q)-1. \end{align}\tag{5}\] For a place \(Q\) of \(F\), its conorm (with respect to \(E/F\)) is defined to be \[\mathrm{Con}_{E/F}(Q):=\sum_{P|Q}e(P|Q)P\in \mathrm{Div}(E),\] where the sum runs over all places \(P\in \mathbb{P}_E\) lying over \(Q\). The different divisor of \(E/F\) is defined to be \(\mathrm{Diff}(E/F):=\sum_{Q\in\mathbb{P}_F}\sum_{P|Q}d(P|Q)P\in \mathrm{Div}(E).\) Let \(g(E)\) and \(g(F)\) denote the genus of \(E\) and \(F\), respectively. Then the Hurwitz genus formula (see [33]) yields \[\begin{align} \label{eq:kurwitzformulacoro951} 2g(E)-2=(2g(F)-2)[E:F]+\deg \mathrm{Diff}(E/F). \end{align}\tag{6}\] So far, we have assumed that \(E/F\) is a finite separable extension and recalled some known results. We now consider a more specific setting of \(F\) to facilitate the later constructions (\(F=E^G\), see below). Let \(G\) be a finite subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q):=\{\sigma: \; \sigma \text{ is an } \mathbb{F}_q\text{-automorphism of } E\}\). The subfield of elements of \(E\) fixed by \(G\) is defined by \[E^{G}:=\{u\in E: \sigma(u)=u \text{ for all } \sigma\in G\}.\] From the Galois theory, \(E/E^{G}\) is a Galois extension with \(\mathrm{Gal}(E/E^{G})=G.\) By [33], for any automorphism \(\sigma\in{\mathrm{Gal}}(E/E^G)=G\) and any place \(P\in\mathbb{P}_E\), \(\sigma(P):=\{\sigma(u):u\in P\}\) is still a place of \(E\). Moreover, if \(P\) lies over \(Q\in \mathbb{P}_{E^G}\), then \(\sigma(P)\) also lies over \(Q\). By [33], which characterize Galois extensions of function fields, the following result holds.
Lemma 1 ([33]). Maintaining the above setting. Let \(Q\) be a place of \(E^G\), and let \(P_1,P_2,\dots,P_n\) be all the distinct places of \(E\) lying over \(Q\). Then the following statements hold.
The Galois group \(\mathrm{Gal}(E/E^G)=G\) acts transitively on the set \(\{P_1,\dots,P_{n}\}\).
\(e(P_1|Q)=\dots=e(P_n|Q)\), \(f(P_1|Q)=\dots=f(P_n|Q)\), and \(d(P_1|Q)=\dots=d(P_n|Q)\).
\(n\cdot e(P_i|Q)f(P_i|Q)=[E:E^G]=|G|\) for any \(1\leq i\leq n\).
Remark 1. Lemma 1 implies the following two useful facts.
For any \(P\in \mathbb{P}_{E}\), \(P\cap E^G\) splits completely in \(E/E^G\) if and only if the places \(\sigma(P)\), for all \(\sigma\in G\), are pairwise distinct.
For any rational place \(P\) of \(E\), the rational place \(P\cap E^G\) splits completely in \(E/E^G\) if and only if \(e(P|P\cap E^G)=1\).
In this paper, we always hope that the subfield \(E^G\) of \(E\) can be determined to be a rational function field over \(\mathbb{F}_q\). Thus, the following necessary and sufficient condition will be useful.
Lemma 2. Maintaining the above setting. \(E^G\) is a rational function field if and only if \(\deg\mathrm{Diff}(E/E^G)>2g(E)-2\).
Proof. We have \(2g(E)-2=(2g(E^G)-2)[E:E^G]+\deg\mathrm{Diff}(E/E^G)\) by the Hurwitz genus formula (see 6 ). Hence, \(\deg\mathrm{Diff}(E/E^G)>2g(E)-2\) if and only if \(g(E^G)=0\). This is equivalent to \(E^G\) being a rational function field by [33]. ◻
Throughout this paper, a curve is by default referred to as a projective, smooth, and absolutely irreducible algebraic curve. In particular, an elliptic curve \(\mathfrak{E}\) over \(\mathbb{F}_q\) is defined by a nonsingular Weierstrass equation \[\begin{align} \label{eq:Weierstrass95equation} y^2+a_1xy+a_3y=x^3+a_2x^2+a_4x+a_6, \end{align}\tag{7}\] where \(a_i\) are elements of \(\mathbb{F}_q\). The genus of \(\mathfrak{E}\) is \(1\). An elliptic curve over \(\mathbb{F}_q\) is also denoted by a pair \((\mathfrak{E},O)\), where \(\mathfrak{E}\) is the curve defined by the above Weierstrass equation 7 , and \(O\) is the point at infinity of \(\mathfrak{E}\). Denote by \(E/\mathbb{F}_q\) and \(\mathfrak{E}(\mathbb{F}_q)\) the function field of \(\mathfrak{E}/\mathbb{F}_q\) and the set of all rational points on \(\mathfrak{E}/\mathbb{F}_q\), respectively. The function field \(E\) is given by \(E=\mathbb{F}_q(x,y)\), where transcendental elements \(x\) and \(y\) satisfy the above Weierstrass equation 7 . Recall that \(\mathbb{P}^1_E\) denotes the set of rational places of \(E\). There is a natural bijection between \(\mathfrak{E}(\mathbb{F}_q)\) and \(\mathbb{P}_{E}^1\). Specifically, a rational point \((\alpha,\beta)\) corresponds to the unique common zero of \(x-\alpha\) and \(y-\beta\); and the point at infinity \(O\) corresponds to the unique common pole of \(x\) and \(y\), which will still be denoted by \(O\).
The set of all rational points \(\mathfrak{E}(\mathbb{F}_q)\) has a natural structure of abelian group \((\mathfrak{E}(\mathbb{F}_q),\oplus)\) with zero element \(O\) given by the chord-tangent group law (see [34]). We now identify \(\mathbb{P}_E^1\) with the abelian group \(\mathfrak{E}(\mathbb{F}_q)\) via the bijection described above. This means that \(\mathbb{P}^1_E\) is also an abelian group with zero element \(O\), and we continue to use the symbol \(\oplus\) for its addition. Moreover, for \(P\in \mathbb{P}_E^1\), we use \(\ominus P\) to denote its inverse, and for \(P,Q\in \mathbb{P}_E^1\), we use \(P\ominus Q\) to represent \(P\oplus (\ominus Q)\), i.e, the subtraction. We also write \([m]P\) to stand for \[[m]P:=\begin{cases} \underbrace{P\oplus\dots \oplus P}_{m \text{ times }}, &\text{ if } m \text{ is a positive integer;}\\ O, &\text{ if } m=0;\\ \underbrace{\ominus P\dots \ominus P}_{-m \text{ times }}, &\text{ if } m \text{ is a negative integer.}\\ \end{cases}\]
In what follows, we review the correspondence between the geometric group law of \(\mathbb{P}_E^1\) and the algebraic group law of \(\mathrm{Cl}^0(E)\). The set of divisors of degree zero forms a subgroup of \(\mathrm{Div}(E)\), denoted by \(\mathrm{Div}^0(E)\). Two divisors \(A,B\in \mathrm{Div}(E)\) are called equivalent if there exists \(w\in E^*\) such that \(A=B+(w)\), and we denote this by \(A\sim B\). The set of divisors \(\mathrm{Princ}(E):=\ebraces*{(w)^E=\sum_{P\in\mathbb{P}_E}v_P(w)P:\; w\in E^*}\) is called the group of principal divisors of \(E/\mathbb{F}_q\), which is a subgroup of the abelian group \(\mathrm{Div}^0(E)\). The group of divisor classes of degree zero of \(E/\mathbb{F}_q\) is defined as the following quotient group \[\mathrm{Cl}^0(E):=\mathrm{Div}^0(E)/\mathrm{Princ}(E).\] By [34], there is a group isomorphism between \((\mathbb{P}^1_E,\oplus)\cong (\mathfrak{E}(\mathbb{F}_q),\oplus)\) and \(\mathrm{Cl}^0(E)\) given by \[\label{eq:202506032304} \varphi:\begin{cases}\mathbb{P}^1_E\xrightarrow{\sim} \mathrm{Cl}^0(E),\\ P\mapsto [P-O], \end{cases}\tag{8}\] where \([P-O]\) denotes \(P-O+\mathrm{Princ}(E)\in \mathrm{Cl}^0(E)=\mathrm{Div}^0(E)/\mathrm{Princ}(E)\). This implies the following lemma.
Lemma 3. Let \(E/\mathbb{F}_q\) be an elliptic function field and let \(P_{1},\dots,P_{n},P_{1}',\dots,P_{n}'\) be \(2n\) (not necessarily distinct) rational places of \(E\). Then \[P_1+\dots+P_n\sim P_1'+\dots+P_n' \text{ if and only if } P_1\oplus \dots\oplus P_n=P_1'\oplus\dots\oplus P_n'.\]
Proof. We have \(P_1+\dots+P_n\sim P_1'+\dots+P_n'\) if and only if \(P_1-O+\dots+P_n-O\sim P_1'-O+\dots+P_n'-O\), which is equivalent to \([P_1-O]+\dots+[P_n-O]=[P_1'-O]+\dots+[P_n'-O]\). This is equivalent to \(P_1\oplus \dots\oplus P_n=P_1'\oplus\dots\oplus P_n'\) by the group isomorphism \(\varphi\) in 8 . ◻
There is an upper bound on the number \(N(E)=|\mathbb{P}_E^1|=|\mathfrak{E}(\mathbb{F}_q)|\), which is the special case of the well-known Hasse–Weil bound for curves of genus \(1\) (see [34]). It states that \(| N(E)-q-1| \leq 2\sqrt{q}.\) An elliptic function field \(E/\mathbb{F}_q\) is called maximal if \(N(E)\) attains the Hasse-Weil upper bound, i.e., \(N(E) = q + 2\sqrt{q} + 1.\)
We now recall some results on \(N(E)\) and the group structure of \((\mathbb{P}_E^1,\oplus)\cong (\mathfrak{E}(\mathbb{F}_q),\oplus)\). We say that two elliptic curves \(\mathfrak{E}_1\) and \(\mathfrak{E}_2\) over \(\mathbb{F}_q\) are isogenous if there is a non-constant smooth \(\mathbb{F}_q\)-morphism from \(\mathfrak{E}_1\) to \(\mathfrak{E}_2\) that sends the zero of \(\mathfrak{E}_1\) to the zero of \(\mathfrak{E}_2\) (see [34]). It is well known that two elliptic curves \(\mathfrak{E}_1\) and \(\mathfrak{E}_2\) over \(\mathbb{F}_q\) are isogenous if and only if they have the same number of rational points. The following precise result is due to [38].
Lemma 4 ([38]). The isogeny classes of elliptic curves over \(\mathbb{F}_q\) for \(q=p^s\) are in one-to-one correspondence with the rational integers \(t\) having \(|t|\leq 2\sqrt{q}\) and satisfying some one of the following conditions:
\((t,p)=1\);
If \(s\) is even: \(t=\pm 2\sqrt{q}\);
If \(s\) is even and \(p\not \equiv 1\pmod{3}\): \(t=\pm \sqrt{q}\);
If \(s\) is odd and \(p=2\) or \(3\): \(t=\pm p^{\frac{s+1}{2}}\);
If either (1) \(s\) is odd or (2) \(s\) is even and \(p\not \equiv 1\pmod{4}: t=0.\)
Furthermore, an elliptic curve in the isogeny class corresponding to \(t\) has \(q+1+t\) rational points.
As for the group structure of \((\mathbb{P}_{E}^1,\oplus)\cong (\mathfrak{E}(\mathbb{F}_q),\oplus)\), the following result can be found in [39] and [40], which is summarized by Ma and Xing in [9].
Lemma 5. Let \(\mathbb{F}_q\) be the finite field with \(q=p^s\) elements. Let \(h=\prod_\ell \ell^{h_\ell}\) be a possible number of rational places of an elliptic function field \(E\) over \(\mathbb{F}_q\). Then all the possible groups \(\mathbb{P}_E^1\) are \(\mathbb{Z}/p^{h_p}\mathbb{Z}\times \prod_{\ell \neq p}\left( \mathbb{Z}/\ell^{a_\ell}\mathbb{Z}\times \mathbb{Z}/\ell^{h_\ell-a_\ell}\mathbb{Z}\right)\) with
In case (ii) of Lemma 4: Each \(a_\ell\) is equal to \(h_\ell/2\), i.e, \(\mathbb{P}_E^1\cong \mathbb{Z}/(\sqrt{q}\pm1)\mathbb{Z}\times \mathbb{Z}/(\sqrt{q}\pm1)\mathbb{Z}.\)
In other cases of Lemma 4: \(a_\ell\) is an arbitrary integer satisfying \(0\le a_\ell \le \min\{\nu_\ell(q-1),[h_\ell/2]\}\). In cases (iii) and (iv) of Lemma 4: \(\mathbb{P}_E^1\cong \mathbb{Z}/h\mathbb{Z}.\) In case (v) of Lemma 4: if \(q\not\equiv -1(\text{mod } 4)\), then \(\mathbb{P}_E^1\cong \mathbb{Z}/(q+1)\mathbb{Z}\); otherwise, \(\mathbb{P}_E^1\cong \mathbb{Z}/(q+1)\mathbb{Z}\) or \(\mathbb{P}_E^1\cong \mathbb{Z}/2\mathbb{Z}\times \mathbb{Z}/\frac{q+1}{2}\mathbb{Z}\).
First, we review the automorphism groups of elliptic curves. Let \(\mathfrak{E}/\mathbb{F}_q\) be an elliptic curve defined by the Weierstrass equation 7 . We denote by \(\mathrm{Aut}(\mathfrak{E})\) the set of automorphisms of the elliptic curve \(\mathfrak{E}\) over the algebraic closure \(\overline{\mathbb{F}_q}\). We emphasize that every automorphism \(\sigma\in \mathrm{Aut}(\mathfrak{E})\) is required to fix the point at infinity \(O\), that is, it must be an isogeny. For a characterization of \(\mathrm{Aut}(\mathfrak{E})\), see [34] and its proof.
Next, we review the automorphism groups of elliptic function fields. Let \(E/\mathbb{F}_q\) be the function field of \(\mathfrak{E}/\mathbb{F}_q\). Define \(\mathrm{Aut}(E/\mathbb{F}_q):=\{\sigma:\: \sigma \text{ is an } \mathbb{F}_q\text{-automorphism of } E \}.\) It is a subgroup of the automorphism group \(\mathrm{Aut}(E\overline{\mathbb{F}}_q/\overline{\mathbb{F}}_q)\).
For \(\sigma\in \mathrm{Aut}(E/\mathbb{F}_q)\) and \(P\in \mathbb{P}_E\), it follows from the proof of [33] that \(\sigma(P)\) is also a place of \(E\). Let \(\mathrm{Aut}(E,O):=\{\sigma\in \mathrm{Aut}(E/\mathbb{F}_q):\;\sigma(O)=O\}\) be the set of \(\mathbb{F}_q\)-automorphisms of \(E\) fixing \(O\). Then \(\mathrm{Aut}(E,O)\) is a subgroup of \(\mathrm{Aut}(\mathfrak{E})\) in which every automorphism is defined over \(\mathbb{F}_q\), i.e., it holds that \(\mathrm{Aut}(E,O)=\mathrm{Aut}(\mathfrak{E}) \cap \mathrm{Aut}(E/\mathbb{F}_q).\) For each \(Q\in \mathbb{P}_E^1\), the translation-by-\(Q\) map \(\tau_Q\) defined by \(\tau_Q(P)=P\oplus Q\) induces an \(\mathbb{F}_q\)-automorphism of \(E\). Let \(T_E\) be the translation group \(\{\tau_Q:\; Q\in \mathbb{P}_E^1\}\) of the elliptic function field \(E\), which is naturally isomorphic to the abelian group \(\mathbb{P}_E^1\). The following two results characterize the automorphism group of an elliptic function field and its subgroups.
Lemma 6 ([9]). Let \(E/\mathbb{F}_q\) be an elliptic function field. The automorphism group of \(E\) over \(\mathbb{F}_q\) is the semidirect product of the translation group \(T_E\) and the stabilizer \(\mathrm{Aut}(E,O)\) of the infinite place \(O\), i.e., \[\mathrm{Aut}(E/\mathbb{F}_q)=T_E \rtimes \mathrm{Aut}(E,O).\] The group law of \(\mathrm{Aut}(E/\mathbb{F}_q)\) is given by \((\tau_P\alpha)\cdot (\tau_Q\beta)=\tau_{P\oplus \alpha(Q)}\cdot \alpha\beta\) for any \(\tau_P,\tau_Q\in T_E\) and \(\alpha,\beta\in \mathrm{Aut}(E,O)\).
Lemma 7 ([9]). Let \(E/\mathbb{F}_q\) be an elliptic function field and let \(G\) be a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\). Then, we have \(G \cong (T_E\cap G) \rtimes \pi(G)\), i.e., every subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) is isomorphic to a semiproduct of a subgroup of \(T_E\) and a subgroup of \(\mathrm{Aut}(E, O)\).
Conversely, given a subgroup \(T\) of \(T_E\) and a subgroup \(A\) of \(\mathrm{Aut}(E, O)\), one may wonder under what conditions the product \(TA\) is a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\). The following lemma provides a useful necessary and sufficient condition.
Lemma 8 ([9]). Let \(T\) be a subgroup of the translation group \(T_E\) and let \(A\) be a subgroup of \(\mathrm{Aut}(E,O)\). Then \(TA\) is a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) if and only if \(\tau_{\sigma^{-1}(Q)}\in T\) for all \(\sigma\in A\) and \(\tau_Q\in T\).
By the isomorphism between \(T_E\) and \(\mathbb{P}_E^1\), any subgroup \(T\) of \(T_E\) can be written as \(T=T_H:=\{\tau_Q:Q\in H\}\) for some subgroup \(H\) of \(\mathbb{P}_E^1\). In the rest of the paper, we always adopt the symbol \(T_H\), as several arguments will require explicit computations with \(H\). With this notation, the above lemma is restated as follows.
Lemma 9 (Restatement of [9]). Let \(H\) be a subgroup of \(\mathbb{P}_E^1\) and let \(A\) be a subgroup of \(\mathrm{Aut}(E,O)\). Then \(T_HA\) is a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) if and only if \(\sigma(Q)\in H\) for all \(\sigma\in A\) and \(Q\in H\).
We end this subsection with two facts, which will be applied in Section 3. They can be found in [34] and [9].
Remark 2. Let \(E/\mathbb{F}_q\) be an elliptic function field defined by the Weierstrass equation 7 . Then the following hold.
There always exists an element of order \(2\) in \(\mathrm{Aut}(E,O)\) induced by the inversion operation in the group law of \(\mathbb{P}_E^1\), which is known as the elliptic involution. It can be explicitly defined by its action on \(x\) and \(y\) as \((x \mapsto x,\;y\mapsto -y-a_1x-a_3)\). With slight abuse of notation, we denote this automorphism by \([-1]\). For any subgroup \(H\leq \mathbb{P}_{E}^1\), it holds \(\sigma(Q)\in H\) for all \(\sigma \in A:= \langle[-1]\rangle =\{[-1],\mathrm{id}\}\) and \(Q\in H\), which implies that \(T_H\langle[-1]\rangle\) is a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) by Lemma 9.
Any \(\sigma \in \mathrm{Aut}(E,O)\) is an endomorphism (actually, an isomorphism) of the group \((\mathbb{P}_E^1, \oplus)\), and, in particular, commutes with the above-mentioned elliptic involution \([-1]\in \mathrm{Aut}(E,O)\).
Let \(\mathbb{F}_q\) be a finite field of odd characteristic. A hyperelliptic curve \(\mathfrak{C}/\mathbb{F}_q\) of genus \(g\geq 2\) over \(\mathbb{F}_q\) is a projective, smooth, absolutely irreducible curve defined by the following equation \[\begin{align} \label{eq:hyperellipticcurveequation} y^2 = f(x), \end{align}\tag{9}\] where \(f(x)\in \mathbb{F}_q[x]\) is a square-free polynomial of degree \(2g+1\) or \(2g+2\). It has one or two rational points at infinity, depending on whether the degree of the polynomial \(f(x)\) is odd or even. In this paper, for hyperelliptic curves, we will only consider the case \(\deg(f(x))=2g+1\), in which case there is exactly one rational point at infinity, denoted by \(P_{\infty}\).
Let \(E/\mathbb{F}_q\) denote the function field of \(\mathfrak{C}/\mathbb{F}_q\), and let \(\mathfrak{C}(\mathbb{F}_q)\) denote the set of rational points on \(\mathfrak{C}/\mathbb{F}_q\). The function field \(E\) is given by \(E=\mathbb{F}_q(x,y)\), where the transcendental elements \(x\) and \(y\) satisfy the equation 9 . There is a one-to-one correspondence between \(\mathfrak{C}(\mathbb{F}_q)\) and \(\mathbb{P}^1_E\). Specifically, the rational point \((\alpha, \beta)\) on \(\mathfrak{C}/\mathbb{F}_q\) corresponds to the unique common zero of \(x - \alpha\) and \(y - \beta\), which we denote by \(P_{(\alpha,\beta)}\). The point at infinity \(P_{\infty}\) corresponds to the unique common pole of \(x\) and \(y\), which we also denote by \(P_{\infty}\). Throughout this paper, rational points and rational places not at infinity are called affine rational points and affine rational places, respectively.
Given an affine rational point \((\alpha,\beta)\in \mathfrak{C}(\mathbb{F}_q)\), its hyperelliptic conjugate \((\alpha, -\beta)\) also lies on \(\mathfrak{C}/\mathbb{F}_q\) and corresponds to the unique common zero of \(x - \alpha\) and \(y + \beta\), which we denote by \(\overline{{P}_{(\alpha,\beta)}}:=P_{(\alpha,-\beta)}\in \mathbb{P}_E^1\). For a divisor \(\sum_{i=1}^{g}P_i \in \mathrm{Div}(E)\) with \(P_{1},\dots,P_{g}\in \mathbb{P}_{E}^1\), we say that its affine part is reduced if \(P_{i}\neq \overline{P_j}\) for any \(1\leq i\neq j\leq g\) such that \(P_i\) and \(P_j\) are affine rational places. Based on this definition, we have the following corollary derived from [41]. It will be applied in Section 4.2 in the special case \(g=2\).
Lemma 10. Let \(q\) be an odd prime power, and let \(E/\mathbb{F}_q\) be a hyperelliptic function field of genus \(g\geq 2\) defined by the equation 9 with \(\deg(f(x))=2g+1\). Let \(D_0 = \sum_{i=1}^g P_i\) and \(D_0'=\sum_{i=1}^g P_i'\) be two effective divisors whose affine parts are reduced, where \(P_1,\dots,P_g,P_1',\dots,P_g'\in \mathbb{P}_E^1\). If \(D_0\sim D_0'\), then we have \(D_0=D_0'\).
Proof. Let \(D_\infty:=gP_{\infty}\in \mathrm{Div}(E)\). Since \(D_0\sim D_0'\), we have \([D_0-D_{\infty}]=[D_0'-D_{\infty}]\in \mathrm{Cl}^0(E)\). By the uniqueness of the representative described in [41], we have \(D_0=D_0'\). ◻
Let \(\mathfrak{C}\) be an arbitrary curve of genus \(g\geq 0\) defined over an arbitrary finite field \(\mathbb{F}_q\), and let \(E/\mathbb{F}_q\) be its function field. The Hasse–Weil bound [33] provides a bound on \(N(E):=|\mathbb{P}_E^1|=|\mathfrak{C}(\mathbb{F}_q)|\).
Lemma 11. Let \(N(E)\) be defined as above. Then we have the following Hasse–Weil bound \[\begin{align} \label{Hasse-Weil95Bound} |N(E)-(q+1)|\leq 2g\sqrt{q}. \end{align}\tag{10}\]
A curve \(\mathfrak{C}/\mathbb{F}_q\) and its function field \(E/\mathbb{F}_q\) are called maximal (minimal, respectively) if \(N(E)=q+1+2g\sqrt{q}\) (if \(N(E)=q+1-2g\sqrt{q}\), respectively). The following result is well known.
Lemma 12. Assume that \(q\) is a square and \(\mathfrak{C}\) is a curve of genus \(g\geq 1\) over \(\mathbb{F}_q\). If \(\mathfrak{C}/\mathbb{F}_q\) is maximal, then \(\mathfrak{C}\) is maximal over \(\mathbb{F}_{q^s}\) if and only if \(s\) is odd. Furthermore, \(\mathfrak{C}\) is minimal over \(\mathbb{F}_{q^s}\) if and only if \(s\) is even.
Proof. Since \(\mathfrak{C}/\mathbb{F}_q\) is maximal, its \(L\)-polynomial is \(L(\mathfrak{C}/\mathbb{F}_q,T)=1+2g\sqrt{q} T+(\text{higher order terms of } T)=\prod_{i=1}^{2g}(1-\alpha_{i}\sqrt{q}T)\) with \(|\alpha_i|=1\) by [33]. Thus, \(\alpha_1=\dots=\alpha_{2g}=-1\) and the \(L\)-polynomial over \(\mathbb{F}_{q^s}\) is \(L(\mathfrak{C}/\mathbb{F}_{q^s},T)=(1-(-\sqrt{q})^sT)^{2g}\) by [33]. Since \(\mathfrak{C}\) is maximal (minimal, respectively) over \(\mathbb{F}_{q^s}\) if and only if its \(L\)-polynomial is \((1+q^{s/2}T)^{2g}\) (\((1-q^{s/2}T)^{2g}\), respectively), this lemma is proved. ◻
The following two classes of hyperelliptic curves will be useful in our later constructions.
Lemma 13 ([42]). Let \(q\) be an odd prime power. The smooth complete hyperelliptic curve \(\mathfrak{C}\) corresponding to \(y^2 = x^{2g+1} + x\) is maximal over \(\mathbb{F}_{q^2}\) if and only if \(q \equiv -1\) or \(2g + 1 \pmod{4g}\).
Lemma 14 ([42]). Let \(q\) be an odd prime power. The smooth complete hyperelliptic curve \(\mathfrak{C}\) corresponding to \(y^2 = x^{2g+1} + 1\) is maximal over \(\mathbb{F}_{q^2}\) if and only if \(2g + 1\) divides \(q + 1\).
Every automorphism of a hyperelliptic curve \(\mathfrak{C}\) of genus \(2\) is given by \[\begin{align} \label{eq:matrix95resentation95of95HEFF95auto} \sigma:\left(x\mapsto\frac{ax+b}{cx+d},\; y\mapsto\frac{(ad-bc)y}{(cx+d)^3}\right), \end{align}\tag{11}\] associated with a uniquely determined matrix \(M_{\sigma}=\begin{pmatrix} a & b \\ c & d \end{pmatrix}\in \mathrm{GL}_2(\overline{\mathbb{F}}_q).\) We use \(\mathrm{Aut}(\mathfrak{C})\) to denote the automorphism group of \(\mathfrak{C}\) over \(\overline{\mathbb{F}_q}\). It is isomorphic to a finite subgroup of \(\mathrm{GL}_2(\overline{\mathbb{F}_q})\). For a hyperelliptic curve \(\mathfrak{C}\) of genus \(2\) defined over \(\mathbb{F}_q\), we say that an automorphism \(\sigma \in \mathrm{Aut}(\mathfrak{C})\) is defined over \(\mathbb{F}_q\) if its associated matrix \(M_{\sigma}\) is in \(\mathrm{GL}_2(\mathbb{F}_q)\). We denote \({\mathrm{Aut}}(\mathfrak{C}/\mathbb{F}_q):=\{\sigma\in \mathrm{Aut}(\mathfrak{C}): \sigma \text{ is defined over }\mathbb{F}_q\}\), which is a subgroup of \({\mathrm{Aut}}(\mathfrak{C})\). For each \(\sigma\in \mathrm{Aut}(\mathfrak{C}/\mathbb{F}_q)\), it naturally induces an \(\mathbb{F}_q\)-automorphism of the function field \(E/\mathbb{F}_q=\mathbb{F}_q(\mathfrak{C})\), which will also be denoted by \(\sigma\) for a little abuse of notations. Actually, this gives a one-to-one correspondence between \(\mathrm{Aut}(\mathfrak{C}/\mathbb{F}_q)\) and \(\mathrm{Aut}(E/\mathbb{F}_q)\). Sometimes, we do not distinguish between them.
Every hyperelliptic curve admits a special automorphism \(\iota\) of order \(2\), which is known as the hyperelliptic involution.
Remark 3. Let \(\mathfrak{C}\) be a hyperelliptic curve of genus \(2\) defined over \(\mathbb{F}_q\) (\(\mathrm{char}(\mathbb{F}_q)\neq 2\)) by the equation \(y^2=f(x)\), and let \(E/\mathbb{F}_q\) be its function field. There exists a special automorphism, the hyperelliptic involution \(\iota\in \mathrm{Aut}(\mathfrak{C}/\mathbb{F}_q)=\mathrm{Aut}(E/\mathbb{F}_q)\), defined by \(\iota: (x\mapsto x,\;y\mapsto -y),\) with associated matrix \(M_{\iota}=\eparentheses*{\begin{array}{cc} -1 & 0 \\ 0 & -1 \end{array}}.\) It commutes with all elements in \(\mathrm{Aut}(\mathfrak{C}/\mathbb{F}_q)=\mathrm{Aut}(E/\mathbb{F}_q)\) since \(M_{\iota}\) is a scalar matrix. Moreover, it holds \(\iota(P_{(\alpha,\beta)})=\overline{P_{(\alpha,\beta)}}\) for any affine rational place \(P_{(\alpha,\beta)}\in \mathbb{P}_E^1\).
There have been many studies on the automorphism group of hyperelliptic curves of genus \(2\). For example, [35]–[37]. Based on the results in [36], [37], Huang and Zhao [17] determined the automorphism group of the hyperelliptic curve defined by \(y^2=x^5+x\) over particular finite fields, which is helpful for our calculations later in Section 4.2.
Lemma 15 ([17]). Let \(q\) be a power of an odd prime such that \(8\mid (q-1)\) and \(2^{1/2}\in\mathbb{F}_q\). Let \(\mathfrak{C}\) be a hyperelliptic curve defined over \(\mathbb{F}_q\) by the equation \(y^2=x^5+x\). Let \(\tilde{S}_4\) and \(\tilde{S}_5\) denote certain 2-coverings of the permutation groups \(S_4\) and \(S_5\), respectively. Then the following statements hold.
If \(\mathrm{char}(\mathbb{F}_q)\neq 3, 5\), then \({\mathrm{Aut}}(\mathfrak{C}/\mathbb{F}_q)\simeq \tilde{S}_4\). Specifically, \(\mathrm{Aut}(\mathfrak{C}/\mathbb{F}_q)\cong <U',V'>\leq \mathrm{GL}_2(\mathbb{F}_q)\) with \[U'=2^{-1/2}\begin{pmatrix} 1 & -(-1)^{1/4} \\ (-1)^{3/4} & -1 \end{pmatrix}\quad \text{ and } \quad V'=2^{-1/2}\begin{pmatrix} (-1)^{1/2}-1 & 0 \\ 0 & (-1)^{1/2}+1 \end{pmatrix}.\]
If \(\mathrm{char}(\mathbb{F}_q)=5\), then \({\mathrm{Aut}}(\mathfrak{C}/\mathbb{F}_q)\simeq \tilde{S}_5\). Specifically, \(\mathrm{Aut}(\mathfrak{C}/\mathbb{F}_q)\cong <U',V',W'>\leq \mathrm{GL}_2(\mathbb{F}_q)\) with \[U'=\begin{pmatrix} 0 & -(-1)^{-1/4}\cdot2 \\ -(-1)^{1/4}\cdot2 & 0 \end{pmatrix}, \quad V'=\begin{pmatrix} 0 & -(-1)^{-1/4}\cdot2 \\ -(-1)^{1/4}\cdot2 & 1 \end{pmatrix} \quad \text{ and } \quad W'=2^{1/2}\begin{pmatrix} 1 & 0 \\ 0 & 2 \end{pmatrix}.\]
In this subsection, we present a general framework for constructing optimal \((r,\delta)\)-LRCs via automorphism groups of elliptic function fields, which is a generalization of that proposed in the works [8] and [9]. We transform the construction of optimal \((r,\delta)\)-LRCs based on automorphism groups of elliptic function fields into some conditions concerning the group law of \(\mathbb{P}_{E}^1\) (see Section 2.3). Before proceeding, recall that for any \(H\leq \mathbb{P}_E^1\), we denote by \(T_H\) the subgroup \(\{\tau_Q:\; Q\in H\}\) of the translation group \(T_E\).
Proposition 1. Let \(E/\mathbb{F}_q\) be an elliptic function field. Let \(H\) be a subgroup of \(\mathbb{P}_E^1\) and let \(A\) be a nontrivial subgroup of \(\mathrm{Aut}(E, O)\) such that \(G = T_HA\) is a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) (see Lemma 9). Let \(|G|=r+\delta-1\) with \(r\geq 1,\delta\geq 2\). Let \(F:=E^{G}\), and let \([P_1,P_2,\dots,P_{r+\delta-1}]\) be a list5 of rational places of \(E\) such that \(\sum_{j=1}^{r+\delta-1}P_j=\mathrm{Con}_{E/F}(Q_\infty)\) for a rational place \(Q_{\infty}\in \mathbb{P}_F^1\). Then the following statements hold.
There exists a function \(z\in F\) such that \(F=\mathbb{F}_q(z)\) and \((z)^E_{\infty}=\mathrm{Con}_{E/F}(Q_{\infty})=\sum_{j=1}^{r+\delta-1}P_j\).
The set \(\mathcal{L}_{E}(\sum_{j=1}^{i+1}P_{j})\backslash \mathcal{L}_{E}(\sum_{j=1}^{i}P_{j})\) is non-empty for each \(1\leq i\leq r-1\). Moreover, let \(w_i\) be an arbitrary element of \(\mathcal{L}_{E}(\sum_{j=1}^{i+1}P_{j})\backslash \mathcal{L}_{E}(\sum_{j=1}^{i}P_{j})\) for each \(1\leq i\leq r-1\). Then \(w_0:=1,w_1,\dots,w_{r-1}\) are linearly independent over \(F\).
Let \(\{P_{i,1},P_{i,2},\dots,P_{i,r+\delta-1}\}\) be pairwise distinct rational places of \(E\) lying over a rational place \(Q_i\) of \(F\) for each \(1\leq i\leq \ell\), such that \(Q_{\infty},Q_1,\dots,Q_{\ell}\) are pairwise distinct. Then all \(r\times r\) submatrices of the following matrix \[\begin{align} \label{eq:Generator95Matrix95of95Local95Code} M_i:=\left(\begin{array}{cccc} w_0(P_{i,1})&w_0(P_{i,2})&\cdots&w_0(P_{i,r+\delta-1})\\ w_1(P_{i,1})&w_1(P_{i,2})&\cdots&w_1(P_{i,r+\delta-1})\\ \vdots &\vdots &\ddots &\vdots\\ w_{r-1}(P_{i,1})&w_{r-1}(P_{i,2})&\dots&w_{r-1}(P_{i,r+\delta-1})\\ \end{array}\right) \end{align}\qquad{(1)}\] are invertible for each \(1\leq i \leq \ell\) if and only if \[\begin{align} \label{eq:equivconditionofEFFcons953} \oplus_{j=1}^{r}P_{j}\notin \bigcup_{i=1}^{\ell} \ebraces*{\oplus_{j=1}^{r}P_{i,u_j}:\; 1\leq u_1< \dots < u_{r}\leq r+\delta-1}, \end{align}\qquad{(2)}\] or equivalently, \[\begin{align} \label{eq:equivconditionofEFFcons954} \oplus_{j=r+1}^{r+\delta-1}P_{j}\notin \bigcup_{i=1}^{\ell} \ebraces*{\oplus_{j=1}^{\delta-1}P_{i,u_j}:\; 1\leq u_1< \dots < u_{\delta-1}\leq r+\delta-1}. \end{align}\qquad{(3)}\]
Proof. (i) By Lemma 1 (i), the set of all distinct places of \(E\) lying over \(O\cap F\) is \(\{\sigma(O):\; \sigma\in T_HA\}=H\). Since \(O\) is a rational place, we have \(f(O|O\cap F)=1\). Applying Lemma 1 (iii) yields \(|H|\cdot e(O|O\cap F)=|G|=|A||H|\), and hence, \(e(O|O\cap F)=|A|\geq 2\). By Dedekind’s different theorem (see 5 ), we have \(\deg\mathrm{Diff}(E/F)\geq \deg((e(O|O\cap F)-1)O)\geq 1\). By Lemma 2, \(F\) is a rational function field. Therefore, we have \(\dim_{\mathbb{F}_q}(\mathcal{L}_{F}(Q_{\infty}))=2\). Let \(z\in \mathcal{L}_F(Q_{\infty})\backslash \mathbb{F}_q\). We have \([F:\mathbb{F}_q(z)]=\deg((z)_{\infty}^F)=\deg(Q_{\infty})=1\) and \((z)^E_{\infty}=\mathrm{Con}_{E/F}((z)^F_{\infty})=\mathrm{Con}_{E/F}(Q_{\infty})=\sum_{j=1}^{r+\delta-1}P_j\).
(ii) Since the case \(r=1\) is trivial, we henceforth assume \(r\geq 2\). By the Riemann-Roch theorem (see 2 ), for any \(1\leq i\leq r-1\), we have \(\mathcal{L}_{E}(\sum_{j=1}^{i+1}P_{j})\backslash \mathcal{L}_{E}(\sum_{j=1}^{i}P_j)\neq \varnothing\). Let \(w_0:=1\) and \(w_i\in \mathcal{L}_{E}(\sum_{j=1}^{i+1}P_{j})\backslash \mathcal{L}_{E}(\sum_{j=1}^{i}P_{j})\) for each \(1\leq i\leq r-1\). We need to show that \(w_0,w_1,\dots,w_{r-1}\) are \(F\)-linearly independent. Assume towards a contradiction that there exist rational functions \({f}_{0}(z),\dots,{f}_{r-1}(z)\in F=\mathbb{F}_q(z)\), not all zero, such that \(\sum_{i=0}^{r-1}{f}_i(z)w_i=0\). By clearing denominators, we may assume that \({f}_{0}(z),\dots,{f}_{r-1}(z)\) are polynomials of \(z\). Let \(t:=\max\{0\leq i\leq r-1:\;\deg({f}_i(z))=\max\{\deg({f}_j(z)):\;0\leq j\leq r-1\}\}\), where we adopt the convention \(\deg(0):=-\infty\). It holds that \({f}_t(z)\neq 0\). Then we consider the following two possible cases of \(t\) towards deriving a contradiction. Before proceeding, we denote \(e:=e(P_1|Q_{\infty})=\dots=e(P_{r+\delta-1}|Q_{\infty})\), and observe that \(v_{P_1}(z)=\dots=v_{P_{r+\delta-1}}(z)=-e\).
If \(t=0\), then we have \(\deg({f}_{0}(z))>\deg({f}_i(z))\) for any \(1\leq i\leq r-1\). Hence, for any \(1\leq i\leq r-1\) such that \({f}_i(z)\neq 0\), we have \[v_{P_{r+\delta-1}}({f}_{0}(z)w_0)=-e\deg({f}_{0}(z))<-e\deg({f}_i(z))-(e-1)\leq -e\deg({f}_i(z))+v_{P_{r+\delta-1}}(w_i)= v_{P_{r+\delta-1}}({f}_i(z)w_i),\] where the symbol “\(\leq\)” is due to \(w_i\in \mathcal{L}_{E}(P_1+\dots+P_{r+\delta-1}-P_{r+\delta-1})=\mathcal{L}_{E}(\sum_{P|Q_{\infty}}eP-P_{r+\delta-1})\). This implies \(v_{P_{r+\delta-1}}(\sum_{i=0}^{r-1}{f}_i(z)w_i)=v_{P_{r+\delta-1}}({f}_{0}(z)w_0)\neq \infty\) by the strict triangle inequality (see [33]).
If \(1\leq t\leq r-1\), then we have \(\deg({f}_t(z))\geq \deg({f}_i(z))\) for any \(0\leq i\leq t-1\); and \(\deg({f}_t(z))>\deg({f}_i(z))\) for any \(t+1\leq i\leq r-1\). Hence, for any \(0\leq i\leq t-1\) such that \({f}_i(z)\neq 0\), we have \[\begin{align} \label{eq:202507131727} v_{P_{t+1}}({f}_t(z)w_t)=-e\deg({f}_t(z))+v_{P_{t+1}}(w_t)<-e\deg({f}_i(z))+v_{P_{t+1}}(w_i)=v_{P_{t+1}}({f}_i(z)w_i), \end{align}\tag{12}\] where “\(<\)” is due to \(\deg({f}_t(z))\geq \deg({f}_i(z))\) and \(v_{P_{t+1}}(w_t)<v_{P_{t+1}}(w_i)\) since \(v_{P_{t+1}}(w_t)\leq -v_{P_{t+1}}(\sum_{j=1}^{t+1}P_j)\),6 \(w_i\in \mathcal{L}_{E}(\sum_{j=1}^{t+1}P_j-P_{t+1})\); and for any \(t+1\leq i\leq r-1\) such that \({f}_i(z)\neq 0\), we have \[\begin{align} \label{eq:202507131728} v_{P_{t+1}}({f}_t(z)w_t)=-e\deg({f}_t(z))+v_{P_{t+1}}(w_t)<-e\deg({f}_i(z))+v_{P_{t+1}}(w_i)=v_{P_{t+1}}({f}_i(z)w_i), \end{align}\tag{13}\] where the symbol “\(<\)” is due to \(\deg({f}_t(z))> \deg({f}_i(z))\), \(v_{P_{t+1}}(w_t)\leq -1\) and \(v_{P_{t+1}}(w_i)\geq -e\) since \(v_{P_{t+1}}(w_t)\leq -v_{P_{t+1}}(\sum_{j=1}^{t+1}P_j)\) and \(w_i\in \mathcal{L}_{E}(\sum_{j=1}^{r+\delta-1}P_j)=\mathcal{L}_{E}(\sum_{P|Q_{\infty}}eP)\). Inequalities 12 and 13 imply \(v_{P_{t+1}}(\sum_{i=0}^{r-1}{f}_i(z)w_i) =v_{P_{t+1}}({f}_t(z)w_t)\neq \infty\).
The above two cases both lead to a contradiction with \(\sum_{i=0}^{r-1}{f}_i(z)w_i=0\). Therefore, \(w_0,w_1,\dots,w_{r-1}\) are \(F\)-linearly independent.
(iii) For any \(1\leq i\leq \ell\) and \(1\leq u_1<\cdots<u_{r} \leq r+\delta-1\), we will show that the submatrix consisting of the \(u_1,\dots,u_{r}\)-th columns of \(M_i\) in ?? is singular if and only if \(\oplus_{j=1}^{r}P_j= \oplus_{j=1}^{r}P_{i,u_j}\).
If the submatrix consisting of the \(u_1,\dots,u_{r}\)-th columns of \(M_i\) is singular, then there exist \(c_0,c_1,\dots,c_{r-1}\in \mathbb{F}_q\), not all zero, such that the vector \((c_0,c_1,\dots,c_{r-1})M_i\) vanishes at the positions \(u_1,\dots,u_{r}\). Thus, the function \(w:=\sum_{j=0}^{r-1}c_jw_j\) has \(r\) zeros \(P_{i,u_1},\dots,P_{i,u_r}\). Since \(w\in \mathcal{L}_{E}(P_1+\dots+P_{r})\), we have \(w \in \mathcal{L}_{E}(P_1+\dots+P_{r}-P_{i,u_1}-\dots-P_{i,u_r})\). This implies \((w)^E=-P_1-\dots-P_{r}+P_{i,u_1}+\dots+P_{i,u_r}\). And then it holds \(\oplus_{j=1}^{r}P_j= \oplus_{j=1}^{r}P_{i,u_j}\) by Lemma 3.
Conversely, \(\oplus_{j=1}^{r}P_j = \oplus_{j=1}^{r}P_{i,u_j}\) implies \(P_1+\dots+P_{r}\sim P_{i,u_1}+\dots+P_{i,u_r}\) by Lemma 3, i.e., there exists a nonzero function \(w\in E\) such that \((w)^E=-P_1-\dots-P_{r}+P_{i,u_1}+\dots+P_{i,u_r}\). Then we have \(w\in \mathcal{L}_{E}(\sum_{j=1}^{r}P_j)=\mathop{\mathrm{span}}_{\mathbb{F}_q}\{w_0,w_1,\dots,w_{r-1}\}\), and thus \(w=\sum_{j=0}^{r-1}c_jw_j\) for some \(c_0,c_1,\dots,c_{r-1}\in \mathbb{F}_q\) that are not all zero, which means that \((c_0,c_1,\dots,c_{r-1})M_i\) vanishes at the positions \(u_1,\dots,u_{r}\). And then the submatrix consisting of the \(u_1,\dots,u_{r}\)-th columns of \(M_i\) is singular.
The above statements imply the equivalences stated in Proposition 1 (iii), except for ?? . It remains to establish the equivalence between ?? and ?? .
Note that for any \(1\leq i\leq \ell\), \(\mathcal{L}_{F}(Q_{\infty}-Q_i)\neq \{0\}\) since \(F\) is a rational function field. Thus, there exists a nonzero function \(z'\in \mathcal{L}_{F}(Q_{\infty}-Q_i)\subseteq F\) such that \((z')^F=-Q_{\infty}+Q_i\), and then \((z')^E=\mathrm{Con}_{E/F}((z')^F)=\mathrm{Con}_{E/F}(-Q_{\infty}+Q_i)=(-P_1-\dots-P_{r+\delta-1})+(P_{i,1}+\dots+P_{i,r+\delta-1})\). This implies that \(\oplus_{j=1}^{r+\delta-1}P_j=\oplus_{j=1}^{r+\delta-1}P_{i,j}\) by Lemma 3. Therefore, \[\oplus_{j=1}^{r}P_{j}\notin\{\oplus_{j=1}^{r}P_{i,u_j}:\; 1\leq u_1< \dots < u_{r}\leq r+\delta-1\}\] is equivalent to \[\oplus_{j=r+1}^{r+\delta-1}P_{j}\notin\{\oplus_{j=1}^{\delta-1}P_{i,u_j}:\; 1\leq u_{1}< \dots < u_{\delta-1}\leq r+\delta-1\}.\] Consequently, ?? and ?? are equivalent. The proof is completed. ◻
Remark 4.
In Proposition 1, when \(\delta=2\), the equivalent condition ?? becomes \[\begin{align} P_{r+1}\notin \bigcup_{i=1}^{\ell}\{P_{i,u_1}: 1\leq u_1\leq r+1\}. \end{align}\] This condition holds naturally due to the fact that \(P_{r+1}\neq P_{i,j}\) for any \(1\leq i\leq \ell\) and \(1\leq j\leq r+1\). And thus all \(r\times r\) submatrices of \(M_i\) in ?? are invertible for each \(1\leq i\leq \ell\). This is exactly what is demonstrated in [9], where all \(r\times r\) submatrices of the following matrix \[\begin{align} \left(\begin{array}{cccc} w_0(P_{i,1})&w_0(P_{i,2})&\cdots&w_0(P_{i,r+1})\\ w_1(P_{i,1})&w_1(P_{i,2})&\cdots&w_1(P_{i,r+1})\\ \vdots &\vdots&\ddots &\vdots\\ w_{r-1}(P_{i,1})&w_{r-1}(P_{i,2})&\dots&w_{r-1}(P_{i,r+1})\\ \end{array}\right) \end{align}\] are proved to be invertible for each \(1\leq i\leq \ell\). However, when \(r>1\) and \(\delta>2\), the conditions ?? and ?? are not guaranteed to hold without additional assumptions. Later, in Sections 3.2 and 3.3, for \(r=2\) or \(\delta=3\), we will provide two distinct sufficient conditions for an elliptic function field and the subgroups of its automorphism group, under which we can select rational places \([P_1,\dots,P_{r+\delta-1}],\{P_{1,1},\dots,P_{1,r+\delta-1}\}, \dots,\{P_{\ell,1},\dots,P_{\ell,r+\delta-1}\}\) satisfying conditions ?? and ?? . This, together with Proposition 2 below, leads to several classes of optimal \((r,3)\)-LRCs and optimal \((2,\delta)\)-LRCs.
In addition to generalizing the framework from the case of \(r\)-LRCs in [9] to the case of \((r,\delta)\)-LRCs, Proposition 1 also provides the following improvement. In [9], \(P_{1},\dots,P_{r+1}\) are required to be all distinct rational places lying over a rational place \(Q_{\infty}\in \mathbb{P}_{F}^1\) that splits completely in \(E/F\), and then the functions \(w_0,w_1,\dots,w_{r-1}\) are defined by the set \(\{P_{1},\dots,P_{r+1}\}\). In Proposition 1, we allow the functions \(w_0,w_1,\dots,w_{r-1}\) to be defined using a list \([P_1,\dots,P_{r+\delta-1}]\) of rational places of \(E\) satisfying \(\sum_{j=1}^{r+\delta-1}P_j=\mathrm{Con}_{E/F}(Q_{\infty})\) for a rational place \(Q_{\infty}\) of \(F\), regardless of whether \(Q_{\infty}\) splits completely in \(E/F\). This improvement is crucial for our later construction of optimal \((r,3)\)-LRCs (and \((2,\delta)\)-LRCs) in Theorem 2. There, the elliptic involution \([-1]\notin G\leq \mathrm{Aut}(E/\mathbb{F}_q)\), and we need to select \([P_1,P_2,\dots,P_{r+2}]\) such that \[\begin{align} \label{eq:3331} P_{r+1}\oplus P_{r+2}=O, \end{align}\tag{14}\] which is fulfilled by setting \(Q_{\infty}=O\cap F\) and \(P_{r+1}=P_{r+2}=O\). However, it is hard to fulfill 14 if we require that \(Q_{\infty}\) splits completely in \(E/F\).
Assume that for \(r=a\), \(\delta=b\) (with \(r+\delta-1=a+b-1=|G|\)), there exist rational places \([P_1,P_2,\dots,P_{r+\delta-1}], \{P_{1,1}, \dots,P_{1,r+\delta-1}\},\dots,\{P_{\ell,1}, \dots,P_{\ell,r+\delta-1}\}\) satisfying the conditions in Proposition 1, including conditions ?? and ?? . Then for \(r=b-1,\delta=a+1\) (note that \(r+\delta-1=a+b-1=|G|\) still holds), there also exist rational places \([P'_1,P'_2,\dots,P'_{r+\delta-1}], \{P'_{1,1}, \dots,P'_{1,r+\delta-1}\},\dots,\{P'_{\ell,1}, \dots,P'_{\ell,r+\delta-1}\}\) satisfying the conditions in Proposition 1, including conditions ?? and ?? . Indeed, it suffices to set \(P'_1=P_{r+\delta-1},\dots,P'_{r+\delta-1}=P_1\), and \(P'_{i,j}=P_{i,j}\) for \(1\leq i\leq \ell\) and \(1\leq j\leq r+\delta-1\).
Building directly on Proposition 1, we have the following construction of optimal \((r,\delta)\)-LRCs.
Proposition 2. We adopt the settings of Proposition 1 and assume that at least one of conditions ?? and ?? holds. Suppose two integers \(t\) and \(m\) satisfy \(1\leq t< m\leq \ell\). Let \(V:=\{a_{0,t}w_0z^t+\sum_{i=0}^{r-1}\sum_{j=0}^{t-1}a_{i,j}w_iz^j:a_{0,t}\in \mathbb{F}_q \text{ and }a_{i,j}\in \mathbb{F}_q \text{ for } 0\leq i\leq r-1, 0\leq j\leq t-1\}\), and let \(\mathcal{P}:=\{P_{1,1},\dots,P_{1,r+\delta-1},\dots,P_{m,1},\dots,P_{m,r+\delta-1}\}\). Define \(\mathcal{C}(\mathcal{P},V)\) by \[\begin{align} \label{eq:202506060032} \mathcal{C}(\mathcal{P},V):=\left\{(\phi(P_{1,1}),\dots,\phi(P_{1,r+\delta-1}),\dots,\phi(P_{m,1}),\dots,\phi(P_{m,r+\delta-1})):\; \phi\in V\right\}. \end{align}\qquad{(4)}\] Then the linear code \(\mathcal{C}(\mathcal{P},V)\) is an optimal \((r,\delta)\)-LRC with parameters \([m(r+\delta-1),tr+1,(m-t)(r+\delta-1)]_q.\)
Proof. By Proposition 1 (ii), \(w_0,w_1,\dots,w_{r-1}\) are \(F\)-linearly independent, which, along with the fact that \(1,z,\dots,z^t\in F\) are \(\mathbb{F}_q\)-linearly independent, implies that \(\dim_{\mathbb{F}_q}(V)=tr+1\). Note that \(V\subseteq \mathcal{L}_{E}(t(P_1+P_2+\dots+P_{r+\delta-1}))\). By Section 2.1, \(\mathcal{C}(\mathcal{P},V)\) is a linear code with parameters \([n=m(r+\delta-1),k=tr+1,d\geq (m-t)(r+\delta-1)]_q.\) In the following, we prove that \(\mathcal{C}(\mathcal{P},V)\) is an optimal \((r,\delta)\)-LRC.
Since \(z\in F\) and \(P_{i,1},\dots,P_{i,r+\delta-1}\) all lie over \(Q_{i}\in \mathbb{P}_F^1\) for each \(1\leq i\leq m\), we have \(z(P_{i,1})=\dots=z(P_{i,r+\delta-1})=z(Q_i)\), and thus \(\mathcal{C}(\mathcal{P},V)|_{\{(i-1)(r+\delta-1)+1,\dots,i(r+\delta-1)\}}=\{(\phi(P_{i,1}),\dots,\phi(P_{i,r+\delta-1})):\; \phi\in \mathop{\mathrm{span}}_{\mathbb{F}_q}\{w_0,w_1,\dots,w_{r-1}\}\}\). The minimum distance of \(\mathcal{C}(\mathcal{P},V)|_{\{(i-1)(r+\delta-1)+1,\dots,i(r+\delta-1)\}}\) is equal to \(\delta\) since the matrix \(M_i\) in ?? is a generator matrix of \(\mathcal{C}(\mathcal{P},V)|_{\{(i-1)(r+\delta-1)+1,\dots,i(r+\delta-1)\}}\) and all \(r\times r\) submatrices of \(M_i\) are invertible by Proposition 1 (iii). Thus, \(\mathcal{C}(\mathcal{P},V)\) is an \((r,\delta)\)-LRC. By the Singleton-type bound 1 , we have \(d\leq n-k+1-(\lceil k/r\rceil-1)(\delta-1)=(m-t)(r+\delta-1).\) Therefore, the minimum distance \(d\) of \(\mathcal{C}(\mathcal{P},V)\) is determined to be \((m-t)(r+\delta-1)\) and \(\mathcal{C}(\mathcal{P},V)\) is an optimal \((r,\delta)\)-LRC. ◻
Remark 5.
Ma and Xing (see the proof of [9]) employed the modified algebraic geometry codes to lengthen the optimal \(r\)-LRC by \((r+1)\), by allowing \(P_1,\dots,P_{r+1}\) to be evaluation points (where \(P_1,\ldots,P_{r+1}\) are required to be pairwise distinct). Our framework (Proposition 1 and Proposition 2) can also achieve this (when \(\delta=2\), and \(P_1,\dots,P_{r+1}\) are pairwise distinct, or equivalently, \(Q_{\infty}\) splits completely in \(E/F\)). However, in general, or more precisely, in the case where \(\delta\geq 3\) and \(P_1,\dots,P_{r+\delta-1}\) are pairwise distinct, the technique of modified algebraic geometry code may not be feasible, since the \((r,\delta)\)-locality can no longer be guaranteed on the extended evaluation points \(P_1,\dots,P_{r+\delta-1}\).
When \(\delta=2\), by [9], Proposition 1, Remark 4 (i), Proposition 2, and Remark 5 (i), we can recover [9]. Alternatively, one can set \(\delta=2\) and \(Q_{\infty}=O\cap F\) in Proposition 1 and 2 to recover [9] by [9] and Remark 4 (i).
As mentioned in Remark 4 (i), when \(r\geq 2\) and \(\delta\geq 3\), the conditions ?? and ?? will not hold by default like the case of \(r\)-LRCs (i.e., \(\delta=2\)). In the next two subsections, we consider specific settings of the elliptic function fields \(E/\mathbb{F}_q\) along with suitable automorphism subgroups \(G=T_HA\leq \mathrm{Aut}(E/\mathbb{F}_q)\), under which there exist rational places \([P_1,\dots,P_{r+\delta-1}], \{P_{1,1},\dots,P_{1,r+\delta-1}\},\dots, \{P_{\ell,1},\dots, P_{\ell,r+\delta-1}\}\) satisfying conditions ?? and ?? . Consequently, we arrive at several families of explicit optimal \((r,3)\)-LRCs and \((2,\delta)\)-LRCs.
In this subsection, we construct our first explicit family of optimal \((r,3)\)-LRCs and \((2,\delta)\)-LRCs based on the framework proposed in the previous subsection. This class of constructions relies on elliptic function fields with odd rational places, utilizing a subgroup \(T_H\langle[-1]\rangle\leq \mathrm{Aut}(E/\mathbb{F}_q)\).
Theorem 1. Let \(E/\mathbb{F}_q\) be an elliptic function field with \(N(E)\) rational places satisfying \(2\nmid N(E)\). Let \(H\) be a subgroup of \(\mathbb{P}_E^1\) of order \(h\geq 3\), and let \(A:= \langle[-1]\rangle \leq \mathrm{Aut}(E,O)\) (see Remark 2 (i)). Let \(G:=T_{H} A\leq\mathrm{Aut}(E/\mathbb{F}_q)\), \(F:=E^G\), and \(r=2h-2\), \(\delta=3\) (or \(r=2\), \(\delta=2h-1\)). Then there exist rational places \([P_1,\dots,P_{r+\delta-1}]\), \(\{P_{1,1},\dots,P_{1,r+\delta-1}\}\),…,\(\{P_{\ell,1},\dots, P_{\ell,r+\delta-1}\}\) of \(E\) satisfying the conditions in Proposition 1 (including conditions ?? and ?? ), where \(\ell=\frac{N(E)-h}{2h}-1\).
Consequently, by Propositions 1 and 2, there exist an optimal \((r=2h-2,\delta=3)\)-LRC and an optimal \((r=2,\delta=2h-1)\)-LRC with parameters \([m\cdot 2h,tr+1,(m-t)\cdot 2h]_q\) for any \(1\leq t<m\leq \ell=\frac{N(E)-h}{2h}-1\).
Proof. It suffices to prove the case \(r=2h-2\) and \(\delta=3\), from which the case \(r=2\) and \(\delta=2h-1\) can be deduced by Remark 4 (iii).
Let \(r=2h-2\) and \(\delta=3\). In the following, we select rational places \([P_1,\dots,P_{r+2}]\), \(\{P_{1,1},\dots,P_{1,r+2}\}\), …, \(\{P_{\ell,1},\dots,P_{\ell,r+2}\}\) of \(E\) that satisfy the conditions of Proposition 1 (including the equivalent condition ?? ). To this end, we first consider the number of rational places of \(F\) that split completely in \(E/F\). We claim that this number is equal to \[\begin{align} \label{eq:estima951} \ell+1=\frac{N(E)-h}{2h}. \end{align}\tag{15}\] Indeed, the following two statements hold.
(1) for any \(P\in H\), \(P\cap F=O\cap F\) does not split completely in \(E/F\);
(2) for any \(P\in \mathbb{P}_E^1\backslash H\), \(P\cap F\) splits completely in \(E/F\).
To prove the statement (1) where \(P\in H\), it suffices to observe that \(\mathrm{Con}_{E/F}(O\cap F)=\sum_{R\in H}2R\) by Lemma 1. Consequently, \(e(P|P\cap F)=e(P|O\cap F)=2\), and thus the statement (1) holds.
To prove the statement (2) where \(P\in \mathbb{P}_E^1\backslash H\), we assume towards a contradiction that \(P\cap F\) does not split completely in \(E/F\). By Remark 1 (i), this implies that \(\sigma_1(P)=\sigma_2(P)\) for some \(\sigma_1\neq \sigma_2\in G=T_H\langle [-1] \rangle\), which further implies \[\begin{align} \label{eq:20250520951932} P=\sigma_1^{-1}\sigma_2(P). \end{align}\tag{16}\] Let \(\sigma_1^{-1}\sigma_2 = \tau_Q [-1]^i\) for some \(Q \in H\) and \(i \in \{0,1\}\). If \(i = 0\), then 16 implies that \(Q=O\), which would mean \(\sigma_1^{-1}\sigma_2= \mathrm{id}\), contradicting with \(\sigma_1\neq \sigma_2\). Thus, \(i=1\), and it follows that \[P=\sigma_1^{-1}\sigma_2(P)=\tau_Q [-1](P)=[-1]P\oplus Q.\] This implies \([2]P=Q\in H\), and then \(P=[N(E)+1]P=\ebrackets*{\frac{N(E)+1}{2}}([2]P)=\ebrackets*{\frac{N(E)+1}{2}}Q\in H\), which contradicts \(P\in \mathbb{P}_E^1\backslash H\). Therefore, the statement (2) holds, hence the number of rational places of \(F\) that split completely in \(E/F\) is exactly \(\ell+1=\frac{N(E)-h}{2h}.\) We denote the sets of all rational places of \(E\) that lie over these \(\ell+1\) rational places of \(F\) by \(\{P_1,\dots,P_{r+2}\}, \{P_{1,1},\dots,P_{1,r+2}\},\dots, \{P_{\ell,1},\dots,P_{\ell,r+2}\}\), respectively.
We claim that there exists a reorder of \(P_1,\dots,P_{r+2}\) such that \([P_1,\dots,P_{r+2}], \{P_{1,1},\dots,P_{1,r+2}\},\dots,\{P_{\ell,1},\dots,P_{\ell,r+2}\}\) satisfy the condition ?? , i.e., \[\begin{align} \label{eq:tempcondition} P_{r+1}\oplus P_{r+2}\notin \bigcup_{i=1}^{\ell} \ebraces*{P_{i,u_1}\oplus P_{i,u_2}:\; 1\leq u_1< u_{2}\leq r+2}. \end{align}\tag{17}\] The proof of this claim is as follows. Since \(E/F=E/E^{G}\) is a Galois extension with \(\mathrm{Gal}(E/F)=G\), the group \(G=T_{H} \langle[-1]\rangle\) acts transitively on each of \(\{P_1,\dots,P_{r+2}\}, \{P_{1,1},\dots,P_{1,r+2}\}, \dots,\{P_{\ell,1},\dots,P_{\ell,r+2}\}\) by Lemma 1 (i). Since the order of \(G\) is equal to \(r+2\), which is equal to the cardinality of these sets, these pairwise disjoint sets can be represented as \[\label{eq:202506120017} \begin{cases} \{P_1,\dots,P_{r+2}\}&=\{\sigma(P_1):\; \sigma\in G\}=\eparentheses*{P_1\oplus H}\sqcup \eparentheses*{[-1]P_1\oplus H},\\ \{P_{1,1},\dots,P_{1,r+2}\}&=\{\sigma(P_{1,1}):\; \sigma\in G\}=\eparentheses*{P_{1,1}\oplus H}\sqcup \eparentheses*{[-1]P_{1,1}\oplus H},\\ &\dots,\\ \{P_{\ell,1},\dots,P_{\ell,r+2}\}&=\{\sigma(P_{\ell,1}):\;\sigma\in G\}=\eparentheses*{P_{\ell,1}\oplus H}\sqcup \eparentheses*{[-1]P_{\ell,1}\oplus H},\\ \end{cases}\tag{18}\] where \(P_1\oplus H\) denotes the coset \(\{P_1\oplus Q:Q\in H\}\), and \(\sqcup\) denotes the union without intersection. We now prove that \[\eparentheses*{(P_1\oplus H) \oplus (P_1\oplus H)}\cap \eparentheses*{\bigcup_{i=1}^{\ell} \ebraces*{\oplus_{j=1}^{2}P_{i,u_j}: 1\leq u_1< u_{2}\leq r+2}}=\varnothing,\] i.e., by 18 , \[\eparentheses*{[2]P_1\oplus H}\cap \eparentheses*{\bigcup_{i=1}^{\ell}([2]P_{i,1}\oplus H)\cup H\cup ([-2]P_{i,1}\oplus H)}=\varnothing,\] and then we can choose two arbitrary distinct elements in \(P_1\oplus H\subseteq \{P_{1},P_2,\dots,P_{r+2}\}\) to serve as new \(P_{r+1}\), \(P_{r+2}\) such that 17 holds. Assume towards a contradiction that \[([2]P_1\oplus H)\cap \big( ([2]P_{i,1}\oplus H)\cup H\cup ([-2]P_{i,1}\oplus H)\big)\neq \varnothing\] for some \(1\leq i\leq \ell\). Then at least one of \([2]P_1\ominus[2]P_{i,1}, [2]P_1, [2]P_1\ominus[-2]P_{i,1}\) is in \(H\) by the property of cosets. We consider them separately and derive a contradiction in each case.
\([2]P_1\ominus[2]P_{i,1}\in H\): In this case we have \([2](P_1\ominus P_{i,1})\in H\), which implies that \[P_1\ominus P_{i,1}=[N(E)+1](P_1\ominus P_{i,1})=\ebrackets*{\frac{N(E)+1}{2}}\big([2](P_1\ominus P_{i,1})\big)\in H.\] This leads to a contradiction with the fact that \((P_1\oplus H) \cap (P_{i,1} \oplus H)=\varnothing\) by 18 .
\([2]P_1\in H\): In this case we have \[P_1=[N(E)+1](P_1)=\ebrackets*{\frac{N(E)+1}{2}}\big([2]P_1)\big)\in H.\] This leads to a contradiction with the fact that \(\{P_1,\dots,P_{r+2}\}=(P_1\oplus H)\sqcup ([-1]P_1\oplus H)\) is a set consisting of \(r+2=2h=2|H|\) distinct rational places by 18 .
\([2]P_1\ominus[-2]P_{i,1}\in H\): In this case we have \([2](P_1\oplus P_{i,1})\in H\), which implies that \[P_1\oplus P_{i,1}=[N(E)+1](P_1\oplus P_{i,1})=\ebrackets*{\frac{N(E)+1}{2}}\big([2](P_1\oplus P_{i,1})\big)\in H.\] This leads to a contradiction with the fact that \((P_1\oplus H )\cap ([-1]P_{i,1} \oplus H)=\varnothing\) by 18 .
The claim is established, and therefore this theorem is proved. ◻
Remark 6. In the above proof, we determined the precise number of rational places of \(F\) that split completely in \(E/F\): \(\ell+1=\frac{N(E)-h}{2h}\) (see 15 and its corresponding argument) under the conditions \(2\nmid N(E)\) and \(G=T_H\langle[-1]\rangle\). This precise number can also be used to improve the (estimated) upper bound of the length of optimal \(r\)-LRCs presented in [9] (in the case \(2\nmid N(E)\)). If \(2\nmid N(E)\), then the range of the number of local repair groups \(m\) in [9] can be improved from “\(1\leq t<m\leq \lceil\frac{N(E)}{r+1}\rceil-2\)” to “\(1\leq t< m\leq \lceil\frac{N(E)}{r+1}\rceil-1\)”.
In the following, we present two representative explicit constructions of optimal \((r,3)\)-LRCs and \((2,\delta)\)-LRCs with lengths slightly less than \(q+2\sqrt{q}\) from the above Theorem 1. There exist other constructions with code lengths exceeding \(q+1\). We do not list them all here.
Corollary 1. Let \(q=2^{2s}\) for a positive integer \(s\). For any positive divisor \(h\geq 3\) of \(q+2\sqrt{q}+1\), there exist an optimal \((r=2h-2,\delta=3)\)-LRC and an optimal \((r=2,\delta=2h-1)\)-LRC with parameters \([m \cdot 2h, tr+1,(m-t)\cdot 2h]_q\) for any integers \(t\) and \(m\) satisfying \(1\leq t<m\leq \frac{q+2\sqrt{q}+1-h}{2h}-1\).
Proof. By [8], there exists an explicit maximal elliptic function field \(E/\mathbb{F}_q\) with \(N(E)=q+2\sqrt{q}+1\). Since \(2\nmid N(E)\) and there exists a subgroup \(H\leq \mathbb{P}_E^1\) of order \(h\) for any divisor \(h\geq 3\) of \(N(E)\), this corollary holds by Theorem 1. ◻
Corollary 2. Let \(q=p^{2s}\) for an odd prime \(p\) and a positive integer \(s\). For any positive divisor \(h\geq 3\) of \(q+2\sqrt{q}\), there exist an optimal \((r=2h-2,\delta=3)\)-LRC and an optimal \((r=2,\delta=2h-1)\)-LRC with parameters \([m\cdot 2h, tr+1, (m-t) \cdot 2h]_q\) for any integers \(t\) and \(m\) satisfying \(1\leq t<m\leq \frac{q+2\sqrt{q}-h}{2h}-1\).
Proof. By Lemma 4 (i), there exists an elliptic function field \(E/\mathbb{F}_q\) with \(N(E)=q+2\sqrt{q}\). Since \(2\nmid N(E)\) and there exists a subgroup \(H\leq \mathbb{P}_E^1\) of order \(h\) for any divisor \(h\geq 3\) of \(N(E)\), this corollary follows from Theorem 1. ◻
In this subsection, we present the second family of optimal \((r,3)\)-LRCs and \((2,\delta)\)-LRCs based on the general framework in Section 3.1, making use of a subgroup \(T_HA\leq \mathrm{Aut}(E/\mathbb{F}_q)\) with \([-1]\notin A\).
Theorem 2. Let \(E/\mathbb{F}_q\) be an elliptic function field with \(N(E)\) rational places. Let \(H\) be a subgroup of order \(h\) of \(\mathbb{P}_E^1\) and let \(A\) be a nontrivial subgroup of order \(a\) of \(\mathrm{Aut}(E, O)\) such that \(G:= T_HA\) is a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) (see Lemma 9). Assume \([-1]\notin A\) and \(ah\geq 3\). Let \(F:=E^G\), and \(r=ah-2, \delta=3\) (or \(r=2, \delta=ah-1\)). Then there exist rational places \([P_1,\dots,P_{r+\delta-1}],\{P_{1,1},\dots,P_{1,r+\delta-1}\},\dots,\{P_{\ell,1},\dots,P_{\ell,r+\delta-1}\}\) of \(E\) satisfying the conditions in Proposition 1 (including conditions ?? and ?? ), where \[\begin{align} \label{eq:202505271725} \ell=\begin{cases} \eceil*{\frac{N(E)-(ah+3h)/2}{ah}},& \text{ if }2\nmid aN(E);\\ 2\eceil*{\frac{N(E)-2ah-2h}{2ah}},& \text{ if }2\mid aN(E).\\ \end{cases} \end{align}\tag{19}\] Consequently, by Propositions 1 and 2, there exist an optimal \((r=ah-2,\delta=3)\)-LRC and an optimal \((r=2,\delta=ah-1)\)-LRC with parameters \([m\cdot ah,tr+1,(m-t)\cdot ah]_q\) for any \(1\leq t<m\leq \ell\).
Proof. It suffices to prove the case \(r=ah-2\) and \(\delta=3\), from which the case \(r=2\) and \(\delta=ah-1\) can be deduced by Remark 4 (iii).
Let \(r=ah-2\) and \(\delta=3\). By Lemma 1, we obtain \(\mathrm{Con}_{E/F}(O\cap F)=\sum_{P\in H}aP\). We directly define the list of rational places \([P_1,P_2,\dots,P_{r+2}]\) of \(E\) to be an arbitrary list such that \(\sum_{j=1}^{r+2}P_j=\mathrm{Con}_{E/F}(O\cap F)=\sum_{P\in H}aP\) (i.e., letting \(Q_{\infty}=O\cap F\) in Proposition 1) and \(P_{r+1}=P_{r+2}=O\), which is valid since \(a=|A|\geq 2\). In the following, we divide our discussion into two cases: \(2\nmid aN(E)\) and \(2\mid aN(E)\), and we separately select sets of rational places \(\{P_{1,1},\dots,P_{1,r+2}\}\), …, \(\{P_{\ell,1},\dots,P_{\ell,r+2}\}\) of \(E\) satisfying the conditions in Proposition 1, including the condition ?? , which now takes the form: \[\begin{align} \label{eq:tempcondition2} P_{r+1}\oplus P_{r+2}=O\oplus O=O\notin \bigcup_{i=1}^{\ell} \ebraces*{P_{i,u_1}\oplus P_{i,u_2}:\; 1\leq u_1 < u_{2}\leq r+2}. \end{align}\tag{20}\]
(1) When \(2\nmid aN(E)\), we start to select sets of rational places \(\{P_{1,1},\dots,P_{1,r+2}\}\), …, \(\{P_{\ell,1},\dots,P_{\ell,r+2}\}\) of \(E\) that satisfy the condition 20 . To this end, we first estimate the number of rational places of \(F\) that split completely in \(E/F\). We claim that this number is at least \[\begin{align} \label{eq:estima952} \ell=\eceil*{\frac{N(E)-(ah+3h)/2}{ah}}. \end{align}\tag{21}\] It can be proved as follows. Note that \(F\) is a rational function field by Proposition 1 (i). By the Hurwitz genus formula (see 6 ), we have \[\begin{align} \label{eq:20250522950002} 0=2g(E)-2&=(2g(F)-2)[E:F]+\deg\mathrm{Diff}(E/F)=-2ah+\deg\mathrm{Diff}(E/F). \end{align}\tag{22}\] By Lemma 1, we have \(\mathrm{Con}_{E/F}(O\cap F)=\sum_{P \in H}aP\). Let \(R_1,\dots,R_v\) denote all the distinct rational places of \(E\) outside \(H\) that are ramified in \(E/F\). Then we have \(e(R_i|R_i\cap F)\geq 3\) for each \(1\leq i\leq v\). This is because \(e(R_i|R_i\cap F)\mid [E:F]=|G|=ah\) by Lemma 1 (iii), and \(2\nmid ah\) by \(2\nmid aN(E)\). By Dedekind’s different theorem (see 5 ), we have \(\deg\mathrm{Diff}(E/F)\geq \deg\left(\sum_{P\in H}(a-1)P+\sum_{i=1}^{v}(e(R_i|R_i\cap F)-1)R_i \right)\geq (a-1)h+2v.\) Hence, it holds that \(2ah=\deg\mathrm{Diff}(E/F)\geq (a-1)h+2v\) by 22 , which implies \(v\leq \frac{ah+h}{2}\). Including those rational places in \(H\), there are at most \((ah+3h)/2\) rational places of \(E\) that are ramified in \(E/F\). Therefore, by Remark 1 (ii), there exist at least \(\ell=\eceil*{\frac{N(E)-(ah+3h)/2}{ah}}\) distinct rational places of \(F\) that split completely in \(E/F\) into \(\{P_{1,1},\dots,P_{1,r+2}\}, \dots, \{P_{\ell,1},\dots,P_{\ell,r+2}\}\subseteq \mathbb{P}_E^1\), respectively.
We claim that these \(\ell\) sets of rational places \(\{P_{1,1},\dots,P_{1,r+2}\}\), …, \(\{P_{\ell,1},\dots,P_{\ell,r+2}\}\) satisfy 20 . To prove this claim, we only need to prove that for all \(1\leq i\leq \ell\) and \(1\leq u_1<u_2\leq r+2\), \[\begin{align} P_{i,u_1}\oplus P_{i,u_2}\neq O. \end{align}\] Assume towards a contradiction that \(P_{i,u_1}\oplus P_{i,u_2}=O\) for some \(1\leq i\leq \ell\) and \(1\leq u_1<u_2\leq r+2\). Then we have \(P_{i,u_2}=[-1]P_{i,u_1}\). Since \(|G|=ah=r+2\) and \(G\) acts transitively on \(\{P_{i,1},\dots,P_{i,r+2}\}\) by Lemma 1 (i), we have \[\begin{align} \label{eq:negativeeq} \{P_{i,1},\dots,P_{i,r+2}\}=\{\sigma([-1]P_{i,u_1}):\; \sigma\in G\}=\{[-1](\sigma(P_{i,u_1})):\; \sigma\in G\}=\{[-1]P_{i,1},\dots,[-1]P_{i,r+2}\}, \end{align}\tag{23}\] where the second “\(=\)” is due to \[\begin{align} \{\sigma[-1]:\; \sigma\in G\} \nonumber &=\{(\tau_P\alpha)[-1]:\; \tau_P \in T_{H}, \alpha \in A\}\\\nonumber &\xlongequal{\text{by Remark~\ref{rem:invo95of95EFF95and95isogeny95is95endo} {\rm (ii)}}}\{\tau_P([-1]\alpha):\; P\in H, \alpha \in A\}\\\nonumber &\xlongequal{\text{by Lemma~\ref{lem:groupstructure95of95Aut95of95EFF}}}\{[-1]\tau_{[-1]P}\alpha:\; P\in H, \alpha \in A\}\\\nonumber &=\{[-1]\tau_{P}\alpha:\; P\in H, \alpha \in A\}\\\nonumber &=\{[-1]\tau_{P}\alpha:\; \tau_P\in T_{H}, \alpha \in A\}\\ \label{eq:<[-1]>commutewithgroup} &=\{[-1]\sigma:\; \sigma\in G\}. \end{align}\tag{24}\] Note that \(2\nmid aN(E)\) implies \(2\nmid ah=r+2\). By 23 , there exists a rational place \(P_{i,j_0}\) for some \(1\leq j_0\leq r+2\) such that \(P_{i,j_0}=[-1]P_{i,j_0}\), i.e. \([2]P_{i,j_0}=O\), which implies \(P_{i,j_0}=[N(E)+1]P_{i,j_0}=[\frac{N(E)+1}{2}][2]P_{i,j_0}=[\frac{N(E)+1}{2}]O=O\). This leads to a contradiction since \(e(P_{i,j_0}|P_{i,j_0}\cap F)=1\) while \(e(O|O\cap F)>1\). Thus, these \(\ell\) sets of rational places \(\{P_{1,1},\dots,P_{1,r+2}\}\), …, \(\{P_{\ell,1},\dots,P_{\ell,r+2}\}\) satisfy the condition 20 .
(2) When \(2\mid aN(E)\), we start to select sets of rational places \(\{P_{1,1},\dots,P_{1,r+2}\}\), …, \(\{P_{\ell,1},\dots,P_{\ell,r+2}\}\) of \(E\) that satisfy the condition 20 . We briefly outline our method before proceeding. We first define \(G':=G\langle[-1]\rangle\), a subgroup of order \(2ah=2(r+2)\) of \(\mathrm{Aut}(E/\mathbb{F}_q)\). We then consider the orbits of rational places of \(E\) under the action of \(G'\) that have length \(2(r+2)\). Every such orbit is divided into two orbits under the action of \(G\) that have length \(r+2\). These \(G\)-orbits of length \((r+2)\) are finally selected as \(\{P_{1,1},\dots,P_{1,r+2}\}\),…,\(\{P_{\ell,1},\dots,P_{\ell,r+2}\}\) that satisfy the condition 20 .
Proceeding to the proof. Let \(G':=G\langle[-1]\rangle\). It is a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) of order \(2(r+2)\) since \(\langle[-1]\rangle\cap G=\{\mathrm{id}\}\) and \(\langle[-1]\rangle G=G\langle[-1]\rangle\) by 24 . Let \(E^{G'}:=\{u \in E:\; \sigma (u)=u \text{ for all }\sigma \in G'\}\). The field \(E^{G'}\) is a subfield of the rational function field \(F=E^{G}\) (see Proposition 1 (i)), and thus is also a rational function field by Lüroth’s Theorem (see [33]). By the Hurwitz genus formula (see 6 ), we have \[\begin{align} \label{eq:20250522951016} 0=2g(E)-2=(2g(E^{G'})-2)[E:E^{G'}]+\deg\mathrm{Diff}(E/E^{G'})=-2(2ah)+\deg\mathrm{Diff}(E/E^{G'}). \end{align}\tag{25}\] By Lemma 1, we have \(\mathrm{Con}_{E/E^{G'}}(O\cap E^{G'})=\sum_{P \in H}2aP\). Let \(R_1,\dots,R_v\) denote all the distinct rational places of \(E\) outside \(H\) that are ramified in \(E/E^{G'}\). Then we have \(\deg\mathrm{Diff}(E/E^{G'})\geq \deg(\sum_{P\in H}(2a-1)P+\sum_{i=1}^{v}(2-1)R_i)\geq (2a-1)h+v\) by Dedekind’s different theorem (see 5 ). Thus, it holds \(4ah=\deg\mathrm{Diff}(E/E^{G'})\geq (2a-1)h+v\) by 25 , which implies \(v\leq 2ah+h\). Including those rational places in \(H\), there are at most \(2ah+2h\) rational places of \(E\) that are ramified in \(E/E^{G'}\). Hence, by Remark 1 (ii), there exist at least \(l=\lceil\frac{N(E)-2ah-2h}{2ah}\rceil\) distinct rational places of \(E^{G'}\) that split completely in \(E/E^{G'}\) into \(\{T_{1,1},\dots,T_{1,2(r+2)}\}, \dots, \{T_{l,1},\dots,T_{l,2(r+2)}\}\subseteq \mathbb{P}_E^1\), respectively. Note that \(|G'|=2(r+2)\) and \(G'=G\langle[-1]\rangle=\langle[-1]\rangle G.\) Since \(G'\) acts transitively on \(\{T_{i,1},\dots,T_{i,2(r+2)}\}\) for each \(1\leq i\leq l\) by Lemma 1 (i), we have \[\begin{align} \{T_{i,1},\dots,T_{i,2(r+2)}\}=\{\sigma(T_{i,1}):\; \sigma\in G'\} &=\{\sigma(T_{i,1}):\; \sigma\in G\}\sqcup \{[-1](\sigma(T_{i,1})):\; \sigma\in G\}\tag{26}\\ &=\{\sigma(T_{i,1}):\; \sigma\in G\}\sqcup \{\sigma([-1]T_{i,1}):\; \sigma\in G\}\tag{27}\\ &\xlongequal{\text{denote by}} \{P_{2i-1,1},\dots,P_{2i-1,r+2}\}\sqcup \{P_{2i,1},\dots,P_{2i,r+2}\} \tag{28}\\ &= \{P_{2i-1,1},\dots,P_{2i-1,r+2}\}\sqcup \{[-1]P_{2i-1,1},\dots,[-1]P_{2i-1,r+2}\},\tag{29} \end{align}\] where “\(\sqcup\)” refers to the union without intersection, and 29 follows from 26 . By 27 and 28 , we get \(\ell=2l=2\lceil\frac{N(E)-2ah-2h}{2ah}\rceil\) pairwise disjoint \(G\)-orbits: \(\{P_{1,1},\dots,P_{1,r+2}\},\dots,\{P_{\ell,1},\dots,P_{\ell,r+2}\}\), that lie over \(\ell\) distinct rational places of \(F\) other than \(Q_{\infty}=O\cap F\), respectively. Moreover, \(\{P_{1,1},\dots,P_{1,r+2}\},\dots,\{P_{\ell,1},\dots,P_{\ell,r+2}\}\) do satisfy the condition 20 ; otherwise, for some \(1\leq i\leq l\), the union in 28 would not be a disjoint union by 29 . The proof is complete. ◻
Based on Theorem 2, we have the following corollary, which can be viewed as an extension of [9].
Corollary 3. There exist an optimal \((r=3h-2,\delta=3)\)-LRC and an optimal \((r=2,\delta=3h-1)\)-LRC with parameters \([m\cdot 3h, tr+1,(m-t)\cdot 3h]_q\) for any integers \(t\) and \(m\) satisfying \(1\leq t<m\leq \ell\), where the field size \(q\) and integers \(h\), \(\ell\) take one of the following cases.
\(q=2^{2s}\) for a positive integer \(s\), \(h=h_0^2\) for a positive divisor \(h_0\) of \(\sqrt{q}+1\), and \(\ell=\eceil*{\frac{q+2\sqrt{q}+1-3h}{3h}}\);
\(q=3^{2s}\) for a positive integer \(s\), \(h=h_0^2\) for a positive divisor \(h_0\) of \(\sqrt{q}+1\), and \(\ell=2\eceil*{\frac{q+2\sqrt{q}+1-8h}{6h}}\);
\(q=p^{2s}\) for an odd prime \(p \equiv 2\pmod{3}\) and a positive integer \(s\), \(h=h_0^2\) for a positive divisor \(h_0\) of \(\sqrt{q}+1\), and \(\ell=2\eceil*{\frac{q+2\sqrt{q}+1-8h}{6h}}\).
Proof. If \(E/\mathbb{F}_q\) is a maximal elliptic function field, then the group structure of \(\mathbb{P}_E^1\) is \[\label{eq:202507011500} \mathbb{P}_E^1\cong \mathbb{Z}/(\sqrt{q}+1)\mathbb{Z}\times \mathbb{Z}/(\sqrt{q}+1)\mathbb{Z}\tag{30}\] by Lemma 5. Therefore, for any positive divisor \(h_0\) of \(\sqrt{q}+1\), there exists a subgroup of \(\mathbb{P}_E^1\) of order \(h=h_0^2\) defined by \(H:=\ebraces*{P\in \mathbb{P}_E^1:\; \ebrackets*{h_0}P=O}\), which corresponds via the isomorphism in 30 to the subgroup \(<\overline{{(\sqrt{q}+1)}/{h_0}}>\times <\overline{{(\sqrt{q}+1)}/{h_0}}>\) of \(\mathbb{Z}/(\sqrt{q}+1)\mathbb{Z}\times \mathbb{Z}/(\sqrt{q}+1)\mathbb{Z}\). Let \(A\) be a subgroup of \(\mathrm{Aut}(E, O)\) of order \(a\). Then for any \(\sigma\in A\) and \(P\in H=\ebraces*{P\in \mathbb{P}_E^1:\; \ebrackets*{h_0}P=O}\), we have \([h_0](\sigma(P))=\sigma([h_0]P)=\sigma(O)=O\), where the first “\(=\)” follows from Remark 2 (ii). Hence \(\sigma(P)\in H\). By Lemma 9, \(G:=T_HA\) must be a subgroup of order \(ah\) of \(\mathrm{Aut}(E/\mathbb{F}_q)\). We now can prove (i), (ii), and (iii).
(i) Let \(q = 2^{2s}\) for a positive integer \(s\). There exists an explicit maximal elliptic function field \(E/\mathbb{F}_q\) with \(|\mathrm{Aut}(E, O)| = 24\), as shown in [8]. Let \(A\) be a subgroup of \(\mathrm{Aut}(E, O)\) of order \(a = 3\), which must not contain the elliptic involution \([-1]\) since \([-1]\) is of order \(2\). Then there exists a subgroup \(T_HA\) of \(\mathrm{Aut}(E/\mathbb{F}_q)\) of order \(3h\) by the above preceding discussion. Note that \(2 \nmid aN(E) = 3(2^{2s} + 2 \cdot 2^s + 1)\). By Theorem 2, the proof of (i) is completed.
(ii) Let \(q = 3^{2s}\) for a positive integer \(s\). There exists an explicit maximal elliptic function field \(E/\mathbb{F}_q\) with \(|\mathrm{Aut}(E, O)| = 12\), as shown in [8]. An argument analogous to the proof of item (i) yields item (ii). The only difference is that, in this case, \(2 \mid aN(E)=3(3^{2s}+2 \cdot 3^s+1)\), so we must employ the second estimate for \(\ell\) in 19 .
(iii) Let \(q = p^{2s}\) for an odd prime \(p \equiv 2 \pmod{3}\) and a positive integer \(s\). There exists an explicit maximal elliptic function field \(E/\mathbb{F}_q\) with \(|\mathrm{Aut}(E, O)| = 6\), as shown in [8]. The rest of the proof is the same as above. ◻
Based on Theorem 2 and the computation presented in [9], we can also obtain \(q\)-ary optimal \((7,3)\)-LRCs and \((2,8)\)-LRCs with lengths at most \(q+2\sqrt{q}-8\), where \(q=4^{2s+1}\) for a positive integer \(s\).
Let \(E=\mathbb{F}_q(x,y)\) be an elliptic function field defined by the equation \(y^2+y=x^3\), where \(q=4^{2s+1}\) for an arbitrary non-negative integer \(s\). From the proof of [8], \(E/\mathbb{F}_q\) is a maximal elliptic function field.
Let \(Q\in \mathbb{P}_E^1\) be the unique common zero of \(x\) and \(y-1\). Consider the translation-by-\(Q\) on the elliptic function field \(E\) explicitly given by \(\tau_Q: (x\mapsto \frac{y+1}{x^2},\; y \mapsto \frac{y+1}{y})\) from Group Law Algorithm 2.3 in [34]. The order of \(\tau_Q\) is \(3\), since \[x\mapsto \frac{y+1}{x^2} \mapsto \frac{x}{y+1} \mapsto x \text{ and } y \mapsto \frac{y+1}{y} \mapsto \frac{1}{y+1} \mapsto y.\] Define \(\sigma\in \mathrm{Aut}(E,O)\) of order \(3\) by \(\sigma: (x\mapsto u^2x,\; y\mapsto y)\), where \(u\) is a primitive third root of unity in \(\mathbb{F}_q\). Let \(A:=<\sigma>, H:=<Q>\); then \(a=|A|=3, h=|H|=3\). Note that \(\sigma(Q)=Q\), thus \(G:=T_HA\) is a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) by Lemma 9. Note that \(2\nmid aN(E)=3\cdot (2^{2s+1}+1)^2\). By Theorem 2, we have the following corollary.
Corollary 4. Let \(q=4^{2s+1}\) for a positive integer \(s\). Then there exist an optimal \((r=7,\delta=3)\)-LRC and an optimal \((r=2,\delta=8)\)-LRC with parameters \([9m,tr+1,9(m-t)]_q\) for any \(1\leq t< m\leq \ell=\lceil\frac{q+2\sqrt{q}-8}{9}\rceil=\frac{q+2\sqrt{q}-8}{9}\).
In this section, we investigate the construction of optimal \((r,\delta)\)-LRCs using hyperelliptic function fields. We first introduce a general framework for constructing optimal \((r,3)\)-LRCs via automorphism groups of hyperelliptic function fields of genus 2, and then apply it to obtain explicit optimal \((4,3)\)-LRCs with lengths slightly below \(q+4\sqrt{q}\). In the final subsection, we present the construction of optimal \((g+1-g',g+1+g')\)-LRCs (\(0\leq g' \leq g-1\)) with lengths up to \(q+2g\sqrt{q}\) by employing specific hyperelliptic function fields of genus \(g \geq 2\).
In the following, we introduce the general framework.
Proposition 3. Let \(E/\mathbb{F}_q\) be a hyperelliptic function field of genus \(2\) defined by \(y^2=f(x)\) with \(\deg(f)=5\) and \(2\nmid \mathrm{char}(\mathbb{F}_q)\). Suppose that \(G\) is a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\). Let \(|G|=r+2\) with \(r\geq 2\). Let \(F:=E^G\), and let \([P_1,P_2,\dots,P_{r+2}]\) be a list7 of rational places of \(E\) such that \(\sum_{j=1}^{r+2}P_j=\mathrm{Con}_{E/F}(Q_{\infty})\) for a rational place \(Q_{\infty}\) of \(F\). Assume \(\deg\mathrm{Diff}(E/F)>2\) (or equivalently, \(F\) is a rational function field, by Lemma 2). Then the following statements hold.
There exists a function \(z\in F\) such \(F=\mathbb{F}_q(z)\) and \((z)^E_{\infty}=\mathrm{Con}_{E/F}(Q_{\infty})=P_{1}+P_2+\dots+P_{r+2}\).
There exist \(r\) functions \(w_0=1,w_1,\dots,w_{r-1}\in \mathcal{L}_{E}(P_1+P_2+\dots+P_{r+1})\) that are \(F\)-linearly independent.
Let \(\{P_{i,1},P_{i,2},\dots,P_{i,r+2}\}\) be pairwise distinct rational places of \(E\) lying over a rational place \(Q_i\) of \(F\) for each \(1\leq i\leq \ell\), such that \(Q_{\infty},Q_1,\dots,Q_{\ell}\) are pairwise distinct. Then all \(r\times r\) submatrices of the following matrix \[\begin{align} \label{eq:202507161329} M_i=\left(\begin{array}{cccc} w_0(P_{i,1})&w_0(P_{i,2})&\cdots&w_0(P_{i,r+2})\\ w_1(P_{i,1})&w_1(P_{i,2})&\cdots&w_1(P_{i,r+2})\\ \vdots &\vdots &\ddots &\vdots\\ w_{r-1}(P_{i,1})&w_{r-1}(P_{i,2})&\dots&w_{r-1}(P_{i,r+2})\\ \end{array}\right) \end{align}\qquad{(5)}\] are invertible for each \(1\leq i\leq \ell\) if the following conditions \((C1)\) and \((C2)\) are satisfied.
\((C1)\) \(P_{r+2}=P_{\infty}\), where \(P_{\infty}\) is the unique place at infinity of \(E\).
\((C2)\) \(\overline{P_{i,j}}\neq P_{i,j'}\) for any \(1\leq i\leq \ell\) and \(1\leq j<j'\leq r+2\).
Proof. (i) Note that \(F\) is a rational function field. Let \(z\in \mathcal{L}_F(Q_{\infty})\backslash\mathbb{F}_q\). We have \((z)_{\infty}^F=Q_{\infty}\), \([F:\mathbb{F}_q(z)]=\deg((z)_{\infty}^F)=\deg(Q_{\infty})=1\) and \((z)^E_{\infty}=\mathrm{Con}_{E/F}((z)_\infty^{F})=\mathrm{Con}_{E/F}(Q_{\infty})=P_{1}+P_2+\dots+P_{r+2}.\)
(ii) Note that \(\mathcal{L}_{E}(P_1)\subseteq \mathcal{L}_{E}(P_1+P_2)\subseteq \dots \subseteq \mathcal{L}_{E}(P_1+\dots+P_{r+1})\), \(\dim_{\mathbb{F}_q}(\mathcal{L}_{E}(P_1))=1\), and \(\dim_{\mathbb{F}_q}(\mathcal{L}_{E}(P_1+\dots+P_{r+1}))=r+1+1-2=r\) by the Riemann-Roch theorem (see 2 ). Furthermore, \(\dim_{\mathbb{F}_q}(\mathcal{L}_E(\sum_{j=1}^{I+1}P_j))-\dim_{\mathbb{F}_q}(\mathcal{L}_E(\sum_{j=1}^{I}P_j))\leq 1\) for each \(1\leq I\leq r\) by [33]. Therefore, among the \(r\) sets \(V_I:=\mathcal{L}_{E}(\sum_{j=1}^{I+1}P_j)\backslash \mathcal{L}_{E}(\sum_{j=1}^{I}P_j)\) for \(1\leq I\leq r\), exactly \(r-1\) of them are non-empty. Let \(1\leq {I}_1<\dots<{I}_{r-1}\leq r\) be the \(r-1\) indexes such that \(V_{{I}_1},\dots,V_{{I}_{r-1}}\) are non-empty. Let \(w_0=1\), and let \(w_1,\dots,w_{r-1}\) be arbitrary elements in \(V_{{I}_1},\dots,V_{{I}_{r-1}}\), respectively.
Now we show that \(w_0,w_1,\dots,w_{r-1}\) are \(F\)-linearly independent. Assume towards a contradiction that there exist rational functions \({f}_{0}(z),\dots,{f}_{r-1}(z)\in F=\mathbb{F}_q(z)\), not all zero, such that \(\sum_{i=0}^{r-1}{f}_i(z)w_i=0\). By clearing denominators, we may assume that \({f}_{0}(z),\dots,{f}_{r-1}(z)\) are polynomials of \(z\). We define \(t:=\max\{0\leq i\leq r-1:\;\deg({f}_i(z))=\max\{\deg({f}_j(z)):\; 0\leq j\leq r-1\}\}\) (\(\deg(0):=-\infty\)). It holds that \({f}_t(z)\neq 0\). Then we consider the following two possible cases to derive a contradiction. Before proceeding, we denote \(e:=e(P_1|Q_{\infty})=\dots=e(P_{r+2}|Q_{\infty})\), and observe that \(v_{P_1}(z)=\dots=v_{P_{r+2}}(z)=-e\).
If \(t=0\), then we have \(\deg({f}_{0}(z))>\deg({f}_i(z))\) for any \(1\leq i\leq r-1\). Therefore, we have \[v_{P_{r+2}}({f}_{0}(z)w_0)=-e\deg({f}_{0}(z))<-e\deg({f}_i(z))-(e-1)\leq -e\deg({f}_i(z))+v_{P_{r+2}}(w_i)=v_{P_{r+2}}({f}_i(z)w_i)\] for any \(1\leq i\leq r-1\) such that \({f}_i(z)\neq 0\), where the symbol “\(\leq\)” in the above inequality is due to \(w_i\in \mathcal{L}_{E}(P_1+\dots+P_{r+2}-P_{r+2})=\mathcal{L}_{E}(\sum_{P|Q_{\infty}}eP-P_{r+2})\). This implies \(v_{P_{r+2}}(\sum_{i=0}^{r-1}{f}_i(z)w_i)=v_{P_{r+2}}({f}_{0}(z)w_0)\neq \infty\).
If \(1\leq t\leq r-1\), then we have \(\deg({f}_t(z))\geq \deg({f}_i(z))\) for any \(0\leq i\leq t-1\); and \(\deg({f}_t(z))>\deg({f}_i(z))\) for any \(t+1\leq i\leq r-1\). Therefore, for any \(0\leq i\leq t-1\) such that \({f}_i(z)\neq 0\), we have \[\begin{align} \label{eq:202507012157} v_{P_{{I}_t+1}}({f}_t(z)w_t)=-e\deg({f}_t(z))+v_{P_{{I}_t+1}}(w_t)<-e\deg({f}_i(z))+v_{P_{{I}_t+1}}(w_i)= v_{P_{{I}_t+1}}({f}_i(z)w_i) \end{align}\tag{31}\] where “\(<\)” is due to \(\deg({f}_t(z))\geq \deg({f}_i(z))\) and \(v_{P_{{I}_t+1}}(w_t)<v_{P_{{I}_t+1}}(w_i)\) since \(v_{P_{{I}_t+1}}(w_t)\leq -v_{P_{{I}_t+1}}(\sum_{j=1}^{{I}_t+1}P_j)\),8 \(w_i\in \mathcal{L}_{E}(\sum_{j=1}^{{I}_t+1}P_j-P_{{I}_t+1})\); and for any \(t+1\leq i\leq r-1\) such that \({f}_i(z)\neq 0\), we have \[\begin{align} \label{eq:202507012158} v_{P_{{I}_t+1}}({f}_t(z)w_t)=-e\deg({f}_t(z))+v_{P_{{I}_t+1}}(w_t)<-e\deg({f}_i(z))+v_{P_{{I}_t+1}}(w_i)=v_{P_{{I}_t+1}}({f}_i(z)w_i) \end{align}\tag{32}\] where the symbol “\(<\)” is due to \(\deg({f}_t(z))> \deg({f}_i(z))\), \(v_{P_{{I}_t+1}}(w_t)\leq -1\) and \(v_{P_{{I}_t+1}}(w_i)\geq -e\) since \(v_{P_{{I}_t+1}}(w_t)\leq -v_{P_{{I}_t+1}}(\sum_{j=1}^{{I}_t+1}P_j)\), \(w_i\in \mathcal{L}_{E}(\sum_{j=1}^{r+2}P_j)=\mathcal{L}_{E}(\sum_{P|Q_{\infty}}eP)\). Inequalities 31 and 32 imply \(v_{P_{{I}_t+1}}(\sum_{i=0}^{r-1}{f}_i(z)w_i)=v_{P_{{I}_t+1}}({f}_t(z)w_t)\neq \infty\).
In both cases, we arrive at a contradiction to the assumption \(\sum_{i=0}^{r-1}{f}_i(z)w_i=0\). Therefore, \(w_0,w_1,\dots,w_{r-1}\) are \(F\)-linearly independent.
(iii) Assume towards a contradiction that the submatrix consisting of the \(u_1,\dots,u_r\)-th columns of the matrix \(M_i\) in ?? is singular for some \(1\leq i\leq \ell\) and \(1\leq u_1<\dots<u_r\leq r+2\). Then there exist \(c_0,\dots,c_{r-1}\in\mathbb{F}_q\), not all zero, such that \((c_0,\dots,c_{r-1})M_{i}\) vanishes at the positions \(u_1,\dots,u_r\). That is, the function \(w:=c_0w_0+\dots+c_{r-1}w_{r-1}\) has zeros \(P_{i,u_1},\dots,P_{i,u_r}\). Note that \(w \in\mathcal{L}_E(\sum_{j=1}^{r+1}P_j)\). The principal divisor of \(w\) must be of the form \[\begin{align} \label{eq:temp2} \eparentheses*{w}^E=P-\eparentheses*{\sum_{j=1}^{r+1}P_{j}}+\sum_{j=1}^{r}P_{i,u_j}, \end{align}\tag{33}\] where \(P\in \mathbb{P}_E^1\) is an unknown rational place that will be discussed later. Note that \(\mathcal{L}_{F}(Q_{\infty}-Q_{i})\neq \{0\}\) since \(F\) is a rational function field. Let \(z'\) be a nonzero element in \(\mathcal{L}_F({Q_\infty}-Q_{i})\), then we have \[\begin{align} \label{eq:temp5} (z')^E=\mathrm{Con}_{E/F}((z')^F)=\mathrm{Con}_{E/F}(-Q_{\infty}+Q_{i})=(-P_1-\dots-P_{r+2})+(P_{i,1}+\dots+P_{i,r+2}). \end{align}\tag{34}\] By 33 and 34 , we have \[\begin{align} \label{eq:thetransformationofdivisor3} \eparentheses*{\frac{w}{z'}}^E=P+P_{r+2}-\sum_{u\in [r+2]\backslash\{u_1,\dots,u_r\}}P_{i,u}. \end{align}\tag{35}\] We now consider all possible \(P\in \mathbb{P}_E^1\), divided into two cases.
\(P=P_{i,u'}\) for some \(u'\in [r+2]\backslash\{u_1,\dots,u_r\}\). By 35 , we have \[\eparentheses*{\frac{w}{z'}}^E=P_{r+2}-\sum_{u\in [r+2]\backslash\{u_1,\dots,u_r,u'\}}P_{i,u}.\] Then we have \(\ebrackets*{E:\mathbb{F}_q\eparentheses*{\frac{w}{z'}}}=\deg\eparentheses*{\eparentheses*{\frac{w}{z'}}^E_{0}}=\deg(P_{r+2})=1\). This contradicts the fact that \(E\) is a hyperelliptic function field rather than a rational function field.
\(P\) is a rational place with \(P\neq P_{i,u'}\) for any \(u'\in [r+2]\backslash\{u_1,\dots,u_r\}\). By 35 , we have \[\eparentheses*{\frac{w}{z'}}^E=P+P_{r+2}-\sum_{u\in [r+2]\backslash\{u_1,\dots,u_r\}}P_{i,u}.\] The above equation leads to \(P+P_{r+2}\sim\sum_{u\in [r+2]\backslash\{u_1,\dots,u_r\}}P_{i,u}\), which is ridiculous by Lemma 10, along with conditions \((C1)\) and \((C2)\).
Both cases lead to a contradiction, thereby completing the proof of (iii). ◻
Proposition 4. We adopt the settings in Proposition 3 and assume that conditions \((C1)\) and \((C2)\) are satisfied. Let \(t,m\) be integers such that \(1\leq t< m\leq \ell\). Let \(V:=\{a_{0,t}w_0z^t+\sum_{i=0}^{r-1}\sum_{j=0}^{t-1}a_{i,j}w_iz^j:a_{0,t}\in \mathbb{F}_q \text{ and }a_{i,j}\in \mathbb{F}_q \text{ for } 0\leq i\leq r-1, 0\leq j\leq t-1\}\), and \(\mathcal{P}:=\{P_{1,1},\dots,P_{1,r+2},\dots,P_{m,1},\dots,P_{m,r+2}\}\). Define a linear code \(\mathcal{C}(\mathcal{P},V)\) by \[\begin{align} \mathcal{C}(\mathcal{P},V):=\left\{(\phi(P_{1,1}),\dots,\phi(P_{1,r+2}),\dots,\phi(P_{m,1}),\dots,\phi(P_{m,r+2})):\; \phi\in V\right\}. \end{align}\] Then \(\mathcal{C}(\mathcal{P},V)\) is an optimal \((r=|G|-2,\delta=3)\)-LRC with parameters \([m(r+2),tr+1,(m-t)(r+2)]_q.\)
Proof. The proof is similar to that of Proposition 2. So we omit it. ◻
Using Propositions 3 and 4 with some explicit hyperelliptic curves of genus \(2\), one can construct optimal \((3,3)\)-LRCs with lengths approaching \(q+4\sqrt{q}\), which is omitted here since it is subsumed by Theorem 4 later in Section 4.3.
In this subsection, we present constructions of optimal \((4,3)\)-LRCs with lengths slightly below \(q+4\sqrt{q}\). The following theorem provides a sufficient condition, under which we can select rational places \([P_1,\dots,P_{r+2}],\{P_{1,1}, \dots, P_{1,r+2}\},\dots,\{P_{\ell,1},\dots, P_{\ell,r+2}\}\) that satisfy the conditions in Proposition 3, including conditions \((C1)\) and \((C2)\). Before proceeding, we recall that \(\iota\) denotes the hyperelliptic involution.
Theorem 3. Let \(E/\mathbb{F}_q\) be a hyperelliptic function field defined by \(y^2=f(x)\) with \(N(E)\) rational places, where \(\deg(f)=5\) and \(2\nmid \mathrm{char}(\mathbb{F}_q)\). Let \(G\leq \mathrm{Aut}(E/\mathbb{F}_q)\) with \(|G|=r+2\), and let \(F:=E^{G}\). Assume that \(\iota \notin G\), \(|G|\geq 5\), and \(|G| \nmid N(E)\). Then \(\deg\mathrm{Diff}(E/F)>2\), and there exist rational places \([P_{1},\dots,P_{r+2}], \{P_{1,1},\dots,P_{1,r+2}\}, \dots, \{P_{\ell,1}, \dots,P_{\ell,r+2}\}\) of \(E\) satisfying the conditions in Proposition 3 (including conditions \((C1)\) and \((C2)\)), where \(\ell=2\eceil*{\frac{N(E)-4|G|-2}{2|G|}}-1.\)
Consequently, there exists an optimal \((r=|G|-2,\delta=3)\)-LRC with parameters \([m|G|,tr+1,(m-t)|G|]_q\) for any integers \(t,m\) satisfying \(1\leq t< m\leq \ell\), by Propositions 3 and 4.
Proof. Since \(|G| \nmid N(E)\), there exists a rational place \(P'\) of \(E\) that is ramified in \(E/F\); otherwise, all rational places of \(E\) would be unramified in \(E/F\), and it would follow that \(|G|=[E:F] \mid N(E)\) by Lemma 1 (ii) and (iii). By Lemma 1 (ii), we have \(e(P|P'\cap F)-1>0\) for each \(P\in \mathbb{P}_E\) lying over \(P'\cap F\), and thus \[\deg\eparentheses*{\sum_{P|P'\cap F}\eparentheses*{e(P|P'\cap F)-1}P} \geq \frac{1}{2}\deg\eparentheses*{\sum_{P|P'\cap F}e(P|P'\cap F)P} =\frac{1}{2}\deg\eparentheses*{\mathrm{Con}_{E/F}(P'\cap F)} =\frac{1}{2}|G| \geq \frac{5}{2} >2,\] which implies \(\deg\mathrm{Diff}(E/F)>2\) by Dedekind’s different theorem (see 5 ). Thus, \(F\) is a rational function field by Lemma 2.
Let \([P_1,\dots,P_{r+2}]\) be a list of rational places of \(E\) such that \(P_{r+2}{=}P_{\infty}\) and \(\sum_{j=1}^{r+2}P_j{=}\mathrm{Con}_{E/F}(P_{\infty}\cap F)\) (i.e., letting \(Q_{\infty}=P_{\infty}\cap F\) in Proposition 3), then the condition \((C1)\) is satisfied. As for the selection of \(\{P_{1,1},\dots,P_{1,r+2}\},\dots,\{P_{\ell,1},\dots, P_{\ell,r+2}\}\) satifying \((C2)\), we use a similar method as that used in the proof of Theorem 2 for the case \(2\mid aN(E)\). Recall that the hyperelliptic involution \(\iota\) is of order \(2\) and commutes with all elements of \(\mathrm{Aut}(E/\mathbb{F}_q)\) (see Remark 3). Let \(G':=<\iota>G=\{\sigma:\sigma \in G\}\cup\{\iota\sigma:\sigma \in G\}\) be a new larger subgroup of order \(2|G|=2(r+2)\) of \(\mathrm{Aut}(E/\mathbb{F}_q)\). We now consider the function field extension \(E/E^{G'}\). Since \(F=E^{G}\) is a rational function field, its subfield \(E^{G'}\) is also a rational function field by Lüroth’s Theorem (see [33]). By the Hurwitz genus formula (see 6 ), we have \[\begin{align} 2=2g(E)-2=(2g(E^{G'})-2)[E:E^{G'}]+\deg\mathrm{Diff}(E/E^{G'})=-4|G|+\deg\mathrm{Diff}(E/E^{G'}). \end{align}\] Thus, by Dedekind’s different theorem (see 5 ), there are at most \(4|G|+2\) rational places of \(E\) that are ramified in \(E/E^{G'}\). Therefore, by Remark 1 (ii), there are at least \(l=\eceil*{\frac{N(E)-4|G|-2}{2|G|}}\) rational places of \(E^{G'}\) that split completely in \(E/E^{G'}\) into \(\{T_{1,1},\dots,T_{1,2(r+2)}\},\dots,\{T_{l,1},\dots, T_{l,2(r+2)}\} \subseteq \mathbb{P}_E^1\), respectively. Since \(|G'|=2(r+2)\) and \(G'\) acts transitively on each of these sets by Lemma 1 (i), for each \(1\leq i\leq l\) we have \[\begin{align} \{T_{i,1},\dots,T_{i,2(r+2)}\}=\{\sigma(T_{i,1}):\; \sigma\in G'\} &=\{\sigma(T_{i,1}):\; \sigma\in G\}\sqcup \{\iota(\sigma( T_{i,1})):\;\sigma\in G\} \tag{36} \\ \tag{37} &=\{\sigma(T_{i,1}):\;\sigma\in G\}\sqcup \{\sigma(\iota (T_{i,1})):\; \sigma\in G\} \\ \tag{38} &\xlongequal{\text{denote by}} \{P_{2i-1,1},\dots,P_{2i-1,r+2}\} \sqcup \{P_{2i,1},\dots,P_{2i,r+2}\} \\\tag{39} &= \{P_{2i-1,1},\dots,P_{2i-1,r+2}\}\sqcup \{\iota(P_{2i-1,1}),\dots,\iota(P_{2i-1,r+2})\}, \end{align}\] where “\(\sqcup\)” denotes the union without intersection, and 39 follows from 36 . By 37 and 38 , we get at least \(\ell{=}2l{-}1=2\eceil*{\frac{N(E)-4|G|-2}{2|G|}}-1\) pairwise disjoint \(G\)-orbits9: \(\{P_{1,1},\dots,P_{1,r+2}\},\dots,\{P_{\ell,1},\dots,P_{\ell,r+2}\}\), that lie over \(\ell\) distinct rational places of \(F\) other than \(Q_{\infty}=P_{\infty}\cap F\), respectively. Moreover, \(\{P_{1,1},\dots,P_{1,r+2}\},\) \(\dots,\) \(\{P_{\ell,1}, \dots, P_{\ell,r+2}\}\) do satisfy the condition \((C2)\) in Proposition 3; otherwise, for some \(1\leq i\leq l\), 38 would not be a disjoint union by 39 , leading to a contradiction. Based on the above selection of \(\{P_{1,1},\dots,P_{1,r+2}\}\), \(\{P_{2,1},\dots,P_{2,r+2}\}, \dots, \{P_{\ell,1},\dots,P_{\ell,r+2}\}\), this theorem is proved. ◻
Using Theorem 3, we obtain optimal \((4,3)\)-LRCs over two classes of finite fields, together with an explicit example.
Corollary 5. Let \(q\) be a prime power of one of the following forms:
\(q=5^{2s}\) for an odd positive integer \(s\);
\(q={\overline{q}}^{2s}\) for an odd positive integer \(s\) and a prime power \({\overline{q}}\) with \({\overline{q}}\neq 5\) and \({\overline{q}}\equiv 5,15,21, \text{ or } 23\pmod{24}\).
Then for any integers \(t,m\) with \(1\leq t< m\leq \ell=2\eceil*{\frac{q+4\sqrt{q}-25}{12}}-1\), there exists an optimal \((4,3)\)-LRC with parameters \([6m,4t+1, 6(m-t)]_q.\)
Proof. (i) We consider the hyperelliptic curve defined by \(y^2=x^5+x\) over \(\mathbb{F}_q\), where \(q=5^{2s}\) for an odd positive integer \(s\). It is a maximal hyperelliptic curve with \(q+4\sqrt{q}+1\) rational points by Lemma 13 and Lemma 12. Let \(E/\mathbb{F}_q\) be its function field. It has an automorphism \(\sigma\in \mathrm{Aut}(E/\mathbb{F}_q)\) defined by the associated matrix \(\eparentheses*{\begin{array}{cc} \alpha & -1 \\ -1 & 0 \end{array}}\) (see 11 ), where \(\alpha\in \mathbb{F}_{25}\subseteq \mathbb{F}_q\) satisfies \(\alpha^2=2\). Let \(G:=<\sigma>\leq \mathrm{Aut}(E/\mathbb{F}_q)\). It is direct to verify that \(|G|=6\) and \(\iota \notin G\). Note that \(6\nmid N(E)=q+4\sqrt{q}+1=5^{2s}+4\cdot 5^s+1=(6-1)^{2s}+4\cdot(6-1)^s+1\) since \(2\nmid s\). Then by Theorem 3, item (i) holds.
(ii) We consider the hyperelliptic curve defined over \(\mathbb{F}_q\) by the equation \(y^2=x^5+x\), where \(q={\overline{q}}^{2s}\) for an arbitrary odd prime power \({\overline{q}}\neq 5\) with \({\overline{q}}\equiv 5 \text{ or } 7\pmod{8}\) and an odd positive integer \(s\). It is a maximal hyperelliptic curve by Lemma 13 and Lemma 12. Let \(E/\mathbb{F}_q\) be its function field. By Lemma 15 and some concrete computations, we obtain an automorphism \(\sigma_1\in \mathrm{Aut}(E/\mathbb{F}_q)\) of order \(2\) defined by the associated matrix \(\eparentheses*{\begin{array}{cc} 0& -1\\ -1& 0 \end{array}}\), and an automorphism \(\sigma_2 \in \mathrm{Aut}(E/\mathbb{F}_q)\) of order \(3\) defined by the associated matrix \(\eparentheses*{\begin{array}{cc} 2^{-1}(\alpha^2-1) & 2^{-1}(\alpha-\alpha^3) \\ 2^{-1}(\alpha^3-\alpha)& 2^{-1}(-\alpha^2-1) \end{array}}\) (see 11 ), where \(\alpha=u^{\frac{q-1}{8}}\), with \(u\) a primitive element of \(\mathbb{F}_{q}\). It is worth verifying that \(\sigma_2:(x\mapsto \frac{(\alpha^2-1)x+(\alpha-\alpha^3)}{(\alpha^3-\alpha)x+(-\alpha^2-1)},y\mapsto \frac{y}{2^{-3}((\alpha^3-\alpha)x+(-\alpha^2-1))^3})\) is indeed an automorphism in \(\mathrm{Aut}(E/\mathbb{F}_q)\). To this end, we first check that \((\sigma_2(y))^2=(\sigma_2(x))^5+\sigma_2(x)\), which is equivalent to verifying that \[2^6y^2=\big((\alpha^2-1)x+(\alpha-\alpha^3)\big)^5\big((\alpha^3-\alpha)x+(-\alpha^2-1)\big)+\big((\alpha^2-1)x+(\alpha-\alpha^3)\big)\big((\alpha^3-\alpha)x+(-\alpha^2-1)\big)^5.\] Note that \((1+\alpha^2)^2=2\alpha^2\) since \(\alpha^4=-1\). Multiplying both sides by \((1+\alpha^2)^6\), the above identity to be verified becomes \[(2\alpha^2)^3\cdot 2^6 y^2=(-2x+2\alpha)^5(-2\alpha x-2\alpha^2)+(-2x+2\alpha)(-2\alpha x-2\alpha^2)^5.\] The right hand side equals \((-2x+2\alpha)(-2\alpha x-2\alpha^2)((-2x+2\alpha)^4+\alpha^4(-2 x-2\alpha)^4)=-8\alpha^2\cdot 2^6(x^5+x)\), which is equal to the left hand side. Define \(\sigma_3\) as \(\sigma_3:(x\mapsto \frac{(-\alpha^2-1)x+(\alpha^3-\alpha)}{(\alpha-\alpha^3)x+(\alpha^2-1)},y\mapsto \frac{y}{2^{-3}((\alpha-\alpha^3)x+(\alpha^2-1))^3})\). We can similarly verify that \((\sigma_3(y))^2=(\sigma_3(x))^5+\sigma_3(x)\), and that \(\sigma_3\) is the inverse of \(\sigma_2\). Hence, \(\sigma_2\) is indeed an element of \(\mathrm{Aut}(E/\mathbb{F}_q)\).
Let \(G:=<\sigma_1,\sigma_2>\). It is a dihedral subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) of order \(6\), satisfying the relation \(\sigma_1\sigma_2\sigma_1=\sigma_2^{-1}\), and it does not contain the hyperelliptic involution \(\iota\). To apply Theorem 3, we examine under what conditions \(N(E)=q+4\sqrt{q}+1\) is not divisible by 6.
\({\overline{q}}\equiv 5 \pmod 8\). In this case, we consider three subcases \({\overline{q}}\equiv 5,13,21 \pmod{ 24}\). In these three subcases, we have \(N(E)=q+4\sqrt{q}+1={\overline{q}}^{2s}+4{\overline{q}}^s+1\equiv -2,0,4 \pmod{6}\), respectively, where \(s\) is an odd positive integer. Thus, when the condition “\({\overline{q}}\equiv 5 \pmod 8\)” is strengthened to “\({\overline{q}}\equiv 5\text{ or }21 \pmod {24}\)”, we have \(6\nmid N(E)\).
\({\overline{q}}\equiv 7 \pmod{8}\). In this case, we consider three subcases \({\overline{q}}\equiv 7,15,23 \pmod{24}\). In these three subcases, we have \(N(E)=q+4\sqrt{q}+1={\overline{q}}^{2s}+4{\overline{q}}^s+1\equiv 0,4,-2\pmod{6}\), respectively, where \(s\) is an odd positive integer. Thus, when the condition “\({\overline{q}}\equiv 7 \pmod 8\)” is strengthened to “\({\overline{q}}\equiv 15\text{ or } 23 \pmod{24}\)”, we have \(6\nmid N(E)\).
Based on the above discussion, the proof is complete by Theorem 3. ◻
Indeed, the above \(\ell=2\eceil*{\frac{q+4\sqrt{q}-25}{12}}-1\) in Corollary 5 is just a worst-case estimation on the number of local repair groups, when it comes to the explicit constructions over concrete finite fields, sometimes the number of local repair groups can be greater than \(\ell\), we give an explicit example to illustrate this. In the following example, we present an optimal \((4,3)\)-LRCs over \(\mathbb{F}_{25}\) with length \(36\), which is greater than the worst-case estimation \(\ell\cdot 6=(2\eceil*{\frac{25+4\sqrt{25}-25}{12}}-1)\cdot 6=18\).
Example 1. We consider the hyperelliptic function field \(E/\mathbb{F}_{25}\) defined by the equation \(y^2=x^5+x\) over \(\mathbb{F}_{25}=\mathbb{F}_5(u)\), where \(u\) is a primitive element of \(\mathbb{F}_{25}\) satisfying the equation \(u^2+4u+2=0\). Let \(\alpha=u^3\), which satisfies \(\alpha^2=2\). Let \(G\) be a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) of order \(6\) generated by \(\sigma: (x\mapsto -u^3+\frac{1}{x},\; y\mapsto \frac{y}{x^3})\), whose associated matrix is \(\begin{pmatrix} u^3&-1\\ -1&0\\ \end{pmatrix}\). Let \(r=4,\delta=3\). With the help of the MAGMA calculator [43], we select \([P_1,\dots,P_{6}]\), \(\{P_{1,1},\dots,P_{1,6}\}\), …, \(\{P_{6,1},\dots,P_{6,6}\}\) satisfying the conditions in Proposition 3 (including the conditions \((C1)\) and \((C2)\)) as follows: \[\begin{align} [P_{1},\dots P_{6}]=[P_{(u^3 , 0)}, P_{(u^{21} , 0)}, P_{(u^9,0)}, P_{(u^{15},0)}, P_{(0,0)}, P_{\infty}], \end{align}\] \[\begin{align} \left(\begin{array}{ccc} P_{1,1}& \cdots & P_{1,6} \\ \vdots&\ddots& \vdots\\ P_{6,1} &\cdots&P_{6,6} \end{array}\right)= \left(\begin{array}{cccccc} P_{(u^{13},2)}&P_{(u^{22},u^{21})}&P_{(u^7,u^3)}&P_{(u^8,2)}&P_{(u^{10},u^{15})}&P_{(4,u^9)}\\ P_{(u^4,4)}&P_{(u^{14},u^9)}&P_{(1,u^{15})}&P_{(u^2,u^{15})}&P_{(u^5,1)}&P_{(u^{23},u^9)}\\ P_{(u^4,1)}&P_{(1,u^3)}&P_{(u^5,4)}&P_{(u^2,u^3)}&P_{(u^{23},u^{21})}&P_{(u^{14},u^{21})}\\ P_{(u^{17},3)}&P_{(u^{11},u^{15})}&P_{(2,2)}&P_{(u,4)}&P_{(u^{19},u^9)}&P_{(3,1)}\\ P_{(u^{17},2)}&P_{(u^{19},u^{21})}&P_{(u^{11},u^3)}&P_{(u,1)}&P_{(3,4)}&P_{(2,3)}\\ P_{(u^7,u^{15})}&P_{(u^8,3)}&P_{(u^{22},u^9)}&P_{(4,u^{21})}&P_{(u^{13},3)}&P_{(u^{10},u^3)}\\ \end{array}\right). \end{align}\] Based on the above selections and Proposition 3, we define the functions \(z,w_0,w_1,w_2,w_3\) as \[z=(u^5x^3+u^7x^2+u^{15}x+u^5)/y+u^5, w_0=1,\\ w_1=u^7y/(x^3+u^{15}x^2+2x+u^{21})+1,\] \[w_2=u^9y/(x^3+u^{21}x^2+3x+u^{15})+u^{10}, w_3=u^{21}y/(x^3+u^{21}x^2+4x)+2.\] At last, by Proposition 4 (taking \(t=1,m=\ell=6\)), we get the following \(5\times 36\) generator matrix, which generates an optimal \((4,3)\)-LRC with parameters \([36,5,30]_{25}\). Here, the vertical lines are used to separate the local repair groups. The parameters of this linear code, including its \((4,3)\)-locality, are all verified by the MAGMA calculator [43]. \[\begin{align} \left[ \begin{array}{cccccc|cccccc|cccccc|} 1&1&1&1&1&1&1&1&1&1&1&1&1&1&1&1&1&1\\ 3&u^{19}&u^{5}&u^{17}&u^{5}&2&2&u^{8}&u^{17}&4&u^{4}&u^{9}&0&u^{3}&u^{19}&3&u^{8}&u^{9}\\ u^{13}&u^{13}&u^{20}&3&u^{8}&u^{17}&u^{21}&u^{20}&u^{19}&u^{5}&u^{14}&u^{8}&u^{17}&3&u^{5}&u^{14}&u^{15}&4\\ u^{10}&0&u^{17}&u^{9}&u^{23}&u^{16}&u^{5}&u^{2}&u^{17}&3&u^{19}&u^{8}&u^{2}&u^{13}&u^{21}&1&u^{16}&u^{5}\\ 0&0&0&0&0&0&4&4&4&4&4&4&u^{16}&u^{16}&u^{16}&u^{16}&u^{16}&u^{16}\\ \end{array} \right.\sim \qquad\\ \qquad\sim \left. \begin{array}{|cccccc|cccccc|cccccc} 1&1&1&1&1&1&1&1&1&1&1&1&1&1&1&1&1&1\\ 0&u^{13}&u^{19}&u^{3}&u^{20}&3&2&u^{23}&u^{15}&u^{17}&4&u^{4}&u^{22}&u^{3}&u^{4}&0&4&u^{22}\\ u^{2}&u^{17}&4&u^{11}&3&u^{15}&u^{7}&u^{19}&u^{21}&1&u^{8}&u^{20}&4&u^{19}&u^{3}&u^{21}&u^{3}&u^{15}\\ u^{13}&u^{19}&u^{19}&u^{16}&u^{10}&u&u^{17}&u&u^{21}&u^{8}&u^{10}&u^{21}&u^{13}&u^{23}&4&u^{8}&u&u^{9}\\ u^{7}&u^{7}&u^{7}&u^{7}&u^{7}&u^{7}&u^{15}&u^{15}&u^{15}&u^{15}&u^{15}&u^{15}&u^{11}&u^{11}&u^{11}&u^{11}&u^{11}&u^{11}\\ \end{array} \right]. \end{align}\]
Inspired by [17] where either optimal or almost optimal \((4,2)\)-LRCs are presented, we consider the construction of optimal \((r,\delta)\)-LRCs via hyperelliptic function fields of genus \(g\geq 2\), and have the following result.
Theorem 4. Let \(g\geq 2\) be an integer. Let \(q\) be a prime power of one of the following forms:
\(q=(2g+1)^{2s}\) for a positive integer \(s\) (in this case, \(2g+1\) must be a prime power);
\(q={\overline{q}}^{2s}\) for an odd prime power \({\overline{q}}\) satisfying \({\overline{q}}\equiv -1\pmod{2g+1}\) and a positive integer \(s\).
Then there exists an \((r=g+1-g',\delta=g+1+g')\)-LRC with parameters \[[n=m(2g+1),k=tr+1,d\geq (m-t)(2g+1)+\min\{0,2g'+1\}]_q\] for any integers \(g',t,m\) satisfying \(-(g-1)\leq g'\leq g-1\) and \(1\leq t<m\leq \ell=\efloor*{\frac{q+2g\sqrt{q}}{2g+1}}\). In particular, when \(0\leq g'\leq g-1\), it is an optimal \((r=g+1-g',\delta=g+1+g')\)-LRC with parameters \([m(2g+1),tr+1,(m-t)(2g+1)]_q.\)
Proof. For both (i) and (ii), we first consider the case where \(s\) is odd. The case where \(s\) is even will be handled using a slightly different twisted curve.
(i) Let \(q=(2g+1)^{2s}\) for an odd positive integer \(s\). We consider the hyperelliptic curve \(\mathfrak{C}\) defined over \(\mathbb{F}_q\) by the equation \(y^2=x^{2g+1}+x\). It is a maximal hyperelliptic curve of genus \(g\) with \(q+2g\sqrt{q}+1\) rational points by Lemma 13 and Lemma 12. Let \(E/\mathbb{F}_q\) be its function field. Since \(\mathbb{F}_{(2g+1)^2}\subseteq \mathbb{F}_q\), the equation \(\mathop{\mathrm{Tr}}_{(2g+1)^2/(2g+1)}(u)=u^{2g+1}+u=0\) has \(2g+1\) distinct roots \(\alpha_1,\dots,\alpha_{2g+1}\in \mathbb{F}_{q}\). Let \(G:=\{\sigma_i:\; 1\leq i\leq 2g+1\}\subseteq \mathrm{Aut}(E/\mathbb{F}_q)\), where \(\sigma_i\) is defined by \(\sigma_i: (x\mapsto x+\alpha_i,\; y\mapsto y)\). Then \(G\) is a subgroup of \(\mathrm{Aut}(E/\mathbb{F}_q)\) of order \(2g+1\). Let \(F:=E^{G}\). For the place at infinity \(P_{\infty}\) of \(E\), we have \(\sigma(P_{\infty})=P_{\infty}\) for any \(\sigma \in G\), and thus \(e(P_{\infty}|Q_{\infty})=2g+1\) by Lemma 1, where \(Q_{\infty}:=P_{\infty}\cap F\). By Dedekind’s different theorem (see 5 ), \(\deg\mathrm{Diff}(E/F)\geq 2g\), which, along with Lemma 2, implies that \(F\) is a rational function field. Take \(z\in \mathcal{L}_F(Q_{\infty})\backslash \mathbb{F}_q\). We define the vector space \(V\) of functions of \(E\) that will be used for evaluation by \[\begin{align} V:=\bigg\{a_{0,t}x^0z^t+\sum_{i=0}^{r-1}\sum_{j=0}^{t-1}a_{i,j}x^iz^j:a_{0,t}\in \mathbb{F}_q \text{ and }a_{i,j}\in \mathbb{F}_q \text{ for } 0\leq i\leq r-1, 0\leq j\leq t-1\bigg\}. \end{align}\]
We now prove that \(V\) is of dimension \(tr+1\). For this, it suffices to show that \(x^0,x^1,\dots,x^{r-1}\) are \(F\)-linearly independent. Assume towards a contradiction that there exist rational functions \({f}_{0}(z),\dots,{f}_{r-1}(z)\in F=\mathbb{F}_q(z)\), not all zero, such that \(\sum_{i=0}^{r-1}{f}_i(z)x^i=0\). By clearing denominators, we may assume that \({f}_{0}(z),\dots,{f}_{r-1}(z)\) are polynomials of \(z\). Note that \(v_{P_{\infty}}(x)=-2\) and \(v_{P_{\infty}}(z)=-(2g+1)\) since \((z)^{E}_{\infty}=\mathrm{Con}_{E/F}((z)^{F}_{\infty})=\mathrm{Con}_{E/F}(Q_{\infty})=(2g+1)P_{\infty}\). Let \(0\leq i_1,i_2\leq r-1\) be two (not necessarily distinct) integers such that \({f}_{i_1}(z)\neq 0,{f}_{i_2}(z)\neq 0\), and \(v_{P_{\infty}}({f}_{i_1}(z)x^{i_1})=v_{P_{\infty}}({f}_{i_2}(z)x^{i_2})\). Then we have \(-(2g+1)\deg({f}_{i_1}(z))-2i_1=v_{P_{\infty}}({f}_{i_1}(z)x^{i_1})=v_{P_{\infty}}({f}_{i_2}(z)x^{i_2})=-(2g+1)\deg({f}_{i_2}(z))-2i_2,\) which implies \(2i_1\equiv 2i_2 \pmod{2g+1}\), and therefore, \(i_1\equiv i_2 \pmod{2g+1}\). Since \(0\leq i_1,i_2\leq r-1=g-g'\leq 2g-1\), we have \(i_1=i_2\). Thus, the valuations \(v_{P_{\infty}}({f}_i(z)x^i)\) (\(0\leq i\leq r-1\)) with \({f}_i(z)\neq 0\) are pairwise distinct, which, together with the strict triangle inequality, leads to a contradiction with the assumption \(\sum_{i=0}^{r-1}{f}_i(z)x^i=0\). Therefore, \(x^0,x^1,\dots,x^{r-1}\) are \(F\)-linearly independent, and then \(\dim_{\mathbb{F}_q}(V)=tr+1\).
We then select the rational places that will be used for evaluation. For any affine rational place \(P_{(\alpha,\beta)}\) of \(E\), the orbit \(G\eparentheses*{P_{(\alpha,\beta)}}:=\{P_{(\alpha+\alpha_{i},\beta)}:\; 1\leq i\leq 2g+1\}\) is a \(G\)-orbit of length \(2g+1\). Since \(E\) has \(q+2g\sqrt{q}\) affine rational places, there are totally \(\ell=\frac{q+2g\sqrt{q}}{2g+1}\) \(G\)-orbits of the form \(\{P_{(\alpha+\alpha_i,\beta)}: 1\leq i\leq 2g+1\}\). We denote all these \(G\)-orbits by \(\{P_{1,1},\dots,P_{1,2g+1}\}\), …, \(\{P_{\ell,1},\dots,P_{\ell,2g+1}\}\). The rational places in these \(\ell\) orbits lie over \(\ell\) distinct rational places of \(F\) other than \(Q_{\infty}=P_{\infty}\cap F\), respectively. Let \(\mathcal{P}:=\{P_{1,1},\dots,P_{1,2g+1},\dots,P_{m,1},\dots,P_{m,2g+1}\}\) be the places for evaluation.
We define a linear code \(\mathcal{C}(\mathcal{P},V)\) by \[\begin{align} \mathcal{C}(\mathcal{P},V):=\{(\phi(P_{1,1}),\dots,\phi(P_{1,2g+1}),\dots,\phi(P_{m,1}),\dots,\phi(P_{m,2g+1})):\; \phi\in V\}. \end{align}\] Note that \(V\subseteq \mathcal{L}_E(t(2g+1)P_{\infty}+\max\{0,2(r-1)-(2g+1)\}P_{\infty})=\mathcal{L}_E(t(2g+1)P_{\infty}+\max\{0,-2g'-1\}P_{\infty})\) since \((x)_{\infty}^E=2P_{\infty}\) and \((z)_{\infty}^E=(2g+1)P_{\infty}\). By Section 2.1, the dimension of \(\mathcal{C}(\mathcal{P},V)\) is \(k=\dim_{\mathbb{F}_q}(V)=tr+1\) and the minimum distance \(d\) of \(\mathcal{C}(\mathcal{P},V)\) satisfies \(d\geq m(2g+1)-(t(2g+1)+\max\{0,-2g'-1\})=(m-t)(2g+1)+\min\{0,2g'+1\}\).
To prove that \(\mathcal{C}(\mathcal{P},V)\) is an \((r=g+1-g',\delta=g+1+g')\)-LRC, it suffices to note that for any \(1\leq i\leq m\), \[\mathcal{C}(\mathcal{P},V)|_{\{(i-1)(r+\delta-1)+1,\dots,i(r+\delta-1)\}}=\{(\phi(P_{i,1}),\dots,\phi(P_{i,r+\delta-1})):\phi\in \mathop{\mathrm{span}}_{\mathbb{F}_q}\{1,x,\dots,x^{r-1}\}\},\] and that \(x(P_{i,1}),\dots,x(P_{i,r+\delta-1})\) are pairwise distinct, which imply that \(\mathcal{C}(\mathcal{P},V)|_{\{(i-1)(r+\delta-1)+1,\dots,i(r+\delta-1)\}}\) is a Reed-Solomon code with minimum distance \(((r+\delta-1)-(r-1))=\delta\). Invoking the Singleton-type bound 1 , we have \(d\leq (m-t)(2g+1)\). Thus, when \(0\leq g'\leq g-1\), the minimum distance \(d\) is determined to be \((m-t)(2g+1)\) and \(\mathcal{C}(\mathcal{P},V)\) is an optimal \((r=g+1-g',\delta=g+1+g')\)-LRC.
As for the case \(q=(2g+1)^{2s}\) for an even positive integer \(s\), we consider the (twisted) hyperelliptic curve \(\mathfrak{C}'/\mathbb{F}_q\) defined by \(\gamma y^2=x^{2g+1}+x\), where \(\gamma\in \mathbb{F}_q\backslash \{\beta^2:\beta\in \mathbb{F}_q\}\), i.e., a quadratic non-residue in \(\mathbb{F}_q\). Note that the number of distinct roots in \(\mathbb{F}_q\) of \(\gamma y^2=\alpha^{2g+1}+\alpha\) and the number of distinct roots in \(\mathbb{F}_q\) of \(y^2=\alpha^{2g+1}+\alpha\) sum to \(2\) for any \(\alpha\in \mathbb{F}_q\). Thus, the numbers of affine rational points of \(\mathfrak{C}'/\mathbb{F}_q\) and \(\mathfrak{C}/\mathbb{F}_q\) (defined by \(y^2=x^{2g+1}+x\)) sum to \(2q\). By Lemmas 13 and 12, the curve \(\mathfrak{C}/\mathbb{F}_q\) is a minimal curve of genus \(g\), and then \(\mathfrak{C}'/\mathbb{F}_q\) is a maximal hyperelliptic curve of genus \(g\). The rest of the proof is similar to the above argument where \(s\) is odd, using the curve \(\mathfrak{C}'/\mathbb{F}_q\).
(ii) Let \(q={\overline{q}}^{2s}\) for an odd prime power \({\overline{q}}\) satisfying \({\overline{q}}\equiv -1\pmod{2g+1}\) and an odd positive integer \(s\). We consider the hyperelliptic curve defined over \(\mathbb{F}_q\) by \(y^2=x^{2g+1}+1\). It is a maximal hyperelliptic curve of genus \(g\) by Lemma 14 and Lemma 12. Let \(E/\mathbb{F}_q\) be its function field. It has an automorphism \(\sigma\in \mathrm{Aut}(E/\mathbb{F}_q)\) defined as \(\sigma: (x\mapsto u^{\frac{q-1}{2g+1}}x,\; y\mapsto y)\), where \(u\) is a primitive element of \(\mathbb{F}_q\). Let \(G:=<\sigma>\), a cyclic group of order \(2g+1\), and let \(F:=E^{G}\). The rest of the proof is similar to the proof of (i). The only difference worth emphasizing is that the number \(\ell\) of \(G\)-orbits of length \(2g+1\) becomes \(\ell=\frac{q+2g\sqrt{q}-2}{2g+1}\), since there are two affine rational places \(P_{(\alpha,\beta)}\) of \(E\) satisfying \(\alpha=0\), \(P_{(0,1)}\) and \(P_{(0,-1)}\).
As for the case \(q={\overline{q}}^{2s}\) for an odd prime power \({\overline{q}}\) satisfying \({\overline{q}}\equiv -1\pmod{2g+1}\) and an even positive integer \(s\), we consider the hyperelliptic curve defined over \(\mathbb{F}_q\) by \(\gamma y^2=x^{2g+1}+1\), where \(\gamma\) is a quadratic non-residue in \(\mathbb{F}_q\). Arguing similarly to the end of the proof of (i), this is a maximal hyperelliptic curve of genus \(g\). The remainder of the proof is similar to the above (the definitions of \(E\), \(G\), and \(F\) are all the same, so we omit them). The only difference worth emphasizing is that the number \(\ell\) of \(G\)-orbits of length \(2g+1\) becomes \(\ell=\frac{q+2g\sqrt{q}}{2g+1}\), since any affine rational places \(P_{(\alpha,\beta)}\) of \(E\) satisfies \(\alpha\neq 0\).
Note that in all the above four subcases, it holds \(\ell=\efloor*{\frac{q+2g\sqrt{q}}{2g+1}}\). This theorem is proved. ◻
Remark 7.
After completing the above proof of Theorem 4, we observe that the function \(z\in \mathcal{L}_{F}(Q_{\infty})\backslash \mathbb{F}_q=\mathcal{L}_{F}(P_{\infty}\cap F)\backslash \mathbb{F}_q\) can, in fact, be explicitly chosen as \(z=y\). This motivates us to explore further constructions. In the next section, we present optimal \((r,\delta)\)-LRCs with even longer code lengths, using some superelliptic curves adapted from the Norm-Trace curves.
In this section, we present constructions of optimal \((r,\delta)\)-LRCs via some superelliptic curves from Norm-Trace curves, and particularly the Hermitian curves. Before presenting them, we recall the definition and some related properties of superelliptic curves and Norm-Trace curves. We refer to [44] by Galbraith et al. and [45] by Geil, respectively.
Definition 1 ([44]). Let \(\mathbb{F}_q\) be a finite field with \(q\) elements. Let \(f(x) \in \mathbb{F}_q[x]\) be a monic10 polynomial of degree \(N\) such that \(\gcd(f(x), f'(x)) = 1\), where \(f'(x)\) is the formal derivative of \(f(x)\). Let \(M\) be a positive integer such that \(\gcd(M,N)=1\) and \(\gcd(M,\mathrm{char}(\mathbb{F}_q))=1\). Then the curve \(\mathfrak{C}:\; y^{M} =f(x)\) is called a superelliptic curve.
Lemma 16 (Part of [44]). Let \(\mathfrak{C}\) be a superelliptic curve over \(\mathbb{F}_q\) as in Definition 1. Then
\(\mathfrak{C}\) is nonsingular as an affine curve.
There is only one point, \(P_\infty\), at infinity on the normalisation of \(\mathfrak{C}\) and this point is defined over \(\mathbb{F}_q\).
The genus of \(\mathfrak{C}\) is \(\frac{1}{2}(M-1)(N-1)\).
Remark 8. The polynomial \(f(x)\) in Definition 1 is required to be monic. However, Lemma 16 remains valid even without this condition. Indeed, assume that \(f(x)\) is not monic and satisfies all other conditions in Definition 1. Since \(\gcd(M,N)=1\), we can transform the equation \(y^M=f(x)\) into a new equation \(y^M=F(x)\) with \(F(x)\) monic and satisfy all conditions in Definition 1 by an invertible polynomial map \(\sigma: (x\mapsto \alpha x,\; y\mapsto \beta y)\), where \(\alpha,\beta\in \mathbb{F}_q^*\). This is an \(\mathbb{F}_q\)-isomorphism, which does not affect the properties listed in Lemma 16. In what follows, we do not require \(f(x)\) to be monic, for simplicity.
Let \(E/\mathbb{F}_q\) be the function field of a superelliptic curve \(\mathfrak{C}/\mathbb{F}_q\). For an affine rational point \((\alpha,\beta)\in \mathfrak{C}(\mathbb{F}_q)\), we denote its corresponding rational place of \(E\) by \(P_{(\alpha,\beta)}\), which is the unique common zero of \(x-\alpha\) and \(y-\beta\). For the point at infinity \(P_{\infty}\), we still denote its corresponding rational place of \(E\) by \(P_{\infty}\), which is the unique common pole of \(x\) and \(y\).
Next, we briefly review the Norm-Trace curves.
Definition 2. Let \({\overline{q}}\) be a prime power and \(s\) be a positive integer. The Norm-Trace curve \(\mathcal{X}_{{\overline{q}},s}\) over \(\mathbb{F}_{{\overline{q}}^{s}}\) is defined by the equation \(y^{\frac{{\overline{q}}^{s} - 1}{{\overline{q}}- 1}} = x^{{\overline{q}}^{s-1}} + x^{{\overline{q}}^{s-2}} + \cdots + x^{{\overline{q}}^0}.\) When \(s=2\), it is the well-known Hermitian curve.
It has exactly one point at infinity, along with \({\overline{q}}^{2s-1}\) affine rational points. Its genus is \(\frac{{\overline{q}}^{s-1} - 1}{2} \left( \frac{{\overline{q}}^{s} - 1}{{\overline{q}}- 1} - 1 \right).\)
We are now ready to introduce our general framework for constructing optimal \((r,\delta)\)-LRCs via superelliptic curves. The use of superelliptic curves here is for convenience only; the framework can naturally be extended to a broader class of curves.
Proposition 5. Let \(\mathfrak{C}\) be a superelliptic curve defined over \(\mathbb{F}_q\) by an equation of the form \(\gamma y^M=x^N+(\text{lower order terms of } x),\) where \(\gamma\in \mathbb{F}_q^*\). Let \(E/\mathbb{F}_q\) be its function field. Then the following two classes of optimal \((r,\delta)\)-LRCs exist under certain assumptions.
Assume \(M<N\). Let \(r=\efloor*{\frac{N-1}{M}}+1-b'\) and \(\delta=N+1-r\geq 2\) for an integer \(0\leq b'\leq \efloor*{\frac{N-1}{M}}-1\). Assume also that there exist pairwise disjoint sets of affine rational places of \(E\): \(\{P_{1,1},\dots,P_{1,r+\delta-1}\},\dots,\{P_{\ell,1},\dots,P_{\ell,r+\delta-1}\}\), such that for each \(1\leq i\leq \ell\), \(x(P_{i,1}),\dots,x(P_{i,r+\delta-1})\) are pairwise distinct and \(y(P_{i,1})=\dots=y(P_{i,r+\delta-1})\). Then for any \(1\leq t<m\leq \ell\), there exists an optimal \((r=\efloor*{\frac{N-1}{M}}+1-b',\delta=N+1-r)\)-LRC with parameters \([mN,tr+1,(m-t)N]_{q}.\)
Assume \(M>N\). Let \(r=\efloor*{\frac{M-1}{N}}+1-b'\) and \(\delta=M+1-r\geq 2\) for an integer \(0\leq b'\leq \efloor*{\frac{M-1}{N}}-1\). Assume also that there exist pairwise disjoint sets of affine rational places of \(E\): \(\{P_{1,1},\dots,P_{1,r+\delta-1}\},\dots,\{P_{\ell,1},\dots,P_{\ell,r+\delta-1}\}\) such that for each \(1\leq i\leq \ell\), \(y(P_{i,1}),\dots,y(P_{i,r+\delta-1})\) are pairwise distinct and \(x(P_{i,1})=\dots=x(P_{i,r+\delta-1})\). Then for any \(1\leq t<m\leq \ell\), there exists an optimal \((r=\efloor*{\frac{M-1}{N}}+1-b',\delta=M+1-r)\)-LRC with parameters \([mM,tr+1,(m-t)M]_{q}.\)
Proof. (i) Let \(\mathcal{P}:=\{P_{1,1},\dots,P_{1,r+\delta-1},\dots,P_{m,1},\dots,P_{m,r+\delta-1}\}\), and \(V:=\{a_{0,t}x^0y^t+\sum_{i=0}^{r-1}\sum_{j=0}^{t-1}a_{i,j}x^iy^j:\; a_{0,t}\in \mathbb{F}_{q}\text{ and }a_{i,j}\in \mathbb{F}_{q} \text{ for } 0\leq i\leq r-1,0\leq j\leq t-1\}\). Define a linear code \(\mathcal{C}(\mathcal{P},V)\) by \[\begin{align} \mathcal{C}(\mathcal{P},V):=\left\{(\phi(P_{1,1}),\dots,\phi(P_{1,r+\delta-1}),\dots,\phi(P_{m,1}),\dots,\phi(P_{m,r+\delta-1})):\; \phi\in V\right\}. \end{align}\]
First, we prove that \(\mathcal{C}(\mathcal{P},V)\) is an \((r=\efloor*{\frac{N-1}{M}}+1-b',\delta=N+1-r)\)-LRC. For this, it suffices to note that for any \(1\leq i\leq m\), \(\mathcal{C}(\mathcal{P},V)|_{\{(i-1)(r+\delta-1)+1,\dots,i(r+\delta-1)\}}=\{(\phi(P_{i,1}),\dots,\phi(P_{i,r+\delta-1})):\; \phi\in \mathop{\mathrm{span}}_{\mathbb{F}_q}\{x^0,x^1,\dots,x^{r-1}\}\},\) and that \(x(P_{i,1}),\dots,x(P_{i,r+\delta-1})\) are pairwise distinct, which imply that \(\mathcal{C}(\mathcal{P},V)|_{\{(i-1)(r+\delta-1)+1,\dots,i(r+\delta-1)\}}\) is a Reed-Solomon code with minimum distance \(((r+\delta-1)-(r-1))=\delta\).
Next, we prove that \(V\) has dimension \(tr+1\). To this end, it suffices to show that the \(tr+1\) functions \(x^0y^t,x^iy^j(0\leq i\leq r-1,0\leq j\leq t-1)\), which span \(V\), have pairwise distinct valuations at the place at infinity \(P_{\infty}\). Note that the functions \(x\) and \(y\) each have a unique pole \(P_{\infty}\). We have \(v_{P_{\infty}}(x)=-[E:\mathbb{F}_{q}(x)]=-[\mathbb{F}_q(x,y):\mathbb{F}_{q}(x)]=-M\) and \(v_{P_{\infty}}(y)=-[E:\mathbb{F}_{q}(y)]=-[\mathbb{F}_q(x,y):\mathbb{F}_{q}(y)]=-N\) by [33]. Thus, \(v_{P_{\infty}}(x^iy^j)=-Mi-Nj\). Since \(0< r-1=\efloor*{\frac{N-1}{M}}-b'<\frac{N}{M}\), the functions \(x^0y^t,x^iy^j(0\leq i\leq r-1,0\leq j\leq t-1)\) have pairwise distinct valuations at \(P_{\infty}\). Therefore, these \(tr+1\) functions are \(\mathbb{F}_{q}\)-linearly independent by the strict triangle inequality. Then we have \(\dim_{\mathbb{F}_{q}}(V)=tr+1\).
As a by-product of the above argument, we also obtain \(V\subseteq \mathcal{L}_{E}(tNP_{\infty})\). Hence, \(\mathcal{C}(\mathcal{P},V)\) has dimension \(tr+1\) and minimum distance at least \((m-t)N\) by Section 2.1. By the Singleton-type bound 1 , we conclude that the minimum distance of \(\mathcal{C}(\mathcal{P},V)\) is exactly \((m-t)N\), and \(\mathcal{C}(\mathcal{P},V)\) is an optimal \((r=\efloor*{\frac{N-1}{M}}+1-b',\delta=N+1-r)\)-LRC.
(ii) By interchanging \(x\) and \(y\), and swapping \(M\) with \(N\) in the above proof of (i), we can prove (ii). ◻
In this subsection, we present constructions of optimal \((r,\delta)\)-LRCs based on Proposition 5. Before proceeding, we introduce the curves that will be used in our constructions.
Lemma 17. Let \(q={\overline{q}}^s\) for a prime power \({\overline{q}}\) and an integer \(s\geq 2\). Let \(b\) be a positive divisor of \(\frac{{\overline{q}}^{s}-1}{{\overline{q}}-1}\), and let \(c\) be a positive divisor of \(s\). Denote \(M=\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}\) and \(N={\overline{q}}^{s-c}\). Then the curve \(\mathfrak{C}\) defined over \(\mathbb{F}_{q}\) by \[y^{M}=x^{N}+x^{{\overline{q}}^{s-2c}}+\dots+x^{{\overline{q}}^c}+x^{{\overline{q}}^0}=\mathop{\mathrm{Tr}}_{{\overline{q}}^s/{\overline{q}}^c}(x)\] is a superelliptic curve of genus \(\frac{(M-1)(N-1)}{2}\). It has \(\eparentheses*{\gcd(b,\frac{{\overline{q}}^c-1}{{\overline{q}}-1})\cdot\frac{q(q-1)}{b{\overline{q}}^c}+\frac{q}{{\overline{q}}^c}+1}\) rational points, including one rational point at infinity.
Proof. The genus of the superelliptic curve \(\mathfrak{C}\) is \(\frac{(M-1)(N-1)}{2}\) by Lemma 16. We now count the affine rational points of \(\mathfrak{C}/\mathbb{F}_{q}=\mathfrak{C}/\mathbb{F}_{{\overline{q}}^s}\). That is, the number of pairs \((\alpha,\beta)\in \mathbb{F}_{{\overline{q}}^s}^2\) satisfying \(\beta^{\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}}=\alpha^{{\overline{q}}^{s-c}}+\alpha^{{\overline{q}}^{s-2c}}+\dots+\alpha^{{\overline{q}}^{c}}+\alpha^{{\overline{q}}^0}=\mathop{\mathrm{Tr}}_{{\overline{q}}^s/{\overline{q}}^c}(\alpha)\).
By the property of the trace map \(\mathop{\mathrm{Tr}}_{{\overline{q}}^s/{\overline{q}}^c}\) from \(\mathbb{F}_{{\overline{q}}^s}\) to \(\mathbb{F}_{{\overline{q}}^c}\), for any \(\beta\in \mathbb{F}_{{\overline{q}}^s}\) satisfying \(\beta^{\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}}\in \mathbb{F}_{{\overline{q}}^c}\), there are exactly \({\overline{q}}^{s-c}\) distinct \(\alpha\in \mathbb{F}_{{\overline{q}}^s}\), such that \(\beta^{\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}}=\mathop{\mathrm{Tr}}_{{\overline{q}}^s/{\overline{q}}^c}(\alpha)\). Also, for any \(\beta\in \mathbb{F}_{{\overline{q}}^s}\) satisfying \(\beta^{\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}}\notin \mathbb{F}_{{\overline{q}}^c}\), there exists no \(\alpha\in \mathbb{F}_{{\overline{q}}^s}\) such that \(\beta^{\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}}=\mathop{\mathrm{Tr}}_{{\overline{q}}^s/{\overline{q}}^c}(\alpha)\). Therefore, to determine the number of affine rational points of \(\mathfrak{C}/\mathbb{F}_{{\overline{q}}^s}\), we only need to count the elements \(\beta\in \mathbb{F}_{{\overline{q}}^s}\) satisfying \(\beta^{\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}}\in \mathbb{F}_{{\overline{q}}^c}\), and then multiply the result by \({\overline{q}}^{s-c}\). We consider the following two cases.
\(\beta=0\). Clearly, \(\beta^{\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}}=0\in \mathbb{F}_{{\overline{q}}^c}\).
\(\beta=u^i\) for a primitive element \(u\) of \(\mathbb{F}_{{\overline{q}}^s}\) and an integer \(0\leq i\leq {\overline{q}}^s-2\). Then \(\beta^{\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}}\in \mathbb{F}_{{\overline{q}}^c}\) if and only if \((u^{i\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}})^{{\overline{q}}^c-1}=1\), which is equivalent to \(\frac{b}{\gcd(b,\frac{{\overline{q}}^c-1}{{\overline{q}}-1})}\mid i\).
Thus, the number of elements \(\beta\in \mathbb{F}_{{\overline{q}}^s}\) satisfying \(\beta^{\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}}\in \mathbb{F}_{{\overline{q}}^c}\) is \(1+({\overline{q}}^s-1)/\frac{b}{\gcd(b,\frac{{\overline{q}}^c-1}{{\overline{q}}-1})}=\gcd(b,\frac{{\overline{q}}^c-1}{{\overline{q}}-1})\cdot\frac{({\overline{q}}^s-1)}{b}+1\). Multiplying it by \({\overline{q}}^{s-c}\), together with the unique rational point at infinity (see Lemma 16), we complete the proof. ◻
Then we have the following explicit construction of optimal \((r,\delta)\)-LRCs.
Theorem 5. Let \(q={\overline{q}}^s\) for a prime power \({\overline{q}}\) and an integer \(s\geq 2\). Let \(b\) be a positive proper divisor of \(\frac{{\overline{q}}^s-1}{{\overline{q}}-1}\), and let \(c\) be a positive proper divisor of \(s\). Denote \(M=\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}\) and \(N={\overline{q}}^{s-c}\). Then we have the following two classes of explicit optimal \((r,\delta)\)-LRCs, depending on whether \(M<N\) or \(M>N\).
If \(M<N\), then for any \(0\leq b'\leq \efloor*{\frac{N-1}{M}}-1\), there exists an optimal \((r=\efloor*{\frac{N-1}{M}}+1-b',\delta=N+1-r)\)-LRC with parameters \([mN,tr+1,(m-t)N]_{q}\) for any \(1\leq t<m\leq \ell=\frac{\gcd(b,\frac{{\overline{q}}^c-1}{{\overline{q}}-1})\cdot \frac{(q-1)q}{b{\overline{q}}^c}+\frac{q}{{\overline{q}}^c}}{N}\).
If \(M>N\), then for any \(0\leq b'\leq \efloor*{\frac{M-1}{N}}-1\), there exists an optimal \((r=\efloor*{\frac{M-1}{N}}+1-b',\delta=M+1-r)\)-LRC with parameters \([mM,tr+1,(m-t)M]_{q}\) for any \(1\leq t<m\leq \ell=\frac{\gcd(b,\frac{{\overline{q}}^c-1}{{\overline{q}}-1})\cdot \frac{(q-1)q}{b{\overline{q}}^c}}{M}\).
Proof. (i) \(M<N.\) We use the superelliptic curve \(\mathfrak{C}\) given in Lemma 17, defined over \(\mathbb{F}_{q}=\mathbb{F}_{{\overline{q}}^s}\) by the equation \(y^{M}=x^{N}+x^{{\overline{q}}^{s-2c}}+\dots+x^{{\overline{q}}^c}+x^{{\overline{q}}^0}=\mathop{\mathrm{Tr}}_{{\overline{q}}^s/{\overline{q}}^c}(x)\). For each affine rational point \((\alpha,\beta)\in \mathfrak{C}(\mathbb{F}_{q})\), we have a set \(\{(\alpha+\alpha_i,\beta):1\leq i\leq N\}\subseteq \mathfrak{C}(\mathbb{F}_{q})\), where \(\alpha_1,\dots,\alpha_{N}\in \mathbb{F}_{q}\) are the \(N={\overline{q}}^{s-c}\) distinct roots of the equation \(\mathop{\mathrm{Tr}}_{{\overline{q}}^s/{\overline{q}}^c}(z)=0\). These sets are either disjoint or identical. There are totally \(\ell=\frac{\gcd(b,\frac{{\overline{q}}^c-1}{{\overline{q}}-1})\cdot \frac{(q-1)q}{b{\overline{q}}^c}+\frac{q}{{\overline{q}}^c}}{N}\) such sets since \(\mathfrak{C}/\mathbb{F}_{q}\) has \(\eparentheses*{\gcd(b,\frac{{\overline{q}}^c-1}{{\overline{q}}-1})\cdot \frac{(q-1)q}{b{\overline{q}}^c}+\frac{q}{{\overline{q}}^c}}\) affine rational points by Lemma 17. Let \(E/\mathbb{F}_{q}\) be the function field of \(\mathfrak{C}/\mathbb{F}_{q}\). We convert the affine rational points in each of these \(\ell\) sets into the corresponding affine rational places, and denote the \(\ell\) new sets of affine rational places by \(\{P_{i,1},\dots,P_{i,r+\delta-1}\}\) (\(1\leq i\leq \ell\)). For each \(1\leq i\leq \ell\), the values \(x(P_{i,1}),\dots,x(P_{i,r+\delta-1})\) are pairwise distinct, while \(y(P_{i,1}),\dots,y(P_{i,r+\delta-1})\) are all the same. By Proposition 5 (i), the proof is complete.
(ii) \(M>N.\) We also use the superelliptic curve \(\mathfrak{C}\) in Lemma 17, defined over \(\mathbb{F}_{q}=\mathbb{F}_{{\overline{q}}^s}\) by the equation \(y^{M}=x^{N}+x^{{\overline{q}}^{s-2c}}+\dots+x^{{\overline{q}}^c}+x^{{\overline{q}}^0}=\mathop{\mathrm{Tr}}_{{\overline{q}}^s/{\overline{q}}^c}(x)\). For each affine rational point \((\alpha,\beta)\in \mathfrak{C}(\mathbb{F}_{q})\) with \(\beta\neq 0\), we have a set \(\{(\alpha,\beta_i\beta):1\leq i\leq M\}\subseteq \mathfrak{C}(\mathbb{F}_{q})\), where \(\beta_1,\dots,\beta_{M}\in \mathbb{F}_{q}\) are the \(M\) distinct roots of the equation \(z^{M}=1\) (note that \(M=\frac{{\overline{q}}^s-1}{b({\overline{q}}-1)}\mid (q-1)\)). These sets are either disjoint or identical. There are totally \(\ell=\frac{\gcd(b,\frac{{\overline{q}}^c-1}{{\overline{q}}-1})\cdot \frac{(q-1)q}{b{\overline{q}}^c}}{M}\) such sets since there are totally \(\eparentheses*{\gcd(b,\frac{{\overline{q}}^c-1}{{\overline{q}}-1})\cdot \frac{(q-1)q}{b{\overline{q}}^c}}\) affine rational points \((\alpha,\beta)\) of \(\mathfrak{C}/\mathbb{F}_{q}\) with \(\beta\neq 0\) by the proof of Lemma 17. Let \(E/\mathbb{F}_{q}\) be the function field of \(\mathfrak{C}/\mathbb{F}_{q}\). We convert the affine rational points in each of these \(\ell\) sets into the corresponding affine rational places, and denote the \(\ell\) new sets of affine rational places by \(\{P_{i,1},\dots,P_{i,r+\delta-1}\}\) (\(1\leq i\leq \ell\)). For each \(1\leq i\leq \ell\), the values \(y(P_{i,1}),\dots,y(P_{i,r+\delta-1})\) are pairwise distinct, while \(x(P_{i,1}),\dots,x(P_{i,r+\delta-1})\) are all the same. By Proposition 5 (ii), the proof is complete. ◻
In the following example, we present two representative constructions by Theorem 5.
Example 2. (i) Fixing \(c=1\) in Theorem 5, for any prime power \(q={\overline{q}}^s\) with \(s\geq 2\), any divisor \(b\) of \(\frac{{\overline{q}}^s-1}{{\overline{q}}-1}\) satisfying \(1< b <\frac{{\overline{q}}^s-1}{{\overline{q}}-1}\), and any \(0\leq b'\leq \big\lfloor{b\frac{({\overline{q}}-1)({\overline{q}}^{s-1}-1)}{{\overline{q}}^s-1}\big\rfloor}-1\), we have an explicit \(q\)-ary optimal \((r=\big\lfloor{b\frac{({\overline{q}}-1)({\overline{q}}^{s-1}-1)}{{\overline{q}}^s-1}}\big\rfloor+1-b',\delta={\overline{q}}^{s-1}+1-r)\)-LRC with length up to \(\frac{1}{b{\overline{q}}}q^2+\frac{b-1}{b{\overline{q}}}q\).
(ii) Fixing \(b=1\) in Theorem 5, for any prime power \(q={\overline{q}}^s\) with \(s\geq 2\), any positive proper divisor \(c\) of \(s\), and any \(0\leq b'\leq \big\lfloor\frac{({\overline{q}}^s-{\overline{q}})}{{\overline{q}}^{s-c}({\overline{q}}-1)}\big\rfloor-1\), we have an explicit \(q\)-ary optimal \((r=\big\lfloor\frac{({\overline{q}}^s-{\overline{q}})}{{\overline{q}}^{s-c}({\overline{q}}-1)}\big\rfloor+1-b',\delta=\frac{{\overline{q}}^s-1}{{\overline{q}}-1}+1-r)\)-LRC with length up to \(\frac{q(q-1)}{{\overline{q}}^c}\).
As illustrated in the above example, Theorem 5 can produce constructions of optimal \((r,\delta)\)-LRCs with considerable code lengths. However, when we aim to fix \(r,\delta\) and construct optimal \((r,\delta)\)-LRCs as the field size \(q\) tends to infinity, it is not ideal. We therefore consider a different class of constructions. In the following final part of the main result, employing a class of maximal superelliptic curves from Hermitian curves and their constant field extensions, we derive a new class of optimal \((r,\delta)\)-LRCs, which generalizes and improves Theorem 4 (i) in Section 4.3.
First, we introduce the maximal curves that will be used in our constructions, which are adapted from Hermitian curves.
Lemma 18. Let \(q={\overline{q}}^{2s}\) for a prime power \({\overline{q}}\) and a positive integer \(s\). Let \(b\) be a positive divisor of \({\overline{q}}+1\).
When \(s\) is an odd positive integer, the curve \(\mathfrak{C}\) defined over \(\mathbb{F}_{q}\) by the equation \(y^{\frac{{\overline{q}}+1}{b}}=x^{{\overline{q}}}+x\) is a maximal superelliptic curve of genus \(\frac{(\frac{{\overline{q}}+1}{b}-1)({\overline{q}}-1)}{2}\). It has \(q+(\frac{{\overline{q}}+1}{b}-1)({\overline{q}}-1)\sqrt{q}+1\) rational points, including one rational point at infinity.
When \({\overline{q}}\) is odd, \(b=\frac{{\overline{q}}+1}{2}\), and \(s\) is an even positive integer, the curve \(\mathfrak{C}'\) defined over \(\mathbb{F}_{q}\) by the equation \(\gamma y^{\frac{{\overline{q}}+1}{b}}=\gamma y^2=x^{{\overline{q}}}+x\) is a maximal superelliptic curve of genus \(\frac{{\overline{q}}-1}{2}\), where \(\gamma\) is an arbitrary quadratic non-residue in \(\mathbb{F}_{q}\).
When \({\overline{q}}=2\), \(b=1\), and \(s\) is an even positive integer, the curve \(\mathfrak{C}''\) defined over \(\mathbb{F}_{q}\) by the equation \(y^{\frac{{\overline{q}}+1}{b}}=y^3=x^2+x+\eta=x^{{\overline{q}}}+x+\eta\) is a maximal superelliptic curve of genus \(1\), where \(\eta\) is an arbitrary element in \(\mathbb{F}_q\backslash \{\alpha^2+\alpha:\; \alpha\in \mathbb{F}_q\}\).
Proof. (i) By Lemma 17 (with the parameters in that lemma set to \(s=2\) and \(c=1\)), \(\mathfrak{C}/\mathbb{F}_{{\overline{q}}^2}\) is a superelliptic curve of genus \(\frac{(\frac{{\overline{q}}+1}{b}-1)({\overline{q}}-1)}{2}\), and has \(\frac{{\overline{q}}^3-{\overline{q}}}{b}+{\overline{q}}+1\) rational points. Thus, \(\mathfrak{C}/\mathbb{F}_{{\overline{q}}^2}\) is a maximal curve since \(\frac{{\overline{q}}^3-{\overline{q}}}{b}+{\overline{q}}+1={\overline{q}}^2+2\frac{(\frac{{\overline{q}}+1}{b}-1)({\overline{q}}-1)}{2}{\overline{q}}+1\). By Lemma 12, \(\mathfrak{C}/\mathbb{F}_{q}\) is also a maximal curve, where \(q={\overline{q}}^{2s}\) with \(2\nmid s\). The item (i) is proved.
(ii) Note that the number of distinct roots in \(\mathbb{F}_q\) of \(\gamma y^{2}=\alpha^{{\overline{q}}}+\alpha\) and the number of distinct roots in \(\mathbb{F}_q\) of \(y^{2}=\alpha^{{\overline{q}}}+\alpha\) sum to \(2\) for any \(\alpha\in \mathbb{F}_q\). The total number of affine rational points of \(\mathfrak{C}'/\mathbb{F}_q\) defined by \(\gamma y^{2}=x^{{\overline{q}}}+x\) and \(\mathfrak{C}/\mathbb{F}_q\) defined by \(y^{2}=x^{{\overline{q}}}+x\) must be \(2q\). Since \(\mathfrak{C}/\mathbb{F}_q\) is minimal by Lemma 12 and the proof of (i), it follows that \(\mathfrak{C}'/\mathbb{F}_q\) is maximal.
For the proof of (iii), we refer to the proof of [8], with the roles of \(x\) and \(y\) swapped. ◻
Then we have the following explicit constructions.
Theorem 6. Let \(q={\overline{q}}^{2s}\), where \({\overline{q}}\) is a prime power and \(s\) is an odd positive integer. Let \(b\) be a positive proper divisor of \({\overline{q}}+1\). We have the following two classes of \(q\)-ary optimal \((r,\delta)\)-LRCs, depending on the value of \(b\).
If \(b>1\), then for any \(0\leq b'\leq b-2\), there exists an optimal \((r=b-b',\delta={\overline{q}}+1-r)\)-LRC with parameters \([m{\overline{q}},tr+1,(m-t){\overline{q}}]_{q}\) for any \(1\leq t<m\leq \ell=\frac{q+(\frac{{\overline{q}}+1}{b}-1)({\overline{q}}-1)\sqrt{q}}{{\overline{q}}}\). In particular, when \({\overline{q}}\) is odd and \(b=\frac{{\overline{q}}+1}{2}\), the integer \(s\) no longer needs to be odd; it can be any positive integer.
If \(b=1\), then there exists an optimal \((r=2,\delta={\overline{q}})\)-LRC with parameters \([m({\overline{q}}+1),tr+1,(m-t)({\overline{q}}+1)]_{q}\) for any \(1\leq t<m\leq \ell=\lfloor\frac{q+{\overline{q}}({\overline{q}}-1)\sqrt{q}}{{\overline{q}}+1}\rfloor\). In particular, when \({\overline{q}}=2\), the integer \(s\) no longer needs to be odd; it can be any positive integer.
Proof. To apply Proposition 5, we consistently take \(M=\frac{{\overline{q}}+1}{b}\) and \(N={\overline{q}}\) below, although they do not explicitly appear in the proof. Note that \(\efloor*{\frac{N-1}{M}}=b-1\) when \(b>1\), and \(\efloor*{\frac{M-1}{N}}=1\) when \(b=1\).
(i) \(b>1\). Let \(q={\overline{q}}^{2s}\) for a prime power \({\overline{q}}\) and an odd positive integer \(s\). By Lemma 18 (i), the curve \(\mathfrak{C}/\mathbb{F}_{q}\) defined by \(y^{\frac{{\overline{q}}+1}{b}}=x^{{\overline{q}}}+x\) is a maximal superelliptic curve of genus \(\frac{(\frac{{\overline{q}}+1}{b}-1)({\overline{q}}-1)}{2}\). For each affine rational point \((\alpha,\beta)\in \mathfrak{C}(\mathbb{F}_{q})\), we have a set \(\{(\alpha+\alpha_i,\beta):1\leq i\leq {\overline{q}}\}\subseteq \mathfrak{C}(\mathbb{F}_{q})\), where \(\alpha_1,\dots,\alpha_{{\overline{q}}}\in \mathbb{F}_{q}\) are the \({\overline{q}}\) distinct roots of the equation \(z^{\overline{q}}+z=0\). These sets are either disjoint or identical. There are totally \(\ell=\frac{q+(\frac{{\overline{q}}+1}{b}-1)({\overline{q}}-1)\sqrt{q}}{{\overline{q}}}\) such sets since \(\mathfrak{C}/\mathbb{F}_{q}\) has \(q+(\frac{{\overline{q}}+1}{b}-1)({\overline{q}}-1)\sqrt{q}\) affine rational points. Let \(E/\mathbb{F}_{q}\) be the function field of \(\mathfrak{C}/\mathbb{F}_{q}\). We convert the affine rational points in each of these \(\ell\) sets into the corresponding affine rational places, and denote the \(\ell\) new sets of affine rational places by \(\{P_{i,1},\dots,P_{i,r+\delta-1}\}\) (\(1\leq i\leq \ell\)). For each \(1\leq i\leq \ell\), the values \(x(P_{i,1}),\dots,x(P_{i,r+\delta-1})\) are pairwise distinct, while \(y(P_{i,1}),\dots,y(P_{i,r+\delta-1})\) are all the same. By Proposition 5 (i), the proof is complete.
As for the special case where \(q={\overline{q}}^{2s}\) with \(2\nmid {\overline{q}}\), \(b=\frac{{\overline{q}}+1}{2}\), and \(2\mid s\), we use the maximal curve \(\mathfrak{C}'/\mathbb{F}_{q}\) in Lemma 18 (ii) defined by \(\gamma y^{\frac{{\overline{q}}+1}{b}}=\gamma y^2=x^{{\overline{q}}}+x\), where \(\gamma\) is an arbitrary quadratic non-residue in \(\mathbb{F}_q\). The rest of the proof is the same as above.
(ii) \(b=1\). Let \(q={\overline{q}}^{2s}\) for a prime power \({\overline{q}}\) and an odd positive integer \(s\). By Lemma 18 (i), the curve \(\mathfrak{C}/\mathbb{F}_{q}\) defined by \(y^{\frac{{\overline{q}}+1}{b}}=y^{{\overline{q}}+1}=x^{{\overline{q}}}+x\) is a maximal superelliptic curve of genus \(\frac{{\overline{q}}({\overline{q}}-1)}{2}\). For each affine rational point \((\alpha,\beta)\in \mathfrak{C}(\mathbb{F}_{q})\) with \(\beta\neq 0\), we have a set \(\{(\alpha,\beta_i\beta):1\leq i\leq {\overline{q}}+1\}\subseteq \mathfrak{C}(\mathbb{F}_{q})\), where \(\beta_1,\dots,\beta_{{\overline{q}}+1}\in \mathbb{F}_{q}\) are the \({\overline{q}}+1\) distinct roots of the equation \(z^{{\overline{q}}+1}=1\) (note that \(({\overline{q}}+1)\mid (q-1)\)). These sets are either disjoint or identical. There are totally \(\ell=\frac{q+{\overline{q}}({\overline{q}}-1)\sqrt{q}-{\overline{q}}}{{\overline{q}}+1}\) such sets since there are totally \((q+{\overline{q}}({\overline{q}}-1)\sqrt{q}-{\overline{q}})\) affine rational points \((\alpha,\beta)\) of \(\mathfrak{C}/\mathbb{F}_{q}\) with \(\beta\neq 0\). Let \(E/\mathbb{F}_{q}\) be the function field of \(\mathfrak{C}/\mathbb{F}_{q}\). We convert the affine rational points in each of these \(\ell\) sets into the corresponding affine rational places, and denote the \(\ell\) new sets of affine rational places by \(\{P_{i,1},\dots,P_{i,r+\delta-1}\}\) \((1\leq i\leq \ell)\). For each \(1\leq i\leq \ell\), the values \(y(P_{i,1}),\dots,y(P_{i,r+\delta-1})\) are pairwise distinct, while \(x(P_{i,1}),\dots,x(P_{i,r+\delta-1})\) are all the same. Applying Proposition 5 (ii), the proof is complete.
As for the special case where \(q={\overline{q}}^{2s}\) with \({\overline{q}}=2\), \(b=1\), and \(2\mid s\), we use the maximal curve \(\mathfrak{C}''/\mathbb{F}_{q}\) in Lemma 18 (iii) defined by \(y^{\frac{{\overline{q}}+1}{b}}=y^3=x^{2}+x+\eta=x^{{\overline{q}}}+x+\eta\), where \(\eta\) is an arbitrary element in \(\mathbb{F}_q\backslash \{\alpha^2+\alpha:\alpha\in \mathbb{F}_q\}\). The rest of the proof is similar to the above. The only difference is that the number of the local repair groups becomes \(\ell=\frac{q+{\overline{q}}({\overline{q}}-1)\sqrt{q}}{{\overline{q}}+1}\) since there are totally \(q+{\overline{q}}({\overline{q}}-1)\sqrt{q}\) affine rational points \((\alpha,\beta)\) of \(\mathfrak{C}''/\mathbb{F}_{q}\) with \(\beta\neq 0\). In both cases, we have \(\ell=\lfloor\frac{q+{\overline{q}}({\overline{q}}-1)\sqrt{q}}{{\overline{q}}+1}\rfloor\), the proof of (ii) is complete. ◻
Remark 9. By setting \({\overline{q}}=3,b=\frac{{\overline{q}}+1}{2}=2\) and \(b'=0\) in Theorem 6 (i) and setting \({\overline{q}}=2\) and \(b=1\) in Theorem 6 (ii), we recover part of [8], which presents a wide class of optimal \((2,2)\)-LRCs with lengths approaching \(q+2\sqrt{q}\).
Remark 10. In Theorem 4 (i), for any odd prime power \(2g+1\geq 5\), integer \(0\leq g'\leq g-1\), we have a \(q\)-ary optimal \((r=g+1-g',\delta=g+1+g')\)-LRC with length up to \(q+2g\sqrt{q}\), where \(q=(2g+1)^{2s}\) for any positive integer \(s\). By setting \({\overline{q}}=2g+1\), \(b=g+1\), \(b'=g'\) (note that here \(b=\frac{{\overline{q}}+1}{2}\)) in Theorem 6 (i), we directly recover Theorem 4 (i). Moreover, Theorem 6 (i) has the following two advantages.
When the repair group size \(r + \delta - 1\) is fixed and \(r\) becomes smaller, Theorem 6 (i) may yield longer optimal \((r,\delta)\)-LRCs than Theorem 4. We illustrate this with examples under two distinct parameter settings.
(1) Let \(g = 11\), \(g' = 0\) in Theorem 4 (i). One obtains optimal \(q\)-ary \((12,12)\)-LRCs of length \(q + 22\sqrt{q}\). In this case, no improvement can be made by Theorem 6 (i) towards deriving longer optimal \((12,12)\)-LRCs.
(2) Let \(g = 11\), \(g' = 8\) in Theorem 4 (i). One obtains optimal \(q\)-ary \((4,20)\)-LRCs of length \(q + 22\sqrt{q}\) for any \(q = 23^{2s}\). In this case, Theorem 6 (i) enables an improved construction: by choosing \({\overline{q}}= 23\), \(b = 4\), and \(b' = 0\), we obtain longer optimal \(q\)-ary \((4,20)\)-LRCs of length up to \(q + 110\sqrt{q}\) for any \(q = 23^{2s}\) with odd \(s\). The idea is to minimize \(b\) to maximize the code length.
Theorem 6 (i) allows constructions over a broader range of finite fields compared to Theorem 4 (i), including those of even characteristic.
In this paper, we studied the construction of optimal \((r,\delta)\)-LRCs with flexible minimum distances, particularly for the case \(\delta \geq 3\). By leveraging the automorphism groups of elliptic and genus-\(2\) hyperelliptic function fields, together with their group of divisor classes of degree zero, we constructed several families of explicit optimal \((r,3)\)-LRCs and \((2,\delta)\)-LRCs with lengths approaching \(q + 2\sqrt{q}\) or \(q + 4\sqrt{q}\). We also employed some hyperelliptic and superelliptic curves of higher genus to construct explicit optimal \((r,\delta)\)-LRCs with even longer lengths and flexible parameters. Most of these optimal \((r,\delta)\)-LRCs have lengths exceeding \(q+1\), and many of them attain the currently best-known code lengths.
To the best of our knowledge, all known constructions of optimal \((r,\delta)\)-LRCs with flexible minimum distances obtained via evaluation-based methods primarily focus on the case of \(r\)-LRCs (i.e., \((r,\delta=2)\)-LRCs), and then some of them are naturally extended to the case of \((r,\delta\geq 3)\)-LRCs. This paper demonstrates that such extensions are not always straightforward (see Section 3.1, especially Remark 4 (i) for details), and that the construction of optimal \((r,\delta)\)-LRCs for \(\delta \geq 3\) deserves independent attention, rather than being merely treated as a by-product of the \(r\)-LRC case. Moreover, our constructions demonstrate that algebraic geometry codes are also highly effective for constructing optimal \((r,\delta)\)-LRCs with flexible minimum distances, even for \(\delta\geq 3\). Three avenues for future research may be worth exploring.
Constructing more optimal \((r,\delta)\)-LRCs based on the general framework in Section 3.1, for example, optimal \((r,\delta)\)-LRCs with \(\delta=4,5,6,\dots\).
Exploring whether the group of divisor classes of degree zero of higher-genus hyperelliptic or superelliptic curves can be utilized to obtain a general framework like those in Section 3.1 and 4.1, thus obtaining optimal \((r,\delta)\)-LRCs with a wider range of parameters and longer code lengths.
Conducting a more refined study of the general framework developed in Section 5.1, to further generalize this framework, or to identify additional algebraic curves that fit this framework and can be used to construct long optimal \((r,\delta)\)-LRCs.
In pursuing these directions, it may also be useful to take into account the related constructions of LRCs via algebraic geometry codes in [46]–[48]. The methods and curves used in these works may provide inspiration for further research.
In Section 1.1, we mentioned that Guruswami et al. [16] established an upper bound on the code length \(n\) of \(q\)-ary optimal \(r\)-LRCs with minimum distance \(d=\Theta(n)\) and constant \(r\), yielding \(n\leq O(q)\). We also said that this bound can be generalized to the case of \((r,\delta)\)-LRCs. As some of our constructions of optimal \((r,\delta)\)-LRCs with flexible minimum distances and constant \(r,\delta\) happen to fall within the scope of this generalized bound, we formally state and prove it.
Theorem 7. The minimum distance \(d\) of an optimal \((r,\delta)\)-LRC \(\mathcal{C}\) with parameters \([n,k,d]_q\) satisfying \(\frac{d}{n}\leq \frac{2}{3}\) is upper bounded by \[\begin{align} \label{eq:appendix95bound} d\leq \frac{(r+\delta-1)(r+1)+\delta(\delta-1)}{r}q. \end{align}\tag{40}\]
Consequently, when \(r,\delta\) are fixed constants, the code length \(n\) of optimal \((r,\delta)\)-LRCs with \(d=\Theta(n)\) and \(\frac{d}{n}\leq \frac{2}{3}\) is upper bounded by \(O(q)\).
Proof. By [49], we have \(k\leq \min_{t\in \mathbb{Z}_{\geq 0}}\{tr+k_{\rm opt}^{(q)}(n-t(r+\delta-1),d)\},\) where \(k_{\rm opt}^{(q)}(n-t(r+\delta-1),d)\) denotes the maximal possible dimension of a linear code with length \(n-t(r+\delta-1)\) and minimum distance \(d\). Letting \(t=\big\lceil \frac{n-(1-\varepsilon)\frac{qd}{q-1}}{r+\delta-1}\big\rceil\), where \(\varepsilon=\frac{1}{q^2}\), we have \(t\geq 0\) since \(\frac{d}{n}\leq \frac{2}{3}\leq \frac{q}{q+1}\) for any prime power \(q\). By the plotkin bound, we have \(k_{\rm opt}^{(q)}(n-t(r+\delta-1),d)\leq k_{\rm opt}^{(q)}((1-\varepsilon)\frac{qd}{q-1},d)\leq \log_q(1/\varepsilon)=2\). Hence, we have \[\begin{align} \label{eq:202506061714} \eceil*{\frac{n-(1-\frac{1}{q^2})\frac{qd}{q-1}}{r+\delta-1}}r+2=tr+2\geq k. \end{align}\tag{41}\]
Moreover, we have a lower bound on \(k\). Let \(n_0=(r+\delta-1)\eceil*{\frac{n}{r+\delta-1}}-n\), \(n'=n+n_0\) and \(d'=d+n_0\). Since \(\mathcal{C}\) is optimal, it holds \(d=n-k+1-(\eceil*{\frac{k}{r}}-1)(\delta-1)\). Then we have \((r+\delta-1)\mid n'\) and \(d'=n'-k+1-(\eceil*{\frac{k}{r}}-1)(\delta-1)\). By [23], we have \[\begin{align} \tag{42} k=n'-d'+1-\frac{n'(\delta-1)}{r+\delta-1}+\eparentheses*{\efloor*{\frac{d'-\delta}{r+\delta-1}}+1}(\delta-1)&\geq n'-d'+1-\frac{\delta-1}{r+\delta-1}(n'-(d'-\delta))\\ \tag{43} &=n-d+1-\frac{\delta-1}{r+\delta-1}(n-d+\delta). \end{align}\] Combining 41 , 42 and 43 , we have \(\eparentheses*{\frac{n-(1-\frac{1}{q^2})\frac{qd}{q-1}}{r+\delta-1}+1}r+2\geq tr+2\geq k\geq n-d+1-\frac{\delta-1}{r+\delta-1}(n-d+\delta).\) Solving this inequality with respect to \(d\), we have \(d\leq \frac{(r+\delta-1)(r+1)+\delta(\delta-1)}{r}q.\) The proof is complete. ◻
The work is supported in part by the National Key Research and Development Program of China under Grant Nos. 2022YFA1004900 and 2021YFA1001000, the National Natural Science Foundation of China under Grant No. 62571301, and the Shandong Provincial Natural Science Foundation under Grant No. ZR2025QA05. (Corresponding Author: Weijun Fang).↩︎
Manuscript submitted↩︎
We say that a family of optimal \((r,\delta)\)-LRCs has flexible minimum distances if, for every \(\tau\in [0,1]\), there exists a sequence of codes from the family with lengths tending to infinity such that \(d/n\to \tau\).↩︎
An \((r,\delta)\)-LRC with parameters \([n,k,d]_q\) satisfying \(d=n-k-(\left\lceil {k}/{r}\right\rceil-1)(\delta-1)\) is referred to as an almost optimal \((r,\delta)\)-LRC.↩︎
Here, a list refers to an ordered multiset of rational places of \(E\), or equivalently, a finite sequence of (not necessarily distinct) rational places of \(E\).↩︎
This inequality holds because otherwise we would have \(w_{t}\in \mathcal{L}_E(\sum_{j=1}^{t}P_j)\), contradicting the fact that \(w_t\in \mathcal{L}_E(\sum_{j=1}^{t+1}P_j)\backslash \mathcal{L}_E(\sum_{j=1}^{t}P_j)\).↩︎
Here, a list refers to an ordered multiset of rational places of \(E\), or equivalently, a finite sequence of (not necessarily distinct) rational places of \(E\).↩︎
This inequality holds because otherwise we would have \(w_{t}\in \mathcal{L}_E(\sum_{j=1}^{{I}_t}P_j)\), contradicting the fact that \(w_t\in \mathcal{L}_E(\sum_{j=1}^{{I}_t+1}P_j)\backslash \mathcal{L}_E(\sum_{j=1}^{{I}_t}P_j)\).↩︎
To account for the worst-case scenario, we may, without loss of generality, assume that the last \(G\)-orbit \(\{P_{2l,1},\dots,P_{2l,r+2}\}\) lies over \(Q_{\infty}=P_{\infty}\cap F\). We then simply discard this orbit and work with the remaining \(\ell=2l-1\) orbits that do not lie over \(Q_{\infty}\).↩︎
The polynomial \(f(x)\) is allowed to be not monic in this paper; see Remark 8 for details.↩︎