In a study published in Applicable Algebra in Engineering, Communication and Computing, researchers Félix Hernández and Gerardo Vega established three new classes of optimal linear error-correcting codes. By puncturing and shortening two known families of optimal cyclic codes possessing three and five non-zero weights, the authors derived new linear code families achieving the classical Griesmer bound. Furthermore, their analysis settled the exact weight distributions of these codes using Prange’s theorem and established that their dual codes are either optimal or almost optimal with respect to the sphere-packing bound, providing valuable mathematical structures for error detection and cryptographic applications.
The design of error-correcting codes revolves around theoretical bounds linking code length n, dimension k, and minimum distance d. The Griesmer bound specifies a lower limit on block length as a sum of ceiling functions of scaled minimum distances. When a code meets this bound, no shorter code can achieve equivalent distance, making it optimal. Codes whose minimum distance matches this upper ceiling are optimal, while those falling short by one unit are almost optimal.
To construct new optimal codes, the researchers applied coordinate puncturing and shortening techniques to existing cyclic code families. Puncturing operates on a linear code of length n by deleting a specific coordinate index across all codewords. When the original minimum distance exceeds one, puncturing reduces length to n minus one while leaving dimension k unchanged under Theorem 3. A crucial duality relationship, noted in Remark 1, connects these operations: the dual of a shortened code equals the punctured dual of the original code. Consequently, investigating punctured dual codes provides direct algebraic insights into shortened structures.
Determining the exact weight distribution of the modified codes required using Prange’s theorem on homogeneous linear codes. A linear code is homogeneous if, within its full codeword matrix, every coordinate column in each constant-weight submatrix has the exact same weight. Prange’s theorem provides explicit linear formulas determining the weight enumerator of punctured and shortened codes directly from the original code’s weight frequencies. Crucially, a linear code is homogeneous whenever its permutation automorphism group acts transitively across coordinate positions. Because cyclic codes are invariant under cyclic coordinate shifts, their permutation automorphism groups contain a cyclic permutation mapping any coordinate to any other. Thus, all cyclic codes are inherently homogeneous. This geometric symmetry ensured that puncturing or shortening these cyclic parent codes produced daughter codes whose weight enumerators could be computed immediately through Prange’s relations, provided the weight distributions of the initial cyclic constructions were fully established.
The authors based their constructions on two known classes of optimal cyclic codes. The first class, recalled in Theorem 5 from prior literature, comprises optimal three-weight cyclic codes over GF(q) with length n equal to q to the power of m minus one. These codes possess dimension m plus one and minimum distance n minus q to the power of m minus one, attaining the Griesmer bound when specific exponent coprimality conditions are satisfied, while their dual codes have minimum distance three for q greater than two. The second foundation, detailed in Theorem 6, consists of optimal five-weight cyclic codes of length n equal to q squared minus one and dimension four, constructed via trace functions under modular exponent conditions. These five-weight codes also meet the Griesmer bound, while their dual codes are optimal almost maximum distance separable codes of distance four achieving the sphere-packing bound.
Under Theorem 7, the researchers derived two new optimal linear code classes from the three-weight cyclic family for prime powers q greater than two. Puncturing the cyclic code on coordinate i yielded an optimal four-weight code of length q to the m minus two, dimension m plus one, and minimum distance q to the m minus one times q minus one minus two, meeting the Griesmer bound. Its dual code has dimension n minus m minus two and distance three, proving almost optimal under the sphere-packing bound. Shortening the cyclic code on coordinate i produced an optimal two-weight code of length q to the m minus two, dimension m, and distance q to the m minus one times q minus one minus one, achieving the Griesmer bound. Its dual code has dimension n minus m minus one and distance two, proving strictly optimal under sphere-packing criteria.
To establish the weight enumerators and dual distances in Theorem 7, the authors combined Prange’s theorem with the Pless power moments. The Pless identities relate power sums of code weights to the weight frequencies of the dual code. Evaluating the first four Pless power moments for the punctured four-weight code revealed that dual frequencies A1 and A2 vanish, while A3 is strictly positive for q greater than two, confirming that the dual minimum distance is three. Sphere packing dictates that any code of length n minus one and dimension n minus m minus two can have distance at most four, establishing almost optimality. For the shortened two-weight code, the first three moments showed that dual frequency A1 vanishes while A2 is strictly positive, establishing dual distance two. Sphere packing confirms that distance two is maximal for length n minus one and dimension n minus m minus one, proving the dual is optimal.
In Theorem 8, the authors applied puncturing to the optimal five-weight cyclic codes of length q squared minus one. Puncturing on any coordinate position yields an optimal linear code of length q squared minus two, dimension four, and minimum distance q times q minus one minus three. This code attains the Griesmer bound and exhibits few nonzero weights, having five or six weights depending on parameters. Using the first five Pless power moments, the authors demonstrated that dual frequencies A1, A2, and A3 all vanish, while A4 is strictly non-zero for q greater than two. Consequently, the dual code is an optimal almost maximum distance separable code of length q squared minus two, dimension q squared minus six, and distance four, achieving the sphere-packing bound. Remark 5 highlights that shortening this five-weight cyclic code produces a code with identical parameters to the punctured four-weight code from Theorem 7 when m equals two.
The researchers verified their findings through explicit examples evaluated over specific finite fields. Under Theorem 7, choosing q equal to four and m equal to four produced an optimal four-weight [254, 5, 190] code over GF(4) whose dual is an almost optimal [254, 249, 3] code, alongside an optimal shortened two-weight [254, 4, 191] code with an optimal [254, 250, 2] dual code. Selecting q equal to nine and m equal to two produced an optimal four-weight [79, 3, 70] code over GF(9) and an optimal shortened two-weight [79, 2, 71] code, whose duals are almost maximum distance separable codes. For Theorem 8, evaluation over GF(3) yielded an optimal five-weight [7, 4, 3] code with an optimal [7, 3, 4] dual, while evaluations over GF(8) and GF(9) yielded optimal six-weight codes with parameters [62, 4, 53] and [79, 4, 69], respectively.
The newly constructed linear codes possess direct applications in secret sharing schemes and error detection over communication channels. The authors demonstrated that the shortened two-weight codes from Theorem 7 satisfy the Ashikhmin-Barg condition, which establishes that a code is minimal when the ratio of minimum to maximum nonzero weights exceeds q minus one divided by q. Furthermore, the authors examined the error-detecting performance of the derived almost maximum distance separable dual codes across q-ary symmetric channels. Using a criterion established by previous researchers, they proved that the undetected error probability function increases monotonically with symbol error probability across the specified channel interval.
Subject of Research: Construction and weight distribution of optimal linear codes from cyclic codes
Article Title: Obtaining new classes of optimal linear codes by puncturing and shortening optimal cyclic codes
Article References: Hernández, F., & Vega, G. (2025). Obtaining new classes of optimal linear codes by puncturing and shortening optimal cyclic codes. Applicable Algebra in Engineering, Communication and Computing, 36(5), 1033-1048. https://doi.org/10.1007/s00200-024-00653-7
Image Credits: AI Generated
DOI: 10.1007/s00200-024-00653-7
Keywords: linear codes, cyclic codes, punctured codes, shortened codes, Griesmer bound, sphere-packing bound, weight distribution, weight enumerator, dual codes, almost maximum distance separable codes, minimal linear codes, secret sharing schemes, error detection, Pless power moments, Prange theorem, homogeneous codes, finite fields
News Source: Denise Maddox. (November 26, 2026). Researchers Derive New Optimal Linear Codes by Modifying Known Cyclic Constructions. Scienmag.



