fbpx
Wikipedia

ω-automaton

In automata theory, a branch of theoretical computer science, an ω-automaton (or stream automaton) is a variation of a finite automaton that runs on infinite, rather than finite, strings as input. Since ω-automata do not stop, they have a variety of acceptance conditions rather than simply a set of accepting states.

ω-automata are useful for specifying behavior of systems that are not expected to terminate, such as hardware, operating systems and control systems. For such systems, one may want to specify a property such as "for every request, an acknowledge eventually follows", or its negation "there is a request that is not followed by an acknowledge". The former is a property of infinite words: one cannot say of a finite sequence that it satisfies this property.

Classes of ω-automata include the Büchi automata, Rabin automata, Streett automata, parity automata and Muller automata, each deterministic or non-deterministic. These classes of ω-automata differ only in terms of acceptance condition. They all recognize precisely the regular ω-languages except for the deterministic Büchi automata, which is strictly weaker than all the others. Although all these types of automata recognize the same set of ω-languages, they nonetheless differ in succinctness of representation for a given ω-language.

Deterministic ω-automata edit

Formally, a deterministic ω-automaton is a tuple A = (Q,Σ,δ,Q0,Acc) that consists of the following components:

  • Q is a finite set. The elements of Q are called the states of A.
  • Σ is a finite set called the alphabet of A.
  • δ: Q × Σ → Q is a function, called the transition function of A.
  • Q0 is an element of Q, called the initial state.
  • Acc is the acceptance condition, formally a subset of Qω.

An input for A is an infinite string over the alphabet Σ, i.e. it is an infinite sequence α = (a1,a2,a3,...). The run of A on such an input is an infinite sequence ρ = (r0,r1,r2,...) of states, defined as follows:

  • r0 = q0.
  • r1 = δ(r0,a1).
  • r2 = δ(r1,a2).
...
  • that is, for every i: ri = δ(ri-1,ai).

The main purpose of an ω-automaton is to define a subset of the set of all inputs: The set of accepted inputs. Whereas in the case of an ordinary finite automaton every run ends with a state rn and the input is accepted if and only if rn is an accepting state, the definition of the set of accepted inputs is more complicated for ω-automata. Here we must look at the entire run ρ. The input is accepted if the corresponding run is in Acc. The set of accepted input ω-words is called the recognized ω-language by the automaton, which is denoted as L(A).

The definition of Acc as a subset of Qω is purely formal and not suitable for practice because normally such sets are infinite. The difference between various types of ω-automata (Büchi, Rabin etc.) consists in how they encode certain subsets Acc of Qω as finite sets, and therefore in which such subsets they can encode.

Nondeterministic ω-automata edit

Formally, a nondeterministic ω-automaton is a tuple A = (Q,Σ,Δ,Q0,Acc) that consists of the following components:

  • Q is a finite set. The elements of Q are called the states of A.
  • Σ is a finite set called the alphabet of A.
  • Δ is a subset of Q × Σ × Q and is called the transition relation of A.
  • Q0 is a subset of Q, called the initial set of states.
  • Acc is the acceptance condition, a subset of Qω.

Unlike a deterministic ω-automaton, which has a transition function δ, the non-deterministic version has a transition relation Δ. Note that Δ can be regarded as a function : Q × Σ → P(Q) from Q × Σ to the power set P(Q). Thus, given a state qn and a symbol an, the next state qn+1 is not necessarily determined uniquely, rather there is a set of possible next states.

A run of A on the input α = (a1,a2,a3,...) is any infinite sequence ρ = (r0,r1,r2,...) of states that satisfies the following conditions:

  • r0 is an element of Q0.
  • r1 is an element of Δ(r0,a1).
  • r2 is an element of Δ(r1,a2).
...
  • that is, for every i: ri is an element of Δ(ri-1,ai).

A nondeterministic ω-automaton may admit many different runs on any given input, or none at all. The input is accepted if at least one of the possible runs is accepting. Whether a run is accepting depends only on Acc, as for deterministic ω-automata. Every deterministic ω-automaton can be regarded as a nondeterministic ω-automaton by taking Δ to be the graph of δ. The definitions of runs and acceptance for deterministic ω-automata are then special cases of the nondeterministic cases.

