Shortest Embeddings of Linear Codes with Arbitrary Hull Dimension
Pith reviewed 2026-05-10 18:03 UTC · model grok-4.3
The pith
The minimal length for embedding any linear code into one with prescribed hull dimension t is exactly determined over arbitrary finite fields.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
By partitioning linear codes into types via congruence equivalence classes of their Gram matrices, the authors obtain closed-form expressions for the shortest embedding length n that realizes any prescribed hull dimension t; these expressions are derived from the theory of quadratic forms over finite fields together with classical group-order calculations, and they improve earlier partial results by completely determining the self-orthogonal case (t equal to the code dimension).
What carries the argument
Congruence equivalence classes of Gram matrices, which partition linear codes into finitely many types and allow the minimal embedding length for each type and each hull dimension t to be read off from quadratic-form invariants.
If this is right
- For every linear code and every t there exists a finite algorithm that constructs a shortest t-hull embedding.
- The minimal length of self-orthogonal embeddings is now known exactly for all linear codes, closing the gap left by An et al.
- The same classification yields optimal codes inequivalent to existing database entries in multiple parameter regimes.
- The results hold uniformly for Euclidean and Hermitian inner products over any finite field.
Where Pith is reading between the lines
- The Gram-matrix typing could be used to enumerate all minimal-length hull-t codes for small q and small t, producing new tables of best-known codes.
- Similar quadratic-form techniques might extend the exact-length results to other weight distributions or to trace-inner-product variants.
- The constructive algorithms can be turned into software that, given any seed code and target t, outputs a shortest embedding for immediate use in applications.
Load-bearing premise
Every linear code over an arbitrary finite field belongs to one of the congruence classes of Gram matrices, and those classes alone determine the exact minimal embedding length for every hull dimension t.
What would settle it
Exhibiting any linear code over GF(q) together with a t-hull embedding whose length is strictly smaller than the length predicted by the Gram-matrix class formula for that code would falsify the claimed exactness.
read the original abstract
In this paper, we study the shortest $t$-dimensional hull embeddings of linear codes in both Euclidean and Hermitian cases, extending the existing research on the shortest LCD and self-orthogonal embeddings to arbitrary hull dimensions and arbitrary finite fields. We obtain the exact length of such embeddings by adopting tools from quadratic form theory over finite fields and classical group theory. Based on the congruence equivalence class of Gram matrices of linear codes, we classify linear codes into distinct ``types'' and present corresponding constructive algorithms. In particular, we improve the results of An et al. and fully determine the length of the shortest self-orthogonal embeddings for linear codes. Finally, applying these algorithms, we provide examples for various settings and obtain several optimal codes inequivalent to those in the BKLC database.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper studies shortest t-dimensional hull embeddings of linear codes over arbitrary finite fields in both Euclidean and Hermitian settings. It classifies codes into types via congruence equivalence classes of Gram matrices, applies quadratic form theory and classical group theory to derive exact minimal embedding lengths for each type, provides constructive algorithms, improves prior results on self-orthogonal embeddings, and gives examples of optimal codes.
Significance. If the classification is exhaustive and derivations correct, the work supplies a complete algebraic determination of minimal lengths for arbitrary hull dimension t, extending LCD and self-orthogonal cases to a general framework. The explicit algorithms and examples of new optimal codes represent a concrete advance in constructive coding theory.
major comments (3)
- [§3.1–3.2] §3.1–3.2: The central claim that congruence equivalence classes of Gram matrices provide an exhaustive partition of all linear codes over arbitrary finite fields (including all characteristics and extension degrees) is asserted without an explicit proof or reference to a covering theorem; this partition is load-bearing for the exact-length formulas in Theorems 4.1 and 5.2.
- [§4.3] §4.3, Theorem 4.5: The improvement over An et al. for self-orthogonal (t=0) embeddings states that lengths are fully determined, yet the group-action arguments are verified only for the listed types; no check is given that the attained minimum is global when the underlying field has characteristic 2 or when the code dimension exceeds the listed bounds.
- [§5.1] §5.1, Algorithm 2: The constructive procedure for Hermitian embeddings assumes that every Gram matrix is equivalent to one of the enumerated forms, but the algorithm does not include a verification step or complexity bound; if the enumeration misses a class, the claimed exact length fails for those codes.
minor comments (3)
- [Abstract] The abstract claims 'exact lengths are obtained' but the introduction does not state the precise range of t and q for which the results hold; a clarifying sentence would help.
- [Table 2] Table 2 reports minimal lengths but omits the corresponding code parameters (n,k,d) for the constructed embeddings; adding these would make the optimality claims easier to verify.
- [§2] Notation for the Gram matrix congruence is introduced in §2 but reused with slight variations in §4; a single consistent definition would improve readability.
Simulated Author's Rebuttal
We thank the referee for the careful reading and constructive comments on our manuscript. We address each major comment point by point below, providing clarifications based on the underlying theory and indicating revisions where they strengthen the presentation without altering the core results.
read point-by-point responses
-
Referee: [§3.1–3.2] The central claim that congruence equivalence classes of Gram matrices provide an exhaustive partition of all linear codes over arbitrary finite fields (including all characteristics and extension degrees) is asserted without an explicit proof or reference to a covering theorem; this partition is load-bearing for the exact-length formulas in Theorems 4.1 and 5.2.
Authors: The classification of linear codes by congruence classes of their Gram matrices follows directly from the standard theory of symmetric bilinear forms over finite fields, which is exhaustive: every such form is congruent to a unique canonical representative determined by its rank, discriminant, and (in even characteristic) additional invariants. This is a classical result in quadratic form theory (e.g., as summarized in standard references on finite geometries and coding theory). The types enumerated in §3.1–3.2 correspond precisely to these invariants and therefore cover all possible codes over any finite field. To make this explicit, we will add a short paragraph with a reference to the relevant theorem in §3.1. revision: partial
-
Referee: [§4.3] §4.3, Theorem 4.5: The improvement over An et al. for self-orthogonal (t=0) embeddings states that lengths are fully determined, yet the group-action arguments are verified only for the listed types; no check is given that the attained minimum is global when the underlying field has characteristic 2 or when the code dimension exceeds the listed bounds.
Authors: The listed types exhaust all congruence classes of Gram matrices, including those arising in characteristic 2 (where the associated quadratic forms are handled via the standard Arf invariant or alternating bilinear forms). The group-action arguments determining the minimal orbit sizes apply uniformly to each type via the structure of the orthogonal group over the given field; the minimum length is therefore global by construction. We will add an explicit remark after Theorem 4.5 confirming that the arguments hold for characteristic 2 and for code dimensions beyond the illustrative bounds, supported by the general classification. revision: partial
-
Referee: [§5.1] §5.1, Algorithm 2: The constructive procedure for Hermitian embeddings assumes that every Gram matrix is equivalent to one of the enumerated forms, but the algorithm does not include a verification step or complexity bound; if the enumeration misses a class, the claimed exact length fails for those codes.
Authors: The enumerated forms in Algorithm 2 are derived from the complete classification of Hermitian Gram matrices (again via quadratic form theory over finite fields of square order), so no classes are missed. Nevertheless, we agree that including an explicit verification step (matching the input matrix invariants to the canonical form) and a complexity analysis (O(n^3) field operations for dimension n) would improve robustness and clarity. We will revise Algorithm 2 and the surrounding text in §5.1 accordingly. revision: yes
Circularity Check
No circularity: external algebraic tools determine exact lengths
full rationale
The derivation classifies linear codes by congruence equivalence classes of Gram matrices and applies quadratic form theory over finite fields plus classical group theory to compute minimal embedding lengths for each type. These are standard external mathematical results, not quantities defined from or fitted to the target lengths. Constructive algorithms and improvements on An et al. are presented without any step that renames a fitted parameter as a prediction or reduces the claimed exact lengths to a self-referential input. The approach remains self-contained against independent algebraic benchmarks.
Axiom & Free-Parameter Ledger
axioms (2)
- standard math Standard theorems of quadratic form theory over finite fields
- standard math Results from classical group theory
Lean theorems connected to this paper
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
Based on the congruence equivalence class of Gram matrices of linear codes, we classify linear codes into distinct 'types' and present corresponding constructive algorithms... we fully determine the length of the shortest self-orthogonal embeddings for linear codes.
-
IndisputableMonolith/Foundation/AbsoluteFloorClosure.leanreality_from_one_distinction unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
we obtain the exact length of such embeddings by adopting tools from quadratic form theory over finite fields and classical group theory.
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
- [1]
- [2]
-
[3]
E. F. Assmus Jr. and J.D. Key, Affine and projective planes,Discrete Math., vol. 83, pp. 161-187, 1990
work page 1990
-
[4]
A. R. Calderbank, E. M. Rains, P. Shor, N. J. Sloane, Quantum error correction via codes over GF(4),IEEE Trans. Inf. Theory, vol. 44, no. 4, pp. 1369-1387, Apr. 1998
work page 1998
-
[5]
J. Cannon and C. Playoust,An Introduction to Magma.University of Sydney, Sydney, Australia, 1994
work page 1994
-
[6]
C. Carlet and S. Guilley, Complementary dual codes for countermeasures to side-channel attacks,Adv. Math. Commun., vol. 10, no. 1, pp. 131-150, 2016
work page 2016
-
[7]
Chen, On the hull-variation problem of equivalent linear codes,IEEE Trans
H. Chen, On the hull-variation problem of equivalent linear codes,IEEE Trans. Inf. Theory, vol. 69, no. 5, pp. 2911-2922, May 2023
work page 2023
-
[8]
R. Dastbasteh and P. Lison ˇek, New quantum codes from self-dual codes overF 4,Des. Codes Cryptogr., vol. 92, pp. 787-801, 2024
work page 2024
-
[9]
L. E. Dickson,Linear Groups with an Exposition of the Galois Field Theory, B.G. Teubner, 1901
work page 1901
-
[10]
W. Fang, F. -W. Fu, L. Li and S. Zhu, Euclidean and Hermitian hulls of MDS codes and their applications to EAQECCs, IEEE Trans. Inf. Theory, vol. 66, no. 6, pp. 3527-3537, June 2020
work page 2020
-
[11]
M. Frederic Ezerman, M. Grassl, S. Ling, F. ¨Ozbudak, and B. ¨Ozkaya, Characterization of nearly self-orthogonal quasi-twisted codes and related quantum codes,IEEE Trans. Inf. Theory, vol. 71, no. 1, pp. 499-517, Jan. 2025
work page 2025
-
[12]
H. Gluesing-Luerssen and A. Ravagnani,ℓ-Complementary subspaces and codes in finite bilinear spaces,IEEE Trans. Inf. Theory, vol. 70, no. 4, pp. 2443-2455, Apr. 2024
work page 2024
-
[13]
L. C. Grove,Classical Groups and Geometric Algebra, Providence, RI: American Mathematical Society, 2002
work page 2002
-
[14]
M. A. Hossain and R. Bandi, LCD codes as a counter-measure for relevant security threats: a survey,2021 19th OITS International Conference on Information Technology (OCIT), Bhubaneswar, India, pp. 302-307, 2021
work page 2021
-
[15]
W. C. Huffman and V . Pless,Fundamentals of Error-Correcting Codes. Cambridge, U.K.: Cambridge Univ. Press, 2003
work page 2003
-
[16]
J. -L. Kim, Y . -H. Kim and N. Lee, Embedding linear codes into self-orthogonal codes and their optimal minimum distances, IEEE Trans. Inf. Theory, vol. 67, no. 6, pp. 3701-3707, June 2021
work page 2021
- [17]
-
[18]
R. Li, Z. Xu and X. Zhao, On the classification of binary optimal self-orthogonal codes,IEEE Trans. Inf. Theory, vol. 54, no. 8, pp. 3778-3782, Aug. 2008
work page 2008
-
[19]
S. Li, M. Shi, and S. Ling, A mass formula for linear codes with prescribed hull dimension and related classification,IEEE Trans. Inf. Theory,vol. 71, no. 1, pp. 273-286, Jan. 2025
work page 2025
- [20]
-
[21]
J. L. Massey, Linear codes with complementary duals,Discrete Math., vol. 106-107, pp. 337-342, 1992
work page 1992
-
[22]
L. Sok, On linear codes with one-dimensional Euclidean hull and their applications to EAQECCs,IEEE Trans. Inf. Theory, vol. 68, no. 7, pp. 4329-4343, July 2022
work page 2022
-
[23]
X. Wang and Z. Heng, Several families of self-orthogonal codes and their applications in optimal quantum codes and LCD codes,IEEE Trans. Inf. Theory, vol. 70, no. 7, pp. 4769-4791, July 2024
work page 2024
-
[24]
Wan.Introduction to Algebra(in Chinese)
Z. Wan.Introduction to Algebra(in Chinese). Science Press, Beijing, 2004
work page 2004
-
[25]
C. Xie, H. Chen, H. Zhou, Y . Li and H. Lao, Optimal, almost optimal few-weight linear codes and related quantum codes, IEEE Trans. Inf. Theory, vol. 71, no. 6, pp. 4250-4259, June 2025
work page 2025
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.