Abstract
This paper addresses the theoretical issues in k-valued logic, which are crucial for developing solutions in various fields of science and technology. One of the fundamental issues is a complete description of the closed classes of functions of three-valued logic. The explicit description of closed classes in multivalued logic is an open problem. In this study, we consider a special case of the finite generation of all closed classes of three-valued logic through the operation of superposition. Previously, we considered the issue of the finite generation of classes containing a subset of single-variable functions. We have also provided a description of superlattices (lattices of lattices) containing a precomplete class of unary functions. The finite generation of these superlattices is proved. On the basis of these results, in this paper, we have proven that any class containing any of the precomplete classes from the set of single-valued functions is also finitely generated. The main result of this paper consists of three theorems on the finite generation of classes containing precomplete classes of single-valued functions and classes including all monotone unary functions. Thus, the obtained theoretical result provides easily verifiable criteria for the finiteness of classes of multivalued logic functions. It allows you to use simple procedures instead of cumbersome explicit constructs. The finite generation of overlattices allows the development of digital computing circuits that are crucial for practical applications. The proofs are based on an explicit description of these classes by an induction in the number of variables and essentially use the properties of functionally closed (Burle) classes of functions.
1. Introduction
In recent times, the significance of computation schemes based on k-valued logic, particularly ternary logic, has become relevant again. The rapid growth in supercomputing and quantum computing and their extensive usage in the field of artificial intelligence has resulted in a resurgence in interest in k-valued logic [1]. In particular, the research and development of algorithms based on k-valued logic are important for machine learning and neural networks [2,3]. In particular, machine learning and neural network algorithms based on k-valued logic significantly reduce the computational time required to solve problems compared with algorithms based on binary logic [2,3]. In addition, k-valued logic is highly relevant in the modeling of complex dynamical systems, where causal relations play a crucial role [4]. It is also used in logical dynamical systems [5], the modern control and stabilization of unmanned systems [6], cyber-physical systems [7], data transmission [8,9], optimal network routing [10,11], and quantum cryptography [12]. A comprehensive analysis of the use of k-valued logic in various applications has been provided in the research paper [9]. Among the wide range of applications, data aggregation schemes stand out because the development of three-valued logic algorithms has proven to be drastically more efficient and cost-effective than two-valued logic [13,14]. In particular, it is effective in providing a stable Internet connection for users in high-speed trains outside areas with stable cellular network coverage. By using a nonbinary number system to encode, for example, the states of an LTE modem, we can significantly reduce the complexity and number of internal computations. The transition from two-valued logic to multivalued logic reduces the number of computational operations and increases the speed of data processing. Fuzzy sets in this case are approximated by finite discrete sets. The general state of the system is determined by the complex predicate as a superposition of other predicates on the original set . The complete construction of the predicate and a detailed description of traffic aggregation are given in [14].
We also note several theoretical papers devoted to topics connecting k-valued logic with algebraic problems and matrix group/semigroup representation. In [15], using the semitensor product form of matrices, the authors suggested expressing k-valued logical function into its algebraic form, which establishes an equivalent relation between unary logical operators and their structure matrices. In [16], conjunctive and disjunctive normal forms of k-valued logic have been introduced, and the completeness of k-valued logic by constructing an adequate set of connectives is discussed, which was then extremely compressed by constructing a proper set of generators. The paper in [17] presents a construction for the classification of subalgebras for all algebras of finite-valued functions. In addition, it is shown that the classes of this classification are disjoint.
Another interesting area of theoretical research explores the interaction of many-valued logic, Markov processes with jumps, and the stability of dynamical systems. In the scientific paper in [18], the authors provided a comprehensive study of the stability aspects of k-valued logic networks, considering the influence of Markov jumps. To facilitate the analysis, they introduce an equivalent Markov jump system using a semitensor product of matrices combined with multivalued logic functions. As part of their study, the authors proposed two deterministic criteria for assessing the finite-time stability of distributions of k-valued logic networks subject to Markov processes with jumps. The study in [19] investigates the optimal control problem of switched k-valued logic control networks with state-dependent switching signals. It provides a mathematical representation of the switched k-valued logic control networks and presents a condition that is both necessary and sufficient for their stabilization.
A complete description of all closed classes of functions of k-valued logic is the most important problem in the application of k-valued logic [20]. The finite generation of all closed classes ensures that digital circuits can be implemented with the desired function and algorithms [21].
Emil Post presented a complete description of closed classes of Boolean functions concerning superposition in his famous papers [22,23]. This result allowed us to solve numerous problems in the field of binary logic and in the computer industry. It was also demonstrated that all classes of closed binary logic are finitely generated with respect to superposition operations. However, a detailed description of k-valued logic is impossible because the transition to k-valued logic leads to the emergence of a continuum of closed classes with respect to superposition operations.
In fact, in the case of k-valued logic, no finitely generated classes exist, as evidenced by the example of Yanov and Muchnik [24]. Therefore, the problem of describing all finitely generated classes of k-valued logic remains open.
The completeness problem has a solution if we consider some special operators. To describe a sublattice of closed classes, we can start with the lattice of all functions and define subsets that are closed, for example, under the superposition operator. The superposition operator combines two functions to form a new function by applying each function in the pair to the same input data and then combining the results. The description of a sublattice of closed classes may include identifying the various closed classes and defining the closure properties of their elements under the action of the superposition operator. This can be achieved by studying the properties of the functions of each class and their composition.
The finite generation of all closed classes of two-valued logic with respect to the superposition operation is a special case considered in [25]. In [26], the operation of binary superposition is considered and defined by functions of k-valued logic based on their representation in the binary number system. The authors of [27] investigated the requirement of implicit completeness in three-valued logic from the perspective of precomplete classes.
The sublattice of closed classes itself forms a lattice structure, the elements of which are closed classes, and the ordering relation is based on inclusion. Each closed class in this lattice is a set of functions that can be composed of other functions of the same class to create new functions belonging to the same class. Several sufficient conditions for finite generation are known. The most famous examples include all unary functions, choice functions, and majority functions in the class. The majority function takes a set of inputs and returns true (or 1) if most inputs are true (1) and false (or 0) otherwise. The choice function takes only one element from a nonempty set. Unary functions operate on a single input. The existence of majority, choice, and unary functions is important not only in terms of class finiteness in many-valued logic theory but also in computational complexity theory, formal languages, automata theory, algorithm design, voting systems, and data processing. Thus, although this paper is rather theoretical, all the results obtained here are significant in their respective fields of study and have been widely researched and studied in the field of computer science. In [9,28], a description of superlattices containing some precomplete class of unary functions is also given, and the problem of checking the finite generation of classes containing some subclass of a function of one variable is studied. It has been proven that overlattices can be finitely generated. Any class consisting of monotonic functions and containing each monotonic function of one variable is finitely generated. These classes do not include a choice function, a majority function, all single-valued functions, or a set of all single-valued functions precompleted for all single-valued functions. This paper continues the study of the theoretical problems of k-valued (in particular, ternary) logic [9,28]. As mentioned above, in two-valued logic, there are several sufficient conditions for finitely generated classes [29]. Similar conditions can be found for multivalued logic. If they are satisfied, then the class is finitely generated. From a practical point of view, these conditions mean that we do not need to provide a complete description of a class to test its finiteness. However, it is sufficient to check the conditions for some special functions. These conditions must be such that they can be easily verified. One of these conditions is the presence in the class (multivalued logic functions) of one-valued functions. In this paper, based on the previously proven results [9,25,28], we show that any class containing any of the precomplete classes of the set of unary functions is finitely generated. These conditions must be such that they can be easily verified. One of these conditions is the presence in the class (multivalued logic functions) of single-valued functions.
In this paper, based on the previously proven results of [9,25,28], we show that any class containing any of the prerecomplete classes of the set of unary functions is finitely generated.
1.1. Paper Structure
This paper consists of the following sections: Section 2, Section 3 (auxiliary results), Section 4 (main results), and the conclusion. Section 2 includes the necessary notations, the definition of k-valued logic functions, and preliminary results. This section provides the fundamental Burle’s result, which describes all functionally closed classes of functions of k-valued logic that are called Burle’s classes [29]. This theorem plays a vital role in k-valued logic theory. The proofs presented in this paper significantly use the following properties of Burle’s classes: is a precomplete class in , is a precomplete class in , is a precomplete class in for , is a precomplete class in .
Relationship between Lemmas and Proof Scheme
The concept of the proof is based on the explicit construction of the corresponding classes of functions. Preliminary results prove the existence of closed classes of functions that are monotonic under linear order operations (functions that have the necessary properties) and give their explicit construction. Then, it is shown that the functions have an explicit representation in the form of elementary functions (a specific type of expansion is given) from the finite-generated classes. We consider the narrowing of this class of functions to a class of functions with exactly two variables and three values.
The main part shows that if a monotonic function of many variables takes three values, then there is a set composed of such functions, containing monotonic functions that essentially depend on exactly two variables and take three values. These are exactly the functions discussed in the section with preliminary results, and they have the necessary properties.
There are many technical lemmas that provide intermediate steps in our proofs.
The first auxiliary result is given by Lemmas 1 and 2. We consider linear order and monotonicity in relation to the two operations of maximum and minimum (symbols). These operations are defined below, and the corresponding subsets of the function are denoted by the letters D and K. Accordingly, the classes of monotone functions considered with respect to these operations are denoted as and . In the intermediate results, the lemmas regarding these two operations are proved. They will be considered separately, but the evidence is the same; therefore, it will be given only for one of the classes. Lemma 1 and Lemma 2 provide a general description of the set of all monotone functions with respect to linear order operation (not only for one-valued functions). These lemmas only establish that a closed class is exactly the join of all monotone functions from the finitely generated sets. Lemma 1 and Lemma 2 are lemmas about the existence of closed classes for monotone functions. They guarantee some property for a certain class of function but do not provide the explicit construction of such a class.
Lemma 3 explicitly describes the system that generates such a class and establishes that this class exists and is not empty. This class is generated by applying the expansion (1) to all subfunctions from Lemma 3. Note that these results apply to all monotone functions and define the widest possible class of functions, which in our case is redundant because the class of arbitrary functions may not be finite. Therefore, we further prove Lemma 4, which specifically describes the class of functions of interest, i.e., monotone functions for three-valued logic. Lemma 5 proves that the classes of monotone functions with respect to the operations of maximum and minimum coincide and constitute the closed finite class of monotone functions of interest, i.e., M. Lemmas 4 and 5 directly describe the class of monotone functions consisting of only two- and one-variable functions.
Lemma 6 is based on Lemmas 4 and 5 and gives the explicit representation of monotone functions exactly in the form of functions from (the set of all monotone functions that take at most two values) to the set (one-place functions of 3-valued logic). Thus, the overall result is narrowed to a set of specific functions with s representation in the form of matrices. It establishes that any monotone function consisting of only two and one variables can be composed of other functions within the same class to produce new functions within the same class. Any class consisting of monotonic functions and containing each monotonic function of one variable is finitely generated.
Thus, taken together, Lemmas 1–6 provide an explicit description (construction) of the class of functions that are monotonic with respect to linear order. These results guarantee not only the existence of such a class but also provide an explicit design for its construction.
It is shown that for any monotonic function from this class that satisfies the monotonicity condition (condition (2), the function depends significantly on more than one variable. In Lemma 6, it is already shown that these two classes exhaust the entire set of all monotone functions that take no more than two values.
In the main part of the paper, Lemma 7 establishes the property of an arbitrary monotone function from class : if linear-order conditions are satisfied for a monotone function, then the function depends significantly on more than one variable. Lemmas 8 and 9 establish that for such functions, it is possible to construct an identical function that will depend on variables and will have the same properties. This is a general result for functions of many variables.
Lemmas 10 and 11 are based on Lemmas 7–9. They restrict the result for functions of many variables to the case of functions that essentially depend on two variables. Thus, any monotonic function can be associated with a function of two variables and is contained in a finitely generated class (Lemma 12).
Thus, Lemmas 7–12 from the main results section establish that the functions of 3-valued logic (the description of which is completely determined by Lemmas 1–6) generate sets of functions that satisfy the basic properties defining a closed class of monotone functions. Thus, we obtain a comparison of the class of monotonic functions with a certain class of functions , which are specified explicitly and have the necessary properties.
Theorem 2 proves the finite generation of classes containing all monotone unary functions. In Theorem 3, we proved that the constructed set of monotone functions essentially depends on exactly two variables (but it is a 3-valued logic function).
As a result, we established that the set of monotone functions takes three values if it is combined with the class and contains a monotone function that essentially depends on exactly two variables and takes three values. In other words, F contains exactly the class of functions and properties considered in the lemmas. On the basis of the properties that have been proved on these Lemmas, we can conclude that class F is finitely generated.
Theorem 4 provides the criteria for F to be a finite-generated class. In this way, we reduce the problem to checking criteria that must be satisfied.
2. Preliminary Results and Definitions on -Valued Functions
Let us begin with some recall and definitions of k-valued logic functions. Let be the set . For any the set is a Cartesian power, and the mapping is a single-valued function of k-valued logic. The set of all functions of k-valued logic is denoted by . Furthermore, we assume that in most cases, so the set will be considered.
Let F be a closed class of , then is the set of all functions in F that depend on the variables . is the set of all functions F that take at most n values. is the set of all precompleted classes in the closed class . is the set of all unary functions that take exactly k values. A complete description of the prior completeness superlattice in the class for can be found in [9,28]. Just recall a few important definitions and one theorem.
Definition 1.
A function that takes two or fewer values is sublinear if for any number of variables i, where , and for any two elements , one of the following relationships holds:
- either for any
- or for any
The set of all quasi-linear functions in is denoted by . The problem of enumerating all closed classes of k-valued logic containing all functions of one variable was solved by G.A. Burle [29].
Theorem 1
(see [29]). The following and only these classes, which contain all k-valued logic functions of one variable, are functionally closed classes: , , , .
The k-valued classes , , , are Burle’s classes. An overlattice of a class G is the set of all classes such that .
3. Auxiliary Theorems and Proofs of Technical Lemmas
3.1. Finite Generation of Classes Containing Precomplete Classes of One-Valued Functions
Theorem 2.
Let , , . Then, class F is finitely generated.
Proof.
Let us consider an overlattice of a class G as the set of all classes such that . The overlattice description for all (accordingly, ) is given in [30]. Therefore, it is sufficient to prove the finite generation of the already described classes. If , then the overlattice G consists of the following closed classes: , , , , , .
Let V be a precomplete class in . If , then its overlattice consists of the classes , , , , , , .
Because for all precomplete classes in , the proof is the same as in [28], we set the class V to be fixed. Then, it is sufficient to prove that the following nine classes are finitely generated: , , , , , , , , .
For the convenience of the proof, we split them into the following groups:
- 1.
- , , consist of a finite number of functions.
- 2.
- , , are Burle’s classes (see [29]), where a finite generation has already been proved.
- 3.
- .
- 4.
- . Burle [29] proved that for any function , the following function representation holds:where are functions from . Using this representation, Burle showed that is precomplete in . Because this representation includes addition by 2, it is easy to see that only functions from are used in this expansion.Therefore, is precomplete in . This proves that class is finitely generated.
- 5.
- .
Burle’s proof of precompleteness for [29] is completely the same for this case, because it is completely based only on the unary functions that take no more than two values.
Therefore, is precompleted in . This proves the finite generation of the class , and the finite generation of already been proved. □
3.2. Finite Generation of Classes Containing All Monotone Unary Functions
We already proved the finite generation of classes containing all unary functions or some precomplete class of unary functions.
A similar problem may be developed for classes of one-place functions satisfying the monotonic condition with respect to linear order.
Definitions and Auxiliary Results
For simplicity, let denote the maximum, and let and denote the minimum of the set of variables .
Let . Then, for any subset of , the notation means , where for any is the maximum of the set , if , then – is the minimum from .
We define the following sets of monotone functions of 3-valued logic:
- D is the set of all monotone functions such that for any collections , the following inequality holds ,
- K is the set of all monotone functions such that for any collections , the following inequality holds ,
- is the set of all monotone functions that take at most two values and functions from the set ,
where M is the set of all monotone functions with respect to the linear order from , and is the set of all monotone functions that essentially depend on at most one variable.
Furthermore, we will be interested in the finite generation of closed classes that satisfy the following conditions: , .
Lemmas 1 and 2 provide intermediate auxiliary results. They describe the set of all monotone functions with respect to the linear-order operation (not only one-valued).
Lemma 1.
The set D is a closed class and exactly is the join of all monotone functions from the finitely generated class F (of monotone functions of one variable) with the maximum of a binary set : .
Proof.
First, let us show that D is a closed class. Since class D contains the function x, it is sufficient to show that the function belongs to D if Let . It is clear that . Consider two arbitrary sets . Then, , where , .
Second, we show that . For any sets the following relation holds: . Therefore, . Let be an arbitrary function from . Considering two cases and , we obtain , and, therefore, . Because D is a closed class, we obtain superpositions of functions from , and functions are contained in D.
Third, we must show that . For a collection , we denote as the collection that coincides with the collection on all components, except, possibly, the ith, which is equal to zero. Let , be an arbitrary function from D. Since f is monotone (by the Definition of the class D), then for any , and hence, . At the same time, since , then by virtue of the property defining the class D, we have . Therefore, the decomposition holds for any function . Therefore, by applying this decomposition to all subfunctions, we obtain for any function . Therefore, . □
The next statement is similar to the one proved above, so its proof is omitted.
Lemma 2.
The set K is a closed class and exactly is the join of all monotone functions from the finitely generated class F (of monotone functions of one variable) with the minimum from the set of variables : .
Lemmas 1 and 2 show that the set of all monotone functions is closed. They guarantee some property for a certain class of function. The next question is, does this class exist? The next Lemma 3 stands for a system that generates such a class.
Lemma 3.
(on the generating system of the set of monotone functions)
Proof.
It is obvious that are contained in M. Let . Therefore, . This equality can be verified directly by substituting the values of the variable and using the definition of monotonicity of the function f. □
In accordance with Lemmas 1 and 2, we can assert that a closed class exists, is not empty, and is generated by some system. By applying the expansion (1) to all subfunctions, we obtain the system generated from the set of monotone functions.
Remark 1.
The function f of two variables is represented as a matrix , where , and the one-valued function g can be represented as a column vector of height three, where .
Lemmas 4 and 5 directly describe the class of monotone functions consisting of only two and one variable functions. Thus, they narrow the general set to a set of concrete functions. Lemma 6 based on these results gives the representation of monotone functions exactly for 3-valued logic.
Lemma 4.
, where
Proof.
Let us define the functions
It is easy to see that the following equality holds: .
Moreover, it is clear that , . Hence, . □
Lemma 5.
Proof.
Prove that holds Let us define the functions
Then, it is obvious that equality holds.
Let us define the functions
Then, it is easy to check the following equality: .
Well, then , .
Then, by Lemma 3 . □
Definition 2.
For any , the set of functions denoted by (accordingly ), where , , consisting of all functions depending on n variables, taking only the values and on tuples consisting of a and b that coincide with (accordingly with ), is called the set of conjunctions of length n on (accordingly, the set of conjunctions of length n to ).
An arbitrary function from the set (accordingly, ) is called a conjunction of length n by (accordingly, a disjunction of length n by ).
Definition 3.
A set (accordingly ), where , will be called the set of all conjunctions on (i.e., the set of all disjunctions on ).
Note that, for any , by identifying variables from a function belonging to the set (accordingly, ), we can obtain a function from the set (accordingly, ), and using the superposition operation, we can make the reverse transition. Therefore, for brevity, we often omit the enumeration of variables on which functions from the sets and depend.
Lemma 6.
Let , . Then .
Proof.
For all monotone functions, the expansion holds
(see Lemma 3).
Note that for functions that take only the values zero and two, instead of , you can use any function that matches on sets consisting of zeros and twos. Likewise, for .
Hence, for all functions taking values of zero and two, the following expansion holds:
Let take values of zero and one. Then , where is obtained from by replacing value one with value two in the value table.
Because takes values of one and two, then, as proved above, we obtain ; hence, , taking values of zero and one, is contained in .
The same scheme is true for functions that take values of one and two. Hence
The inverse inclusion is obvious. □
Denote by , , , , monotone functions of 3-valued logic such that they do not belong to the sets D, K, , , accordingly. It follows from the definition of class D that if sets (combinations) for a function , exist such that the following condition holds:
then a function , does not belong to the class D.
In this case, we say that the condition (2) holds on sets .
4. Main Results
Lemma 7.
Let , be an arbitrary monotone function from which satisfies condition (2). Then, significantly depends on more than one variable.
Proof.
(by contradiction). Let for some , , and for some function .
Let us consider two arbitrary sets . By our assumption, .
Without loss of generality, we can assume that . Then, and .
Hence, for any pair of sets , the following equality holds:
but this contradicts the condition (2). □
Lemma 8.
Proof.
Set , . Then, , that is, for the function g, the condition (2) holds on sets . □
The next statement is similar to the one proved above, so its proof is omitted.
Lemma 9.
Lemma 10.
For any monotone function , , there exists a monotone function such that the condition (2) holds on such sets that , .
Proof.
Since , the condition (2) holds for this. Let us consider two sets such that . The sets and are incomparable; otherwise, there is a contradiction with the condition (2).
Consider four sets: . Consider also the set
It is clear that Otherwise, we have a contradiction with the condition (2).
Let . Denote by a the minimum element of , and by b—the maximum element. Due to the inequality it is clear that , , . Then, we have by the monotonicity of the function .
Denote by a function such that and . Consider a function that satisfies the relation . Analogically, , , .
By these equalities, the function g satisfies the condition , namely . Hence, holds according to the definition of class D.
Let . Then, holds surely, since is monotone. By the condition (2) no other element from cannot be equal to 2.
Consider a function . For this . Analogically, , since .
By these equalities, the function h satisfies the condition (2), specifically, . Hence, holds according to the definition of the class D. □
Lemma 11.
For any monotone function , there is a monotone function , which depends essentially on two variables such that
Proof.
The condition (2) holds by definition of the class D for function , : there are sets such that .
If j exists such that , then by Lemma 8 we have a function that depends on a smaller number of variables for which the condition (2) holds. Therefore, this function does not belong to the class D.
If exists such that , , then by Lemma 9 we obtain a function depending on a smaller number of variables, and this function satisfies the condition (2), and therefore does not belong to class D.
Let , such that for any j and for any either or .
The set is contained in the set . There, , but by Lemma 7, .
Let at least one of the sets include one. By our assumption for any j . Then, there is i such that either , or , (without loss of generality, we can assume that ).
In addition, without loss of generality, assume that . Then, we can consider a function , where
The condition (2) for a function g holds on sets , . If one is included in at least one of sets , , then we continue to follow a similar pattern. We can then assume that a condition (2) for the function holds on sets of zeros and twos.
That is, the sets , consist of zeros and twos. Because for any j and for any either or the set is contained in the set . Therefore, , but by Lemma 7 . Hence, . □
A similar statement is true for class K. This is proven in a similar way.
Lemma 12.
For any monotone function , , a monotone function depends essentially on two variables such that .
Theorem 3.
Let the monotone function , take three values. Then, the set contains a monotone function that essentially depends on exactly two variables and takes three values.
Proof.
(induction by the number of variables).
(induction base)
Let .
- (i)
- If variables , of function f exist such that when they are identified, we obtain a function that depends essentially on more than one variable, and there is a set such that and , then it is clear that, by identifying the variables and , we obtain the desired monotone function that essentially depends on exactly two variables and takes three values, since and .
- (ii)
- Suppose that there is no such pair of variables, i.e., for any identification of two variables of the function f, we obtain a function that depends on less than two variables. By and for each identification, we can obtain only functions from . There are only three possible ways to choose a pair of variables for identification.
Suppose the functions , , are known. Then, the values of the initial function are defined on all sets except six which all have three different elements. Because the value of is uniquely defined, it is clear that if or , then for any function r from set . For every function r from , namely for , , and function , we must consider the following eight cases:
Consider the following cases:
- 1.
- If or , then the function takes two values. However, this is a contradiction with the initial condition. There is only one case remaining: when the function is defined as follows: , , , i.e., f is a majority function of three variables that demonstrates the constant substitution operation. By substituting one for the first variable, we obtain g from , which depends essentially on two variables. Specifically,
- 2.
- It is easy to see that .
- 3.
- It is easy to see that .
- 4.
- For any function r from , the equality and hold. However, this contradicts the monotonicity of the function .
- 5.
- For any function r from the equality and hold. However, this contradicts the monotonicity of the function .
- 6.
- It is easy to see that .
- 7.
- For any function r from the equality , hold. However, this contradicts the monotonicity of the function .
- 8.
- For any function r from the equality , hold. However, this contradicts the monotonicity of the function .
- (iii)
- Suppose we have variables , of function f, whose identification gives a function that essentially depends on two variables.
- (a)
- By identifying variables and , we obtain a function that takes only three values. If and , then the theorem is proven. Let , then by identification of , , we can obtain a function that takes three values but depends essentially on no more than one variable. This function can only be a selector function , where . Then, it is obvious that , , . Then, the identification of any pair of variables , , gives the desired function from .
- (b)
- By identifying any pair of variables, we obtain a function that takes at most two values. Consider a set such that . Since identification of any pair of variables gives a function that takes at most two values, then is necessary to fulfill with .
Without loss of generality, we can assume that , , . Consider a set such that , , and a set such that , . By the monotonicity of the function we obtain .
Therefore, we have either or . Let , then by identifying the variables , , we have a function taking three values. However, this contradicts the assumption. Consequently, we have . Similarly, we find that . Consider a function derived from by substituting the constant 2 instead of the variable .
It is clear that , , . From these equalities and from the fact that , and , follows that variables and are essential for . Hence, is the required function that takes three values and depends essentially on exactly two variables.
We have shown how to obtain from a function g that depends essentially on two variables. This can be performed by identifying the variables and substituting constants into an arbitrary function f from , where f depends essentially on three variables.
(by the inductive assumption)
Consider a set such that . Because , then exist, .
- (i)
- If a set consists of zeros and twos only and is such that , then we identify the variables and . Suppose that we obtain a function r that essentially depends on only one variable by the identity of variables , . Then, from one hand, we have and since and , and by , we have either , or from the other hand. We obtained a contradiction.
- (ii)
- Let all tuples such that contain one. Let us take one of these sets. Because there are , . Let , . Suppose that by identifying the numbers and , we obtain a function r that depends essentially only on one variable. Then, it is clear that , since otherwise we obtain that either , or . Hence, we have . Then, by identifying at least one pair of variables of the function , we obtain a function that depends on more than one variable. The inductive step has been performed. Suppose the identification of any two variables results in a function that essentially depends on one variable. Let us prove that this is not true if f essentially depends on n variables.
- (a)
- If, for any identification of two numbers, we obtain the function (the number i is the same for all identifications), then we obtain a contradiction with the fact that f depends essentially on n variables, since we obtain .
- (b)
- Suppose variables , exist such that we obtain by their identification. Also, suppose variables , exist such that we obtain by their identification; moreover, we have . Therefore, we have .
- (1)
- .Consider a set such that , for any , and a set such that , for any . Then , , , but this contradicts the monotonicity of the function f.
- (2)
- . Note that in this case .
- (2.1)
- .
- (2.1.1)
- . Consider a set such that , , for any , , and a set such that , for any . Then , , , but this contradicts the monotonicity of the function f.
- (2.1.2)
- . Then, , this contradicts our assumption.
- (2.2)
- .
- (2.2.1)
- . Then, , this contradicts our assumption.
- (2.2.2)
- .
- (2.2.2.1)
- . Then, , this contradicts our assumption.
- (2.2.2.2)
- . Consider a set such that , , for any , , and a set such that , , for any . Then, , , , but this contradicts the monotonicity of the function f.
- (2.3)
- . In the same way (2.2).
- (3)
- . In the same way (2).
Thus, for any , , , , , , there is either a contradiction with the monotonicity of the function f or with the fact that it depends essentially on n variables.
Consequently, there are variables of the function f identifying which one obtains a function that depends essentially on more than one variable. □
Now, we are ready to formulate and prove the final result.
Theorem 4
(on finite generation of classes of monotone functions containing all unary monotone functions). Let , . Then F is a finitely generated class.
Proof.
We consider four possible cases to prove this theorem:
- 1.
- Case I. , .
- 2.
- Case II. , .
- 3.
- Case III. , .
- 4.
- Case IV. , .
In Case I, we obtain a class that coincides with M. In Case II and Case III, we obtain one class that satisfies satisfies the conditions of the theorem and differs from M and . In Case IV, we have two subclasses in .
Case II. Let , .
(1) For any function the following condition holds: . In this case, a class is finitely generated.
(2) The function exists.
By Lemma 11, it is sufficient to consider (similarly, we can prove the existence by Lemma 12). By Lemma 10 we can assume , for some sets , . Hence, for function on sets , , the condition holds; therefore, sets and are incomparable. Suppose that , . Then,
Application of Lemma 4 yields , and consequently, by Lemma 3, we obtain that . Hence, .
Then, on the one hand, we have , and on the other hand, . It has been proved above that the set is precomplete in M. From this, it follows that . Case II has been considered and the theorem has been proved. □
5. Conclusions
In this paper, two theorems on the finiteness generation of classes containing precomplete classes of one-valued functions, and classes containing all monotone unary functions are proved. These results enable us to explicitly describe a class that contains a subclass of one-variable functions and provide a description of a supergroup of classes from that contains the full class of unary functions. Similar conditions were previously described for binary logic. In this paper, we present their counterpart for many-valued logic. The main challenge with many-valued logic is that we cannot explicitly describe closed classes. The only thing that can be performed is to apply certain criteria to determine whether the class is complete or not. If these criteria are met, then the class is considered to be finitely generated. It is important that these conditions can be easily verified. Specifically, this condition is expressed in terms of one-valued functions. It has been proven that all classes containing one of the precomplete classes of the set of unary functions are finitely generated. The main result of this paper consists of two theorems on the finite generation of classes containing precomplete classes of one-valued functions and classes containing all monotone unary functions. Thus, the theoretical result provides a criterion for checking the finiteness of classes of functions in multivalued logic.
The finite generation of overlattices means that we can develop consistent computation schemes that are quite useful for applications. Although this paper is rather theoretical, the results obtained here are all significant in their respective areas of study and may be applied extensively in computer science. In practice, the proved theorems mean that we can construct circuit schemes or algorithms explicitly for general cases.
Some problems remain open. On the basis of the considerations above, it is possible to construct a diagram of the inclusions of monotone classes that contain all monotone functions. It can also be proven that this inclusion diagram of monotone classes includes all unary monotone functions. For further research, we plan to consider finitely generated classes that do not contain the majority functions and a choice function. In addition, there is an example of a class whose finite generation cannot be proven via the one sufficient condition described in the first part of this paper. However, the method of modeling constants allows proving their finite generation based on the fact that a class is finitely generated.
Funding
This publication was prepared with the support of the Russian Foundation for Basic Research according to the research project No. 20-01-00575_A.
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 author declares no conflicts of interest.
References
- Bykovsky, A.Y. Heterogeneous Network Architecture for Integration of AI and Quantum Optics by Means of Multiple-Valued Logic. Quantum Rep. 2020, 2, 126–165. [Google Scholar] [CrossRef] [Scilit]
- Aizenberg, I. Multiple-Valued Logic and Complex-Valued Neural Networks. In Claudio Moraga: A Passion for Multi-Valued Logic and Soft Computing; Seising, R., Allende-Cid, H., Eds.; Springer International Publishing: Cham, Switzerland, 2017; pp. 153–171. [Google Scholar] [CrossRef] [Scilit]
- Kunze, H. Engineering Mathematics and Artificial Intelligence: Foundations, Methods, and Applications; Mathematics and Its Applications: Modelling, Engineering, and Social Sciences; CRC Press: Boca Raton, FL, USA, 2024. [Google Scholar]
- Luo, C.; Wang, H.; Zheng, Y. Controllability of k-Valued Fuzzy Cognitive Maps. IEEE Trans. Fuzzy Syst. 2020, 28, 1694–1707. [Google Scholar] [CrossRef] [Scilit]
- Kong, X.; Sun, Q.; Li, H. Survey on Mathematical Models and Methods of Complex Logical Dynamical Systems. Mathematics 2022, 10, 3722. [Google Scholar] [CrossRef] [Scilit]
- Xiaojie, W.; Chao, L.; Chen, L. The feedback stabilization of finite-state fuzzy cognitive maps. Trans. Inst. Meas. Control 2022, 44, 2485–2499. [Google Scholar] [CrossRef] [Scilit]
- Pfeifer, A.; Lohweg, V. Classification of Faults in Cyber-Physical Systems with Complex-Valued Neural Networks. In Proceedings of the 2021 26th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA), Vasteras, Sweden, 7–10 September 2021; pp. 1–7. [Google Scholar] [CrossRef] [Scilit]
- Bykovsky, A.Y. Multiple-Valued Logic Modelling for Agents Controlled via Optical Networks. Appl. Sci. 2022, 12, 1263. [Google Scholar] [CrossRef] [Scilit]
- Kalimulina, E.Y. Lattice Structure of Some Closed Classes for Three-Valued Logic and Its Applications. Mathematics 2022, 10, 94. [Google Scholar] [CrossRef] [Scilit]
- Kalimulina, E.Y. On Exponential Convergence of Dynamic Queueing Network and Its Applications. In Distributed Computer and Communication Networks; Vishnevskiy, V.M., Samouylov, K.E., Kozyrev, D.V., Eds.; Springer: Cham, Switzerland, 2020; pp. 463–474. [Google Scholar]
- Kalimulina, E.Y. Analysis of Unreliable Open Queueing Network with Dynamic Routing. In Distributed Computer and Communication Networks; Vishnevskiy, V.M., Samouylov, K.E., Kozyrev, D.V., Eds.; Springer: Cham, Switzerland, 2017; pp. 355–367. [Google Scholar]
- Bykovsky, A.Y.; Vasiliev, N.A. Data Verification in the Agent, Combining Blockchain and Quantum Keys by Means of Multiple-Valued Logic. Appl. Syst. Innov. 2023, 6, 51. [Google Scholar] [CrossRef] [Scilit]
- Kalimulina, E.Y. Lattice Structure of Some Closed Classes for Non-binary Logic and Its Applications. In Mathematical Methods for Engineering Applications; Yilmaz, F., Queiruga-Dios, A., Santos Sánchez, M.J., Rasteiro, D., Gayoso Martínez, V., Martín Vaquero, J., Eds.; Springer: Cham, Switzerland, 2022; pp. 25–34. [Google Scholar]
- Kalimulina, E.Y. Application of Multi-Valued Logic Models in Traffic Aggregation Problems in Mobile Networks. In Proceedings of the 2021 IEEE 15th International Conference on Application of Information and Communication Technologies (AICT), Baku, Azerbaijan, 13–15 October 2021; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
- Cheng, D.; Feng, J.e.; Zhao, J.; Fu, S. On adequate sets of multi-valued logic. J. Frankl. Inst. 2021, 358, 6705–6722. [Google Scholar] [CrossRef] [Scilit]
- Cheng, D.; Liu, Z.; Qi, H. Completeness and normal form of multi-valued logical functions. J. Frankl. Inst. 2020, 357, 9871–9884. [Google Scholar] [CrossRef] [Scilit]
- Malkov, M.A. Algebra of Finite-Valued Functions: Classification of Functions and Subalgebras, Essential and Fictitious Subalgebras. Pure Appl. Math. J. 2019, 8, 30–36. [Google Scholar] [CrossRef] [Scilit]
- Ding, X.; Li, H. Stability analysis of multi-valued logical networks with Markov jump disturbances. Int. J. Control 2022, 95, 554–561. [Google Scholar] [CrossRef] [Scilit]
- Xu, N.; Chen, Y.; Xue, A.; Zhao, X.; Sun, P. Set stabilization and optimal control of switched multi-valued logical control networks with state-dependent switching signals. IEEE Trans. Circuits Syst. II Express Briefs 2020, 68, 1952–1956. [Google Scholar] [CrossRef] [Scilit]
- Yablonskiy, S.; Gavrilov, G.; Kudryavtsev, V. Logical Algebra Functions And Post Classes; Nauka: Moscow, Russia, 1966. [Google Scholar]
- Parhami, B.; McKeown, M. Arithmetic with binary-encoded balanced ternary numbers. In Proceedings of the 2013 Asilomar Conference on Signals, Systems and Computers, Pacific Grove, CA, USA, 3–6 November 2013; pp. 1130–1133. [Google Scholar] [CrossRef] [Scilit]
- Post, E.L. Introduction to a General Theory of Elementary Propositions. Am. J. Math. 1921, 43, 163–185. [Google Scholar] [CrossRef] [Scilit]
- Post, E.L. The Two-Valued Iterative Systems of Mathematical Logic. (AM-5); Princeton University Press: Princeton, NJ, USA, 1941. [Google Scholar]
- Yanov, Y.I.; Muchnik, A. The Existence of a k-Valued Closed Class that Has No Finite Basis. Doklady Akad. Nauk SSSR 1959, 127, 44. [Google Scholar]
- Esin, A.; Yavorskiy, R.; Zemtsov, N. Brief Announcement Monitoring of Linear Distributed Computations. In Distributed Computing; Dolev, S., Ed.; Springer: Berlin/Heidelberg, Germany, 2006; pp. 566–568. [Google Scholar]
- Podol’ko, D.K. A family of classes of functions closed with respect to a strengthened superposition operation. Mosc. Univ. Math. Bull. 2015, 70, 79–83. [Google Scholar] [CrossRef] [Scilit]
- Starostin, M.V. Implicitly Maximal Classes and Implicit Completeness Criterion in the Three-Valued Logic. Mosc. Univ. Math. Bull. 2018, 73, 82–84. [Google Scholar] [CrossRef] [Scilit]
- Kalimulina, E.Y. Mutual Generation of the Choice and Majority Functions. In Mathematical Methods for Engineering Applications; Yilmaz, F., Queiruga-Dios, A., Martín Vaquero, J., Mierluş-Mazilu, I., Rasteiro, D., Gayoso Martínez, V., Eds.; Springer: Cham, Switzerland, 2023; pp. 49–57. [Google Scholar]
- Burle, G. Classes ofk-valued logic containing all functions of a certain variable. Diskretn. Anal. 1967, 10, 3–7. [Google Scholar]
- Posypkin, M.A. On closed classes containing precomplete classes of the set of all one-place functions. Mosc. Univ. Math. Bull. 1997, 52, 58–59. [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 author. 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/).