Acceptance conditions edit

Acceptance conditions may be infinite sets of ω-words. However, people mostly study acceptance conditions that are finitely representable. The following lists a variety of popular acceptance conditions.

Before discussing the list, let's make the following observation. In the case of infinitely running systems, one is often interested in whether certain behavior is repeated infinitely often. For example, if a network card receives infinitely many ping requests, then it may fail to respond to some of the requests but should respond to an infinite subset of received ping requests. This motivates the following definition: For any run ρ, let Inf(ρ) be the set of states that occur infinitely often in ρ. This notion of certain states being visited infinitely often will be helpful in defining the following acceptance conditions.

  • A Büchi automaton is an ω-automaton A that uses the following acceptance condition, for some subset F of Q:
Büchi condition
A accepts exactly those runs ρ for which Inf(ρ) ∩ F is not empty, i.e. there is an accepting state that occurs infinitely often in ρ.
  • A Rabin automaton is an ω-automaton A that uses the following acceptance condition, for some set Ω of pairs (Bi,Gi) of sets of states:
Rabin condition
A accepts exactly those runs ρ for which there exists a pair (Bi,Gi) in Ω such that Bi ∩ Inf(ρ) is empty and Gi ∩ Inf(ρ) is not empty.
  • A Streett automaton is an ω-automaton A that uses the following acceptance condition, for some set Ω of pairs (Bi,Gi) of sets of states:
Streett condition
A accepts exactly those runs ρ such that for all pairs (Bi,Gi) in Ω, Bi ∩ Inf(ρ) is empty or Gi ∩ Inf(ρ) is not empty.
  • A parity automaton is an automaton A whose set of states is Q = {0,1,2,...,k} for some natural number k, and that has the following acceptance condition:
Parity condition
A accepts ρ if and only if the smallest number in Inf(ρ) is even.
  • A Muller automaton is an ω-automaton A that uses the following acceptance condition, for a subset F of P(Q) (the power set of Q):
Muller condition
A accepts exactly those runs ρ for which Inf(ρ) is an element of F.

Every Büchi automaton can be regarded as a Muller automaton. It suffices to replace F by F' consisting of all subsets of Q that contain at least one element of F. Similarly every Rabin, Streett or parity automaton can also be regarded as a Muller automaton.

Example edit

 
A non-deterministic Büchi automaton that recognizes (0∪1)*0ω

The following ω-language L over the alphabet Σ = {0,1}, which can be recognized by a nondeterministic Büchi automaton: L consists of all ω-words in Σω in which 1 occurs only finitely many times. A non-deterministic Büchi automaton recognizing L needs only two states q0 (the initial state) and q1. Δ consists of the triples (q0,0,q0), (q0,1,q0), (q0,0,q1) and (q1,0,q1). F = {q1}. For any input α in which 1 occurs only finitely many times, there is a run that stays in state q0 as long as there are 1s to read, and goes to state q1 afterwards. This run is successful. If there are infinitely many 1s, then there is only one possible run: the one that always stays in state q0. (Once the machine has left q0 and reached q1, it cannot return. If another 1 is read, there is no successor state.)

Notice that above language cannot be recognized by a deterministic Büchi automaton, which is strictly less expressive than its non-deterministic counterpart.

Expressive power of ω-automata edit

An ω-language over a finite alphabet Σ is a set of ω-words over Σ, i.e. it is a subset of Σω. An ω-language over Σ is said to be recognized by an ω-automaton A (with the same alphabet) if it is the set of all ω-words accepted by A. The expressive power of a class of ω-automata is measured by the class of all ω-languages that can be recognized by some automaton in the class.

The nondeterministic Büchi, parity, Rabin, Streett, and Muller automata, respectively, all recognize exactly the same class of ω-languages.[1] These are known as the ω-Kleene closure of the regular languages or as the regular ω-languages. Using different proofs it can also be shown that the deterministic parity, Rabin, Streett, and Muller automata all recognize the regular ω-languages. It follows from this that the class of regular ω-languages is closed under complementation. However, the example above shows that the class of deterministic Büchi automata is strictly weaker.

Conversion between ω-automata edit

