Abstract

The matrix expression and relationships among several definitions of Boolean derivatives are given by using the Cheng product. We introduce several definitions of Boolean derivatives. By using the Cheng product, the matrix expressions of Boolean derivative are given, respectively. Furthermore, the relationships among different definitions are presented. The logical calculation is converted into matrix product. This helps to extend the application of Boolean derivative. At last, an example is given to illustrate the main results.

1. Introduction

Boolean algebra was first proposed by George Bole in 1847. It is basic to many aspects of computing. Boolean calculus was first put forward by Daniell in [1]. From then on, great interest has been drawn, and many papers have come out; see [2–5] and references therein. Some forty years after the Boolean calculus was proposed, Boolean derivative was introduced in [6, 7] and applied to switching theory. From then on, Boolean derivative has developed quickly and has been applied in many fields; see [4, 8–13] and references therein. The application of Boolean derivative contains analysis of random Boolean networks [10], design of discrete event systems [11], and cellular automata [12]. Especially, Boolean derivative is widely used in damage spreading and Lyapunov exponents [13] in cellular automata.

Recently, the semitensor product or Cheng product of matrices is proposed and it is successfully applied to express and analyze the Boolean networks. The biggest advantage using this new tool is that it can convert a logical system into a classic discrete dynamical system [14]. After the conversation, the calculation can be easily achieved by the Matlab toolbox. However, the logical calculation is hard to realize before this new tool comes out. It has been applied to present many properties of Boolean networks, such as the controllability and observability [15, 16], stabilization [17], and realization of Boolean networks [18].

There are several definitions of Boolean derivatives. In this paper, the definitions can be found in [19–21].

The Cheng product is the main tool in the present paper. We considered several definitions of Boolean derivatives. By using the Cheng product, formulas for calculating the Boolean derivatives are provided, and the relationships among different definitions of Boolean derivatives are given.

The rest of the paper is organized as follows. Section 2 introduces some fundamental definitions and some notations used in the paper. In Section 3, several definitions of Boolean derivatives are given, and the relationships among them are presented by using the Cheng product. In Section 4, an example is given to illustrate the main results.

2. Preliminary

The semitensor product, that is, Cheng product is the crucial tool in the present paper. The matrix product is assumed to be the semitensor product in the following discussion. In most cases, the symbol is omitted. A review of basic concepts and notations will be given [14] as follows.(1). (2), where denotes the th column of the identity matrix .(3)Let denote the set of matrices. Assume a matrix , that is, its columns, . is called a logical matrix. We denote it as for simplification. The set of logical matrices is denoted by .(4)Let be a row vector of dimension , and let be a column vector of dimension . Then, we split into equal-size blocks as , which are rows. Define the semitensor product, denoted by , as (5)Let and . If is a factor of or is a factor of , then is called the semitensor product of and , where consists of blocks as , and where denotes the th row of the matrix , and denotes the th column of the matrix .(6)To use a matrix expression, we identify , . Using this transformation, a logical function becomes a function .(7)Consider a fundamental unary logical function: Negation, and five fundamental binary logical functions: Disjunction, ; Conjunction, ; Conditional, ; Biconditional, ; Exclusive OR, . Their structure matrices are as follows: (8)Given a logical function , there exists a unique matrix , called the structure matrix, such that where .(9)Let and is a given matrix, then .

3. Main Results

In this section, we will introduce several different definitions of Boolean derivatives. Using the Cheng product, we successfully convert the logical expression into the matrix expression. In addition, the relationships among different definitions of Boolean derivatives are obtained.

In the following, we will introduce some definitions of Boolean derivatives for the logical function .

Definition 3.1 (see [19]). One gets that where denotes the “Exclusive OR” in logical calculation.
This definition has been proposed for a long time, and it can also be described as    .

Definition 3.2 (see [21]). Let be an -variable vector and , , , , , define

