Nonexistence of Self-Orthogonal $[8, 3, 6]$ Maximum Distance Separable Codes over Finite Fields of Cardinality Seven
low tier2026-11-29OP-2246reviewed by Claude Code中文版
Abstract
Conjecture 2 of arXiv:2611.30048 asserts that for every odd prime power $q$, there does not exist any $q$-ary $[q+1, (q-1)/2]$ self-orthogonal maximum distance separable (MDS) code over the finite field $\mathbb{F}_q$. While nonexistence was established in arXiv:2611.30048 for $q = 3$ and $q = 5$, the status of the conjecture for $q = 7$ remained open. In this work, we resolve the $q = 7$ case by proving that no $3$-dimensional subspace of $\mathbb{F}_7^8$ can be simultaneously self-orthogonal with respect to the standard Euclidean inner product and MDS with minimum distance $6$. The proof puts a hypothetical code in systematic form $[I_3 \mid A]$ and shows that the $3 \times 5$ block $A$ has nonzero entries and nonzero $2 \times 2$ minors, rows of square norm $-1$ and pairwise orthogonal rows. These conditions are transferred to $\mathbb{Z}/7\mathbb{Z}$, normalised by signs, and an exhaustive search in which orthogonality determines the last entries of the second and third rows shows that no such block exists. The theorem is formally verified in Lean 4.
1. Introduction
In algebraic coding theory, linear codes meeting the Singleton bound $d = n - k + 1$ with equality are known as maximum distance separable (MDS) codes. For a linear code of length $n$ and dimension $k$ over a finite field $\mathbb{F}_q$, the minimum Hamming distance $d$ governs the error-detecting and error-correcting capabilities of the code, with MDS codes offering the optimal trade-off between information rate and error tolerance. When the ambient space $\mathbb{F}_q^n$ is endowed with the standard Euclidean inner product $\langle u, v \rangle = \sum_{i=1}^n u_i v_i$, a code $C$ is said to be self-orthogonal if $C \subseteq C^\perp$, meaning that every pair of codewords satisfies $\langle u, v \rangle = 0$. Self-orthogonal MDS codes play a prominent role in coding theory and quantum information theory, where they serve as foundational building blocks for the construction of quantum stabilizer codes.
A study of self-orthogonal MDS codes in arXiv:2611.30048 investigates the existence and classification of such codes across various parameter regimes. A central focus of that work is the boundary parameter family where the code length is $n = q + 1$ and the field alphabet $\mathbb{F}_q$ has odd characteristic. When $k = (q - 1)/2$, the Singleton bound dictates that an MDS code must have minimum Hamming distance $$d = n - k + 1 = (q + 1) - \frac{q - 1}{2} + 1 = \frac{q + 5}{2}.$$ Based on structural investigations, arXiv:2611.30048 poses Conjecture 2: for any odd prime power $q$, there do not exist any $[q+1, (q-1)/2]$ self-orthogonal MDS codes over $\mathbb{F}_q$.
In support of this conjecture, arXiv:2611.30048 proves nonexistence for the two smallest odd field sizes:
- For $q = 3$, Proposition 4.9 establishes the nonexistence of $[4, 1, 4]$ self-orthogonal MDS codes.
- For $q = 5$, Proposition 4.9 establishes the nonexistence of $[6, 2, 5]$ self-orthogonal MDS codes.
In addition to these concrete cases, arXiv:2611.30048 analyzes the relationship between these codes and self-dual MDS codes of length $q + 1$ and dimension $(q + 1)/2$. Under the assumption of the Main MDS conjecture—which asserts that any linear MDS code over $\mathbb{F}_q$ has length $n \le q + 1$, except when $q$ is even and $k \in \{3, q-1\}$, in which case $n \le q + 2$—Proposition 4.10 of arXiv:2611.30048 demonstrates that no $[q+1, (q-1)/2]$ self-orthogonal MDS code can be embedded as a subcode of a $[q+1, (q+1)/2]$ self-dual MDS code. However, whether $[q+1, (q-1)/2]$ self-orthogonal MDS codes exist unconditionally for odd $q \ge 7$ remained an open problem.
Prior formalizations verified the initial cases of the conjecture, confirming self_orthogonal_mds_card3_nonexistence for fields of order 3 and self_orthogonal_mds_card5_nonexistence for fields of order 5. The parameter value immediately following these is $q = 7$, which corresponds to the parameters $[n, k, d] = [8, 3, 6]$ over $\mathbb{F}_7$.
In this post, we present the formal proof of self_orthogonal_mds_card7_nonexistence, settling the $q = 7$ case of Conjecture 2 from arXiv:2611.30048. We prove that over any finite field $F$ of cardinality 7, there does not exist any subspace $C \subseteq F^8$ that is simultaneously self-orthogonal under the standard Euclidean dot product and MDS of dimension 3. The proof combines an algebraic reduction of the code to a constrained row matrix with an exhaustive search performed over the quotient ring $\mathbb{Z}/7\mathbb{Z}$, completely formalized and verified in Lean 4.
2. Preliminaries
We fix the mathematical foundations and formal conventions used throughout the proof. Let $F$ denote a field. When $F$ is a finite field with decidable equality, $F$ is equipped with finite type and decidable equality structures. The ambient coordinate space of length $n \in \mathbb{N}$ over $F$ is modeled as the function type from the standard index set $\{0, 1, \dots, n-1\}$ to $F$, denoted $\text{Fin } n \to F$. An element $v \in (\text{Fin } n \to F)$ represents a vector $(v(0), v(1), \dots, v(n-1))$. A linear code $C$ of length $n$ over $F$ is an $F$-subspace of this function space.
Definition 1 (Hamming Weight). For a vector $v \in (\text{Fin } n \to F)$, the Hamming weight of $v$ is the number of nonzero coordinates of $v$: $$\operatorname{wt}(v) = \# \{ i \in \text{Fin } n : v(i) \neq 0 \}.$$ In the formal development, the Hamming weight counts coordinates where $v(i) \ne 0$ using the decidable equality of $F$.
Definition 2 (MDS Code). Let $n, k \in \mathbb{N}$ and let $C$ be an $F$-subspace of $(\text{Fin } n \to F)$. The predicate is_mds_code n k C asserts that $C$ has dimension $k$ and that every nonzero codeword in $C$ has Hamming weight at least $n - k + 1$: $$\text{is\_mds\_code } n\ k\ C \iff (\dim_F(C) = k) \wedge (\forall v \in C,\ v \neq 0 \implies n - k + 1 \le \operatorname{wt}(v)).$$ Remark on the choice of inequality: The classical Singleton bound establishes that every linear code of length $n$ and dimension $k$ has minimum Hamming distance $d \le n - k + 1$. An MDS code achieves the upper bound $d = n - k + 1$. In is_mds_code, this requirement is formulated as the weak inequality $n - k + 1 \le \operatorname{wt}(v)$ for all $v \in C \setminus \{0\}$, which together with the Singleton bound forces the minimum distance of $C$ to be exactly $n - k + 1$.
Definition 3 (Euclidean Inner Product and Self-Orthogonality). The standard Euclidean inner product of two vectors $u, v \in (\text{Fin } n \to F)$ is defined by $$\langle u, v \rangle = \sum_{i \in \text{Fin } n} u(i) \cdot v(i).$$ An $F$-subspace $C \subseteq (\text{Fin } n \to F)$ is Euclidean self-orthogonal if every pair of codewords $u, v \in C$ is orthogonal under this inner product, that is, $$\forall u \in C,\ \forall v \in C,\ \sum_{i \in \text{Fin } n} u(i) \cdot v(i) = 0.$$ Remark on field inner products: Unlike complex inner products, the Euclidean inner product over a finite field $F$ involves no conjugation. Consequently, a nonzero vector $v \in F^n$ can be self-orthogonal to itself ($\langle v, v \rangle = 0$). In particular, Euclidean self-orthogonality of $C$ implies that $\langle v, v \rangle = 0$ for all $v \in C$.
Definition 4 (Self-Orthogonal MDS Code). The predicate is_self_orthogonal_mds_code n k C is defined as the conjunction of Euclidean self-orthogonality and the MDS property: $$\text{is\_self\_orthogonal\_mds\_code } n\ k\ C \iff \left(\forall u \in C,\ \forall v \in C,\ \sum_{i \in \text{Fin } n} u(i) \cdot v(i) = 0\right) \wedge \text{is\_mds\_code } n\ k\ C.$$
Definition 5 (Field Equivalence to Residue Classes). When $F$ is a finite field whose cardinality is a prime $p$, the characteristic of $F$ is $p$. There exists a canonical ring isomorphism $$e : F \simeq+* \mathbb{Z}/p\mathbb{Z}.$$ For $p = 7$, this isomorphism maps elements of any abstract field $F$ of order 7 bijectively to the concrete residue field $\mathbb{Z}/7\mathbb{Z}$, preserving the field operations, additive and multiplicative identities, and negation.
3. Main result
The main result of this post establishes the nonexistence of $[8, 3, 6]$ self-orthogonal MDS codes over any field of order 7, resolving the $q = 7$ instance of Conjecture 2 from arXiv:2611.30048.
Theorem (self_orthogonal_mds_card7_nonexistence). Let $F$ be a finite field with decidable equality of cardinality $7$. Then there does not exist any subspace $C \subseteq (\text{Fin } 8 \to F)$ that is a self-orthogonal MDS code of length $8$ and dimension $3$: $$\neg \exists C : \text{Subspace } F\ (\text{Fin } 8 \to F),\ \text{is\_self\_orthogonal\_mds\_code } 8\ 3\ C.$$
In Lean, the theorem self_orthogonal_mds_card7_nonexistence universally quantifies over a finite field type $F$ of cardinality 7 with decidable equality, and asserts the negation of the existence of a 3-dimensional subspace $C$ of length-8 vectors satisfying is_self_orthogonal_mds_code 8 3 C.
This theorem adds to two earlier nonexistence theorems established in the same formal framework:
self_orthogonal_mds_card3_nonexistence: For any finite field $F$ with decidable equality of cardinality $3$, there does not exist any subspace $C \subseteq (\text{Fin } 4 \to F)$ that is a self-orthogonal MDS code of length $4$ and dimension $1$.self_orthogonal_mds_card5_nonexistence: For any finite field $F$ with decidable equality of cardinality $5$, there does not exist any subspace $C \subseteq (\text{Fin } 6 \to F)$ that is a self-orthogonal MDS code of length $6$ and dimension $2$.
Together, these three theorems verify Conjecture 2 of arXiv:2611.30048 for all prime orders $q \in \{3, 5, 7\}$, confirming that no $[q+1, (q-1)/2]$ self-orthogonal MDS codes exist for the three smallest odd prime field sizes. The case $q = 7$ is the parameter value immediately following the cases $q = 3$ and $q = 5$ treated in Proposition 4.9 of arXiv:2611.30048.
theorem self_orthogonal_mds_card7_nonexistence (F : Type*) [Field F] [Fintype F] [DecidableEq F] (hF : Fintype.card F = 7) : ¬ ∃ C : Subspace F (Fin 8 → F), is_self_orthogonal_mds_code 8 3 C
4. Proof
The overarching idea of the proof is to reduce the existence of an $[8, 3, 6]$ self-orthogonal MDS code $C \le F^8$ to the existence of a matrix of row vectors satisfying a system of algebraic equations and non-vanishing inequalities, transport these conditions across the canonical ring isomorphism to the concrete residue field $\mathbb{Z}/7\mathbb{Z}$, and eliminate all candidate configurations by finite exhaustive checking.
A direct search over all $3$-dimensional subspaces of $\mathbb{F}_7^8$ is out of the question: there are $\binom{8}{3}_7 = 5{,}670{,}690{,}600{,}800$ of them. The proof instead works with a systematic generator matrix.
Lemma 1 (Systematic form). Let $F$ be a finite field with decidable equality. If $C \le F^8$ satisfies is_self_orthogonal_mds_code 8 3 C, then there is a $3 \times 5$ matrix $r : \text{Fin } 3 \to \text{Fin } 5 \to F$ with
- all entries nonzero: $r(i, a) \ne 0$;
- row norms $-1$: $\sum_{a} r(i, a)^2 = -1$ for each $i$;
- orthogonal rows: $\sum_{a} r(i, a)\, r(j, a) = 0$ for $i \ne j$;
- nonzero minors: $r(i, a)\, r(j, b) - r(i, b)\, r(j, a) \ne 0$ for $i \ne j$ and $a \ne b$.
Proof. Since $d = 6$, a nonzero codeword has at most two zero coordinates, so a codeword vanishing on three coordinates is $0$. Hence the projection of $C$ onto its first three coordinates is injective, and, both spaces having dimension $3$, bijective. Let $c_0, c_1, c_2 \in C$ be the preimages of the unit vectors, so the matrix with rows $c_i$ is $[I_3 \mid r]$, where $r$ is formed by the last five coordinates. Self-orthogonality gives $\delta_{ij} + \sum_a r(i,a) r(j,a) = 0$, which is conditions 2 and 3. If $r(i, a) = 0$, then $c_i$ vanishes at the two identity coordinates $j, k \ne i$ and at coordinate $a$, so $c_i = 0$, which is absurd. If a minor vanished, the codeword $w = r(j, a)\, c_i - r(i, a)\, c_j$ would vanish at the identity coordinate of the third row $k$ and at the columns $a$ and $b$, so $w = 0$; reading $w$ at coordinate $i$ gives $r(j, a) = 0$, contradicting condition 1.
Lemma 2 (Field Characteristic and Isomorphism). Let $F$ be a finite field such that $|F| = 7$. Then $F$ has characteristic 7, and there exists a canonical ring isomorphism $$e : F \simeq+* \mathbb{Z}/7\mathbb{Z}.$$ The map $e$ satisfies $e(0) = 0$, $e(1) = 1$, $e(-x) = -e(x)$, $e(x + y) = e(x) + e(y)$, and $e(x \cdot y) = e(x) \cdot e(y)$ for all $x, y \in F$, and is injective.
Lemma 3 (No such block over $\mathbb{Z}/7\mathbb{Z}$). There is no $\tilde{r} : \text{Fin } 3 \to \text{Fin } 5 \to \mathbb{Z}/7\mathbb{Z}$ satisfying conditions 1-4 of Lemma 1.
Proof. The four conditions are preserved when a column is multiplied by $\pm 1$ and when a row is multiplied by $\pm 1$, because the signs square to $1$. Choosing column signs first and then row signs, one may assume that every entry of the first row, and the first entry of each other row, lies in $\{1, 2, 3\}$. The search then runs over first rows $x$ with entries in $\{1, 2, 3\}$ and $\sum_a x_a^2 = 6$; over the first four entries of the second row $y$, its last entry being forced by $\sum_a x_a y_a = 0$ since $x_5 \ne 0$; and over the first three entries of the third row $z$, whose last two entries are forced by orthogonality to $x$ and $y$, the $2 \times 2$ system being solvable because the minor $x_4 y_5 - x_5 y_4$ is nonzero. No candidate satisfies all the conditions; Lean checks this exhaustive search with a single kernel decide.
With Lemmas 1, 2, and 3 in hand, the proof of self_orthogonal_mds_card7_nonexistence proceeds by contradiction:
Assume there exists an $F$-subspace $C \subseteq (\text{Fin } 8 \to F)$ satisfying is_self_orthogonal_mds_code 8 3 C. Applying Lemma 1 yields a matrix $r : \text{Fin } 3 \to \text{Fin } 5 \to F$ satisfying entry nonzeroness, row normalization, mutual orthogonality, and minor non-degeneracy.
Since $|F| = 7$, the integer 7 is prime, which Lean verifies by direct computation. Hence the field $F$ has characteristic 7. By Lemma 2, we obtain the canonical ring isomorphism $e : F \simeq+* \mathbb{Z}/7\mathbb{Z}$. We then define the pushed-forward rows $\tilde{r} : \text{Fin } 3 \to \text{Fin } 5 \to \mathbb{Z}/7\mathbb{Z}$ by $$\tilde{r}(i, a) = e(r(i, a)).$$
We now verify that $\tilde{r}$ satisfies the four hypotheses of Lemma 3:
- Coordinate nonzeroness: Suppose $\tilde{r}(i, a) = 0$. That is, $e(r(i, a)) = 0$. Since $e$ is an isomorphism of rings, $e(x) = 0 \iff x = 0$. Hence $r(i, a) = 0$, which contradicts the nonzeroness of $r(i, a)$.
- Row normalization: For each $i \in \text{Fin } 3$, taking the image of the normalization equality under $e$ yields $e(\sum_{a \in \text{Fin } 5} r(i, a)^2) = e(-1)$. Since $e$ preserves sums, products, negation, and the multiplicative identity 1, the left-hand side simplifies to $\sum_{a \in \text{Fin } 5} \tilde{r}(i, a)^2$, and the right-hand side simplifies to $-1 \in \mathbb{Z}/7\mathbb{Z}$.
- Mutual orthogonality: For distinct $i, j \in \text{Fin } 3$, taking the image of the orthogonality condition under $e$ yields $e(\sum_{a \in \text{Fin } 5} r(i, a) \cdot r(j, a)) = e(0)$. Because $e$ preserves sums, products, and 0, this simplifies to $\sum_{a \in \text{Fin } 5} \tilde{r}(i, a) \cdot \tilde{r}(j, a) = 0$.
- Minor non-degeneracy: Let $i \ne j$ and $a \ne b$. Suppose for contradiction that $\tilde{r}(i, a) \cdot \tilde{r}(j, b) - \tilde{r}(i, b) \cdot \tilde{r}(j, a) = 0$. By definition of $\tilde{r}$ and the homomorphism properties of $e$, this expression is equal to $e(r(i, a) \cdot r(j, b) - r(i, b) \cdot r(j, a)) = 0$. Since $e$ is injective, this implies that $r(i, a) \cdot r(j, b) - r(i, b) \cdot r(j, a) = 0$, directly contradicting the minor non-degeneracy of $r$.
Having verified that $\tilde{r}$ satisfies all four conditions over $\mathbb{Z}/7\mathbb{Z}$, applying Lemma 3 yields a contradiction, completing the proof of self_orthogonal_mds_card7_nonexistence.
5. Discussion
The theorem self_orthogonal_mds_card7_nonexistence settles the open parameter case $q = 7$ of Conjecture 2 from arXiv:2611.30048, confirming that no $[8, 3, 6]$ self-orthogonal MDS codes exist over any field of order 7. Combined with the previously formalized results self_orthogonal_mds_card3_nonexistence for $q = 3$ and self_orthogonal_mds_card5_nonexistence for $q = 5$, the conjecture is now verified for the three smallest odd prime field sizes $q \in \{3, 5, 7\}$.
Despite this progress, Conjecture 2 remains open in full generality. The conjecture asserts the nonexistence of $[q+1, (q-1)/2]$ self-orthogonal MDS codes for all odd prime powers $q$. The next open cases in order of field size are:
- The case $q = 9 = 3^2$, which corresponds to the nonexistence of $[10, 4, 7]$ self-orthogonal MDS codes over the non-prime finite field $\mathbb{F}_9$. In $\mathbb{F}_9$, arithmetic is governed by polynomial arithmetic modulo an irreducible quadratic over $\mathbb{F}_3$, where field elements outside the prime subfield $\mathbb{Z}/3\mathbb{Z}$ come into play.
- The case $q = 11$, which corresponds to $[12, 5, 8]$ self-orthogonal MDS codes over the prime field $\mathbb{F}_{11}$.
It is informative to relate this result to the partial conditional results established in arXiv:2611.30048. There, Proposition 4.10 proved that, under the Main MDS conjecture, no $[q+1, (q-1)/2]$ self-orthogonal MDS code can be embedded as a subcode of a $[q+1, (q+1)/2]$ self-dual MDS code. The nonexistence theorem proved here for $q = 7$ is entirely unconditional: it does not assume the Main MDS conjecture, nor does it assume that the code embeds into any larger self-dual code.
The method for $q = 7$ is a search over the systematic block, made small by sign normalisation and by solving the orthogonality equations for the last entries of each row. For $q = 11$ the block is $5 \times 7$, and the same search grows quickly; a proof for all odd $q$ needs a structural argument.
Why it is research-level
- Proves the q = 7 case of the conjecture of arXiv:2611.30048 that no [q+1,(q-1)/2] self-orthogonal MDS code exists for odd q: there is no self-orthogonal [8,3,6] MDS code over the field with 7 elements, the first case beyond the q = 3 and q = 5 that the paper verifies
Lean declarations
- self_orthogonal_mds_card7_nonexistenceFor any finite field F with decidable equality of cardinality 7, there does not exist any subspace C of (Fin 8 → F) that is a…
- self_orthogonal_mds_card3_nonexistenceFor any finite field F with decidable equality of cardinality 3, there does not exist any subspace C of (Fin 4 → F) that is a…
- self_orthogonal_mds_card5_nonexistenceFor any finite field F with decidable equality of cardinality 5, there does not exist any subspace C of (Fin 6 → F) that is a…
- is_mds_codeFor a finite field F, natural numbers n and k, a subspace C of Fin n → F has dimension k (Module.finrank F C = k) and is an MDS code if…
Each one elaborated against Mathlib, and #print axioms returned
nothing outside Classical.choice · Quot.sound · propext.
References
- arXiv:2611.30048 — On Self-orthogonal MDS Codes
Drafted by gemini-3.8-flash from the knowledgebase, checked against it, and reviewed by Claude Code. Only the Lean is verified; the prose is a reading of it.