Abstract
Sunflower in coding theory is a class of important subspace codes and can be used to construct linear codes. In this paper, we study the minimality of linear codes over constructed from sunflowers of size s in all cases. For any sunflower, the corresponding linear code is minimal if , and not minimal if . In the case where , for some sunflowers, the corresponding linear codes are minimal, whereas for some other sunflowers, the corresponding linear codes are not minimal.
MSC:
94B05; 94A62
1. Introduction
Let be the finite field with q elements and the vector space with dimension n over . For a vector , let Suppt be the support of . The Hamming weight of is wt:=#. For any two vectors , if , we say that covers (or is covered by ) and write . Clearly, for all .
An linear code over is an m-dimensional subspace of . A codeword in a linear code is called minimal if covers only the codewords for all , but no other codewords in . If every codeword in is minimal, then is said to be a minimal linear code. Minimal linear codes have interesting applications in secret sharing [1,2,3,4,5] and secure two-party computation [6,7], and could be decoded with a minimum distance decoding method [8].
Up to now, there are two approaches to studying minimal linear codes. One is the algebraic method and the other is the geometric method. The algebraic method is based on the Hamming weights of the codewords. In [8], Ashikhmin and Barg gave a sufficient condition for a linear code to be minimal. Many minimal linear codes satisfying the condition are obtained from linear codes with few weights; for example [9,10]. Cohen et al. [7] provided an example to show that the condition is not necessary for a linear code to be minimal. Ding, Heng, and Zhou [11,12] derived a sufficient and necessary condition on all Hamming weights for a given linear code to be minimal.
When using the algebraic method to prove the minimality of a given linear code, one needs to know all the Hamming weights in the code, which is very difficult in general. Even if all the Hamming weights are known, it is hard to use the algebraic method to prove the minimality. In this paper, we will use the geometric approaches to study the minimality of some linear codes. Based on the geometric approaches (see [13,14,15]) it is easier to construct minimal linear codes or to prove the minimality of some linear codes (see [16,17,18,19,20,21]).
Sunflower in coding theory is a class of important subspace codes and can be used to construct linear codes, see [22]. Let s be the number of the elements in a sunflower. In [23], (Theorem 10), the authors proved that if , then the corresponding linear code over is minimal, where p is a prime number.
In this paper, we will use the approach used in [14] to consider the minimality of linear codes over constructed from sunflowers for all s. We obtain the following three results: (1) when , for any sunflower, the corresponding linear code is minimal; (2) when , for any sunflower, the corresponding linear code is not minimal; (3) when , for some sunflowers, the corresponding linear codes are minimal, wherea for some other sunflowers, the corresponding linear codes are not minimal.
This paper is organized as follows. In Section 2, we introduce some basic knowledge about sunflowers, Euclidean inner product, and minimal linear codes. In Section 3, we consider the linear codes constructed from sunflowers and discuss the minimality of these linear codes in three cases. In Section 4, we conclude this paper.
2. Preliminaries
2.1. Sunflower
Throughout this paper, let k and be two positive integers, and . Let be a positive integer, be a subspace of , and . We denote the set of l-dimensional vector subspaces of . We define
Then, is a sunflower of and the space is called the center of the sunflower .
Lemma 1.
Let be a sunflower and the center of Φ. For any , with we have .
Proof.
Since
and , we have . □
Lemma 2.
Let be a sunflower and the center of Φ. For any , with we have .
Proof.
Assume that . It follows from Lemma 1 that , which implies . □
2.2. Euclidean Inner Product
Let m be a positive integer. For , , the Euclidean inner product of and is given by
For any , we define
Then, Span and are vector spaces over and
2.3. Minimal Linear Codes
All linear codes can be constructed by the following way. Let be two positive integers. Let be an matrix over and be a multiset. Let denote the rank of G, which is equal to the dimension of the vector space Span over . Let
Then, is an , linear code with generator matrix G. We always study the minimality of by considering some appropriate multisets D.
To present the sufficient and necessary condition for minimal linear codes in [14], some concepts are needed. For any , we define
It is obvious that .
Proposition 1
([14]). For any if and only if .
Let . The following lemma gives a sufficient and necessary condition for the codeword to be minimal.
Lemma 3
([14] (Theorem 3.1)). Let . Then, the following three conditions are equivalent:
- (1)
- is minimal in ;
- (2)
- ;
- (3)
- .
The following lemma gives a sufficient and necessary condition for linear codes over to be minimal.
Lemma 4
([14] (Theorem 3.2)). The following three conditions are equivalent:
- (1)
- is minimal;
- (2)
- for any , ;
- (3)
- for any , .
By the following lemma, we can obtain infinity of many minimal linear codes from any known minimal linear codes.
Lemma 5
([14] (Proposition 4.1)). Let be two multisets with elements in and . If is minimal, then is minimal.
The following corollary is trivial.
Corollary 1.
Let be two multisets with elements in and . If is not minimal, then is not minimal.
In the following section, we will use the above lemmas to consider the minimality of linear codes constructed from sunflowers.
3. The Minimality of Linear Codes Constructed from Sunflowers
In this section, we consider the linear codes constructed from sunflowers and discuss the minimality of these linear codes.
Let
be a sunflower of and the center of .
Let
It is easy to see that is a linear code.
The following lemmas are important in the proofs of this section.
Lemma 6
([24] (Lemma 3.1)). For all , and dim, we have and
By linear algebra, we can obtain the following lemma.
Lemma 7.
Let . If for any , , . For any , , , let . We have
Proof.
Since , it follows from Lemma 6 that . Note that and
If , then . Suppose that
Then, we have
Since , the above equations lead to
i.e., .
If , then by Lemma 6. Suppose that
Then, we have
Since , the above equations yield
i.e., . The proof is completed. □
Now, we consider the minimality of in three cases. First, when , we have
Theorem 1.
Let be a sunflower of with center of dimension . If , then is an minimal linear code.
Proof.
According to Lemma 4, we only need to prove that for any , . By (2), we obtain
There are three cases:
(1) If there exists such that , then we have from Lemma 6. According to Lemma 2, for any with , we have Then, it follows from Lemma 6 that Since , we have . We set
When , we set
By (3), we have , and so .
(2) If for any , , we have and , then dim for any with . Since , We set
When , we set
Then,
Since
it is easy to obtain .
When , let . By Lemma 7, we have rank thus
(3) If for any , , we have and ; then, it follows from Lemma 6 that and
When , we obtain =2 and =1, , then is the one-dimensional subspace of . There are one dimensional subspace of , since , we obtain . By Lemma 2, for any , , , we have . Thus,
Since , by (4), there exists such that a contradiction. So .
When , we have =dim Let . By Lemma 7, we have rank We set
Let
Then, rank and . Let , and the quotient space of V over W. We have and Span. Let be the standard map from V to . For any , , is a subspace of . It is easily seen that or 2. There are the following two cases.
(i) If there exists such that , then . There must exist such that
So, , where . It is simply checked that , and . We obtain
Thus, .
(ii) If for any we have , combining that for any , with in accordance with Lemma 1, we have
Since has only one-dimensional subspace and , we have and . There must exist such that
Hence, there exists , where , such that . One can easily deduce that , and . We obtain
Thus, .
In conclusion, for any we have , so is a minimal linear code. □
Remark 1.
In Theorem 1, if is a prime number, then it becomes [23] (Theorem 10). So Theorem 1 is a generalization of [23] (Theorem 10). Our method is different from theirs. When , our method also can be used to study the minimality of the linear codes, whereas theirs can not.
Example 1.
Let be the standard basis of . Let
For any , we define
Suppose that
and
It is easy to see that Φ is a sunflower of with center and . Here, we take , and . With the help of Magma, we verify that the code is a minimal linear code with minimum distance 768, and
Now, we consider the minimality of when . If , we have
Theorem 2.
Let be a sunflower of with center of dimension . If , then is not minimal.
Proof.
To prove is not minimal, by Lemma 4, we only need to prove there exists such that
When , . By Lemma 2 we know . Then, for any , we have and . Thus, , , and . We set
where . Let
we have For any there exist unique , , such that Since , for any , there exists unique such that . Let be a map from to satisfying . We can see is an isomorphism from to and
Since , , and , we have , , and Thus,
Since , there exists such that . It is easy to see and Let , we obtain , , and . Since and
we obtain Thus, and
(1) When , , since , we have . Thus,
Thus, is not minimal.
(2) When , since , we have and Thus,
By Lemma 6, it is easily verified that
Then, . By Lemma 4, we have that is not minimal. □
Combining Theorem 2 and Corollary 1, we have
Corollary 2.
Let be a partial spread of . If , then is not minimal.
Now, we consider the minimality of when . We recall from (5) that
We will show that some sunflowers with center , are minimal, whereas some other sunflowers with center , are not minimal.
First, we construct some sunflowers such that are minimal. Let , be an irreducible polynomial in of degree k and be a matrix with characteristic polynomial . We define
and
We can see is a sunflower with center .
Theorem 3.
For the sunflower Φ defined in (8), the linear code is minimal.
Proof.
According to Lemma 4, we only need to prove that for any , . There are three cases:
- (1)
- If there exists such that , the proof is similar as that in Theorem 1 (1).
- (2)
- If for any , , we have and , then the proof is similar to that in Theorem 1 (2).
- (3)
- If for any , , we have and , the proof is as follows. Let where . Next, we define two linear transformations , from to :Then,LetIt is easy to verify thatLetBy Lemma 7, we have dim.
Now, we prove or If not, assume that and . By , it is obvious that . Since and , we have , and then There exists , such that is a basis of . Then, (10) yields . It is effortlessly demonstrated that is a basis of , and is a basis of . Thus,
Similarly, by , we obtain
Then, we have
That is to say, is the - of .
Let be a basis of , where is a basis of . Then, the matrix of with respect to this basis is
where is the matrix of with respect to . Note that M is the matrix of with respect to the standard basis, and thus M and B are similar and have the same characteristic polynomial. So
a contradiction with the irreducibility of . Hence, or . It is easy to see that or . So, .
In conclusion, for any , . By Lemma 4, is minimal. □
Combining Theorem 3 and Lemma 5, we have
Corollary 3.
Let and be a sunflower of with center . If are defined as (7), then is minimal.
Example 2.
Take , and . Let and
It is easily checked that is an irreducible polynomial of degree 2 and the characteristic polynomial of M. Then, the code constructed based on Theorem 3 is a minimal linear code with minimum distance 300, and
Now, we construct some sunflowers with center such that are not minimal. Let us recall from (6) that
Let
It is easy to see that is a sunflower of with center .
Theorem 4.
For the sunflower Φ defined in (13), the linear code is not minimal.
Proof.
Let . Then, for any , we obtain
By (3), we have
Then, . By Lemma 4, we have that is not minimal and is not minimal. □
Combining Theorem 4 and Corollary 1, we have
Corollary 4.
Let and where . Let . Then, is not minimal.
Remark 2.
In Theorem 3, Corollary 3, Theorem 4, and Corollary 4, the center of the sunflower Φ is the special subspace . When the center is a general subspace, we have not yet proved the minimality of .
Example 3.
Take , and . Then, the code constructed based on Theorem 4 is linear code with minimum distance 108, and
According to Magma experiments, there exists such that . Then, it follows from Lemma 4 that is not minimal.
4. Concluding Remarks
In this paper, we use the approach used in [14] to study the minimality of linear codes constructed from sunflowers in all cases. In [23], the authors proved that if the number s of the elements in a sunflower satisfying , then the corresponding linear code over is minimal, where p is a prime number. Our results in this paper generalize [23] (Theorem 10). We discuss the minimality of linear codes constructed from sunflowers for all s. We obtain the following three results: (1) when , for any sunflower, the corresponding linear code is minimal; (2) when , for any sunflower, the corresponding linear code is not minimal; (3) when , for some sunflowers, the corresponding linear codes are minimal, whereas for some other sunflowers, the corresponding linear codes are not minimal.
Author Contributions
Writing—original draft preparation, X.W.; writing—review and editing, W.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by National Natural Science Foundation of China (Grant No. 11971102).
Data Availability Statement
No new data were created or analyzed in this study. Data sharing is not applicable to this article.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Carlet, C.; Ding, C.; Yuan, J. Linear codes from highly nonlinear functions and their secret sharing schemes. IEEE Trans. Inf. Theory 2005, 51, 2089–2102. [Google Scholar] [CrossRef] [Scilit]
- Chabanne, H.; Cohen, G.; Patey, A. Towards secure two-party computation from the wire-tap channel. In Proceedings of the ICISC 2013, Washington, DC, USA, 16–18 September 2013; Lecture Notes in Computer Science. Lee, H.-S., Han, D.-G., Eds.; Springer: Berlin/Heidelberg, Germany, 2014; Volume 8565, pp. 34–46. [Google Scholar]
- Ding, C.; Yuan, J. Covering and secret sharing with linear codes. In Discrete Mathematics and Theoretical Computer Science; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2003; Volume 2731, pp. 11–25. [Google Scholar]
- Massey, J.L. Minimal codewords and secret sharing. In Proceedings of the 6th Joint Swedish-Russian Workshop on Information Theory, Mölle, Sweden, 22–27 August 1993; pp. 246–249. [Google Scholar]
- Yuan, J.; Ding, C. Secret sharing schemes from three classes of linear codes. IEEE Trans. Inf. Theory 2006, 52, 206–212. [Google Scholar] [CrossRef] [Scilit]
- Ashikhmin, A.; Barg, A.; Cohen, G.; Huguet, L. Variations on minimal codewords in linear codes. In Applied Algebra, Algebraic Algorithms and Error-Correcting Codes, (AAECC-11); Lecture Notes in Computer Science; Cohen, G., Giusti, M., Mora, T., Eds.; Springer: Berlin/Heidelberg, Germany, 1995; Volume 948, pp. 96–105. [Google Scholar]
- Cohen, G.D.; Mesnager, S.; Patey, A. On minimal and quasi-minimal linear codes. In Proceedings of IMACC; Lecture Notes in Computer Science; Stam, M., Ed.; Springer: Berlin/Heidelberg, Germany, 2003; Volume 8308, pp. 85–98. [Google Scholar]
- Ashikhmin, A.; Barg, A. Minimal vectors in linear codes. IEEE Trans. Inf. Theory 1998, 44, 2010–2017. [Google Scholar] [CrossRef] [Scilit]
- Ding, C.; Fan, C.; Zhou, Z. The dimension and minimum distance of two classes of primitive BCH codes. Finite Fields Appl. 2017, 45, 237–263. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Z.; Ding, C. Seven Classes of Three-Weight Cyclic Codes. IEEE Trans. Commun. 2013, 61, 4120–4126. [Google Scholar] [CrossRef] [Scilit]
- Ding, C.; Heng, Z.; Zhou, Z. Minimal binary linear codes. IEEE Trans. Inf. Theory 2018, 64, 6536–6545. [Google Scholar] [CrossRef] [Scilit]
- Heng, Z.; Ding, C.; Zhou, Z. Minimal linear codes over finite fields. Finite Fields Appl. 2018, 54, 176–196. [Google Scholar] [CrossRef] [Scilit]
- Alfarano, G.N.; Borello, M.; Neri, A. A geometric characterization of minimal codes and their asymptotic performance. Adv. Math. Commun. 2022, 16, 115–133. [Google Scholar] [CrossRef] [Scilit]
- Lu, W.; Wu, X. The parameters of minimal linear codes. Finite Fields Appl. 2021, 71, 176–196. [Google Scholar] [CrossRef] [Scilit]
- Tang, C.; Qiu, Y.; Liao, Q.; Zhou, Z. Full Characterization of Minimal Linear Codes as Cutting Blocking Sets. IEEE Trans. Inf. Theory 2021, 67, 3690–3700. [Google Scholar] [CrossRef] [Scilit]
- Alfarano, G.N.; Borello, M.; Neri, A.; Ravagnani, A. Three Combinatorial Perspectives on Minimal Codes. Siam J. Discret. Math. 2022, 36, 461–489. [Google Scholar] [CrossRef] [Scilit]
- Bartoli, D.; Bonini, M. Minimal linear codes in odd characteristic. IEEE Trans. Inf. Theory 2019, 65, 4152–4155. [Google Scholar] [CrossRef] [Scilit]
- Bartoli, D.; Bonini, M.; Gunes, B. An inductive construction of minimal codes. Cryptogr. Commun. 2021, 13, 439–449. [Google Scholar] [CrossRef] [Scilit]
- Bartoli, D.; Cossidente, A.; Marino, G.; Pavese, F. On cutting blocking sets and their codes. Forum Math. 2022, 34, 347–368. [Google Scholar] [CrossRef] [Scilit]
- Bonini, M.; Borello, M. Minimal linear codes arising from blocking sets. J. Algebr. Comb. 2021, 53, 327–341. [Google Scholar] [CrossRef] [Scilit]
- Héger, T.; Nagy, Z.L. Short minimal codes and covering codes via strong blocking sets in projective spaces. IEEE Trans. Inf. Theory 2022, 68, 881–890. [Google Scholar] [CrossRef] [Scilit]
- Gorla, E.; Ravagnani, A. Equidistant subspace codes. Linear Algebra Its Appl. 2016, 490, 48–65. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Yue, Q.; Tang, D. A family of linear codes from constant dimension subspace codes. Des. Codes Cryptogr. 2022, 90, 1–15. [Google Scholar] [CrossRef] [Scilit]
- Lu, W.; Wu, X.; Cao, X.; Luo, G.; Qin, X. Minimal linear codes constructed from partial spreads. arXiv 2023, arXiv:2305.05320. [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/).