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 571<br />

The alternat<strong>in</strong>g Büchi automaton we are go<strong>in</strong>g to construct from a property<br />

φ uses the set of all sub-formulas and their negations as the set of states.<br />

Def<strong>in</strong>ition 19.8. The set of sub-formulas Sub (φ) ofapropertyφ is <strong>in</strong>ductively<br />

def<strong>in</strong>ed on the structure of φ by:<br />

Sub (true) ={true}<br />

Sub (¬φ) ={¬φ}∪Sub (φ)<br />

Sub (X (φ)) = {X (φ)}∪Sub (φ)<br />

Sub (φ1 ∨ φ2) ={φ1 ∨ φ2}∪Sub (φ1) ∪ Sub (φ2)<br />

Sub (U (φ1,φ2)) = {U (φ1,φ2)}∪Sub (φ1) ∪ Sub (φ2)<br />

The transition function of an alternat<strong>in</strong>g Büchi automaton maps states to<br />

positive Boolean comb<strong>in</strong>ations of states. S<strong>in</strong>ce properties <strong>in</strong> LTL may use the<br />

negation modality ¬φ and negation is not allowed <strong>in</strong> positive Boolean functions,<br />

negationofpropertiesisexpressedbynegationofstates.Forthisreasonthe<br />

negatives of the sub-formulas are <strong>in</strong>cluded <strong>in</strong>to the set of states of the alternat<strong>in</strong>g<br />

Büchi automaton. To connect the negation of properties to the negation of<br />

positive Boolean comb<strong>in</strong>ations of states the follow<strong>in</strong>g construction is used:<br />

Def<strong>in</strong>ition 19.9. The dual φ of a positive Boolean formula is def<strong>in</strong>ed <strong>in</strong>ductively<br />

on the structure of a formula φ as follows:<br />

true = false<br />

false = true<br />

¬φ = φ<br />

φ1 ∨ φ2 = φ1 ˙∧φ2<br />

φ1 ∧ φ2 = φ1 ˙∨φ2<br />

X (φ) =¬X (φ)<br />

U (φ1,φ2) =¬U (φ1,φ2)<br />

Given an LTL formula φ, one can directly build an alternat<strong>in</strong>g Büchi automaton<br />

Aφ =(Σ,Q,δ,q0, F ), such that L(Aφ) is exactly the set of computations<br />

satisfy<strong>in</strong>g the property φ. The set of states Q is def<strong>in</strong>ed as the set of sub-formulas<br />

of φ and their negations. The set of actions is def<strong>in</strong>ed as Σ =2AP .Thesetof<br />

accept<strong>in</strong>g states F consists of all formulas φ which have got the form ¬U (φ1,φ2).<br />

The transition function δ is <strong>in</strong>ductively def<strong>in</strong>ed on the structure of φ as follows:<br />

�<br />

true if p ∈ A<br />

δ (p, A) =<br />

false if p �∈ A<br />

δ (φ1 ∨ φ2, A) =δ (φ1, A) ˙∨δ (φ2, A)<br />

δ (φ1 ∧ φ2, A) =δ (φ1, A) ˙∧δ (φ2, A)<br />

δ (¬φ, A) =δ (φ, A)<br />

δ (X (φ) , A) =φ<br />

δ (U (φ1,φ2) , A) =δ (φ2, A) ˙∨ (δ (φ1, A) ˙∧U (φ1,φ2) , A)<br />

The idea beh<strong>in</strong>d this recursive def<strong>in</strong>ition is: whenever a composed formula is<br />

to check it is transformed <strong>in</strong>to a Boolean comb<strong>in</strong>ation of new formulas. In this

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

Saved successfully!

Ooh no, something went wrong!