Remark 3.3. It is clear that Definition 3.2 is a generalization of Definition 3.1. If , that is, , Definition 3.2 then degenerates to Definition 3.1.

Definition 3.4 (see [19]). Therefore,

Remark 3.5. The present Definition 3.4 is called the directional Boolean derivative sometimes. This is meaningful. It considered the change in the arguments increase, decrease, or remain constant.
Let . Then, according to the definitions of the Boolean derivatives, we obtain the following representations: where is the power-reducing matrix defined in [14].
In the following, we will discuss the relationships among the different definitions of Boolean derivatives by using the Cheng product.
First, we give a Lemma that will be used in the proof of Theorem 3.7.

Lemma 3.6. Assume that , then .

Proof. One assumes that where is the power-reducing matrix defined in [14].
Throughout directional computation, we get that
This completes the proof.

Next, two Theorems are given to illustrate the relationships among the different definitions. Theorem 3.7 shows the relationships of Definitions 3.1 and 3.4; Theorem 3.8 states the relationships between Definitions 3.1 and 3.2.

Theorem 3.7. One gets that

Proof. Therefore,
According to Lemma 3.6, one obtains that
This completes the proof.

Theorem 3.8. Since,

Proof. We prove the statement by induction on .(1)The formula is true for .
For , it is obviously true.
For :
While, Thus, it’s true for .
Assume that the statement is true for : For , In addition, Thus,
This completes the proof.

Remark 3.9. By converting the logical calculation into matrix product, it is more convenient for the calculation of high-dimensional systems.

4. Example

In this part, we will discuss the application of the main results in the present paper. Rule 150 is one of the eight elementary automata rules. It was introduced by Stephen Wolfram in 1983. Vichniac [12] also investigated its property. In the following, we will discuss the rule 150 using the Cheng product method.

In peripheral one dimensional cellular automata, the XOR rule is

If we define a Boolean cellular automata with cells by a global mapping

A local transition rule of is given as follows: it consists of its two neighborhood and the considered cell itself then

Define the Boolean derivative of as the matrix with .

According to the definition of Boolean derivative, it is easy to see that for .

When , from the definition and the matrix expression of Boolean derivative, one can see that

Throughout the directional computation, we can get the following Jacobian matrix:

From the Jacobian matrix, one can see that the new value of the cell is determined by its two neighbors and the cell itself. In the Jacobian matrix, the 1â€ēs shows us that the rule 150 is linearly dependent of the augments, respectively.

5. Discussion

Boolean derivative is an important topic in the research of Boolean function. It has wide applications in different fields. There are several different definitions about the Boolean derivatives. Each definition has its own meaning and application in respective domain. In this paper, we introduce several definitions of Boolean derivatives. Furthermore, the relationships among them are presented. We show the meanings of them, and the matrix expressions of them are also given.

Throughout the paper, the main tool used is the semitensor product, that is, Cheng product. It is a very useful tool. It generalizes the matrix product. In classic matrix product, it is necessary to guarantee that the number of columns of the left matrix matches the number of rows of the right matrix. However, it is not necessary in Cheng product. Cheng product has most of the properties of matrix product, and it has many other new advantages. Cheng product has been now used in many research. In this paper, Cheng product is applied in obtaining the relationship among different definitions. The calculation of logic variables has been converted into matrix product. It is interesting and meaningful. Using the results obtained, the application of Boolean derivative in cryptography and other fields might be extended.

6. Conclusion

In this paper, firstly we have introduced several definitions of Boolean derivatives. Then, we have given formulas to calculate Boolean derivatives by using the semitensor product, that is, Cheng product. We have also investigated the relationship among different definitions of Boolean derivatives. At last, an application is presented to illustrate the main results.

Acknowledgments

This work is supported by the National Natural Science Foundation of China under Grant 61174039 and by the Fundamental Research Funds for the Central Universities of China. The authors would like to thank the editor and the reviewers for their constructive comments and suggestions to improve the quality of the paper.