Fuzzy alternating automata over distributive lattices
Abstract
We give a new version of fuzzy alternating automata over distributive lattices: weights are putting in every leaf node of run trees rather than along with edges from every node to its children. Such settings are great benefit to obtain complement just by taking dual operation and replacing each final weight with its complement. We prove that -fuzzy nondeterministic automata have the same expressive power as -fuzzy alternating ones. A direct construction (without related knowledge about -fuzzy nondeterministic ones such as: above equivalence relation and their closure properties) is given to show that the languages recognized by -fuzzy alternating co- automata are also -fuzzy -regular. Furthermore, the closure properties and the discussion about decision problems for fuzzy alternating automata are illustrated in our paper.
keywords:
Fuzzy alternating automata , automata, Dual operation , -fuzzy Boolean formulas , Runs1 Introduction
In computation theory, nondeterminism has played important roles([10, 13]). Viewing nondeterministic computations as words, systems and its specifications can be seen as languages, then we can translate problems about model checking, satisfiability and synthesis to ones about languages of automata. These transforms provide a new automata-theoretic approach to study system specification, verification and synthesis, and meanwhile such method is proven to be effective ([22]). Nondeterministic computation has only existential quantifier, but as a generalization of nondeterminism, “alternation”, it has existential and universal quantifiers ([3]). In [3], A.K.Chandra studied the properties about alternating Turing machines and their languages. Moreover, some information about alternating finite state automata and alternating pushdown automata were also introduced. Alternating automata is a useful model to study formal verification, and more information about it can be referred to [12, 20].
In the study of linear temporal logic ([22]), Vardi translated the problems about programs and specifications to the ones about languages of automata: he illustrated that alternating () automata have same expressive power as nondeterministic () ones, and the former ones are exponentially more succinct than the latters; The result automaton obtained after taking dual operation and exchanging final and non-final states is the complement to the original alternating () automaton, which reflects the great advantage of “alternation”. Then he use these conclusions to build an alternating automaton for an LTL formula and such that the language of such automaton is exactly the set of computations satisfying that LTL formula.
Are these conclusions about alternating automata all suitable for weighted cases? i.e., (from the perspective of automata) Are there automata with weighted existential and universal quantifiers? In [1, 4], O.Kupferman et al. had already introduced the definition of weighted alternating automata, which answers the above question. O.Kupferman et al. studied the expressive powers of weighted alternating automata for special semantics such as , , , and so on over real number set, and discussed the relationship between them simultaneously. But these specific semantics make the conclusions restricted, and the discussion about the relation between weighted alternating automata and nondeterministic ones is not involved. Furthermore, their automata have no final state, which is not comprehensive and general: the influences exerted by final states are not taken into the consideration, and thus, the Boolean cases cannot be seen as the special case of theirs. It shows the drawbacks of the version of weighted alternating automata in [1, 4]. So we want to give another one to avoid above shortcomings.
Derived from these ideas, we will introduce a new version of weighted alternating automata with weights in distributive lattices, of which the properties such as: the equivalence relation between weighted nondeterministic automata and weighted alternating ones, the closure properties can be established. In ours, the factor about final states are considered, and our version are more convenient to calculate the weights of their languages: for a word, to describe how likely it can be accepted depends on all successful runs on it, and the weight of each run is obtained just by taking conjunction of the weights of all branches, to be specific, if the branch is finite, its weight is equal to the label of its leaf node, otherwise, it is equal to , where is the label sequence of such branch and is the -valued fuzzy sets of final states. Such advantage is due to our weights’ and transitions’ settings: the image set of the transition function “” is a subset of Boolean formulas over ( is a distributive lattice and is the states set) rather than that in [1, 4], a subset of Boolean formulas over . Then in the runs of our version, weights and states are the labels of nodes (weights can and only can label the leaf nodes), which is much clearer and simpler than the case of [1, 4]: weights label the edges between nodes and each node is labeled by states.
In section 2, some pre-knowledge about alternating automata are introduced. In section 3, with the notion of fuzzy Boolean formulas, we give the definitions of fuzzy alternating automata over distributive lattices, show how to calculate the weights of run trees of our version (leaf nodes labeled by weights), and illustrate the equivalence relation between -fuzzy alternating automata and -fuzzy nondeterministic ones. The closure properties about -fuzzy alternating automata are introduced in section 4. A construction showing the languages recognized by -fuzzy alternating co- automata are also -fuzzy -regular without using the equivalence relation between -fuzzy alternating automata and -fuzzy nondeterministic ones and closure properties of -fuzzy nondeterministic ones is provided. In section 5, we discuss the decision problems (emptiness-value, universality-value, implication-value problems) for -fuzzy alternating automata: these problems can be decidable in exponential time and are PSPACE-complete. Some specific examples are given in the last section, which can be evidences to testify our theorems’ correctness. Similarly to classical case, the above conclusions could also be seen as an effective approach to study fuzzy temporal logic, which can be leaving as one future study. For example, how to build a fuzzy alternating automaton for a fuzzy LTL formula such that the language of this automaton is exactly the fuzzy set of computations satisfying that fuzzy LTL formula.
2 Preliminaries
For a set , let denote the set of all positive Boolean formulas over it (i.e., Boolean formulas built by elements of using and ). Besides, includes two special formulas, and . For and , we say that satisfies , if the truth value is true after assigning to the members of and assigning to the members of ; furthermore, if there is no proper subset of satisfying , then we say satisfies in a minimal manner. Obviously, satisfies the formula , and , satisfy it in a minimal manner, while the set does not.
For any nondeterministic automaton , some formulas from can be used to represent its . For example, for a transition , it can be described by formula . Based on such representation, there is a new notion: alternating automata. The only distinctions between nondeterministic and alternating ones are transitions “”.
Definition 2.1
([22]) An alternating automaton is a five tuple , where is a finite nonempty set of states, is a finite nonempty set of input symbols, called alphabet; and denote the initial state and the set of final states respectively, is a transition function from into .
In an alternating automaton, the transitions can be any formula of . The language recognized by an alternating automaton is characterized by induction, for instance, if is a transition of some alternating automaton, which means this automaton accepts from , if it accepts from both and or from , where is a word of . It is clear that such transition includes both the features of existential choice (the disjunction in the formula) and universal choice (the conjunction in the formula).
Because of the universal choice, a run of an alternating automaton is a tree rather than a sequence. denotes the level which the node occurring at; in particular, for root , ( and are symbols rather than specific states). A branch of a tree is a nodes sequence, where is and is the parent of for all . In fact, a run of an alternating automaton is a -labeled tree, in which nodes are labeled by states. means that the node of labeled by ( is a symbol and is a specific state).
Definition 2.2
A run of on an infinite word is a (possibly infinite) tree such that and the following holds:
If , , and , then has children , for some , and satisfies in a minimal manner.
For example, if , then the labels of ’s children include one element of and also include state after putting . Notice that if , then does not have any children, i.e., is a leaf node. In addition, there is no run taking a transition with . The run tree is accepting if every infinite branch in infinitely passes .
The relationships between alternating automata and nondeterministic automata have been studied ([22]): they have the same expressive power, furthermore, the former ones are more succinct than latters, and the blow-ups of states during the transforms from alternating to nondeterministic ones are unavoidable ([22]).
One advantage of alternating automata is that they are easy to be complemented. For equivalent alternating and nondeterministic automata, it is more easy to complement the former ones, cf.[3]: just interchanging the conjunctions and disjunctions in every transition, as well as final and non-finial states.
3 -fuzzy alternating automata and their equivalent counterparts
If not illustrate especially, the lattice we used below is distributive. In addition, we require that have the largest element and the least element . In the following, we firstly introduce some preparation works. Our version of -fuzzy alternating automata is distinct from [1, 4]: weights belong to rather than the real set, and in ours, weights labels every leaf node of run tree instead of along with every edge from each node to its child. In order to overcome shortcomings of [1, 4], i.e., Boolean case cannot be seen as its special case, we put factor about final states in consideration.
Definition 3.1
An -fuzzy positive Boolean formula over is a positive Boolean formula over . The set of -fuzzy positive Boolean formulas over is denoted by , and moreover, we put the formulas and in it.
For any and a formula , we define a value in , which is obtained by substituting any element of occurring in by , and that of by . Let , if for any , holds, then we call them equivalent, denoted by . For example, for and , we can verify that .
For any , it is easy to find its equivalent formula , called standard form: in it each term between every two “” is in the form: for some index set (if , we always omit it and just write ), is a element in , and we call it “coefficient” of such term.
In fact, the factor impacting on the equivalence relation between formulas are their simplest final expansions: for above and , they are equivalent because they have the identical simplest final expansions . To be specific, we divide the procedures of obtaining the simplest final expansion for a given formula into the following steps:
: Expand the formula;
: Write above expansion in the standard form. In particular, there maybe exists a term (), called constant term, where its index set ;
: If there exist two term and such that and , then remove the former one (indeed the former one is absorbed in the latters in the calculations of runs’ weights).
Further on, we let for any set (include empty set) and correspondingly, we let no set satisfy formula (these settings are compatible with classic logic). Obviously, .
For , we define its satisfaction sets: if there exists a term in the standard form of , we call satisfies with weight . Moreover, if it is also in the simplest final expansion of , we say satisfies in a minimal manner with weight . In particular, for the constant term in the simplest final expansion, we call satisfies in a minimal manner with weight . Also for formulas and mentioned above, we know satisfies and with weights and respectively; and satisfies and in a minimal manner with weights and respectively.
Considering an -fuzzy nondeterministic automaton , its transition function maps each state to an -fuzzy set by inputting a symbol of . We can represent by some formulas of : for example, (sometimes, we also use or () to characterize such transition) can be described as of . Generally, in an -fuzzy alternating automaton, the transitions can be any formula of .
Definition 3.2
An -fuzzy alternating automaton is a tuple , where is a finite nonempty set of states, is a finite nonempty alphabet, and denote the -valued fuzzy sets of initial and final states respectively, and is an -valued fuzzy transition function.
Definition 3.3
A run of on an infinite word is a (possibly infinite) -labeled tree such that and the following holds:
If , and , then has children for some and satisfies in a minimal manner with weight (notice that the set has at most one element, and if it is empty, this weight is );
If , and , then has one child ;
If , (), then the node has no children, i.e., it is a leaf (only nodes labeled by elements from can be leaves).
For example, if , then ’s children are and or and after inputting .
If the total weight of is not , i.e., , then we call an accepting run of , where is equal to the conjunction of all branches’ weights in . The weight of a branch is defined by:
If it is finite, its weight equals to (), the label of the leaf node;
If it is infinite, , and , then equals to .
Then for any , , where denotes the set of all runs on of .
Remark 3.4
In -fuzzy cases, we needn’t require an alternating automaton to have a unique initial state, even though from the construction below, we know that every -fuzzy alternating automaton can be transformed to another equivalent one with a crisp initial state (which is sufficient for closure property in Section 4). In order to simulate -fuzzy nondeterministic automata, using Definition 3.2 is more accurately.
Here we give the corresponding construction (similar to [18, 19]): let be an -fuzzy alternating automaton, define an automaton with a crisp initial state as , where , and otherwise, .
Example 3.5
Let be an -fuzzy alternating automaton, where ; ; ;
, ;
, , , ;
, , ; ; , ; , .
Set . There are two successful run trees on and we denote them by , then and are:
;
.
Hence, .
Figure 1: All successful runs of on
After introducing the basic definitions, we are ready to study the equivalence relation between fuzzy nondeterministic automata and fuzzy alternating automata over distributive lattices. Firstly, we show that -fuzzy alternating automata are at least as expressive and as succinct as -fuzzy nondeterministic automata.
Proposition 3.6
Assume that is an -fuzzy nondeterministic automaton with states, then there is an -fuzzy alternating automaton with states such that .
Proof. Let be the given -fuzzy nondeterministic automaton. Define an -fuzzy alternating automaton : where , , and otherwise, if for any , we set .
Let be an arbitrary word of (denoted by ) such that . Assume that is a run on of such that , i.e., there a sequence of states such that , and (), , then there exists a corresponding successful run tree on of satisfying:
At -th level of , there is only one element , and ;
At -th level of , there are two elements: a leaf node labeled by and a non-leaf node labeled by ;
At -th level of , there are two elements: a leaf node labeled by and a non-leaf node labeled by ;
.
Then we have,
and thus .
Conversely, we can also show that , for any such that .
This part is easy to be obtained, and afterwards, we will turn to the other one. We divides it into two steps: firstly, we shall prove that any -fuzzy alternating automaton with crisp final states can be transformed to an equivalent -fuzzy nondeterministic automaton; Secondly, we will show that every -fuzzy alternating automaton can be converted to another one with crisp final states. The next proposition shows the first step:
Proposition 3.7
For any -fuzzy alternating automaton with states, if it has crisp final states, then there is an -fuzzy nondeterministic automaton with at most states satisfying .
Proof. Let be an -fuzzy alternating automaton, where is a crisp set of final states. Define as follows: ; for any , we let , and otherwise, , where ; ;
For any , , and if , , we define by:
where , , and is a set satisfying the conjunction of all simplest final expansions of all , is a set satisfying the conjunction of all simplest final expansions of all , .
For any , if , then is defined as:
where , , and is a set satisfying conjunction of all simplest final expansions of all .
We take an empty conjunction in the definition of to be , i.e., . In addition, the others not mentioned are defined to .
On one hand, we need to prove that for any , if it satisfies , then .
In fact, for any successful run , we can construct a run of :
Put firstly;
Let all states of () be the children of occurring at -th level of ;
If , we follow the steps below:
Let , , , , we choose sets such that satisfies in a minimal manner with weight , , and . Meanwhile, we choose sets such that satisfies in a minimal manner with weight , , and if there are such that , then . Then we let be the children of occurring at -th level of .
If , we just choosing sets such that satisfies in a minimal manner with weight , , and , . Then we let be the children of occurring at -th level of .
Similarly, the choices of other levels are considered.
We observe that even though the run tree constructed is not unique (under isomorphism), the disjunction of all these probabilities’ total weights is equal to (because is distributive). Then we have:
where and denote the set of all runs on of and respectively, and denotes the set of all runs of constructed by .
On the other hand, for any successful run of on a infinite word , we can construct a run of :
;
(where , );
If , we let (where , ), and otherwise, we set ;
Similarly, there may be several run trees corresponding to such of , but the disjunction of their total weights is equal to , then we have likewise.
Obviously, we can find that for each reachable state of , then , and thus the number of states in is at most .
Notice that in above proof, in “ is a set satisfying the conjunction of all simplest final expansions of all , is a set satisfying the conjunction of all simplest final expansions of all ”, such “satisfying” needn’t be required “in a minimal manner”, in fact, if we add such requirement, it may loss some non-zero possibilities of transitions. For example, suppose that , , and are final states, if the simplest final expansion of is , and that of is , then according to Proposition 3.7. If we add requirement “in a minimal manner”, we will obtain that , which destroys the equivalence relation that we want to obtain.
The first goal has been reached, then the last question need to be resolved is that: how to transform an ordinary -fuzzy alternating automaton to another one with crisp final states.
Lemma 3.8
Let and be -fuzzy alternating automata with crisp final states over and they have and states respectively, then there is another -fuzzy alternating automaton over with states, , such that it also has crisp final states and satisfies .
Proof. Let and , where and are crisp final sets. Without loss of generality, we assume that . Then is defined as , where , if for some ; , if for some .
For any , we can prove that . In fact, for any successful run of , then it is also a successful one of for some , and conversely, all successful runs of and are also successful in .
Proposition 3.9
Suppose that is an -fuzzy alternating automaton with states, then there is an equivalent -fuzzy alternating automaton with states such that has crisp final states, where , is the fuzzy final states set of , and .
Proof. According to Remark 3.4, we only need to focus our attention on any fuzzy alternating automaton with a crisp initial state.
Assume that , where . For any , we define a set , which contains all choices of different states from and all members of , i.e., .
For any , any element (denoted by ), we define an -fuzzy alternating automaton with crisp final states :
and otherwise, ; .
In the following, we point out . Let be an infinite run tree of , we know is also a run tree of each .
If
then there exist branches of , , such that infinitely passes (for any ), , infinitely passes (for any ). Therefore,
And for any of , we have:
where (there may exist such that , if so, ). Above all, we obtain
Even though for any , there is a corresponding to it, on the whole, the parameter has no effect on value .
The above may be , if so, and , then only runs whose all branches infinitely pass are successful infinite runs of .
If , i.e., all branches infinitely pass , and at this time, we have for any , therefore, the following equation also holds:
According to the definition of run, we know that there may be finite-depth runs on some . And in this case, every finite-depth run of is also a successful run tree of each (including ), and holds; for any , . Then we also have for the finite-depth case.
Hence for any , we obtain:
Set , then we know that such is our desired fuzzy alternating automaton according to Lemma 3.8.
Putting Proposition 3.7 and 3.9 together, we have:
Theorem 3.10
Assume that is an -fuzzy alternating automaton with states, then there is an equivalent -fuzzy nondeterministic automaton with at most states, where , is the fuzzy final states set of and .
4 Closure properties of -fuzzy alternating automata
In this section, we study closure properties of -fuzzy alternating automata. We show that -fuzzy alternating automata are closed under join, meet and complementation. Firstly, we discuss the first two operations.
Theorem 4.1
Let and be -fuzzy alternating automata over , with and states, respectively. There are two -fuzzy alternating automata and over , with and states respectively, such that and .
Proof. According to Remark 3.4 and Proposition 3.9, it’s enough to discuss the ones with one crisp initial state and crisp final states. Let . Without loss of generality, we assume that these two are disjointed. Define : , for any and . Obviously, the following proof is analogous to that in Lemma 3.8, and we omit it here.
Let , of which and is defined as: and , for any and .
Then can be got easily for any .
As we all know, one advantage of alternating () automata is that it is easy to complement them. Is this advantage also suitable for -fuzzy case? Indeed, we can demonstrate the dual of an -fuzzy alternating automaton, an -fuzzy alternating co- automaton, recognizes the complement of the language of the original automaton by game-theory. Notice that the following lattice has a negation , which is a mapping from to , satisfying and , for any . The complement of fuzzy language , denoted by , is defined as , for any .
Also because of Remark 3.4, we only need to focus on any -fuzzy alternating automaton with a crisp initial state in following.
Let be a such one, we define its dual, an -fuzzy alternating co- automaton, denoted by , where , and for all , . Moreover, , for any , where is the negation of . The dual operation is defined as:
, for ;
, for any (in particular, and );
and
;
;
.
Let be an -fuzzy alternating co- automaton , the definition of runs is identical to that of one, but the successful runs and the calculation of their weights are different:
If the total weight of is not , i.e., , then we call an accepting run of , where equals to the conjunction of all branches’ weights. The weight of a branch is defined by:
If it is finite, equals to (), the label of the leaf node;
If it is infinite, , and , then its weight equals to .
Then for any , , where denotes the set of all runs on of .
Notice that the acceptance condition of is a fuzzy co- acceptance condition rather than fuzzy acceptance condition of , then for an infinite branch , and , its weight is (we use subscripts to distinguish the weights of and ):
Indeed, the language recognized by such -fuzzy alternating co- automaton is also -fuzzy -regular, i.e., it can also be recognized by an -fuzzy alternating automaton. We will show it after Theorem 4.2.
Theorem 4.2
Let be an -fuzzy alternating automaton, then
for any .
Proof. Similarly, we only consider the one with a crisp initial state. Let be such an automaton. The value of a word () in can be thought as the outcome of following two-players (Player OR and Player AND) game. The game starts from initial state of . In every round, Player OR chooses a set satisfying in a minimal manner with weight . Player AND chooses a state , and the game goes on from likewise. The goal of Player OR is to “maximize” the value (corresponds to the supremum in different runs), and the goal of Player AND is to “minimize” it (corresponds to the infimum in different branch of a run). The branch induced by this game corresponds to a “minimal” branch (infimum) in a supreme run of .
When the same game is played on , these two players interchange their actions’ orders. The branch induced by this game corresponds to a “maximal” branch in a “minimal” run trees of on . Indeed, the Player AND determines which branch is taken in every run tree of firstly, and Player OR determines which run is taken afterwards. Because of the fact that “” mentioned before, we know that the weight of every branch in corresponds to the one, , in . Then, for every word , we have:
Note that the first equation is obtained by above discussion rather than the definition. It shows the relationship between the same game playing in and .
According to the statements “all fuzzy languages recognized by -fuzzy nondeterministic automata over is closed under complement” (Theorem 12 of [11]) and “equivalence relationship between -fuzzy alternating automata and -fuzzy nondeterministic ones” (c.f. Proposition 3.6 and Theorem 3.10), we obtain that the language recognized by an -fuzzy alternating co- automaton is also recognized by an -fuzzy alternating automaton, which shows the closure property about complement of -fuzzy alternating automata.
Go a step further, we can give the direct construction to illustrate the -fuzzy -regularity of the languages recognized by -fuzzy alternating co- automata without the knowledge about -fuzzy nondeterministic automata.
Lemma 4.3
Every -fuzzy alternating co- automaton can be converted to another equivalent one with a crisp initial state.
Corollary 4.4
Let be an -fuzzy alternating co- automaton, then for any .
The proofs of Lemma 4.3 and Corollary 4.4 are similar to Remark 3.4 and Theorem 4.2 respectively, so we omit them here.
Taking twice dual operations and taking complement on final weights, we can get the following proposition, which is a co- version of Proposition 3.9, and it is the first step of our construction.
Proposition 4.5
Let be an -fuzzy alternating co- automaton with states. Then there is an equivalent -fuzzy alternating co- automaton with states such that it has a crisp initial state and crisp final states (where , is the fuzzy final states set of , and .).
To be specific, the procedures to get are:
: Following Corollary 4.4, we construct the dual of , an -fuzzy alternating automaton, and it satisfies ;
: Following Proposition 3.9, we construct an equivalent -fuzzy alternating automaton with crisp final states;
: Following Remark 3.4, we construct an -fuzzy alternating automaton with a crisp initial state and crisp final states such that ;
: Following Theorem 4.2, we construct the dual of , an -fuzzy alternating co- automaton with crisp final states, and it satisfies that .
Let , and it is our desired automaton.
Before giving Theorem 4.10, we need to introduce some notions firstly (cf. [12]). In order to let the following content be compatible with front sections of our paper, we set the definitions and pre-knowledge version below are a bit different from [12], mainly reflecting on the final states set . More detailed information can be referred to [12].
Let be an alternating co- automaton. For nodes and of an accepting run of , we call that and are similar if and only if and . Furthermore, is called memoryless if and only if the subtrees rooted at nodes and are identical for all similar nodes and of .
Proposition 4.6
For an -fuzzy co- automaton , if there is a successful run on of it with total weight , then there exists a memoryless accepting one on with total weight which is larger than or equal to .
Proposition 4.6 tells us only memoryless accepting ones have effect on value (the others are absorbed in memoryless ones), then in the following, we only consider the memoryless runs.
Replacing label of node by where , and merging similar nodes into a single one, then we get an directed acyclic graph with respect to a memoryless run . In , if there is a states sequence , , , (partial labels of nodes of some branch in ) such that and (), then we say that is reachable from in .
Considering a directed acyclic graph , a vertex is said to be endangered in if and only if finitely many vertices in are reachable from ; is safe in if and only if the projections of all the vertices that are reachable from in on belong to (the final states of ). With these notions, we define an sequence of directed acyclic graphs inductively as follows:
;
.
From [12], we know that for any vertex in , there is a unique index such that is either endangered in or safe in . Then for each vertex, there is a notion “rank”, which describe such :
The two lemmas below show us the close connection between the ranks and the reachability of vertices, and they are the key to our last theorem.
Lemma 4.7
([12]) For every two vertices and in , if is reachable from , then .
Lemma 4.8
([12]) In every infinite path of , there exists a vertex with an odd rank such that all the vertices in the path that are reachable from have .
At last, we will give the construction to get an equivalent -fuzzy (weak) alternating automaton from an -fuzzy alternating co- one.
Definition 4.9
An -fuzzy weak alternating automaton is a five tuple , where the states set is some disjoint unions, (), and on these there is a partial order ; in addition, the transition function satisfies that: if and occurs in , then and ; is -fuzzy function from to .
Note that the -fuzzy weak alternating automaton is a special -fuzzy alternating automaton, and its specificity reflects on states space, which is divided into several disjointed partially ordered sets. Moreover, it requires that every goes to the state which is in a smaller set than that stays in.
Theorem 4.10
Let be an -fuzzy alternating co- automaton with states, then there is an -fuzzy weak alternating automaton with states such that .
Proof. From Proposition 4.5, we just consider some one with a crisp initial state and crisp final states. Let be a such one, where . Define an -fuzzy weak alternating automaton : (), , ().
The transition function is described by a function “”, which is a mapping from to : for any , a rank , the formula is obtained by replacing every in by , and then is defined by:
For each rank , we put . Obviously, for every state , its possible children only belong to ().
Next, we shall prove for any .
Indeed, for any such that , there is at least a successful run of , denoted by (where ). Define a run of as follows:
Let ;
If the children of are , i.e., satisfies in a minimal manner with weight , then we let be children of at -th level of , and be any one less than or equal to , . Similarly, the choices of the states at other levels follow the same way. Note that the definition of ranks ensures “” and “ is odd” cannot hold simultaneously.
Among the runs constructed by above procedures, there is at least a successful one (all these successful runs’ weights are equal to ). In fact, a run is a such one, in which the label of is , . Lemma 4.7 and 4.8 ensure that is successful, and thus we obtain .
Conversely, it just need to consider the projection of any successful run of on , and holds similarly. This part is easy to show, and we omit it.
5 Decision problems for -fuzzy alternating automata
The aim of this section is to discuss decision problems for -fuzzy alternating automata over a distributive lattice with a negation . These discussions can be applied to the satisfiability and model-checking problem of fuzzy LTL [15, 16].
Considering an -fuzzy alternating automaton , the emptiness value, universality value of it, denoted by , respectively, are defined as:
,
.
The emptiness-value (universality-value) problem for is to decide whether (), where is an order relation of and is a value of .
Theorem 5.1
The emptiness-value problem and universality-value problem for -fuzzy alternating automata are decidable in exponential time and are PSPACE-complete.
Proof. From the fact that the emptiness-value problem for -fuzzy nondeterministic automata is decidable in linear time, the languages recognized by -fuzzy nondeterministic automata are NLOGSPACE, and the unavoidable exponential blow-up of states is involved in the translation from an -fuzzy nondeterministic automaton to its equivalent -fuzzy alternating automaton, we know that the emptiness-value problem for -fuzzy alternating automata are decidable in exponential time and the languages recognized by them are PSPACE.
All that remains to be proven is that the PSPACE-hardness of emptiness-value problem. In fact, it is easy to be shown similarly to Proposition 21 in [22]: we reduce the emptiness-value problem for alternating automata to one for -fuzzy alternating automata, and moreover, reduce the latters to another one for -fuzzy alternating automata. Since the emptiness-value problem for alternating automata is PSPACE-complete, then emptiness-value problem for -fuzzy alternating automata is also PSPACE-complete.
Afterwards, we consider the universality-value problem. Because the universality-value problem is dual to the emptiness-value problem and the complementation construction for -fuzzy alternating automata cannot cause the changes of the states, then we obtain the university-value problem for -fuzzy alternating automata is decidable in exponential time and having PSPACE-complexity.
Considering two -fuzzy alternating automata and over an identical lattice, the implication value of with respect to is defined as:
.
In addition, for any two -fuzzy alternating automata and and a value , the implication-value problem is to decide whether , where is an order relation of .
Theorem 5.2
The implication-value for -fuzzy alternating automata are decidable in exponential time and are PSPACE-complete.
Note that if and only if , where are respectively. Moreover, is an -fuzzy alternating automata recognizing the meet of and the complement of (Theorem 4.1 and 4.2), and its size is linear in and linear in . So, the conclusion can be obtained.
6 Illustrative examples
In this section, we will give three examples to illustrate how to put our theories into the specific calculations. The first one is to construct an equivalent -fuzzy nondeterministic automaton for a given -fuzzy alternating automaton.
Example 6.1
Let be an -fuzzy alternating automaton, where
; ; ;
, ; , , ;
, , , , , .
It’s not very hard to see that there are four successful run trees of , and we use () to denote them, of which and are the successful runs on and respectively; and are successful ones on , and simultaneously is a successful one on each word (cf. Figure 2.), then we have:
;
.
.
.
Figure 2: All successful runs of
Figure 3: All successful runs of
According to Remark 3.4, we firstly construct its equivalent -fuzzy alternating automaton with a crisp initial state :
();
, , ;
, ,
, ,
, ,
, .
The corresponding successful runs are shown in Figure 3.
Because , then we construct an equivalent -fuzzy alternating automaton with crisp final states secondly, which is obtained by four -fuzzy nondeterministic automata ():
From Proposition 3.9, we know , then correspondingly, we construct , , , :
, where is the unique initial state with initial weight . Since the final states set of is empty, then we know every () aren’t successful in .
, where the unique initial state is and ; Note that () aren’t successful in similarly, and thus, ().
, where the initial weight of a unique initial state is (), and therefore, we have for .
, where the unique non-zero initial weight of initial state is , and is less than or equal to ().
Renaming the states set of these four such that any two states sets are disjointed, we can obtain the new four automata, denoted by (), , where ;
Their non-zero initial weights of initial states are: , , , , and transition is obtained by instituting by in original , for any . Their final states set are , , , respectively.
Figure 4: All successful runs of
Put , where ; , if ; , if ; . It’s not very hard to see that there are eight successful runs of shown in Figure 4. For each , holds, and for other words, the weights of them are .
At last, we apply Proposition 3.7 to obtain our desired equivalent -fuzzy nondeterministic automaton , where and
;
, , , ; ;
,
,
, ,
,
,
, ,
, ,
,
, (the occurring in above transitions merely could be or , and the weight of transitions not mentioned are ).
Then the successful pathes of are:
,
,
,
,
,
,
,
Therefore, we have , , , , and the other weights are , which shows that is an -fuzzy nondeterministic automaton equivalent to , as required.
The next example can verify the correctness about the closure property about complement of -fuzzy alternating automata by taking dual operation and changing the final weights to their complements.
Example 6.2
We begin with the in the previous example. It is easy to see its dual is , where
(); ;,
, , ;
, , , , , , , .
Figure 5: All successful runs of
There are seven successful runs of , denoted by (cf. Figure 5.), of which are successful ones on ; and are successful ones on ; are successful on ; Simultaneously, and are successful one on each word , and therefore, we have:
, ,
, .
All that remains to be proven is that for any , . In fact, there are two possibilities:
If , i.e., from the third input symbol, , there is at least a symbol, , appearing in , then there is a successful (finite) run hit the true transition, therefore, the largest weight of successful run on is , and thus, .
If , i.e., from the second input symbol, , there is at least a symbol, , appearing in , then there is a successful (finite) run hit the true transition similarly, so holds.
The last example taken by us is to present how to transform an -fuzzy alternating co- automaton to its equivalent one. The several identical procedures with respect to Example 6.1 below will be omitted.
Example 6.3
Let be such a co- one, where
; ; ; ;
, ; , ,
, .
Figure 6: All successful runs of
It is easy to see that there are three runs of , we denote them by () (cf. Figure 6.) and the corresponding weights of words are:
,
,
, for any .
Firstly we turn it to another -fuzzy alternating co- automaton with only crisp final states by Proposition 4.5. The first step of such process is to construct the dual of , an -fuzzy alternating automaton , where
, ;
, ,
, .
Secondly, constructing an equivalent -fuzzy alternating automaton with crisp final states, similarly to Example 6.1, and the result automaton is:
, where
; , ,
, ;
, ,
, .
Afterwards, we construct , an -fuzzy alternating automaton with a crisp initial state and crisp final states equivalent to by adding an extra state and some transitions:
, where , and
, ,
, .
Further on, constructing the dual of . We can see that only are successful (cf. Figure 7.) and the corresponding weights of the languages are:
,
,
, for any .
The last procedure is to build , our desired (weak) -fuzzy alternating automaton, which is equivalent to the original :
(), where (the others transitions not mentioned are false)
,
,
,
,
,
,
,
,
,
,
,
,
,
().
The successful runs of are not only the following three, but their projections on correspond to one of the projection of the three on respectively, so their weights cannot make the whole languages of to be larger, then only considering following ones is enough (cf. Figure 8.). And, it is easy to examine that the is equivalent to the starting automaton .
Figure 7: All successful runs of
Figure 8: Some (not all) successful runs of
7 Conclusions
The closure properties of -fuzzy alternating automata and the equivalence relationship between them and -fuzzy nondeterministic ones were already studied in our paper. We gave a direct construction to illustrate the -fuzzy -regularity of the languages recognized by -fuzzy alternating co- automata without the related knowledge about -fuzzy nondeterministic automata. In addition, the discussion about decision problems for -fuzzy alternating automata and some illustrative examples were given in our paper. Using above preparations, we can study the properties about fuzzy temporal logic in model checking in the future, such as building a fuzzy alternating automaton for a given fuzzy LTL formula ([15, 16]) satisfying the languages of the automaton is exactly the fuzzy set of computations satisfying the formula.
References
References
- [1] S.Almagor and O.Kupferman, Max and sum semantics for alternating weighted automata, Lecture Notes in Computer Science 6996(2011)13-27.
- [2] U.Boker, O.Kupferman and A.Rosenberg, Alternation removal in automata, Lecture Notes in Computer Science 6199(2010)76-87.
- [3] A.K.Chandra, D.C.Kozen and L.J.Stockmeyer, Alternation, Journal of the ACM 28(1)(1981)114-133.
- [4] K.Chatterjee, L.Doyen, and T.A.Henzinger, Alternating weighted automata, Lecture Notes in Computer Science 5699(2009) 3-13.
- [5] M. Droste, On weighted automata with order-complete weights, International Journal of Algebra and Computation 17(2)(2007)235-260.
- [6] M. Droste, W. Kuich and H. Vogler, Chapter 9: Weighted tree automata and tree transducers of handbook of weighted automata, Monographs in Theoretical Computer Science, Springer-Verlag Berlin Heidelberg 2009.
- [7] B.A.Davey and H.A.Priestley, Introduction to lattice and order (second edition), Cambridge University Press 2002.
- [8] D.Fierens, G.V.D.Broeck, J.Renkens, D.Shterionov, B.Gutmann, I.Thon, G.Janssens, L.D.Raent, Learning in probabilistic logic programs using weighted booleans formulas, Theory and Practice of Logic Programming, DOI: 10.1017/S1471068414000076.
- [9] Z.Han and Y.Li, Equivalent characterizations of fuzzy automata, Chinese Journal of Computers 36(6)(2013)1235-1245.
- [10] J.E.Hopcroft and J.D.Ullman, Formal languages and their relation to automata, Addison-Wesley Longman Publishing Co., Inc. Boston, MA, USA 1969.
- [11] O.Kupferman and Y.Lustig, Lattice automata, Lecture Notes in Computer Science 4349(2007)199-213.
- [12] O.Kupferman and M.Y.Vardi, Weak alternating automata are not that weak, ACM Transactions on Computational Logic 2(3)(2001)408-429.
- [13] R.M.Karp, Reducibility among combinatorial problems, Complexity of Computer Computations (Proc. Sympos., IBM Thomas J. Watson Res. Center, Yorktown Heights, N.Y., 1972) 85-103.
- [14] K.Krichivasan and K.Sharda, Fuzzy -automata, Information Sciences 138(1-4)(2001)257-281.
- [15] Y.Li, Quantitative model checking of linear-time properties based on generalized prossibility measures, http://arxiv.org/abs/1601.06504.
- [16] Y.Li, L.Li, Model checking of linear-time properties based on possibility measure, IEEE Transactions on Fuzzy Systems 21(5)(2013) 842-854.
- [17] Y.Li and Z.Ma, Quantitative computation tree logic model checking based on generalized possibility measures, IEEE Transactions on Fuzzy Systems 23(6)(2015) 2034-2047.
- [18] Y.Li and W.Pedrycz, Fuzzy finite automata and fuzzy regular expressions with membership values in lattice-ordered monoids, Fuzzy Sets and Systems 156(2005)68-92.
- [19] Y.Li and W.Pedrycz, Minimization of lattice finite automata and its application to the decomposition of lattice languages, Fuzzy Sets and Systems 158(13)(2007)1423 C1436.
- [20] S.Miyano and T.Hayashiiyano, Alternating finite automata on -words, Theoretical Computer Science 32(1984)321-330.
- [21] G.Rahonis, Infinite fuzzy computation, Fuzzy Sets and Systems, 153(2)(2005)275-288.
- [22] M.Y.Vardi, An automata-theoretic approach to linear temporal logic, Lecture Notes in Computer Science 1043(2005)238-266.