07.01.2013 Views

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

19 Model Check<strong>in</strong>g 559<br />

The first state π0 of the run is the <strong>in</strong>itial state q0 of M and each next<br />

state πi+1 is reached by read<strong>in</strong>g one letter ai. A run is called accept<strong>in</strong>g, if<br />

πn+1 ∈ F .The letters ai read by a run form a w = a1 ...an. If the run is accet<strong>in</strong>g,<br />

then the word read by the run is also said to be accept<strong>in</strong>g. The language a DFA<br />

M recognizes is denoted by L (M). It is def<strong>in</strong>ed as the set of accept<strong>in</strong>g words.<br />

We call a language L regular if there is a DFA accept<strong>in</strong>g L.<br />

A different k<strong>in</strong>d of automaton which operates on <strong>in</strong>f<strong>in</strong>ite words was <strong>in</strong>troduced<br />

by Büchi [Büc62] for obta<strong>in</strong><strong>in</strong>g a decision procedure for the monadic<br />

second-order theory of structures with one successor. Later these automata were<br />

called Büchi automata. The ma<strong>in</strong> idea of Büchi automata is to operate on <strong>in</strong>f<strong>in</strong>ite<br />

<strong>in</strong>put words w = a0a1 ... ∈ Σ ω ,whereasΣ ω denotes the set of all <strong>in</strong>f<strong>in</strong>ite<br />

words over the alphabet Σ.<br />

Def<strong>in</strong>ition 19.3. A Büchi automaton is a 5-tuple A =(Σ,Q,δ,q0, F ), where<br />

• Σ is a f<strong>in</strong>ite set of actions or letters,<br />

• Q is a f<strong>in</strong>ite set of states,<br />

• δ : Q × Σ → 2 Q is a transition function,<br />

• q0 ∈ Q is a <strong>in</strong>itial state and,<br />

• F ⊆ Q is a set of accept<strong>in</strong>g states.<br />

Start<strong>in</strong>g from its <strong>in</strong>itial state the automaton chooses nondeterm<strong>in</strong>istically a<br />

possible successor state <strong>in</strong> δ (q, a) of the current state q.<br />

Def<strong>in</strong>ition 19.4. An <strong>in</strong>f<strong>in</strong>ite run π of a Büchi automaton A on a word w =<br />

a0a1 ...∈ Σ ω is a sequence π = π0π1 ...∈ Q ω , such that<br />

• π0 = q0<br />

• πi+1 ∈ δ (πi, ai).<br />

The first state π0 of the run is the <strong>in</strong>itial state q0 of A and each next state<br />

πi+1 is one of the states reachable by read<strong>in</strong>g one letter ai. The states that<br />

occur <strong>in</strong>f<strong>in</strong>itely many times <strong>in</strong> a run are <strong>in</strong>f(π) ={q | q ∈ Q and q = πi for<br />

<strong>in</strong>f<strong>in</strong>itely many i ≥ 0}. An <strong>in</strong>f<strong>in</strong>ite run of a Büchi automaton is accepted if it<br />

visits accept<strong>in</strong>g states <strong>in</strong>f<strong>in</strong>itely often. Formally an <strong>in</strong>f<strong>in</strong>ite run π = π0π1π2 ...<br />

is a accepted iff <strong>in</strong>f(π) ∩ F �= ∅. An <strong>in</strong>f<strong>in</strong>ite word w = a0a1 ...∈ Σ ω is accepted<br />

by the automaton, if and only if there is an <strong>in</strong>f<strong>in</strong>ite run of the automaton which<br />

accepts the word. The language L (A) accepted by a Büchi automaton A is the set<br />

of all accepted words. The complement of a language L (A) accepted by a Büchi<br />

automaton is the set of all not accepted words, it is def<strong>in</strong>ed as L (A) =Σ ω \L(A).<br />

The length of a f<strong>in</strong>ite run π = π0π1 ...πn is the number of its elements<br />

denoted by |π| = n + 1. The length of an <strong>in</strong>f<strong>in</strong>ite run is denoted by |π| = ∞.<br />

For 0 ≤ i < |π| the suffix of a run π = π0π1 ...πn start<strong>in</strong>g with element πi is<br />

denoted by π i = πiπi+1 ....

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!