Comprehensive Fuzzy Turing Machines, An Evolution to the Concept of Finite State Machine Control
Najmeh Ahang, Amin Torabi Jahromi, Mansour Doostfatemeh

TL;DR
This paper introduces the Comprehensive Fuzzy Turing Machine (CFTM), an improved and more complete model that addresses vagueness and multi-path issues in fuzzy computation, enhancing its theoretical foundation and practical applicability.
Contribution
It develops a new definition of Fuzzy Turing Machines inspired by General Fuzzy Automata, resolving key weaknesses and vagueness in conventional models.
Findings
CFTM encompasses the conventional FTM definition.
Addresses membership assignment and multi-membership resolution.
Demonstrates simplicity and efficiency through an example.
Abstract
The Turing machine is an abstract concept of a computing device which introduced new models for computation. The idea of Fuzzy algorithms defined by Zadeh and Lee was followed by introducing Fuzzy Turing Machine (FTM) to create a platform for a new fuzzy computation model. Then, in his investigations on its computational power, Wiedermann showed that FTM is able to solve undecidable problems. His suggested FTM structure, which highly resembles the original definition was one of the most well-known classical definitions of FTM lately.To improve some of its weaknesses and vague points which will be discussed extensively in this paper, we will develop a more complete definition for fuzzy Turing machines. Our proposed definition of FTM, which encompasses the conventional definition, is motivated from the definition of General Fuzzy Automata (GFA) introduced by Doostfatemeh and Kremer. As it…
| time | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| input | a | b | c | |
| mv | 1 | 0.55 | 0.325 | 0.3625 |
| Symbol to Write (output) | - | x | y | z |
| Direction | - | R | R | L |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Algebra and Logic · semigroups and automata theory · Computability, Logic, AI Algorithms
\settimeformat
ampmtime
Comprehensive Fuzzy Turing Machines, An Evolution to the Concept of Finite State Machine Control
Najmeh Ahang, Amin Torabi Jahromi, and Mansour Doostfatemeh Amin Torabi Jahromi is with the Department of Electrical and Computer Engineering, Persian Gulf University, Bushehr, Iran, e-mail: [email protected] Ahang and Mansour Doostfatemeh are with the Department of Mathematics, Shiraz University, Shiraz, Iran e-mail: {najmeh.ahang,dfatemeh}@shirazu.ac.ir
Abstract
The Turing machine is an abstract concept of a computing device which introduced new models for computation. The idea of Fuzzy algorithms defined by Zadeh and Lee [7] was followed by introducing Fuzzy Turing Machine (FTM) to create a platform for a new fuzzy computation model [10]. Then, in his investigations on its computational power, Wiedermann showed that FTM is able to solve undecidable problems [11]. His suggested FTM structure, which highly resembles the original definition was one of the most well-known classical definitions of FTM lately.
To improve some of its weaknesses and vague points which will be discussed extensively in this paper, we will develop a more complete definition for fuzzy Turing machines. Our proposed definition of FTM, which encompasses the conventional definition, is motivated from the definition of General Fuzzy Automata (GFA) introduced by Doostfatemeh and Kremer [3]. As it improved the conventional definition of fuzzy automata, especially the problem of membership assignment and multi-membership resolution, we also improved the same aspects of FTM through the definition of Comprehensive Fuzzy Turing Machine (CFTM). In addition, we address on some possible vaguenesses in FTM was not the subject of focus in fuzzy automata. As example, we investigate the issue of multi-path and multi-direction which are possible in case of non-determinism. Finally, we show the simplicity, applicability and computational efficiency of the CFTM through an explanatory example.
Index Terms:
General Fuzzy Automata, Comprehensive Fuzzy Turing Machine, Multi-membership Resolution, Multi-direction Resolution, Multi-symbol Resolution
I Introduction
Incorporation of Fuzzy sets concepts in various branches of science and technology has led to their applicability and flexibility. Although the computational complexity has increased, the results has become more accurate and closer to the real world application requirements. In computer science, the combination of fuzzy logic and computational systems has resulted to new more effective and complex computational methods. Fuzzy automata was the result of incorporation of fuzzy logic into automata theory. Another computational concept which was introduced and well developed in past decades was Turing Machine (TM) followed by its fuzzy counterpart, Fuzzy Turing Machine (FTM). Alen Turing introduced the concept of TM with the claim that it is as powerful as the human mind. Years later following the introduction of Fuzzy Turing Machine (FTM) and investigation of its computational power, Wiedermann showed that FTM is much more powerful than classical TM, and claimed that FTM has unique capabilities such as modeling and solving undecidable problems [11]. This fact reaffirms the new capabilities of FTM through which many fuzzy algorithms are implementable and many fuzzy languages are accepted. However, recent investigations introduced some languages which was not possible to be accepted by an FTM with its current form of definition [5]. From there, Gerla concludes that conventional FTM is not eligible to be Universal Fuzzy Turing Machine [11],[5].
Wiedermann claimed that the conventional fuzzy Turing machine to be capable of accepting Recursive Enumerable (R.E.) sets and co-R.E. sets [11, 12]. He also concluded that these machines are able to solve the halting problem. In [2], the Wiedermann’s above statement is investigated by Bedregal and was proved that is not completely correct. He then gave a characterization of the class of R.E. sets in terms of associated fuzzy languages accepted by fuzzy Turing machines leading to the nonexistence of a universal fuzzy Turing machine [4].
The rest of the paper is organized as follows; In the next section, we look into the definition of Wiedermann’s Fuzzy Turing Machine (FTM) as the standard classical definition of FTM. We will also study its strength and weaknesses. Then, in section. IV we will develop a more complete formulation for fuzzy Turing machines, cover those vague aspects of the conventional definitions, and propose our own definition of FTM named as Comprehensive Fuzzy Turing Machine (CFTM) which is motivated from the definition of General Fuzzy Automata (GFA). In the light of Generalized Fuzzy Automata (GFA) proposed by [3], we developed a more complete definition for two problems already existed in fuzzy Turing machines which covers those faint faces of the membership assignment and multi-membership resolution problem for the states. As a result, membership values are no longer associated with IDs and they are directly associated with states. Moreover, for each time step, these membership values are calculated based on the current membership values of states and active transitions and are assigned to the successor states. Due to nondeterminism, there is always a possibility that more than one membership values are assigned to a single state. To resolve the membership assignment problem, we defined a multi-membership resolution function similar to the one existed in the GFA definition.
However, we noticed that in FTMs, the membership assignment is not the only vague issue. Each active transition requires the machine to move its head in a specific direction and also mandates a predefined symbol to be written on the tape. Therefore, at each time step it is usually more than one symbol to be written on the tape and also more than one direction for the machine to move. Hence, in Section .IV we defined two more functions to resolve the above mentioned issues, multi-direction and multi-symbol resolution functions to decide on a single direction and a single head movement based on the weight of the active transitions and the membership values of their predecessor states. It is easy to prove that each conventional fuzzy Turing machine can be modeled in the form of the novel Comprehensive Fuzzy Turing Machine (CFTM). Lastly, some comparison on the volume of calculations on conventional FTM and the novel CFTM is performed.
II Deficiencies in Conventional FTM Definition
In conventional definition of FTM, there is a key concept called instantaneous description (ID) of FTM T working on the string at time that it is defined as “a unique description of the machine’s tape content, its state, and the position of the tape head after performing the th move on the input ”. Also, there is a function which assigns a weight in to each transition . In the 5-tuple , and are current state and next state, respectively. The symbol is the input symbol just read by the head from the tape. The symbol is the symbol which will be written on the tape by the active transition, and is the direction of head movement. Then, each ID is assigned a membership value which is calculated based on the transition weight. It means each ID has a membership value calculated from the path it is reached from the previous ID. But, how about the states? Are they assigned any membership values during the process as it was conventionally common in fuzzy automata?
In the following example we followed the calculations of a conventional FTM where the calculations are ID-based for few time steps.
Obviously, the amount of calculations are exhaustive and in case of nondeterminism, the possibility of infinite loop is high.
Example II.1**.**
In this example we investigate through calculations the amount of ID-based computations and the complexity of the conventional FTM in [11] and presented in Fig. 2. Each of the rectangles represent an ID in each time step. Due to huge amount of calculation, we stopped it after 4 time steps to save space. Yet, it is worth noting that the calculations wont be reaching to their end even after 9 time steps.
The original configuration of the tape and initial head position in Fig. 1 is:
B 0 1 0 1 B
.
The FTM T has the following details:
, , : start state, and : final state.
At time step , the input symbol is “[math]” and the machine starts at state . Therefore, there are two possible moves for the FTM finite state control; via transitions , and . Therefore the next IDs in two branches will be:
in which, machine moves to via a transition with weight and tape will be:
B 0 1 0 1 B
in which, machine moves to via a transition with weight and tape is
B 0 1 0 1 B
The calculations for the next time steps are represented in Fig. 2. It is clear that there are many time steps of calculations required for the conventional FTM. By the time all of the branches reach to Halt mode, i.e. there is no more moves possible or the string reaches to its end, the branches stop growing and the tree would be ready for truth degree calculations. By tracing each individual branches and considering the weight of each transition passed through the branch, the weight for that branch tip final ID would be determined. In case of more than one final ID, the maximum of truth degrees will determine the truth degree associated with that input string.
In conventional definition, it is only the transitions that have weights and assign membership values to the successor IDs all the way to final ID. The method of computation is very similar to transition-based method introduced in [8] and well investigated in [3]. One might address the conventional FTM method for truth degree assignment as “ID-based method”. Although the transition-based method can work well for fuzzy Turing machine realized to accept certain types of fuzzy grammars, it has some disadvantages which makes it unsuitable for many applications as its focus is mostly on the acceptor mode of FTMs. In addition to high computational load in simple FTM, as presented in Example. II.1, to study other consequences of transition-based membership, refer to [3].
Wiedermann definition of FTM operation resembles the transition-based method where only transition weights are considered in the assignment of truth degree to the final ID of FTM, and the mv’s of states are not considered and discussed.
In order to generalize the definition to an applicational one, we follow the methodology in General Fuzzy Automata (GFA) developed in [3] and incorporate a new function in the definition of conventional FTM considering both the transition weight and the mv of the predecessor state to assign membership values to the states rather than final IDs.
Introducing their GFA,␣ِDoostfatemeh and Kermer devised a method for fuzzy calculations that moved forward the fuzzy automata calculations to become best suited to practical issues [3]. As seen in natural processes, the phenomenon that occurs at a later time (time ) is affected by the steps and events that have taken place at the present time (time ). Therefore, it is reasonably expected that the goal to be achieved in the next period in a fuzzy automata would be the product of steps taken up to the present time. Precisely, in GFA, the membership value of the next state not only depends on the weight of the active transition, but also incorporates the mv of the current state as well. Hence, same method might be utilized on the conventional ID-based method in FTMs.
III State Membership Assignment in FTMs
Based on what we discussed in previous section about GFA, to assign a membership value to a next state, both mv of current state and the weight of the active transition have to be effective in mv calculations. Hence, we suggest a function which incorporates these two values to assign a membership value to the next state. There are various options for this function which can be opted based on the application. In the following, we bring some conventions to simplify the presentations.
Convention III.1**.**
refers to the unique mv of the state at time .
Convention III.2**.**
refers to the set of mv’s associated with the multi-membership state at time .
Convention III.3**.**
By successor (and predecessor) state , we mean the states which follow (or are followed by ) considering a single input symbol read from the tape at the current time.
Convention III.4**.**
In a sample FTM T,
- •
Set of states.
- •
Set of tape symbols.
- •
is the set of all transitions.
- •
is a function with the following definition: . For example, the weight of the transition () is .
Now, we define a new transition function , which is called augmented transition function, as follows:
[TABLE]
assigns to the successor state (reached from its predecessor) a value in the interval [0,1] via function defined as follows.
Definition III.1**.**
(Membership assignment function) is a mapping function which is applied via augmented transition function to assign * mv*’s to the active states.
[TABLE]
Function has two arguments as stated above:
: the mv of a predecessor; 2. 2.
: the weight of a transition.
[TABLE]
which means that the mv of the state at time is computed by function using both the mv of at time and the weight of the active transition upon input , output , and direction .
should satisfy the following requirements:
Axiom 1**.**
Axiom 2**.**
and .
It is clear that function is more flexible and applicational compared to the conventional ID-based method. It provides a more suitable platform for generalization of fuzzy computations in our version of FTM. Refer to [3] for more details and discussion on the superiority of definition.
Example III.1**.**
In Fig. 3, let . As we know, and which yields:
There are various choices for the function . However, the best strategy is always determined by the specific application. In the following, we mention just some examples as suggested in [3].
- •
- •
- •
{F_{1}}(\mu,\delta)=\left\{{\begin{array}[]{*{20}{c}}{\max(\mu,\delta)}&{t<{t_{i}}}\\ {\min(\mu,\delta)}&{t\geqslant{t_{i}}}\end{array}}\right.
- •
\begin{array}[]{*{20}{c}}{{F_{1}}(\mu,\delta)=\min\left[{1,{{({\mu^{\omega}}+{\delta^{\omega}})}^{1/\omega}}}\right]}&{\omega>0}\end{array} (Yager class of t-conorms [6])
It is obvious that ID-based membership assignment to the next configuration can be considered as a special case where . This fact, enables our version of FTM to encompass the conventional versions of FTM.
Example III.2**.**
Let us familiarize ourselves with the FTM fuzzy calculations. In this example, the deterministic FTM includes , , , start state, and . In this example, to do the states’ membership value calculations in Fig. 4 FTM, we apply .
The following table carries the simulation results for a glance.
The performed calculations to fill the above table are as follows:
At time step , (empty input), .
At time step , a,
B a b c B
[TABLE]
At time step , b,
B x b c B
[TABLE]
At time , c,
B x y c B
[TABLE]
IV Multi-Membership, Multi-Symbol, and Multi-Direction Resolution
One of the interesting issues which occurs in nondeterministic FTM, similar to its ancestor FFA, is simultaneous transitions to the same state. In previous section, we addressed the membership assignment problem, defining the function which incorporates mv of predecessor state and transition weight to calculate the membership value of the next state. Because of nondeterminism, in some cases we have several membership values to be assigned to a successor state when there are several simultaneous transitions to that state. The question is what will be the actual membership value of the next state?
For example, in Fig. 5, all states have mv’s and all transitions have weights. If we consider , then:
At , a, and original state :
[TABLE]
Again, at , a, and original state :
[TABLE]
And again, at , a, and original state :
[TABLE]
Therefore, gets activated at from three different paths with three different mv’s , while only a single mv has to be assigned to . This issue is called multi-membership problem.
To the best of our knowledge, available literature and research have no solution to characterize the operation of the FTM when it comes to multi-membership problem. Fortunately, there are methodologies in [3] for fuzzy automata to calculate the membership value of the states at time even in the existence of multi-membership value problem. The idea can be extended to FTM with some minor changes.
Motivated by the method presented in [3], we define some conventions to provide a suitable platform to resolve the multi-membership problem.
In conventional FTM, transition , includes which represents the current state, that is the incoming symbol (the symbol which is present on the current position of the tape head), which is the next state, is the output symbol which is going to be written on the tape, and is the direction of the head movement. In our proposed version of the FTM we utilize the following conventions:
Convention IV.1**.**
Set of all transitions of fuzzy Turing machine F is denoted by .
Definition IV.1**.**
(Successor set): is the set of all destination states such as in all transitions with origin like when the input symbol is .
[TABLE]
Definition IV.2**.**
(Predecessor set): is the set of all states followed by following the input symbol .
[TABLE]
Definition IV.3**.**
(Active state set) After entering input at time to the FTM, there are some states that have at least one transition directed to them on input symbol . The set of these states along with their membership values is called active state set at time which is denoted as . Note that is a fuzzy set.
Example IV.1**.**
In Fig. 5 after input ‘’ at time , can be calculated as which presents clearly a multi-membership problem.
In FTM, overlapping of transitions to state is more problematic than fuzzy automata, since it not only makes the assignment of mv to that state ambiguous, but also creates ambiguity to the decision on the direction of head movement and the symbol to be written on the tape and they have to be uniquely determined in a reasonable way.
Referring again to Fig. 5, we notice that in addition to the multi-membership value problem, we have multi-symbol and multi-direction problem to be resolved too. As an example, all three active transitions after incoming symbol ‘’, each tries to write its own suggested symbol on the tape. Hence, the problem arises that which member of the set should be written on the tape? Similarly, the movement direction of the head suggested by two of the three transitions is Right while the other tries to move the head to the Left. Again, it will require a proper judgment to be imposed to resolve the multi-direction issue. To the best of our knowledge, these above mentioned issues have never been addressed so far in literature among several available definitions.
To resolve the multi-membership, multi-symbol, and multi-direction problem, we evaluated three options for resolution methods.
1) The first resolution method is based on the conventional definition for FTM, where transition weights are involved to assign membership value to the successor IDs -very similar to transition-based membership assignment method. The main concern in this method is the final “accepting” ID membership value and not only other ID’s or states. Therefore, the path to the accepting ID is considered to evaluate the degree of acceptance, and a final decision is made in cases there are more than one path to the accepting ID. Hence, the multi-direction issues were never faced as there is only one possible path considered and a tree is formed from the machine possible movements, refer to example 2. The same problem holds for the symbol to be written on the tape, (multi-symbol problem). Another aspect of the conventional FTM calculation is the volume of calculation needed to trace each possible path from the initial to the final ID. Due to possible nondeterminism, at each branch in the automata (at least two active transitions from one state), another new truth degree calculation branch is initiated and its respective truth degree is considered as a possible candidate for the final truth degree of the input string. In this method, the truth degree assignment is performed only after each and every new path is finalized. In some cases, it takes many or even infinite calculations for a simple FTM to determine a truth degree for a string.
**2) **Core idea of the second resolution method for aforementioned issues is extracted from ambiguity removal idea discussed in [9] by Omlin. In his suggested method, when an overlapping problem is observed for a state, a new state is generated for each of the conflicting transitions, and this process is continued until there will be no two conflicting transitions directed to one single state. In practice, this resolution method causes two major problems:
- •
Generation of many new states that change the original finite control (FC) to a much more complex one. The new FC is no longer identical to the simple initial one and the original form cannot be distinguished among the numerous newly defined states. This issue is addressed well in [3].
- •
Due to considerable number of new states created by this method, it increases considerably the volume of fuzzy computations, which may lead to impracticality for large fuzzy Turing machines.
It is quite obvious that, following the above idea for FTM, a set of new tapes have to be created once a multi-symbol problem is faced. There are several issues with this method as described below:
- •
Each new tape has to be identical to original tape, but they will differ at the place that the head points to at time . From that moment on, since FTM possess new tapes to handle, the transitions of its FC have to be modified accordingly. For example, suppose there are number of tapes available at time , which mandates the FTM transitions to have input symbols. Also, suppose for a multi-symbol problem before time step , new tapes are generated. For the new FTM to manage these tapes, each transition needs to have input symbols. This implies that the FC of the FTM have to be thoroughly modified, which considerably complicates the calculations and FTM management problem. To illustrate the issue, for any instantaneous description (ID) containing a nondeterminism, one might generate a new tape so that the symbol suggested by each active transition be written on the respective new tape and the tape moves along the suggested direction for the next step. As the number of multi-symbol and multi-direction issues in FTM computations increases, it leads to numerous new tapes which may again lead to FTM blow up. Therefore, generating these tapes, managing their computations, dealing with ever-changing FC are the consequences of this solution which makes it almost impractical to implement and compute.
- •
In practice, having many new tapes generated with identical content, and moving their heads to a specified location is troublesome.
- •
From that moment onward, each tape will follow its own direction based on active transition. It simply manifolds the complexity of the multi-symbol problem.
3) In the third method, which is our novel approach, we consider a set of active transition(s) in fuzzy Turing machine at each time step. These 5-tuple transitions are composed of three parts; current and next state, symbol read and to be written on the tape, and head movement direction. Suppose that in the above mentioned set, there are more than one active transitions directed to a next state , each requires to:
1- assign a membership value,
2- determine the direction of head movement, and
3- write its own symbol on the tape.
IV-A Multi-membership Resolution
We suggest a solution to first problem using another function that we call or (multi-membership resolution function):
Definition IV.4**.**
In FTM, the multi-membership resolution function is a function which combines mv’s of an active state, and produces a unique membership value for a state to be used in the next time step. .
Similar to what we suggested for , there are some requirements that has to meet:
Axiom 3**.**
.
Axiom 4**.**
.
Axiom 5**.**
if .
There can be several options for , where the best choice have to be determined by the application under consideration. Some possible candidates are as follows [3]:
- •
Maximum multi-membership resolution:
[TABLE]
- •
Arithmetic mean multi-membership resolution:
[TABLE]
- •
Geometric mean multi-membership resolution:
[TABLE]
where is the number of simultaneous transitions from ’s to at time , and .
Example IV.2**.**
For the membership value calculations of Fig. 5, the results are gathered in a set like which illustrates a simple case of multi-membership problem. In order to resolve this issue, one can utilize an function like Arithmetic mean. Therefore, the actual membership value which will be assigned to state is calculated as:
IV-B Multi-symbol Resolution
To resolve the multi-symbol and multi-direction problem we have to consider some new conventions:
Convention IV.2**.**
Suppose is an input tape symbol at time . The active transitions are those with the form whose ’s are nonzero.
Definition IV.5**.**
( Set of pairs including current active transitions and their weights)
[TABLE]
i.e. the set of all active transitions at time step with regards to the input .
Example IV.3**.**
In the FTM depicted in Fig. 5, suppose that function be the algebraic product t-norm. The set will simply be:
[TABLE]
‘
Each of the active transitions which are members of suggests a symbol to be written on the tape. To resolve any confusion about these symbols and to agree upon a single symbol which will be written on the tape, we define a function as following:
Definition IV.6**.**
(Multi-symbol resolution function)
[TABLE]
As is clear, set of pairs of active transitions , their weights , and the membership value of their origin at time when the input symbol is read from the tape are required for calculations of the symbol to be written on the tape. The transition details are required because they include the symbol to be written on the tape and the and are needed by to determine the strength of that transition. For the sake of simplicity, let us limit the criterion for choosing the symbol and the direction to be only based on of each transition. But, the method is open for further modifications in cases when needs to be independent of .
There can be several options for , where the best choice have to be determined by the application. Some possible candidates might be as follows:
- •
The symbol in the active transition with maximum weight represented in Eq.11.
{strip}
[TABLE]
In case of equal weights, one might select the suggestion of the transition with maximum membership value of its respective predecesor.
- •
The symbol in the active transition set with maximum scalar cardinality - sigma-count - of membership values of transitions (summation of the weight of transitions that suggest that specific symbol) represented in Eq.12.
{strip}
[TABLE]
- •
The symbol in the active transition set with maximum cardinal (number of the transitions that suggest the specific symbol) represented in Eq.13.
{strip}
[TABLE]
IV-C Multi-direction Resolution
Each of the active transitions which are members of suggests a symbol to be written on the tape as well as requiring the tape head to move along an specific direction. To resolve any confusion about the head’s direction and to decide on one single direction among many, we define a function as following:
Definition IV.7**.**
(multi-direction resolution function)
[TABLE]
As is clear from above definition, set of pairs of active transitions , their weights , and the membership value of their origin at time when the input symbol is read from the tape () are incorporated by to choose a direction for head movement. The rest of the details are identical to .
There can be several options for , where the best choice have to be determined by the application. Some possible candidates are as follows:
- •
The direction in the active transition with maximum weight represented in Eq.15.
{strip}
[TABLE]
In case of equal weights, one might select the suggestion of the transition with maximum weight of its respective predecesor.
- •
The direction in the active transition set with maximum scalar cardinality - sigma-count - of membership values of transitions (summation of the weight of transitions that suggest that specific direction) represented in Eq.16.
{strip}
[TABLE]
- •
The direction in the active transition set with maximum cardinal (number of the transitions that suggest the specific direction) represented in Eq.17.
{strip}
[TABLE]
V Comprehensive Fuzzy Turing Machine
Based on the discussions of the issues of the conventional FTM and the presented solutions for each issue, it is the time to define complete version of CFTM:
Definition V.1**.**
(Comprehensive Fuzzy Turing Machine, CFTM)
A Comprehensive Fuzzy Turing Machine is a single tape 4-tuple fuzzy Turing machine M denoted as which are defined as follows:
- •
T is the conventional fuzzy Turing machine which includes:
- –
is the finite set of states.
- –
is the finite set of tape symbols to be printed on the tape that has a leftmost cell, but it is unbounded to the right.
- –
is the set of possible head movement directions.
- –
is the set of input symbols; .
- –
is is the next-move relation which is a subset of . For each possible move of F there is an element with . That is, if the current state is and the tape symbol scanned by the machine’s head is ; F will enter the new state , the new tape symbol will rewrite the previous symbol , and the tape head will move in direction .
- –
is the blank symbol.
- –
is the set of start states.
- –
is the set of final states.
- •
F is the set of functions which includes:
- –
is the mapping function which is applied via to assign mvs to the active states, thus called membership assignment function.
- –
is the augmented transition function. Please refer to section III for more details.
- –
is a multi-membership resolution function which resolves multi-membership active states and assigns a single mv to them, thus called multi-membership resolution function.
- –
is multi-symbol resolution function of the tape symbols to be printed on the tape during the FTM computations. assigns a single selected symbol to be printed on the tape at time . is the set of current active transitions.
- –
is multi-direction resolution function of the head movements during the FTM computations. determines a single direction for the head of the FTM tape to move at time .
- •
is a function that assigns transition weight in to each transition.
- •
is the array of states membership values.
Conventionally, each FTM comes with its view on the concept of instantaneous description of the machine. In the definition below, the ID for our novel machine is presented:
Definition V.2**.**
Instantaneous Description (ID) of Comprehensive Fuzzy Turing Machine (CFTM) M working on the string at time represented as is defined as a unique description of the machine’s tape, a vector of membership values of all CFTM states, and the position of the machine’s head after performing the -th move on the input .
Definition V.3**.**
(Acceptance)
A string is said to be accepted by a CFTM if and only if the membership value of at least one final state is not zero after the machine halts. Otherwise, the string is a member of a language which is not supported by the Turing machine. The membership value of the final state is considered as “Truth Degree” or “Acceptance Degree” of that string processed by the CFTM.
**Notice: ** In cases that there are more than one final state with nonzero membership values, the multi-membership resolution is required again to determine the acceptance degree. The same conditions and definitions for is required or one might simply use the same in CFTM.
Example V.1**.**
An explanatory example of the computations of the CFTM of Fig. 6 comes here. The CFTM M includes:
, , , start state, . Also, suppose that the FTM starts with the state with membership value . , , and and are symbol and direction with maximum cardinalities, respectively.
At time the ID of the CFTM, , is:
, tape state:
B 0 1 1 0 B
Head position is at cell -hypothetically the tape cells are numbered from 0.
The symbol read from the tape is “[math]”.
[TABLE]
Next head movement direction: , and the symbol written on the tape: [math]
No state requires multi-membership resolution.
At time the ID of the CFTM, , is:
, tape state:
B 0 1 1 0 B
Head position is at cell , and the symbol read from the tape is “”. Next head movement direction: , and the symbol written on the tape:
No state requires multi-membership resolution.
At time the ID of the CFTM, , is:
, tape state:
B 0 1 1 0 B
Head position is at cell , and the symbol read from the tape is “”.
[TABLE]
Next head movement direction: , and the symbol written on the tape:
There are some states that require multi-membership resolution:
For , there are two membership value candidates:
For , there are two membership value candidates:
For , there are two membership value candidates:
At time the ID of the CFTM, , is:
, tape state:
B 0 1 1 0 B
Head position is at cell and the symbol read from the tape is “[math]”.
[TABLE]
Next head movement direction: , and the symbol written on the tape: [math]
There are some states that require multi-membership resolution:
For , there are two membership value candidates:
For , there are three membership value candidates:
For , there are two membership value candidates:
For , there are three membership value candidates:
For the next time step:
, and tape state for the next time step:
B 0 1 1 0 B
.
As we reached the end of string here, the CFTM enters the halt mode. It means the machine no longer works and the above configuration, is actually the Final ID. To determine whether the string “” is accepted, we refer to the membership value of the final states, i.e. , , and in the final ID, . The calculated membership values for these states at final ID are . To assign a truth degree to the input string, again we face the multi-membership problem. Referring to the definition V.3, we might utilize the same definition for used throughout the calculations to resolve multi-membership problem for the acceptance degree. Therefore, the calculated “Acceptance Degree” of the string “” in CFTM M will be .
Our suggested algorithm of CFTM computations is as presented in Algorithm. 1. Also, we made the source code for computing CFTM is available in Python which can be found in [1].
VI Conclusion
In this paper, we instigated the conventional definition of FTM for their benefits and weaknesses. We noticed that the membership assignment is performed ID-based. In the light of General Fuzzy Automata (GFA) proposed by [3], we developed a more complete definition for two problems already existed in fuzzy Turing machines which covers those vague aspects of the membership assignment and multi-membership resolution issue. we noticed that in FTMs, the membership assignment is not the only vague issue. Each active transition requires the machine to move its head in a specific direction and also mandates a predefined symbol to be written on the tape. Therefore, at each time step it is usually more than one symbol to be written on the tape and also more than one direction for the machine to move. Hence we defined two more functions to resolve the above mentioned issues, multi-direction and multi-symbol resolution functions to decide on a single direction and a single head movement based on the weight of the active transitions and the membership values of their predecessor states. It is easy to prove that each conventional fuzzy Turing machine can be modeled in the form of the novel Comprehensive Fuzzy Turing Machine (CFTM).
Lastly, using an example, some comparison on the volume of calculations on conventional FTM and the novel CFTM is performed. It is clear that the CFTM significantly reduces the amount of computations required for fuzzy Turing machine.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Najmeh Ahang. Fuzzy Turing Machine and Its Capabilities . Shiraz University Publications, 2018.
- 2[2] Benjamín Callejas Bedregal and Santiago Figueira. On the computing power of fuzzy turing machines. Fuzzy Sets and Systems , 159(9):1072–1083, 2008.
- 3[3] Mansoor Doostfatemeh and Stefan C. Kremer. New directions in fuzzy automata. International Journal of Approximate Reasoning , 38(2):175–214, February 2005.
- 4[4] Hadi Farahani. Meta-type fuzzy computations and fuzzy complexity. Journal of Intelligent & Fuzzy Systems , 34(1):81–92, 2018.
- 5[5] Giangiacomo Gerla. Fuzzy turing machines: Normal form and limitative theorems. Fuzzy Sets and Systems , 333:87–105, 2018.
- 6[6] George Klir and Bo Yuan. Fuzzy sets and fuzzy logic , volume 4. Prentice hall New Jersey, 1995.
- 7[7] Edward T Lee and Lotfi A Zadeh. Note on fuzzy languages. In Fuzzy Sets, Fuzzy Logic, And Fuzzy Systems: Selected Papers by Lotfi A Zadeh , pages 69–82. World Scientific, 1996.
- 8[8] John N Mordeson and Davender S Malik. Fuzzy automata and languages: theory and applications . Chapman and Hall/CRC, 2002.
