1. Introduction
The main focus of this paper is the production of polynomial automorphisms, which are able to be used to generalize fuzzy connectives. Achieving this is important because of the crucial role that fuzzy connectives play in the fields of fuzzy logic and, consequently, artificial intelligence [
1]. To be more specific, the above-mentioned fields will benefit from advancements in the study of fuzzy connectives, like the one presented in this paper, as they make possible further developments and optimizations. In order to further understand the significance of fuzzy connectives, the following paragraphs present the history of the field through the most-notable published research.
The study of fuzzy connectives started with the publication of the paper “Statistical metrics” by Menger [
2], which used the concept of t-norms for the first time. Then, the field progressed with the work of Schweizer B.and Sklar A. [
3] which spanned several years. Specifically, publications in 1958, 1960, 1961, and 1983 defined the theorems of ordinary rules and documented their findings. The work of Schweizer B. and Sklar A. was built upon by Ling C.H. [
4], who, in 1965, determined the Archimedean t-norms. In 1979, Frank M.J. [
5] expanded upon the previous research by defining the parameterized families of t-norms. However, the progress did not stop, as Navara M. [
6] in 1999, Gottwald S. [
7] in 2000, and Klement E.P. [
8] in 2001 proposed the strategy of generating t-norms via automorphism and additive generative functions. Modus ponens and tollens were discovered in 2004 by Kerre E. et al. [
9]. In the same year, Kerre E. and Nachtegael M. [
10] defined the fuzzy mathematical morphology. Four years later, in 2008, the implications of various properties were found by Trillas E. et al. [
11].
However, previously, in 2006, Bustince H. et al. [
12] published a work on fuzzy measures and image processing. Thereafter, Baczyński M. and Jayaram B., as well as Mas M. et al. [
13,
14], in 2007, crafted a method that generates (S,N)-implications. A strategy for creating R-implications was invented by Fodor J.C. and Roubens M. [
15], in 1994. The generation of QL- and D-operations constituted the main objective of the process published by Mas M. et al. [
16] in 2006. In 2004, the problem of generating f- and g-implications was tackled by Yager R.R. [
17]. Finally, in 2012, Callejas C. et al. [
18] proposed a method that creates any fuzzy implication.
For a decade, from 2012 to 2021, there was little to no further research about the subject of fuzzy connectives. Nonetheless, in 2022, Makariadis S. and Papadopoulos B. [
19] published the paper titled “Generalization of Fuzzy Connectives”, which brought the focus back to the field. This new development motivated the creation of this paper as a proof that the interest brought to the field by the 2022 paper was not temporary, but rather, the beginning to a series of new discoveries. So, the main goal of this work is to prove that the study of fuzzy connectives is not complete by developing a new method of generalizing fuzzy connectives. The conclusions drawn from the research presented in this paper are multiple. To be more specific, the field of the generalization of fuzzy connectives is proven to be still active, evidenced by the creation of a new method of generalizing fuzzy connectives that provides more flexibility and usability in comparison with established methods. Furthermore, it was concluded that other fields can be used in combination with fuzzy logic to create new tools and, finally, that automation paired with fuzzy logic can offer significant time savings gains. Finally, it is important to mention that the structure of the paper is as follows:
Introduction: In this section, a brief presentation of the research included in this paper takes place. Furthermore, the history, as well as the state of the paper’s field are explored.
Preliminaries: In this section, the main concepts necessary for the understanding of the paper are defined.
Materials and Methods: In this section, the methods and strategies followed in the paper are explained in detail before being mathematically proven.
Results: In this section, the results of the paper are presented.
Discussion: In this section, the results of the paper are discussed and interpreted from the perspective of previous studies.
Conclusions: In this section, the conclusions drawn from the whole paper are presented.
3. Materials and Methods
As mentioned in the above segments, this paper is focused on the creation of automorphisms that can be used to generalize fuzzy connectives. The generalization of fuzzy connectives using automorphisms was achieved with the use of one of the following equations:
The process of generalization, as displayed above, (
1)–(
4), involves the use of an automorphism and a fuzzy connective. In [
19], the approach of using different fuzzy connective families in conjunction with basic automorphisms was used to achieve generalization. This paper, however, explores the prospect of pairing well-known fuzzy connectives with polynomial automorphisms instead of basic ones.
The reason that moved the paper towards this direction is, firstly, that the fuzzy connective part of the equations has already been researched in regard to generalization and, secondly, the fact that the need for new automorphisms cannot be satisfied by the limited number of practical basic automorphisms (
Figure 1). To be more specific, it is not a viable solution to expand further than a few degrees of the mentioned automorphisms, as doing so would lead to computationally intensive and complex scenarios. As a result, the need for new practical automorphisms remains unaddressed, and a task is accomplished in this paper by the use of polynomial automorphisms.
However, currently, there are no appropriate automorphisms for use in the generalization of fuzzy connectives. So, before implementing the new strategy, it was necessary to craft a procedure for generating the necessary polynomial automorphisms. The main problem that was encountered by pursuing this endeavor is the fact that it is notoriously difficult to develop new automorphisms, with the task becoming even more complex when fuzzy logic is involved as the new polynomial functions must not only satisfy the automorphism criteria, but also the restrictions of fuzzy logic.
The problem was addressed by the composition of an algorithm that using numerical analysis methods generates the needed polynomial automorphisms. The algorithm is described in Theorem 1:
Theorem 1. Three abscissas are chosen from : .
Let be an automorphism function with the formula: .
The corresponding ordinates are calculated with f: , , .
The Lagrange interpolation formula:for the generation of second-degree polynomials is used. The result is the generation of a second-degree polynomial with the formula: Let be a function with the formula: .
Then, φ is an invertible automorphism function.
As is visible in Theorem 1, the algorithm responsible for the generation of the polynomial automorphisms has multiple steps. However, before explaining them, it was deemed necessary to highlight a key decision that shaped the final result.
The decision mentioned was about the degree of the generated polynomial. To be more specific, in this paper, the generation of second-degree polynomials was pursued because a major focus was given to the production of new automorphisms that can replace the basic ones while bypassing problems like complexity and computational resources, which plague higher degrees. However, it is important to note that, according to the results that the current strategy presents, the generation of higher-degree polynomials appropriate for fuzzy connective generalization is possible. This direction will be further explored in the “Discussion” Section of this paper.
The explanation of Theorem 1 begins with the choice of three abscissas. These values are utilized by the function f, which calculates the corresponding ordinates, leading to the creation of a set of three points. The choice of the function f is crucial to the success of this endeavor because it influences the properties of the produced polynomial. The main point of interest regarding those properties is the fact that the generated polynomials must satisfy the automorphism criteria for use in fuzzy logic. One of the criteria is the fact that the polynomial must cross the points (0,0) and (1,1). The result drawn from this realization is dual. Firstly, two of the three abscissas must be set to 0 and 1, so that the above-mentioned points can be realized. At this point, it is important to mention that the abscissa of the third point is a parameter with a value between 0 and 1 (as this is the interval to which fuzzy logic is applied). Secondly, a function f must be selected so that it can return the appropriate ordinates and complete the creation of the points. The crossing of these two points by the polynomial is guaranteed by the Lagrange interpolation, which produces polynomials that cross all the points that are given as an input and, consequently, crossing (0,0)–(1,1).
When researching functions that would be applicable for this use, the goal was to pinpoint a function that not only satisfied the above limitations, but had a power approximating the degree of the polynomial. In the beginning, the use of the function among other low-degree basic automorphisms was considered. However, the use of these functions was found to be problematic, as for particular values of the third abscissa, the polynomials they generated were basic automorphisms. As a result, the function was selected for the role of f. This decision was based on the fact that this function has a power that approximately is the nearest to a second-degree polynomial function while providing acceptable and consistent results.
Finally, the points are replaced to the Lagrange interpolation formula for second-degree polynomials, and a general automorphism is generated that includes the third abscissa value as a parameter. Furthermore, the generated automorphism is invertible, and as a result, it can be used for the generalization of fuzzy connectives. The innovative aspect of the automorphism-generation strategy presented in this paper is the fact that every value of the parameter can produce a unique invertible automorphism and, consequently, provide an infinite number of generalized fuzzy connectives. The proof of Theorem 1 is the following:
Proof of Theorem 1. Let be an automorphism function with the formula: .
Three abscissas are chosen from : .
The corresponding ordinates are calculated with f: , , .
The points generated are replaced in the Lagrange interpolation (
5), and the polynomial (
6) is constructed:
Let
be a function with the formula:
where D is the discriminant of the equation
.
□
The graph of the generalized automorphism functions
,
and their symmetry are shown in
Figure 2,
Figure 3 and
Figure 4, when a parameter
.
As mentioned at the start of this section, in this paper, the method of using polynomial automorphisms instead of basic ones for the generalization of fuzzy connectives is proposed. So, after proving the polynomial-automorphism-generation strategy, the main problem hindering the implementation of the new generalization method is resolved. Even though the new strategy generates polynomials that satisfy every criteria for use in the generalization of fuzzy connectives, it was deemed important to validate this statement. The simple use of the new polynomial automorphism in the generalization process would see the replacement of the parameter in Theorem 1 with a value and, then, the utilization of the result in one of (
1)–(
4). However, an example like this is too simple to present in this paper. As a result, the more-interesting Examples 1–4 were created. In each of these examples, a fuzzy connective generator is presented. To be more specific, each generator utilizes the polynomial automorphism general formula (with the parameter) in order to generalize an indicative fuzzy connective from each of the four categories of fuzzy connectives as the proof of the polynomial’s effectiveness. The result of each generator is the generalized formula of the input fuzzy connective with a parameter that can take infinite values between 0 and 1 and, as a result, produce an infinite amount of generalized fuzzy connectives. The interesting aspect of these generators is that an infinite number of generalized fuzzy connectives can be generated from a single fuzzy connective input by simply replacing the parameter’s value.
In Example 1, a natural negation is used as the input fuzzy connective during the generalization process. It is important to note the fact that the natural negation can be replaced only by other strong negations, and the current choice serves only the purpose of presenting the capabilities of the proposed direction.
Example 1. Let be a function with Formula (
7).
Let be the inverse function of φ with Formula (
8).
Let be a strong (natural) negation .
Then, there is a function with the formula:where is a parameter with values ranging in the interval . Indeed,
utilizing Theorem 1 of [
19]
, the formula is applied. Then, Equations (
7) and (
8)
, as well as the (natural) negation are replaced in the formula:where is a parameter with values ranging in the interval . The graph of the generalized strong negation
when a parameter
shown in the
Figure 5.
In Example 2, the minimum t-norm is used as the input fuzzy connective. In this generator configuration, the minimum t-norm can be replaced only by other t-norms.
Example 2. Let be a function with Formula (
7).
Let be the inverse function of φ with Formula (
8).
Let be a t-norm with the formula: .
Then, there is a function with the formula:where is a parameter with values ranging in the interval . Indeed,
utilizing Theorem 2 of [
19]
, the formula is applied. Then, Equations (
7)
and (
8)
, as well as the t-minimum-norm are replaced in the formula: where is a parameter with values ranging in the interval .
The graph of the generalized t-norm
when a parameter
shown in the
Figure 6.
In Example 3, the maximum S-conorm is used as the input fuzzy connective. In this generator configuration, the maximum S-conorm can be replaced only by other S-conorms.
Example 3. Let be a function with Formula (
7).
Let be the inverse function of φ with Formula (
8).
Let be a S-conorm with the formula: .
Then, there is a function with the formula:where is a parameter with values ranging in the interval . Indeed,
utilizing Theorem 3 of [
19]
, the formula is applied. Then, Equations (
7) and (
8)
as well as the S-conorm are replaced in the formula: where is a parameter with values ranging in the interval .
The graph of the generalized s-conorm
when a parameter
shown in the
Figure 7.
In Example 4, the Łukasiewicz I-implication is used as the input fuzzy connective. In this generator configuration, the Łukasiewicz I-implication can be replaced only by other I-implications.
Example 4. Let be a function with Formula (
7).
Let be the inverse function of φ with Formula (
8).
Let be a Łukasiewicz I-implication with formula: .
Then, there is a function with the formula:where is a parameter with values ranging in the interval . Indeed,
utilizing [
27]
, the formula is applied. Then, Equations (
7) and (
8)
, as well as the I-implication are replaced in the formula: where is a parameter with values ranging in the interval .
The graph of the generalized I-implication
when a parameter
shown in the
Figure 8.
As it is apparent from the above examples, the strategy of using polynomial automorphisms for the generalization of fuzzy connectives is a multistage and technical procedure. So, in this paper, mathematical modeling was employed for the purpose of automating the theorems as an efficient, reliable, and practical tool that streamlines the whole process from start to finish. In order to achieve this goal, two different paths during the development of the tool were taken. To be more specific: the tool was coded in two different programming languages and philosophies, which, even though they provide the same end results, prioritize different aspects.
The first version of the tool was coded in the programming language “MATLAB” using the version 2021b of the product “MATLAB”, which is distributed by the company MathWorks. Before explaining the mentioned code, it is important to state that it has been saved in a public repository and is accessible at
Supplementary Materials.
The complexity and size of the code may be a problem for researchers that are not familiar with computer programming. As a result, it was deemed necessary to provide a simpler and more-accessible version of the project written in pseudo code.
The pseudo code version of the “MATLAB” script in steps is given as follows:
Step 1: Create the points that will be used in the Lagrange interpolation as X and Y vectors;
Step 2: Implement the Lagrange interpolation algorithm;
Step 3: Display the messages to the user regarding the results of Step 2;
Step 4: Create and display the Lagrange interpolating polynomial;
Step 5: Display the automorphism properties to the user for the verification of its validity;
Step 6: Create and display of the inverse Lagrange interpolating polynomial;
Step 7: Plot the polynomial automorphism and its inverse;
Step 8: Display the generalization menu to the user;
Step 9: Generalize and plot the chosen fuzzy connective.
Since the basic structure of the script has been presented, in the following paragraphs, a more-detailed explanation of the procedures and user interface used is give. Moreover, the instructions for the proper use and modification of the code are given so other researchers can maximize the utility of the research presented in this paper.
The code has a very simple, yet practical user interface. Firstly, upon running the program, the user will be requested to input a float number between the numbers 0 and 1. If the input code is not valid, the program will not continue and the process will be repeated until the user provides the expected values. When this happens, the code automatically starts the implementation of Theorem 1 by creating the set of points that will be used in the Lagrange interpolation. Then, the Lagrange interpolation is executed. The code snippet responsible for the code implementation of the Lagrange interpolation was retrieved from [
28]; however, it has been modified to fit the goals and practices of this study. The output of the interpolation is a vector, which includes the coefficients of the generated second-degree polynomial. This vector is displayed to the user among the abscissas and ordinates of the points used in the Lagrange interpolation. Then, using the tools of the MATLAB environment, the vector is converted into a symbolic function that houses the automorphism function. Afterwards, the automorphism properties of the polynomial are displayed, which include the calculation and plotting of the derivative of the polynomial. Furthermore, the inverse of the polynomial automorphism is calculated, and it is plotted with the polynomial.
At this point, the user is met with a menu of options regarding the generalization of fuzzy connectives. Specifically, the user has to choose between the generalization of one of the four categories of fuzzy connectives or the termination of the program. As before, any invalid input of the user will lead to a repeat of the process. If one of the four categories of fuzzy connectives is chosen, the program creates an indicative fuzzy connective as in Examples 1, 2, 3, and 4 and stores it in a symbolic function. It is important to highlight that the fuzzy connectives that are used can be replaced by any other compatible fuzzy connective, with the choice presented in this paper being made for illustration purposes. Any researcher that is interested in using the tool can easily change the input fuzzy connective from the source code (the lines that the user can modify are pointed out with comments inside the code, e.g., line 83). Then, the appropriate formula for the generalization of fuzzy connectives via automorphisms is used in combination with the generated polynomial automorphism, its inverse, and the fuzzy connective. The generated connective is displayed and plotted either as a regular plot or as a 3D plot depending the fuzzy connective category.
The main philosophy of this approach is the fact that the code simplifies the process of the generalization of fuzzy connectives and guides the user throughout it. To be more specific, the user will generate a specific automorphism and, gradually, without any effort, will be provided with all the necessary information regarding the specific generalization that he/she intends to realize.
The second version of the tool was coded in the programming language “Wolfram Language” using the version 12 of the product “WOLFRAM MATHEMATICA”, which is distributed by the company “WOLFRAM”. The code is also available at
Supplementary Materials. The main philosophy of the approach taken in this code is the visualization of the research presented in this paper and not the creation of a streamlined process. The motivation behind the development of this project was the creation of a tool capable of providing a visual representation of the paper’s research that can be used and understood by any reader regardless of background. In order to achieve this, the program was divided into two independent sections, one focused on the presentation of the generated polynomial automorphisms and the other on the presentation of the generalized connectives.
In the first section, the code utilizes the general formulas (
7 and
8, respectively) of the polynomial automorphism and its inverse as they were defined by Theorem 1 in order to create the respective plots. However, the program does not simply display the plots of these functions, as a more-elaborate user interface has been created. To be more specific, the plots have been labeled with the functions they represent and categorized into an easy-to-understand menu. Furthermore, each graph has its own unique color and a separate box that displays the specific function formula generated with every
value.
is defined by the user with the help of a slider, which simplifies the process even more. Moreover, a set of controls was implemented in the code that give the user the ability to influence the
slider in multiple ways. For example, the user may choose to replace automatically different
values in order to see the deviations between the unique generated polynomials. Finally, the menu presents the option of plotting the two functions on the same axis with all the above options being available.
In the second section, the code utilizes the generalized parametric Formulas ((
9), (
10), (
11), and (
12), respectively) as defined by Examples 1–4 in order to create the respective plots. The generalized parametric formulas used can be replaced by the generalized parametric formulas of any other compatible fuzzy connective, with the choice presented in this paper being made for illustration purposes. If a researcher wants to utilize the tool in order to visualize his/her own generalized fuzzy connective, he/she can follow the steps presented in the above-mentioned examples with the fuzzy connective of his/her choice in order to create the appropriate generalized fuzzy formula. The user interface and the various features of the program are the same as the above code, with the difference being that the majority of the plots are 3D and, as a result, were graphed in a different environment using the same color for visualization purposes.Finally, a third Mathematica script was created that was used to generate
Figure 1, which displays the basic automorphism functions.