Abstract
Motivated by the application of high-density data storage technologies, Cassuto and Blaum introduced codes for symbol-pair read channels in 2011, and Yaakobi et al. generalized the coding framework to that for b-symbol read channels where in 2016. In this paper, we establish a b-sphere-packing bound and present a recurrence relationship for the b-weight enumerator. We determine all parameters of linear perfect b-symbol e-error-correcting codes over for and show that for , there exist at most finite such codes for a given and q. We construct a family of linear perfect b-symbol b-error-correcting codes over using constacyclic codes.
MSC:
94B05; 94B60; 94B65
1. Introduction
Motivated by the application of high-density data storage technologies, Cassuto and Blaum [1] proposed a new coding framework for symbol-pair read channels in 2011. In this framework, the reading from the channel is performed as overlapping pairs of symbols due to physical limitations, and the design object is to protect against pair errors rather than symbol errors.
Construction and decoding for symbol-pair codes and bounds on their sizes were further studied in [2,3,4]. Chee et al. [5,6] established a Singleton-like bound on symbol-pair codes and constructed some MDS symbol-pair codes meeting this bound from Mendelsohn designs. More MDS symbol-pair codes were constructed by Kai et al. [7] based on constacyclic codes.
Yaakobi et al. [8] generalized symbol-pair codes to b-symbol codes where and provided extensions of some concepts and results in 2016. Subsequently, many MDS b-symbol codes were constructed in [9,10,11,12,13,14] through constacyclic codes, repeated-root cyclic codes, and projective geometry. Yang et al. [15] established a Plotkin-like bound and constructed some b-symbol codes on irreducible cyclic codes and constacyclic codes meeting this bound.
The symbol-pair sphere-packing bound was first presented in [1]. Cassuto and Litsyn [2] showed that cyclic binary Hamming codes are perfect symbol-pair codes. In [9], a constacyclic Hamming symbol-pair code was constructed and shown to be both MDS and perfect.
In 2018, Song et al. [16] established the sphere-packing bound and Gilbert–Varshamov bound for b-symbol codes. Chen [17] studied the covering radii of linear codes in the b-symbol metric, and many cyclic and algebraic-geometric codes were proved non-perfect in the b-symbol metric.
In this paper, we continue the investigation of perfect b-symbol codes. We establish a b-sphere-packing bound for linear b-symbol codes and study the existence of linear perfect b-symbol e-error-correcting codes over for . We determine all parameters of linear perfect b-symbol e-error-correcting codes over for and show that for , there exist at most finite such codes for a given and q. In particular, we construct a family of linear perfect b-symbol b-error-correcting codes over using constacyclic codes.
This paper is organized as follows. Section 2 gives some preliminaries concerning b-symbol codes. The sphere-packing bound on b-symbol codes and the enumeration of b-spheres are presented in Section 3. In Section 4, we study the existence of linear perfect b-symbol e-error-correcting codes over for . Section 5 is the conclusion.
2. Preliminaries
Basic concepts and propositions related to linear codes over finite fields, the Hamming distance, and the Hamming weight can be found in Chapter 1 of [18].
Let be an alphabet consisting of q elements and be an integer. For a vector , the b-symbol read vector of is defined as
For b-symbol vectors
where , the b-distance between and is defined as
where if for all .
For notational aesthetics, we have
where . As in the Hamming case, with the b-distance is a metric space.
The b-weight of is defined as
Throughout this paper, we consider to be the finite field , with q a prime power, and to be a linear code of length n and dimension k over .
Proposition 1.
For all , .
Proposition 2
([12]). For all such that ,
The minimum b-distance of a code is defined as
Since is linear, we have
Proposition 3.
.
Referring to these propositions, we have
Corollary 1.
For a linear code over with ,
Let . In the b-symbol sense, a b-symbol vector is the result of an e-error from if . A code is an e-error-correcting code if no is the result of an e-error from both and for some .
Proposition 4.
A code is an e-error-correcting code if and only if .
Proof.
This follows from the fact that with the b-distance is a metric space. □
3. Sphere-Packing Bound and b-Spheres
Let . We define the b-sphere of radius r as the set of all such that and the b-ball of radius r as the set of all such that .
Since is in , and do not rely on the selection of . Hence, we denote and .
For a linear b-symbol e-error-correcting code of length n and dimension k over , since there are disjoint b-balls of radius e, we can establish a b-sphere-packing bound if we can enumerate .
Definition 1.
For a word , suppose that . The remaining indices can be uniquely partitioned into a union of its subsets such that each subset consists of consecutive numbers modulo n for some , and . Suppose that there are of these subsets in the partition with an exact cardinality of i for , and c of them have a cardinality of no less than . Then, we say that is an -word, in the b-symbol sense.
Now, we calculate the b-weight of an -word.
Proposition 5.
Suppose that is an -word; then, we have
Proof.
By the definition of the b-weight,
where the indices may wrap around modulo n. The indices of b consecutive zeros must belong to one of the c subsets which have a cardinality of no less than in the partition of zeros of . On the other hand, each of these c subsets contributes of indices i such that . Hence, we have
□
For example, the word is a -word in the three-symbol sense, and . The following theorem shows how many -words there are.
Theorem 1.
The number of -words in is
Proof.
We prove the theorem by the following five steps:
- (1)
- We sort all these -words into several classes such that and are in the same class if and only if for some j, for all . For each of these classes, whether or not the cardinality is n, the exact of the words in the class satisfy . Hence, the exact of all -words satisfies . For example, the two words and form a class, and of them, i.e., , satisfy .
- (2)
- By Proposition 5, the c subsets , which have a cardinality of no less than in the partition of zeros of an -word , contribute all indices i such that . Consider the number of non-negative integer solutions of the equationor, equivalently, the number of positive integer solutions of the equationThe latter is obviously .
- (3)
- We then consider the order of the subsets in the partition. Since we suppose that , no subset wraps around modulo n, and the number is simply .
- (4)
- Now that the cardinalities and the order of these subsets have been determined, we just need to choose from these l non-zeros and insert corresponding zeros after each of them. The number of possible choices is .
- (5)
- Each of the l non-zeros has possible values.Now, by the rule of product, the number of -words is
□
Corollary 2.
The number of -words in is
Proof.
Take and in Theorem 1. □
This corollary coincides with Theorem 8 in [1]. By these results, we can determine the size of b-spheres and b-balls.
Proposition 6.
The cardinality of a b-sphere is
The cardinality of a b-ball is .
Finally, we establish the following bound.
Theorem 2
(b-Sphere-Packing Bound). For a linear b-symbol e-error-correcting code of length n and dimension k over , we have
where and
Proof.
The b-balls, each with a cardinality , are disjoint and contained in ; hence, . □
The e-error-correcting code meeting this bound is called a perfect code, as in the Hamming case.
We set to be the b-weight enumerator of all words in ; then, for a linear perfect b-symbol code , the following equation holds:
Before studying the existence of perfect codes, we present another way to calculate . Note that for a given b and q, is a polynomial of n, by the expression in Theorem 2.
Proposition 7.
For , we have
Proof.
For , the equation holds trivially. Now, we consider .
For each and , we have . Suppose that
for some non-negative integers . Then, we define and .
For each and , we have . Suppose that
for some non-negative integers . Then, we define .
For example, if , then , and .
We divide the set into four parts:
We divide the set into four parts:
For , we divide the set into four parts:
For , we divide the set into two parts:
For , we divide the set into four parts:
We construct several maps:
For example, if we set , then
It is not hard to prove that
are all well-defined one-to-one maps, and
are all well-defined -to-1 maps. Thus, we have
Note that
Putting all these together, we have
□
The relationship between gives a relationship between .
Theorem 3.
Suppose . For , we have
Proof.
Comparing the coefficients of , the equation holds by Proposition 7. □
For example, we take and . By this theorem, we have ; hence, , , , and . The results coincide with Proposition 6.
4. Linear Perfect b-Symbol Codes for
For linear perfect b-symbol codes, . So far, we know that is the sum of 1 and some , where each is a polynomial of n. Now, we analyze the expression of more carefully. When , we have and , and the corresponding code is the trivial code. Hence, we suppose that from now on.
For each word in , we have . Therefore, by Proposition 5, , or . Note that each polynomial of n has a degree of no more than c, and the sum must be a polynomial of n with a degree of no more than . On the other hand, there does exist a word with and ; hence, is a polynomial of n with degree .
4.1. Linear Perfect b-Symbol Codes for
In this case, , and there is no possible c for a word in ; hence, and . The code has a minimum b-distance b and is a perfect e-error-correcting code if and only if .
Theorem 4.
For , linear perfect b-symbol e-error-correcting codes over exist if and only if . The parameters of these perfect codes are .
4.2. Linear Perfect b-Symbol Codes for
In this case, . Hence, all words in satisfy and for , since .
By Proposition 6, . Let ; thus, we have and . Before we construct the corresponding perfect codes, we need the following lemma.
Lemma 1
([7], the BCH Bound for Constacyclic Codes). Let be an ω-constacyclic code of length n over with generating polynomial , where ω is a primitive t-th root of unity. Let δ be a primitive -th root of unity in an extension field of such that . If has the elements as its roots for some integer , then .
The basic idea of the following construction is from [12].
Theorem 5.
There exists a linear perfect b-symbol b-error-correcting code over for any .
Proof.
Let ; then, . Let be a primitive element of and be a primitive element of such that . Note that divides . Let be the -constacyclic code . Then, is a linear code. By Lemma 1, .
Let be any non-zero codeword. If there exists a j such that
where the indices are the reduced modulo n, then we consider the codeword . By the selection of j, we have
Suppose that
for some . Since , we have . Consider the set
where the indices are the reduced modulo n. The set I has at least elements and , since ; ; and , . If , then for , which means that and contradicts . Hence, .
If there does not exist such a j, then .
Hence, we always have and . On the other hand, the b-error-correcting code meets the b-sphere-packing bound. Thus, is a perfect code, and for the word , which has a b-weight , there must be a codeword separated from it by a b-distance of no more than b. This codeword has a b-weight of no more than , and hence . □
Lemma 2
([12], b-Singleton Bound). Let and . If is an b-symbol code, then we have .
Theorem 6.
For , linear perfect b-symbol e-error-correcting codes over exist. The parameters of all these perfect codes are , where .
Proof.
By the discussion at the beginning of this subsection and Theorem 5, the only detail we need to prove is that must hold, which is exactly what the b-Singleton bound tells us. □
4.3. Linear Perfect b-Symbol Codes for
In this case, . Hence, all words in satisfy and .
Theorem 7.
For , .
Proof.
By Proposition 6,
For a fixed r and l, the number of ways to insert 1-consecutive zeros, 2-consecutive zeros, …, -consecutive zeroes into l non-zeros is . Note that , and the number of ways to insert zeros into l non-zeros is exactly
On the other hand, this number is . Thus, we have
□
Theorem 8.
For , linear perfect b-symbol e-error-correcting codes over do not exist.
Proof.
By Theorem 7, and hence cannot meet the b-sphere-packing bound. □
4.4. Linear Perfect b-Symbol Codes for
We present a general result first. The following lemma is a classical result, and the proof can be found in, for example, [19].
Lemma 3.
Let be a polynomial with integer coefficients and at least two zeroes. When integer , we have , where P is the greatest prime factor of .
Theorem 9.
For , there exist infinite linear perfect b-symbol e-error-correcting codes over for a given and q only if for some integer K.
Proof.
is a polynomial with rational coefficients, and . Consider the equation ; we can rewrite it as such that is a polynomial with integer coefficients and C is an integer. Since the greatest prime factor of is a constant, the equation has infinite solutions only if , by Lemma 3.
Taking , we have , since . Thus, . Taking , we know that is an integer K, since is an integer. The statement of the theorem follows. □
From now on, we focus on the case . In this case, , and is a quadratic function of n.
Theorem 10.
For , the coefficient of in is
Proof.
In order to calculate the coefficient of , we only need to consider those words satisfying . By Proposition 6, this coefficient is
Note that , and we have
by the same method we used to prove Theorem 7.
Thus, the coefficient is
□
Theorem 11.
For , there exist at most finite linear perfect b-symbol e-error-correcting codes over for a given and q.
Proof.
By Theorems 9 and 10, we only need to consider the case , and hence
for some integer K.
If , then , which is impossible.
If , then . Hence, is a perfect square, which is also impossible.
If , then , where q is a power of prime p. Hence, , and , which contradicts . □
5. Conclusions
In this paper, we established a b-sphere-packing bound and presented a recurrence relationship for the b-weight enumerator. We determined all parameters of linear perfect b-symbol e-error-correcting codes over for and showed that for , there exist at most finite such codes for a given and q. A family of linear perfect b-symbol b-error-correcting codes over was constructed using constacyclic codes.
So far, we have not found any perfect b-symbol e-error-correcting codes for . New conditions for perfect b-symbol codes besides the b-sphere-packing bound may need to be established for a further study.
Most of our results stay true for a more general alphabet , such as with an arbitrary q. However, the construction using constacyclic codes does need to be a finite field. Whether perfect b-symbol b-error-correcting codes exist for a q that is not a prime power is also unknown.
Author Contributions
Investigation, K.A., J.C. and R.F. All authors have read and agreed to the published version of the manuscript.
Funding
The first author was supported by the UAEU (grant G00003490). The third author was supported by the National Natural Science Foundation of China (No. 12231015) and by the National Key Research and Development Program of China (No. 2018YFA0704703).
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Cassuto, Y.; Blaum, M. Codes for symbol-pair read channels. IEEE Trans. Inf. Theory 2011, 57, 8011–8020. [Google Scholar] [CrossRef]
- Cassuto, Y.; Litsyn, S. Symbol-pair codes: Algebraic constructions and asymptotic bounds. In Proceedings of the 2011 IEEE International Symposium on Information Theory Proceedings (ISIT), St. Petersburg, Russia, 31 July–5 August 2011; IEEE: Piscataway, NJ, USA, 2011; pp. 2348–2352. [Google Scholar]
- Yaakobi, E.; Bruck, J.; Siegel, P.H. Decoding of cyclic codes over symbol-pair read channels. In Proceedings of the 2012 IEEE International Symposium on Information Theory Proceedings (ISIT), Cambridge, MA, USA, 1–6 July 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 2891–2895. [Google Scholar]
- Hirotomo, M.; Takita, M.; Morii, M. Syndrome decoding of symbol-pair codes. In Proceedings of the 2014 IEEE Information Theory Workshop (ITW), Hobart, TAS, Australia, 2–5 November 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 162–166. [Google Scholar]
- Chee, Y.M.; Kiah, H.M.; Wang, C. Maximum distance separable symbol-pair codes. In Proceedings of the 2012 IEEE International Symposium on Information Theory Proceedings (ISIT), Cambridge, MA, USA, 1–6 July 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 2886–2890. [Google Scholar]
- Chee, Y.M.; Ji, L.; Kiah, H.M.; Wang, C.; Yin, J. Maximum distance separable codes for symbol-pair read channels. IEEE Trans. Inf. Theory 2013, 59, 7259–7267. [Google Scholar] [CrossRef]
- Kai, X.; Zhu, S.; Li, P. A construction of new MDS symbol-pair codes. IEEE Trans. Inf. Theory 2015, 61, 5828–5834. [Google Scholar] [CrossRef]
- Yaakobi, E.; Bruck, J.; Siegel, P.H. Constructions and Decoding of Cyclic Codes Over b-Symbol Read Channels. IEEE Trans. Inf. Theory 2016, 62, 1541–1551. [Google Scholar] [CrossRef]
- Li, S.; Ge, G. Constructions of maximum distance separable symbol-pair codes using cyclic and constacyclic codes. Des. Codes Cryptogr. 2017, 84, 359–372. [Google Scholar] [CrossRef]
- Ding, B.; Ge, G.; Zhang, J.; Zhang, T.; Zhang, Y. New constructions of MDS symbol-pair codes. Des. Codes Cryptogr. 2018, 86, 841–859. [Google Scholar] [CrossRef]
- Chen, B.; Lin, L.; Liu, H. Constacyclic Symbol-Pair Codes: Lower Bounds and Optimal Constructions. IEEE Trans. Inf. Theory 2017, 63, 7661–7666. [Google Scholar] [CrossRef]
- Ding, B.; Zhang, T.; Ge, G. Maximum Distance Separable Codes for b-Symbol Read Channels. Finite Fields Their Appl. 2016, 49, 180–197. [Google Scholar] [CrossRef]
- Dinh, H.Q.; Wang, X.; Sirisrisakulchai, J. Optimal b-symbol constacyclic codes with respect to the Singleton bound. J. Algebra Its Appl. 2020, 19, 2050151. [Google Scholar] [CrossRef]
- Liu, H.; Pan, X. Generalized b-Symbol Weights of Linear Codes and b-Symbol MDS Codes. IEEE Trans. Inf. Theory 2023, 69, 2311–2323. [Google Scholar] [CrossRef]
- Yang, M.; Li, J.; Feng, K. Construction of Cyclic and Constacyclic Codes for b-symbol Read Channels Meeting the Plotkin-like Bound. arXiv 2016, arXiv:1607.02677. [Google Scholar]
- Song, S.; Fujiwara, T. Sphere Packing Bound and Gilbert-Varshamov Bound for b-Symbol Read Channels. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2018, 101, 1915–1924. [Google Scholar] [CrossRef]
- Chen, H. Covering b-Symbol Metric Codes and the Generalized Singleton Bound. arXiv 2022, arXiv:2206.12668. [Google Scholar]
- Huffman, W.C.; Pless, V. Fundamentals of Error-Correcting Codes; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar] [CrossRef]
- Shorey, T.N.; Tijdeman, R. On the greatest prime factors of polynomials at integer points. Compos. Math. 1976, 33, 187–195. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).