Because nondeterministic Muller, Rabin, Streett, parity, and Büchi automata are equally expressive, they can be translated to each other. Let us use the following abbreviation  : for example, NB stands for nondeterministic Büchi ω-automaton, while DP stands for deterministic parity ω-automaton. Then the following holds.

  • Clearly, any deterministic automaton can be viewed as a nondeterministic one.
  •   with no blow-up in the state space.
  •   with a polynomial blow-up in the state space, i.e., the number of states in the resulting NB is  , where   is the number of states in the NB and   is the number of Rabin acceptance pairs (see, for example, [2]).
  •   with exponential blow-up in the state space.
  •   with exponential blow-up in the state space. This determinization result uses Safra's construction.

A comprehensive overview of translations can be found on the referenced web source. [3]

Applications to decidability edit

ω-automata can be used to prove decidability of S1S, the monadic second-order (MSO) theory of natural numbers under successor. Infinite-tree automata extend ω-automata to infinite trees and can be used to prove decidability of S2S, the MSO theory with two successors, and this can be extended to the MSO theory of graphs with bounded (given a fixed bound) treewidth.

Further reading edit

  • Farwer, Berndt (2002), "ω-Automata", in Grädel, Erich; Thomas, Wolfgang; Wilke, Thomas (eds.), Automata, Logics, and Infinite Games, Lecture Notes in Computer Science, Springer, pp. 3–21, ISBN 978-3-540-00388-5.
  • Perrin, Dominique; Pin, Jean-Éric (2004), Infinite Words: Automata, Semigroups, Logic and Games, Elsevier, ISBN 978-0-12-532111-2
  • Thomas, Wolfgang (1990), "Automata on infinite objects", in van Leeuwen, Jan (ed.), Handbook of Theoretical Computer Science, vol. B, MIT Press, pp. 133–191, ISBN 978-0-262-22039-2
  • Bakhadyr Khoussainov; Anil Nerode (6 December 2012). Automata Theory and its Applications. Springer Science & Business Media. ISBN 978-1-4612-0171-7.


