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.
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
.
When
, we set
and
By (
3), we have
Since
it is easy to obtain
.
(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,
Let
It is easy to verify that
Let
By 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, andAccording 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.