1. Introduction
In the 1930s, Alexandroff pointed out in [
1] that there is a one-to-one correspondence between all topologies on a finite set and all quasi-orders, and there is a one-to-one correspondence between all
topologies on a finite set and all partial-orders. Therefore, enumerating the topologies on the set is equivalent to enumerating the number of corresponding order relations on the set. Since then, calculating the number of topologies on a finite set has become an interesting topic of topological research [
2,
3]. Sharp pointed out a topological corresponding relation matrix and tried to describe the topology by using some properties of the matrix [
4]. Scholars have gradually paid attention to the calculation of the number of
topologies on a finite set and obtained relevant conclusions and inferences through demonstrations [
5,
6,
7], and with the deepening of research, they abandoned the traditional enumeration method and used different algorithms to calculate the topologies on a finite set from different angles [
8,
9]. In the study of structure matrices, similarity relations and connective relations are two special classes of binary relations, which have important applications to economics, to the theorems of Arrow, and others about social welfare functions [
10].
The Cheng product, also called the semi-tensor product (STP), was firstly proposed by Prof. Cheng to study the topology of Boolean networks [
11]. Since the STP can convert any finite-valued functions into algebraic forms, Prof. Cheng and his collaborators developed an algebraic state space representation method for the analysis of BNs and BCNs and obtained many essential results [
12,
13]. In the following years, the STP made many achievements in the study of Boolean networks and gradually formed a complete framework of Boolean network control theory [
14,
15,
16]. Moreover, the STP method also shows strong vitality in many other fields, such as information security [
17], finite automata [
18,
19], vehicle control, and networked evolutionary games [
20,
21].
Compared with the previous traditional enumeration method with a high time complexity, the highlights of our findings are the following characteristics:
Using the STP of matrices, the algebraic representation of the subset and the complement of finite sets and corresponding structure matrices are obtained, respectively;
The relationship between the intersection and union and the intersection and minus of structure matrices is investigated, and a series of inferences is given;
The application is provided for the calculation of topologies on a finite set; in addition, the corresponding algorithms and examples can be given in order to provide more possibilities for the topology.
Our work is divided into the following sections. In
Section 2, we review a few basic notations and definitions; in
Section 3, the algebraic representation of the subset and the complement of finite sets are given; in
Section 4, the main results are obtained; in
Section 5, the corresponding algorithms and examples are given for the calculation of topologies on a finite set; finally, in
Section 6 and
Section 7, we close with a brief conclusion and point out some possible future directions of research.
2. Preliminaries
In this section, in order to better understand the definition and conclusion of the article, we first list some notations:
- (1)
is the set of all real matrices;
- (2)
represents the column vector of length n all terms of which are 1, that is ;
- (3)
() is the i-th column (row) of matrix M;
- (4)
is the i-th column of n-dimensional identity matrix , that is ;
- (5)
;
- (6)
Assume , then its shorthand form is ;
- (7)
For a finite set X, .
Because the STP overcomes the limitation of traditional matrices’ product on dimensions, we introduce the definitions of the Kronecker product, STP, topology, and topology.
Definition 1 (Reference [
22]).
Let . Then, the Kronecker product of matrices is: Definition 2 (Reference [
23]).
Let . Then, the STP of A and B is:where represents the least common multiple of n and p. An example of the STP of two matrices denoted as A and B is given below.
Example 1. Assume , , then: Definition 3 (Reference [
24]).
A topological space on a set X is a collection τ of subsets of X, called the open sets, satisfying:- (1)
Any union of elements of τ belongs to τ;
- (2)
Any finite intersection of elements of τ belongs to τ;
- (3)
∅ and X belong to τ.
Remark 1. For a finite set X, if the union or intersection of any two elements of τ belongs to τ, then any union or intersection of elements of τ also belongs to τ.
A topological space on a set X is also called a topology on X and often denoted by .
Definition 4 (Reference [
24]).
A topological space is a space iff whenever x and y are distinct points in X, there is an open set containing one and not the other. Note that a space is also called a topology.
Example 2. Assume set :
- (1)
Take a subset , and assume a family of subset .
When , certainly; the same can be proven when , certainly. Therefore, is not a topology;
- (2)
Take subsets , , and , and assume a family of subset .
For and , there exists an open set named meeting the above definition; similarly, the combination containing and also meets the definition; for and , there exists an open set named () meeting the above definition. Therefore, is a topology;
- (3)
It is easy to prove that if , then is not . This result also holds for all finite sets X containing more than one element.
3. Algebraic Representation
In this part, we present the algebraic representation of the subset and the complement of finite sets.
Proposition 1 (Algebraic representation of the subset of a finite set). Given a finite set and a subset S of X, then denote , where for all , if , otherwise, . In particular, , and .
Example 3. Assume , , and of X, then:
- (1)
, ;
- (2)
;
- (3)
.
In algebraic form, the family τ can be represented by .
As is known to all, given a finite set and a subset S of X, the complement of S is defined as .
Proposition 2 (Algebraic representation of the complement of a finite set). Given a finite set and a subset S of X, then , where for each , if , otherwise, . In particular, , and .
4. Structure Matrices
In this part, we explain the structure matrices of the union, intersection, and minus of subsets. On this basis, some inferences are given to illustrate the relationships between them.
Proposition 3 (Matrix representation of the complement). Given a finite set , let be a subset of X. Then the complement of S satisfies . Moreover, , where .
Proof of Proposition 3. Suppose
Then we have that
where
for each
.
Therefore, we have that
. Moreover, for
, it is not difficult to check that
and hence
. □
Example 4. Assume set and the subset , then , and:
- (1)
From the above propositions, it is not difficult for us to find: and ;
- (2)
Because , it is easy to obtain ;
- (3)
We use the formula to find:
Example 5. Take the set for example. The family of subsets . All subsets of X are treated as rows and columns of the table, respectively:
- (1)
Example of the union:
The calculated results are shown in the form of a set (Table 1) and the form of a vector (Table 2), respectively. Thus, the structure matrix of the union is derived: - (2)
Example of the intersection:
The calculated results are shown in the form of a set (Table 3) and the form of a vector (Table 4), respectively. Thus, the structure matrix of the intersection is derived:
Following the example above, compare the structure matrices of the union and intersection.
Via computation, we have:
where
. Denote:
Proposition 6. From and , it is derived that: Example 6. Take the set for example. Denote by , then:
- (1)
We can obtain the matrix of the union (Table 5). Thus, the structure matrix of the intersection is derived:
- (2)
We can obtain the matrix of the intersection (Table 6). Thus, the structure matrix of the intersection is derived:
Proposition 7. Given a finite set X and its subset family , then τ is a topology of X, if and only if:
- (1)
, ;
- (2)
For any two elements and of τ, both and hold.
Example 7 (Example of the minus).
For the set , for example, it is easy to have the table of its minus (Table 7).Thus, the structure matrix of the minus is derived: Following the example above, compare the structure matrices of the minus and intersection,
Proposition 8. Given a finite set X, assume . Separate and into equal n blocks, then: 5. Application
Given a finite set
,
, the STP structure matrix
corresponding to the union of any two sets
A and
B in all subsets and the STP structure matrix
corresponding to the intersection of any two sets in all subsets are obtained and shown separately as follows (
Table 8 and
Table 9).
Each element in and retains only the number k in the upper right corner to obtain two simplified structure matrices, denoted as and , respectively. According to Remark 1, the following conclusions can be made.
Proposition 9. The k-order principal minors consisting of rows and columns in and are denoted as and , respectively, where . The family of subsets corresponding to constitutes a topology on X iff all elements of and belong to . In addition, the family of subsets is clearly a topology when the form or , where .
Therefore, it is sufficient to find how many pairs
can satisfy the above Proposition 9, to prove the number of all topologies on X. The following Algorithm 1 is given.
Algorithm 1: Application of the STP structure matrix. |
|
Example 8. Continuing with Example 6 above, we obtain two simplified structure matrices of the union and intersection and . First, when , it obviously is a topology on X. When there is one nonempty proper subset in τ, for example , the third-order principal minors composed of the first, second, and eighth rows and columns of and are obtained and denoted by and . Each element in and belongs to . Therefore, such a family τ is a topology on X. In this way and by Algorithm 1, we can obtain six, nine, six, six, zero, and one topology with one, two, three, four, five, and six nonempty proper subsets of X, respectively. Therefore, there are twenty-nine topologies on X in total.
6. Problems
The method proposed above is helpful to enumerate all finite topologies on a finite set and puts forward some new ideas for scholars to study this field. However, several problems have not been solved.
Problem 1. Given an arbitrary integer , how can we obtain the structure matrices and on a set X with n elements quickly?
The solution of Problem 1 will help enumerate the topologies on a finite set by Algorithm 1. Moreover, we hope to find a similar method to enumerate the
topologies as we have shown in
Section 5 for general topologies.
Problem 2. Is it possible to enumerate all the topologies with the help of the structure matrices and on a finite set X?
7. Conclusions
In this paper, enumerating topologies on a finite set was investigated from an algebraic point of view. Through the STP of matrices, the algebraic representation of the subset and complement of a finite set and the corresponding structure matrices were obtained, respectively. In addition, the relationship between the intersection and union and intersection and minus of structure matrices was investigated, and a series of inferences was given. Finally, the corresponding algorithms and examples were given for the calculation of the number of topologies on a finite set based on the intersection and union of structure matrices. It is noted that all the calculations involved are matrix operations, which can be easily proven and applied by mathematical software. The method proposed in this paper is helpful to enumerate all finite topologies on a set, which gets rid of the limitation that the traditional enumeration method makes the computation of topologies on a set of n elements difficult to achieve because of the high time complexity and lays a good foundation for future topology research.