References edit

  1. ^ Safra, S. (1988), "On the complexity of ω-automata", Proceedings of the 29th Annual Symposium on Foundations of Computer Science (FOCS '88), Washington, DC, USA: IEEE Computer Society, pp. 319–327, doi:10.1109/SFCS.1988.21948.
  2. ^ Esparza, Javier (2017), Automata Theory: An Algorithmic Approach (PDF)
  3. ^ Boker, Udi (18 April 2018). "Word-Automata Translations". Udi Boker's webpage. Retrieved 30 March 2019.

automaton, automata, theory, branch, theoretical, computer, science, stream, automaton, variation, finite, automaton, that, runs, infinite, rather, than, finite, strings, input, since, automata, stop, they, have, variety, acceptance, conditions, rather, than, . In automata theory a branch of theoretical computer science an w automaton or stream automaton is a variation of a finite automaton that runs on infinite rather than finite strings as input Since w automata do not stop they have a variety of acceptance conditions rather than simply a set of accepting states w automata are useful for specifying behavior of systems that are not expected to terminate such as hardware operating systems and control systems For such systems one may want to specify a property such as for every request an acknowledge eventually follows or its negation there is a request that is not followed by an acknowledge The former is a property of infinite words one cannot say of a finite sequence that it satisfies this property Classes of w automata include the Buchi automata Rabin automata Streett automata parity automata and Muller automata each deterministic or non deterministic These classes of w automata differ only in terms of acceptance condition They all recognize precisely the regular w languages except for the deterministic Buchi automata which is strictly weaker than all the others Although all these types of automata recognize the same set of w languages they nonetheless differ in succinctness of representation for a given w language Contents 1 Deterministic w automata 2 Nondeterministic w automata 3 Acceptance conditions 4 Example 5 Expressive power of w automata 6 Conversion between w automata 7 Applications to decidability 8 Further reading 9 ReferencesDeterministic w automata editFormally a deterministic w automaton is a tuple A Q S d Q0 Acc that consists of the following components Q is a finite set The elements of Q are called the states of A S is a finite set called the alphabet of A d Q S Q is a function called the transition function of A Q0 is an element of Q called the initial state Acc is the acceptance condition formally a subset of Qw An input for A is an infinite string over the alphabet S i e it is an infinite sequence a a1 a2 a3 The run of A on such an input is an infinite sequence r r0 r1 r2 of states defined as follows r0 q0 r1 d r0 a1 r2 d r1 a2 dd that is for every i ri d ri 1 ai The main purpose of an w automaton is to define a subset of the set of all inputs The set of accepted inputs Whereas in the case of an ordinary finite automaton every run ends with a state rn and the input is accepted if and only if rn is an accepting state the definition of the set of accepted inputs is more complicated for w automata Here we must look at the entire run r The input is accepted if the corresponding run is in Acc The set of accepted input w words is called the recognized w language by the automaton which is denoted as L A The definition of Acc as a subset of Qw is purely formal and not suitable for practice because normally such sets are infinite The difference between various types of w automata Buchi Rabin etc consists in how they encode certain subsets Acc of Qw as finite sets and therefore in which such subsets they can encode Nondeterministic w automata editFormally a nondeterministic w automaton is a tuple A Q S D Q0 Acc that consists of the following components Q is a finite set The elements of Q are called the states of A S is a finite set called the alphabet of A D is a subset of Q S Q and is called the transition relation of A Q0 is a subset of Q called the initial set of states Acc is the acceptance condition a subset of Qw Unlike a deterministic w automaton which has a transition function d the non deterministic version has a transition relation D Note that D can be regarded as a function Q S P Q from Q S to the power set P Q Thus given a state qn and a symbol an the next state qn 1 is not necessarily determined uniquely rather there is a set of possible next states A run of A on the input a a1 a2 a3 is any infinite sequence r r0 r1 r2 of states that satisfies the following conditions r0 is an element of Q0 r1 is an element of D r0 a1 r2 is an element of D r1 a2 dd that is for every i ri is an element of D ri 1 ai A nondeterministic w automaton may admit many different runs on any given input or none at all The input is accepted if at least one of the possible runs is accepting Whether a run is accepting depends only on Acc as for deterministic w automata Every deterministic w automaton can be regarded as a nondeterministic w automaton by taking D to be the graph of d The definitions of runs and acceptance for deterministic w automata are then special cases of the nondeterministic cases Acceptance conditions editAcceptance conditions may be infinite sets of w words However people mostly study acceptance conditions that are finitely representable The following lists a variety of popular acceptance conditions Before discussing the list let s make the following observation In the case of infinitely running systems one is often interested in whether certain behavior is repeated infinitely often For example if a network card receives infinitely many ping requests then it may fail to respond to some of the requests but should respond to an infinite subset of received ping requests This motivates the following definition For any run r let Inf r be the set of states that occur infinitely often in r This notion of certain states being visited infinitely often will be helpful in defining the following acceptance conditions A Buchi automaton is an w automaton A that uses the following acceptance condition for some subset F of Q Buchi condition A accepts exactly those runs r for which Inf r F is not empty i e there is an accepting state that occurs infinitely often in r dd A Rabin automaton is an w automaton A that uses the following acceptance condition for some set W of pairs Bi Gi of sets of states Rabin condition A accepts exactly those runs r for which there exists a pair Bi Gi in W such that Bi Inf r is empty and Gi Inf r is not empty dd A Streett automaton is an w automaton A that uses the following acceptance condition for some set W of pairs Bi Gi of sets of states Streett condition A accepts exactly those runs r such that for all pairs Bi Gi in W Bi Inf r is empty or Gi Inf r is not empty dd A parity automaton is an automaton A whose set of states is Q 0 1 2 k for some natural number k and that has the following acceptance condition Parity condition A accepts r if and only if the smallest number in Inf r is even dd A Muller automaton is an w automaton A that uses the following acceptance condition for a subset F of P Q the power set of Q Muller condition A accepts exactly those runs r for which Inf r is an element of F dd Every Buchi automaton can be regarded as a Muller automaton It suffices to replace F by F consisting of all subsets of Q that contain at least one element of F Similarly every Rabin Streett or parity automaton can also be regarded as a Muller automaton Example edit nbsp A non deterministic Buchi automaton that recognizes 0 1 0wThe following w language L over the alphabet S 0 1 which can be recognized by a nondeterministic Buchi automaton L consists of all w words in Sw in which 1 occurs only finitely many times A non deterministic Buchi automaton recognizing L needs only two states q0 the initial state and q1 D consists of the triples q0 0 q0 q0 1 q0 q0 0 q1 and q1 0 q1 F q1 For any input a in which 1 occurs only finitely many times there is a run that stays in state q0 as long as there are 1s to read and goes to state q1 afterwards This run is successful If there are infinitely many 1s then there is only one possible run the one that always stays in state q0 Once the machine has left q0 and reached q1 it cannot return If another 1 is read there is no successor state Notice that above language cannot be recognized by a deterministic Buchi automaton which is strictly less expressive than its non deterministic counterpart Expressive power of w automata editAn w language over a finite alphabet S is a set of w words over S i e it is a subset of Sw An w language over S is said to be recognized by an w automaton A with the same alphabet if it is the set of all w words accepted by A The expressive power of a class of w automata is measured by the class of all w languages that can be recognized by some automaton in the class The nondeterministic Buchi parity Rabin Streett and Muller automata respectively all recognize exactly the same class of w languages 1 These are known as the w Kleene closure of the regular languages or as the regular w languages Using different proofs it can also be shown that the deterministic parity Rabin Streett and Muller automata all recognize the regular w languages It follows from this that the class of regular w languages is closed under complementation However the example above shows that the class of deterministic Buchi automata is strictly weaker Conversion between w automata editBecause nondeterministic Muller Rabin Streett parity and Buchi automata are equally expressive they can be translated to each other Let us use the following abbreviation N D M R S P B displaystyle N D times M R S P B nbsp for example NB stands for nondeterministic Buchi w automaton while DP stands for deterministic parity w automaton Then the following holds Clearly any deterministic automaton can be viewed as a nondeterministic one NB NR NS NP displaystyle NB rightarrow NR NS NP nbsp with no blow up in the state space NR NB displaystyle NR rightarrow NB nbsp with a polynomial blow up in the state space i e the number of states in the resulting NB is 2nm 1 displaystyle 2nm 1 nbsp where n displaystyle n nbsp is the number of states in the NB and m displaystyle m nbsp is the number of Rabin acceptance pairs see for example 2 NS NM NP NB displaystyle NS NM NP rightarrow NB nbsp with exponential blow up in the state space NB DR DP displaystyle NB rightarrow DR DP nbsp with exponential blow up in the state space This determinization result uses Safra s construction A comprehensive overview of translations can be found on the referenced web source 3 Applications to decidability editw automata can be used to prove decidability of S1S the monadic second order MSO theory of natural numbers under successor Infinite tree automata extend w automata to infinite trees and can be used to prove decidability of S2S the MSO theory with two successors and this can be extended to the MSO theory of graphs with bounded given a fixed bound treewidth Further reading editFarwer Berndt 2002 w Automata in Gradel Erich Thomas Wolfgang Wilke Thomas eds Automata Logics and Infinite Games Lecture Notes in Computer Science Springer pp 3 21 ISBN 978 3 540 00388 5 Perrin Dominique Pin Jean Eric 2004 Infinite Words Automata Semigroups Logic and Games Elsevier ISBN 978 0 12 532111 2 Thomas Wolfgang 1990 Automata on infinite objects in van Leeuwen Jan ed Handbook of Theoretical Computer Science vol B MIT Press pp 133 191 ISBN 978 0 262 22039 2 Bakhadyr Khoussainov Anil Nerode 6 December 2012 Automata Theory and its Applications Springer Science amp Business Media ISBN 978 1 4612 0171 7 References edit Safra S 1988 On the complexity of w automata Proceedings of the 29th Annual Symposium on Foundations of Computer Science FOCS 88 Washington DC USA IEEE Computer Society pp 319 327 doi 10 1109 SFCS 1988 21948 Esparza Javier 2017 Automata Theory An Algorithmic Approach PDF Boker Udi 18 April 2018 Word Automata Translations Udi Boker s webpage Retrieved 30 March 2019 Retrieved from https en wikipedia org w index php title W automaton amp oldid 1211011412 Rabin automaton, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.