Automata on Infinite words and LTL Model Checking

Size: px
Start display at page:

Download "Automata on Infinite words and LTL Model Checking"

Transcription

1 Automata on Infinite words and LTL Model Checking Rodica Condurache Lecture 4 Lecture 4 Automata on Infinite words and LTL Model Checking 1 / 35

2 Labeled Transition Systems Let AP be the (finite) set of atomic propositions 2 AP is the (finite) alphabet Definition A Labeled Transition System (LTS) is a tuple T = AP, S, S 0, R, τ where AP is the set of labels (atomic propositions) S is the finite set of states S 0 S is the set of initial states R S S is the transition relation τ : S 2 AP is the labeling function (each state is labeled with a set of propositions!) Lecture 4 Automata on Infinite words and LTL Model Checking 2 / 35

3 Labeled Transition Systems A (finite or infinite) run ρ in T is a sequence ρ = s 0s 1s 2... where s 0 S 0 is an initial state of T i 0, (s i, s i+1 ) R For ρ a run in T, trace(ρ) = τ(s 0)τ(s 1)τ(s 2)... Traces(T ) = {trace(ρ) ρ a run in T } is the set of traces of T Use Regular Expressions to express properties for finite runs (see LFA course) Linear-time Temporal Logic(LTL) can express properties on infinite runs Lecture 4 Automata on Infinite words and LTL Model Checking 3 / 35

4 Linear-time Temporal Logic - Syntax LTL = propositional calculus + temporal extension Temporal operators: X ( next ); U( until ) Definition (LTL syntax) Given a set AP of atomic propositions, a LTL formula over AP is defined by the following syntax: ϕ ::= p ϕ ϕ ϕ X ϕ ϕuϕ where p AP. We can define the following macros: ϕ 1 ϕ 2 = ( ϕ 1 ϕ 2) (ϕ 1 and ϕ 2) ϕ 1 ϕ 2 = ϕ 1 ϕ 2 (ϕ 1 implies ϕ 2) ϕ 1 ϕ 2 = (ϕ 1 ϕ 2) (ϕ 2 ϕ 1) (ϕ 1 equivalent to ϕ 2) F ϕ = true Uϕ ( eventually ϕ) Gϕ = F ϕ ( always ϕ) ϕ 1Rϕ 1 = Gϕ 1 ϕ 1Uϕ 2 (ϕ 1 releases ϕ 2) Lecture 4 Automata on Infinite words and LTL Model Checking 4 / 35

5 Linear-time Temporal Logic - Semantic LTL formulas are evaluated over infinite words w = w 0w 1w 2... (2 AP ) ω Definition LTL Semantics Given a word w = w 0w 1w 2... (2 AP ) ω and a position i 0, w, i = p iff p w i w, i = ϕ iff w, i = ϕ w, i = ϕ 1 ϕ 2 iff w, i = ϕ 1 or w, i = ϕ 2 w, i = X ϕ iff w, i + 1 = ϕ w, i = ϕ 1Uϕ 2 iff j i s.t. w, j = ϕ 2 and w, k = ϕ 1 for all i k < j The language of ϕ: L(ϕ) = {w (2 AP ) ω w, 0 = ϕ} Lecture 4 Automata on Infinite words and LTL Model Checking 5 / 35

6 LTL Model checking Verify that T satisfies LTL formula ϕ: Traces(T ) L(ϕ) Traces(T ) L( ϕ) = Use automata to encode the language of ϕ We build an automaton A ϕ s.t. A ϕ accepts w iff w L(ϕ) Lecture 4 Automata on Infinite words and LTL Model Checking 6 / 35

7 Nondeterministic Büchi word automata (NBA) Definition (Nondeterministic Büchi word automata) A Nondeterministic Büchi automaton accepting words over 2 AP is a tuple A = 2 AP, Q, Q 0, δ, T where 2 AP is the alphabet Q is the set of states Q 0 Q is the set of initial states δ Q 2 AP Q is the transition relation T Q is the set of accepting states i.e. just like a nondeterministic finite automaton (NFA) (see LFA) The difference is the accepting condition... Lecture 4 Automata on Infinite words and LTL Model Checking 7 / 35

8 Runs of a NBA Example Consider a Büchi automaton A = 2 AP, Q, Q 0, δ, T A run of A on an infinite word w = w 0w 1w 2... is an infinite sequence q 0q 1q 2... Q ω s.t. q 0 Q 0 is an initial state of A and (q i, w i, q i+1 ) δ for all i 0 w = ({a}{b}{b}) ω ρ = q 0 a q 1 b q 0 b q 0 a q 1 b q 0... Let inf(ρ) be the set of states that appear infinitely often in ρ: inf(ρ) = {q i 0, j i s.t. ρ(i) = q} An accepting run is a run with q i T infinitely often : inf(ρ) T Example ρ = q 0 a q 1 b q 0 b q 0 a q 1 b q 0 b q 0 a q 1... on w = ({a}{b}{b}) ω is accepting ρ = q 0 b q 0 b q 0 b q 0... on w = ({b}) ω is not accepting in A from above Lecture 4 Automata on Infinite words and LTL Model Checking 8 / 35

9 Language of a NBA A word w is accepted by a NBW A iff there exists an accepting run on w in A Example (Eventually Globally a (FGa)) For AP = {a, b}, For w = {a}{b}{b}({a}) ω, the run ρ = (q 0) ω is not accepting but ρ = q 0q 0q 0q 0(q 1) ω is accepting and therefore w is accepted For w = ({a}{b}{b}) ω, the possible runs are ρ = (q 0) q 1(q 2) ω or ρ = (q 0) ω w is not accepted The language L(A) of A is the set of words accepted by the automaton A A set L of words is Büchi recognizable if there is a Büchi automaton A s.t. L(A) = L. Lecture 4 Automata on Infinite words and LTL Model Checking 9 / 35

10 NBA - Closure Properties Büchi-recognizable languages are closed under Union, Intersection and Complement: Given two Büchi automata A 1 = 2 AP, Q 1, Q 1 0, δ 1, T 1 and A 2 = 2 AP, Q 2, Q 2 0, δ 2, T 2 We can define Union: A = 2 AP, Q, Q 0, δ, T such that L(A ) = L(A 1) L(A 2) Intersection: A = 2 AP, Q, Q 0, δ, T such that L(A ) = L(A 1) L(A 2) Complement: Ā 1 = 2 AP, Q, Q 0, δ, T such that L(Ā 1) = L(A 1) Lecture 4 Automata on Infinite words and LTL Model Checking 10 / 35

11 NBA - Closure Properties Büchi-recognizable languages are closed under Union, Intersection and Complement: Given two Büchi automata A 1 = 2 AP, Q 1, Q 1 0, δ 1, T 1 and A 2 = 2 AP, Q 2, Q 2 0, δ 2, T 2 We can define Union: A = 2 AP, Q, Q 0, δ, T such that L(A ) = L(A 1) L(A 2) Intersection: A = 2 AP, Q, Q 0, δ, T such that L(A ) = L(A 1) L(A 2) Complement: Ā 1 = 2 AP, Q, Q 0, δ, T such that L(Ā 1) = L(A 1) Difficult to complement Büchi automata (Safra s construction) But, L(A 1 ) = L(ϕ) for some LTL formula and L(A 1 ) = L( ϕ) Build directly the automaton for ϕ! (if we know ϕ) Lecture 4 Automata on Infinite words and LTL Model Checking 10 / 35

12 NBA - Closure Properties: Union Given two Büchi automata A 1 = 2 AP, Q 1, Q 1 0, δ 1, T 1 and A 2 = 2 AP, Q 2, Q 2 0, δ 2, T 2 We define A = 2 AP, Q, Q 0, δ, T Q = Q 1 Q 2 (we can assume Q 1 Q 2 = ) Q 0 = Q 1 0 Q 2 0 δ = δ 1 δ 2 T = T 1 T 2 Theorem L(A ) = L(A 1) L(A 2) Proof. L(A ) L(A 1) L(A 2): For w L(A ), ρ = q 0q 1q 2... accepting run on w if q 0 Q 1, ρ is accepting in A 1 w L(A 1 ) otherwise, q 0 Q 2 and ρ is accepting in A 2 w L(A 2 ) L(A ) L(A 1) L(A 2): For i {1, 2} and w L(A i ), ρ = q 0q 1q 2... accepting run on w in A i But ρ is also an accepting run in A (in the copy of A i ) w L(A ) Lecture 4 Automata on Infinite words and LTL Model Checking 11 / 35

13 NBA - Closure Properties: Intersection (Special Case) Given two Büchi automata (note all states of A 1 are accepting) A 1 = 2 AP, Q 1, Q 1 0, δ 1, Q 1 and A 2 = 2 AP, Q 2, Q 2 0, δ 2, T 2 We define A = 2 AP, Q, Q 0, δ, T Q = Q 1 Q 2 Q 0 = Q 1 0 Q 2 0 ((q 1, q 2), a, (q 1, q 2)) δ iff (q 1, a, q 1) δ 1 and (q 2, a, q 2) δ 2 T = Q 1 T 2 Theorem L(A ) = L(A 1) L(A 2) Proof. ρ = (q 0 1, q 0 2)(q 1 1, q 1 2)(q 2 1, q 2 2)... is a run in A on w iff ρ 1 = q 0 1q 1 1q is a run in A 1 on w and ρ 2 = q 0 2q 1 2q is a run in A 2 on w ρ is accepting iff ρ 1 is accepting and ρ 2 is accepting Lecture 4 Automata on Infinite words and LTL Model Checking 12 / 35

14 NBA - Closure Properties: Intersection (General Case) Given two Büchi automata A 1 = 2 AP, Q 1, Q 1 0, δ 1, T 1 and A 2 = 2 AP, Q 2, Q 2 0, δ 2, T 2 We define A = 2 AP, Q, Q 0, δ, T T has to verify both T 1 and T 2! Key idea: make two copies of the states in Q 1 Q 2 1st copy: Start here, move from here when reached T 1 Q 2 2nd copy: wait for Q 1 T 2 and move to first copy when reached Accept if final states in 2nd copy are seen infinitely often Lecture 4 Automata on Infinite words and LTL Model Checking 13 / 35

15 NBA - Closure Properties: Intersection (General Case) Given two Büchi automata A 1 = 2 AP, Q 1, Q 1 0, δ 1, T 1 and A 2 = 2 AP, Q 2, Q 2 0, δ 2, T 2 We define A = 2 AP, Q, Q 0, δ, T Q = Q 1 Q 2 {1, 2} Q 0 = Q 1 0 Q 2 0 {1} ((q 1, q 2, 1), a, (q 1, q 2, 1)) δ iff (q 1, a, q 1) δ 1, (q 2, a, q 2) δ 2, and q 1 T 1 ((q 1, q 2, 1), a, (q 1, q 2, 2)) δ iff (q 1, a, q 1) δ 1, (q 2, a, q 2) δ 2, and q 1 T 1 ((q 1, q 2, 2), a, (q 1, q 2, 2)) δ iff (q 1, a, q 1) δ 1, (q 2, a, q 2) δ 2, and q 2 T 2 ((q 1, q 2, 2), a, (q 1, q 2, 1)) δ iff (q 1, a, q 1) δ 1, (q 2, a, q 2) δ 2, and q 2 T 2 T = {(q 1, q 2, 2) q 1 Q 1 and q 2 T 2} Theorem L(A ) = L(A 1) L(A 2) Proof. same as in the Special Case Lecture 4 Automata on Infinite words and LTL Model Checking 14 / 35

16 NBA - Closure Properties: Intersection Example Lecture 4 Automata on Infinite words and LTL Model Checking 15 / 35

17 NBA - Closure Properties: Intersection Example Lecture 4 Automata on Infinite words and LTL Model Checking 15 / 35

18 NBA - Closure Properties: Intersection Example Lecture 4 Automata on Infinite words and LTL Model Checking 15 / 35

19 NBA - Closure Properties: Intersection Example Simplification: Remove unreachable states and moving nodes Lecture 4 Automata on Infinite words and LTL Model Checking 15 / 35

20 NBA - Closure Properties: Intersection Example Lecture 4 Automata on Infinite words and LTL Model Checking 15 / 35

21 NBA - Closure Properties: Intersection Example Simplification: Unify the nodes in the trap All simplified automata accept the same language : G(a Fb)! Lecture 4 Automata on Infinite words and LTL Model Checking 15 / 35

22 LTL to NBA Theorem For every LTL formula ϕ over AP, there is a NBA A such that L(A) = {w 2 AP w, 0 = ϕ} Lecture 4 Automata on Infinite words and LTL Model Checking 16 / 35

23 LTL to NBA - Approach The construction of a NBA from a LTL formula is done in three steps: Formula rewriting Rewrite the formula in negative normal form Apply rewriting rules Core translation Turn an LTL formula into a generalized Büchi automaton Degeneralization Turn the general Büchi automaton into a NBA Lecture 4 Automata on Infinite words and LTL Model Checking 17 / 35

24 LTL to NBA - Rewriting Put the formula in Negative Normal Form Negation appears only in front of literals Use the following identities to propagate the negations inwards: ϕ ϕ X ϕ X ϕ Gϕ F ϕ F ϕ G ϕ (ϕ 1 ϕ 2) ( ϕ 1) ( ϕ 2) (ϕ 1 ϕ 2) ( ϕ 1) ( ϕ 2) (ϕ 1Uϕ 2) ( ϕ 1)R( ϕ 2) (ϕ 1Rϕ 2) ( ϕ 1)U( ϕ 2) Definition An LTL formula is in Negative Normal Form (NNF) if it follows the syntax given by ϕ ::= p p ϕ ϕ ϕ ϕ X ϕ ϕuϕ ϕrϕ where p AP is an atomic proposition. Lecture 4 Automata on Infinite words and LTL Model Checking 18 / 35

25 LTL to NBA - Rewriting The size of the automaton will depend on the size of the formula Reduce the number of temporal subformulas by applying other rewriting rules: (X ϕ 1) (X ϕ 2) X (ϕ 1 ϕ 2) (ϕrψ 1) (ϕrψ 2) ϕr(ψ 1 ψ 2) (Gϕ 1) (Gϕ 2) G(ϕ 1 ϕ 2) (X ϕ 1)U(X ϕ 2) X (ϕ 1Uϕ 2) (ψ 1Rϕ) (ψ 2Rϕ) (ψ 1 ψ 2)Rϕ GF ϕ 1 GF ϕ 2 GF (ϕ 1 ϕ 2) Lecture 4 Automata on Infinite words and LTL Model Checking 19 / 35

26 LTL to NBA - Rewriting : Example ϕ 1 = F (p Fq) G (p Fq) Lecture 4 Automata on Infinite words and LTL Model Checking 20 / 35

27 LTL to NBA - Rewriting : Example ϕ 1 = F (p Fq) G (p Fq) G( p Fq) Lecture 4 Automata on Infinite words and LTL Model Checking 20 / 35

28 LTL to NBA - Rewriting : Example ϕ 1 = F (p Fq) G (p Fq) G( p Fq) G( p Fq) Lecture 4 Automata on Infinite words and LTL Model Checking 20 / 35

29 LTL to NBA - Rewriting : Example ϕ 1 = F (p Fq) G (p Fq) G( p Fq) G( p Fq) ϕ 2 = F (p (Xq R X r)) G (p (Xq R X r)) G( p (Xq R X r)) G( p (( Xq) U ( X r))) G( p ((X q) U (X r))) G( p (X q) U (Xr)) G( p X ( q U r)) Lecture 4 Automata on Infinite words and LTL Model Checking 20 / 35

30 LTL to NBA - Core Translation A state of the automaton A ϕ is a consistent set Z of subformulas of ϕ Definition A set Z Sub(ϕ) is consistent if it does not contain or a pair {ψ, ψ}. The formulas in Z are seen as obligations If a run ρ on a word w starts in Z and satisfies the accepting condition, then w, 0 = ψ The only initial state of A ϕ is Z = {ϕ} Transitions to next states are given by the formulas of the form X ψ from Z Need to reduce Z such that all formulas in Z are either literals or have the form X ψ ψ Z Lecture 4 Automata on Infinite words and LTL Model Checking 21 / 35

31 LTL to NBA - Core Translation : Reduction of sets Z Use ɛ-transitions to reduce arbitrary sets Y of formulas they are handy, but will not belong to the final A ϕ Reduction depends on non-reduced formulas ψ Y!ψ means ψ has been postponed marked transitions used to define accepting transitions Lecture 4 Automata on Infinite words and LTL Model Checking 22 / 35

32 LTL to NBA - Core Translation : Example Example (Reduction for ϕ = G(p Fq)) Lecture 4 Automata on Infinite words and LTL Model Checking 23 / 35

33 LTL to NBA - Core Translation Y ɛ Z if there is a sequence of ɛ-transitions from Y to Z Red(Y ) = {Z consistent and reduced Y ɛ Z} Red α(y ) = {Z consistent and reduced Y ɛ Z without using an edge marked with!α} From the definition of the reduction rules, holds: ψ ψ ψ Y Z Red(Y ) ψ Z Lecture 4 Automata on Infinite words and LTL Model Checking 24 / 35

34 LTL to NBA - Core Translation : Example Example (Reduction for ϕ = G(p Fq)) Red({ϕ}) = {{ p, X ϕ}, {q, X ϕ}, {XFq, X ϕ}} Red Fq ({ϕ}) = {{ p, X ϕ}, {q, X ϕ}} Lecture 4 Automata on Infinite words and LTL Model Checking 25 / 35

35 LTL to NBA - Core Translation : Generalized Büchi Automaton Let Σ Z = {a 2 AP p AP, (p Z p a) and ( p Z p a)} Let U(ϕ) = {ψ Sub(ϕ) ψ = ψ 1Uψ 2 or ψ = F ψ 1} the set of until formulas of ϕ Let next(z) = {ψ X ψ Z} The Generalized Büchi Automaton for ϕ is B ϕ = 2 AP, Q, Q 0, δ, (T α) α U(ϕ) Q = 2 Sub(ϕ) Q 0 = {{ϕ}} δ = {Y a next(z) Y Q, a Σ Z and Z Red(Y )} For each α U(ϕ), T α = {Y a next(z) Y Q, a Σ Z and Z Red α(y )} the accepting condition is a set of sets of transitions to be visited infinitely often Asks to net postpone forever the until formulas Lecture 4 Automata on Infinite words and LTL Model Checking 26 / 35

36 LTL to NBA - Core Translation : Example of Construction Example (ϕ = G( p Fq)) Lecture 4 Automata on Infinite words and LTL Model Checking 27 / 35

37 LTL to NBA - Core Translation : Example of Construction Example (ϕ = G( p Fq) - continuation) After removing the intermediate dashed transitions: Lecture 4 Automata on Infinite words and LTL Model Checking 28 / 35

38 LTL to NBA - Core Translation : Example of Construction Example (ϕ = G( p Fq) - continuation) After removing the intermediate dashed transitions: After removing redundant transitions: Lecture 4 Automata on Infinite words and LTL Model Checking 28 / 35

39 LTL to NBA - Degeneralization For B ϕ = 2 AP, Q, Q 0, δ, T 1, T 2,..., T n with n sets in the acceptance condition, Take the synchronous product with the automaton D n below: The Nondeterministic Büchi Automaton for ϕ is then A ϕ = B ϕ D n Lecture 4 Automata on Infinite words and LTL Model Checking 29 / 35

40 LTL to NBA - Degeneralization : Example For ϕ = G( p Fq) A ϕ : Σ p q F q start ϕ = G( p Fq), 0 ϕ, 1 Σ Fq, ϕ, 0 Σ Σ q F q Lecture 4 Automata on Infinite words and LTL Model Checking 30 / 35

41 LTL to NBA - Degeneralization : Example For ϕ = G( p Fq) NBA A ϕ after removing labels F q: A ϕ : Σ p q start ϕ = G( p Fq), 0 ϕ, 1 Σ Σ Fq, ϕ, 0 Σ q Lecture 4 Automata on Infinite words and LTL Model Checking 30 / 35

42 Modeling LTS as NBA A Labeled Transition System T is the set of all its executions Transform a LTS T = AP, S, S 0, R, τ... into NBA A T = 2 AP, Q, Q 0, δ, T where Q = S {l} Q 0 = {l} (l, a, s) δ iff s S 0 and a = τ(s) (s, a, s ) δ iff (s, s ) R and a = τ(s ) T = S {l} l {p, q} s 0 s 1 {p} {p} {p, q} {p} s 0 s 1 {p, q} {q} {p, q} s 2 {q} s 2 LTS T NBA A T Lecture 4 Automata on Infinite words and LTL Model Checking 31 / 35

43 Back to LTL Model Checking Recall: T satisfies the LTL formula ϕ iff Traces(T ) L( ϕ) = Since L(A ϕ) = L( ϕ), T satisfies the LTL formula ϕ iff L(A T A ϕ) = Where A T is the Büchi automaton of size O( T ) s.t. L(A T ) = Traces(T ) A ϕ is the Büchi automaton recognizing models of ϕ obtained as before. Its size is 2 O( ϕ ) is the synchronous product operation If L(A T A ϕ), any behavior in it is an counterexample. Counterexamples are always of the form uv ω, where u and v are finite words Lecture 4 Automata on Infinite words and LTL Model Checking 32 / 35

44 LTL Model Checking - Complexity Theorem Checking whether an LTL formula ϕ is satisfied by a LTS T can be done in time O( T 2 O( ϕ ) ). i.e., checking is polynomial in the size of the model and exponential in the size of the specification. Lecture 4 Automata on Infinite words and LTL Model Checking 33 / 35

45 Emptiness of NBA An Büchi automaton is non-empty iff Is this automaton empty? there exists a path to a cycle containing an accepting state b q 2 c a q 0 q 1 e q 4 f q 3 d Lecture 4 Automata on Infinite words and LTL Model Checking 34 / 35

46 Emptiness of NBA An Büchi automaton is non-empty iff there exists a path to a cycle containing an accepting state Is this automaton empty? No : It accepts a(bef ) ω a q 0 q 1 b q 2 e c q 4 f q 3 d Lecture 4 Automata on Infinite words and LTL Model Checking 34 / 35

47 Emptiness of NBA An Büchi automaton is non-empty iff there exists a path to a cycle containing an accepting state Is this automaton empty? No : It accepts a(bef ) ω a q 0 q 1 b q 2 e c q 4 f Idea: Consider only reachable states of A Find all maximal strongly connected components: SCC 1, SCC 2, etc. An automaton is non-empty iff exists SCC i containing an accepting state q 3 d Lecture 4 Automata on Infinite words and LTL Model Checking 34 / 35

48 Emptiness of NBA An Büchi automaton is non-empty iff there exists a path to a cycle containing an accepting state Is this automaton empty? No : It accepts a(bef ) ω a q 0 q 1 b q 2 e c q 4 f Idea: Consider only reachable states of A Find all maximal strongly connected components: SCC 1, SCC 2, etc. An automaton is non-empty iff exists SCC i containing an accepting state q 3 d Consequence: The language of any Büchi automata is of the form X (Y ) ω where X and Y are regular languages of finite words. Lecture 4 Automata on Infinite words and LTL Model Checking 34 / 35

49 Bibliography Stéphane Demri & Paul Gastin - Specification and Verification using Temporal Logics : cefb dc412fb1b29edcdc59a13e5df.pdf Bakhadyr Khoussainov and Anil Nerode: Automata Theory and its Applications (available online) Erich Grädel et al: Automata, Logics, and Infinite Games - A Guide to Current Research(available online) Lecture 4 Automata on Infinite words and LTL Model Checking 35 / 35

Automata-Theoretic LTL Model-Checking

Automata-Theoretic LTL Model-Checking Automata-Theoretic LTL Model-Checking Arie Gurfinkel arie@cmu.edu SEI/CMU Automata-Theoretic LTL Model-Checking p.1 LTL - Linear Time Logic (Pn 77) Determines Patterns on Infinite Traces Atomic Propositions

More information

Chapter 3: Linear temporal logic

Chapter 3: Linear temporal logic INFOF412 Formal verification of computer systems Chapter 3: Linear temporal logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 LTL: a specification

More information

Automata-based Verification - III

Automata-based Verification - III COMP30172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2009 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège Temporal logics and explicit-state model checking Pierre Wolper Université de Liège 1 Topics to be covered Introducing explicit-state model checking Finite automata on infinite words Temporal Logics and

More information

Chapter 5: Linear Temporal Logic

Chapter 5: Linear Temporal Logic Chapter 5: Linear Temporal Logic Prof. Ali Movaghar Verification of Reactive Systems Spring 94 Outline We introduce linear temporal logic (LTL), a logical formalism that is suited for specifying LT properties.

More information

Automata-based Verification - III

Automata-based Verification - III CS3172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20/22: email: howard.barringer@manchester.ac.uk March 2005 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Chapter 5: Linear Temporal Logic

Chapter 5: Linear Temporal Logic Chapter 5: Linear Temporal Logic Prof. Ali Movaghar Verification of Reactive Systems Spring 91 Outline We introduce linear temporal logic (LTL), a logical formalism that is suited for specifying LT properties.

More information

ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear:

ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear: ω-automata ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear: in verification, as encodings of non-terminating executions of a program. in arithmetic,

More information

T Reactive Systems: Temporal Logic LTL

T Reactive Systems: Temporal Logic LTL Tik-79.186 Reactive Systems 1 T-79.186 Reactive Systems: Temporal Logic LTL Spring 2005, Lecture 4 January 31, 2005 Tik-79.186 Reactive Systems 2 Temporal Logics Temporal logics are currently the most

More information

Automata and Reactive Systems

Automata and Reactive Systems Automata and Reactive Systems Lecture WS 2002/2003 Prof. Dr. W. Thomas RWTH Aachen Preliminary version (Last change March 20, 2003) Translated and revised by S. N. Cho and S. Wöhrle German version by M.

More information

From Liveness to Promptness

From Liveness to Promptness From Liveness to Promptness Orna Kupferman Hebrew University Nir Piterman EPFL Moshe Y. Vardi Rice University Abstract Liveness temporal properties state that something good eventually happens, e.g., every

More information

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate

More information

Computer-Aided Program Design

Computer-Aided Program Design Computer-Aided Program Design Spring 2015, Rice University Unit 3 Swarat Chaudhuri February 5, 2015 Temporal logic Propositional logic is a good language for describing properties of program states. However,

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 1. Büchi Automata and S1S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong Büchi Automata & S1S 14-19 June

More information

Lecture Notes on Emptiness Checking, LTL Büchi Automata

Lecture Notes on Emptiness Checking, LTL Büchi Automata 15-414: Bug Catching: Automated Program Verification Lecture Notes on Emptiness Checking, LTL Büchi Automata Matt Fredrikson André Platzer Carnegie Mellon University Lecture 18 1 Introduction We ve seen

More information

CDS 270 (Fall 09) - Lecture Notes for Assignment 8.

CDS 270 (Fall 09) - Lecture Notes for Assignment 8. CDS 270 (Fall 09) - Lecture Notes for Assignment 8. ecause this part of the course has no slides or textbook, we will provide lecture supplements that include, hopefully, enough discussion to complete

More information

Timo Latvala. February 4, 2004

Timo Latvala. February 4, 2004 Reactive Systems: Temporal Logic LT L Timo Latvala February 4, 2004 Reactive Systems: Temporal Logic LT L 8-1 Temporal Logics Temporal logics are currently the most widely used specification formalism

More information

Timo Latvala. March 7, 2004

Timo Latvala. March 7, 2004 Reactive Systems: Safety, Liveness, and Fairness Timo Latvala March 7, 2004 Reactive Systems: Safety, Liveness, and Fairness 14-1 Safety Safety properties are a very useful subclass of specifications.

More information

Introduction. Büchi Automata and Model Checking. Outline. Büchi Automata. The simplest computation model for infinite behaviors is the

Introduction. Büchi Automata and Model Checking. Outline. Büchi Automata. The simplest computation model for infinite behaviors is the Introduction Büchi Automata and Model Checking Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 The simplest computation model for finite behaviors is the finite

More information

Sanjit A. Seshia EECS, UC Berkeley

Sanjit A. Seshia EECS, UC Berkeley EECS 219C: Computer-Aided Verification Explicit-State Model Checking: Additional Material Sanjit A. Seshia EECS, UC Berkeley Acknowledgments: G. Holzmann Checking if M satisfies : Steps 1. Compute Buchi

More information

Linear Temporal Logic and Büchi Automata

Linear Temporal Logic and Büchi Automata Linear Temporal Logic and Büchi Automata Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 Yih-Kuen Tsay (SVVRL @ IM.NTU) Linear Temporal Logic and Büchi Automata

More information

LTL is Closed Under Topological Closure

LTL is Closed Under Topological Closure LTL is Closed Under Topological Closure Grgur Petric Maretić, Mohammad Torabi Dashti, David Basin Department of Computer Science, ETH Universitätstrasse 6 Zürich, Switzerland Abstract We constructively

More information

Linear-Time Logic. Hao Zheng

Linear-Time Logic. Hao Zheng Linear-Time Logic Hao Zheng Department of Computer Science and Engineering University of South Florida Tampa, FL 33620 Email: zheng@cse.usf.edu Phone: (813)974-4757 Fax: (813)974-5456 Hao Zheng (CSE, USF)

More information

Büchi Automata and Linear Temporal Logic

Büchi Automata and Linear Temporal Logic Büchi Automata and Linear Temporal Logic Joshua D. Guttman Worcester Polytechnic Institute 18 February 2010 Guttman ( WPI ) Büchi & LTL 18 Feb 10 1 / 10 Büchi Automata Definition A Büchi automaton is a

More information

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics CS256/Spring 2008 Lecture #11 Zohar Manna Beyond Temporal Logics Temporal logic expresses properties of infinite sequences of states, but there are interesting properties that cannot be expressed, e.g.,

More information

Multiagent Systems and Games

Multiagent Systems and Games Multiagent Systems and Games Rodica Condurache Lecture 5 Lecture 5 Multiagent Systems and Games 1 / 31 Multiagent Systems Definition A Multiagent System is a tuple M = AP, Ag, (Act i ) i Ag, V, v 0, τ,

More information

Tecniche di Specifica e di Verifica. Automata-based LTL Model-Checking

Tecniche di Specifica e di Verifica. Automata-based LTL Model-Checking Tecniche di Specifica e di Verifica Automata-based LTL Model-Checking Finite state automata A finite state automaton is a tuple A = (Σ,S,S 0,R,F) Σ: set of input symbols S: set of states -- S 0 : set of

More information

Automata, Logic and Games. C.-H. L. Ong

Automata, Logic and Games. C.-H. L. Ong Automata, Logic and Games C.-H. L. Ong March 6, 2013 2 Contents 0 Automata, Logic and Games 1 0.1 Aims and Prerequisites............................... 1 0.2 Motivation.....................................

More information

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct.

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct. EE 244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2016 Temporal logic Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE 244, Fall 2016

More information

Büchi Automata and Their Determinization

Büchi Automata and Their Determinization Büchi Automata and Their Determinization Edinburgh, October 215 Plan of the Day 1. Büchi automata and their determinization 2. Infinite games 3. Rabin s Tree Theorem 4. Decidability of monadic theories

More information

Classes and conversions

Classes and conversions Classes and conversions Regular expressions Syntax: r = ε a r r r + r r Semantics: The language L r of a regular expression r is inductively defined as follows: L =, L ε = {ε}, L a = a L r r = L r L r

More information

Languages, logics and automata

Languages, logics and automata Languages, logics and automata Anca Muscholl LaBRI, Bordeaux, France EWM summer school, Leiden 2011 1 / 89 Before all that.. Sonia Kowalewskaya Emmy Noether Julia Robinson All this attention has been gratifying

More information

Automata Theory and Model Checking

Automata Theory and Model Checking Automata Theory and Model Checking Orna Kupferman Abstract We study automata on infinite words and their applications in system specification and verification. We first introduce Büchi automata and survey

More information

Syntax and Semantics of Propositional Linear Temporal Logic

Syntax and Semantics of Propositional Linear Temporal Logic Syntax and Semantics of Propositional Linear Temporal Logic 1 Defining Logics L, M, = L - the language of the logic M - a class of models = - satisfaction relation M M, ϕ L: M = ϕ is read as M satisfies

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

More information

Automata-Theoretic Verification

Automata-Theoretic Verification Automata-Theoretic Verification Javier Esparza TU München Orna Kupferman The Hebrew University Moshe Y. Vardi Rice University 1 Introduction This chapter describes the automata-theoretic approach to the

More information

Definition of Büchi Automata

Definition of Büchi Automata Büchi Automata Definition of Büchi Automata Let Σ = {a,b,...} be a finite alphabet. By Σ ω we denote the set of all infinite words over Σ. A non-deterministic Büchi automaton (NBA) over Σ is a tuple A

More information

LTL with Arithmetic and its Applications in Reasoning about Hierarchical Systems

LTL with Arithmetic and its Applications in Reasoning about Hierarchical Systems This space is reserved for the EPiC Series header, do not use it LTL with Arithmetic and its Applications in Reasoning about Hierarchical Systems Rachel Faran and Orna Kupferman The Hebrew University,

More information

Temporal Logic. M φ. Outline. Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness. Ralf Huuck. Kripke Structure

Temporal Logic. M φ. Outline. Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness. Ralf Huuck. Kripke Structure Outline Temporal Logic Ralf Huuck Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness Model Checking Problem model, program? M φ satisfies, Implements, refines property, specification

More information

Model Checking of Safety Properties

Model Checking of Safety Properties Model Checking of Safety Properties Orna Kupferman Hebrew University Moshe Y. Vardi Rice University October 15, 2010 Abstract Of special interest in formal verification are safety properties, which assert

More information

Lecture 2 Automata Theory

Lecture 2 Automata Theory Lecture 2 Automata Theory Ufuk Topcu Nok Wongpiromsarn Richard M. Murray Outline: Transition systems Linear-time properties Regular propereties EECI, 14 May 2012 This short-course is on this picture applied

More information

Automata, Logic and Games. C.-H. L. Ong

Automata, Logic and Games. C.-H. L. Ong Automata, Logic and Games C.-H. L. Ong June 12, 2015 2 Contents 0 Automata, Logic and Games 1 0.1 Aims and Prerequisites............................... 1 0.2 Motivation.....................................

More information

Almost Linear Büchi Automata

Almost Linear Büchi Automata Almost Linear Büchi Automata Tomáš Babiak Vojtěch Řehák Jan Strejček Faculty of Informatics Masaryk University Brno, Czech Republic {xbabiak, rehak, strejcek}@fi.muni.cz We introduce a new fragment of

More information

Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66

Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66 Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66 Teknillisen korkeakoulun tietojenkäsittelyteorian laboratorion tutkimusraportti 66 Espoo 2000 HUT-TCS-A66

More information

Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 83

Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 83 Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 83 Teknillisen korkeakoulun tietojenkäsittelyteorian laboratorion tutkimusraportti 83 Espoo 2003 HUT-TCS-A83

More information

Further discussion of Turing machines

Further discussion of Turing machines Further discussion of Turing machines In this lecture we will discuss various aspects of decidable and Turing-recognizable languages that were not mentioned in previous lectures. In particular, we will

More information

Deterministic ω-automata for LTL: A safraless, compositional, and mechanically verified construction

Deterministic ω-automata for LTL: A safraless, compositional, and mechanically verified construction Deterministic ω-automata for LTL: A safraless, compositional, and mechanically verified construction Javier Esparza 1 Jan Křetínský 2 Salomon Sickert 1 1 Fakultät für Informatik, Technische Universität

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 2 Parity Games, Tree Automata, and S2S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong S2S 14-19 June

More information

Alan Bundy. Automated Reasoning LTL Model Checking

Alan Bundy. Automated Reasoning LTL Model Checking Automated Reasoning LTL Model Checking Alan Bundy Lecture 9, page 1 Introduction So far we have looked at theorem proving Powerful, especially where good sets of rewrite rules or decision procedures have

More information

Tableau-Based Automata Construction for Dynamic Linear Time Temporal Logic

Tableau-Based Automata Construction for Dynamic Linear Time Temporal Logic Tableau-Based Automata Construction for Dynamic Linear Time Temporal Logic Laura Giordano Università del Piemonte Orientale Alessandria, Italy laura@mfn.unipmn.it Alberto Martelli Università di Torino

More information

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza Automata theory An algorithmic approach Lecture Notes Javier Esparza July 2 22 2 Chapter 9 Automata and Logic A regular expression can be seen as a set of instructions ( a recipe ) for generating the words

More information

Monadic Second Order Logic and Automata on Infinite Words: Büchi s Theorem

Monadic Second Order Logic and Automata on Infinite Words: Büchi s Theorem Monadic Second Order Logic and Automata on Infinite Words: Büchi s Theorem R. Dustin Wehr December 18, 2007 Büchi s theorem establishes the equivalence of the satisfiability relation for monadic second-order

More information

T (s, xa) = T (T (s, x), a). The language recognized by M, denoted L(M), is the set of strings accepted by M. That is,

T (s, xa) = T (T (s, x), a). The language recognized by M, denoted L(M), is the set of strings accepted by M. That is, Recall A deterministic finite automaton is a five-tuple where S is a finite set of states, M = (S, Σ, T, s 0, F ) Σ is an alphabet the input alphabet, T : S Σ S is the transition function, s 0 S is the

More information

Computation Tree Logic (CTL) & Basic Model Checking Algorithms

Computation Tree Logic (CTL) & Basic Model Checking Algorithms Computation Tree Logic (CTL) & Basic Model Checking Algorithms Martin Fränzle Carl von Ossietzky Universität Dpt. of Computing Science Res. Grp. Hybride Systeme Oldenburg, Germany 02917: CTL & Model Checking

More information

2. Elements of the Theory of Computation, Lewis and Papadimitrou,

2. Elements of the Theory of Computation, Lewis and Papadimitrou, Introduction Finite Automata DFA, regular languages Nondeterminism, NFA, subset construction Regular Epressions Synta, Semantics Relationship to regular languages Properties of regular languages Pumping

More information

Lecture 2 Automata Theory

Lecture 2 Automata Theory Lecture 2 Automata Theory Ufuk Topcu Nok Wongpiromsarn Richard M. Murray EECI, 18 March 2013 Outline Modeling (discrete) concurrent systems: transition systems, concurrency and interleaving Linear-time

More information

CHURCH SYNTHESIS PROBLEM and GAMES

CHURCH SYNTHESIS PROBLEM and GAMES p. 1/? CHURCH SYNTHESIS PROBLEM and GAMES Alexander Rabinovich Tel-Aviv University, Israel http://www.tau.ac.il/ rabinoa p. 2/? Plan of the Course 1. The Church problem - logic and automata. 2. Games -

More information

Chapter 5: Linear Temporal Logic

Chapter 5: Linear Temporal Logic Chapter 5: Linear Temporal Logic Prof. Ali Movaghar Verification of Reactive Systems Outline n n We introduce linear temporal logic (LTL), a logical formalism that is suited for specifying LT properties.

More information

Finite Universes. L is a fixed-length language if it has length n for some

Finite Universes. L is a fixed-length language if it has length n for some Finite Universes Finite Universes When the universe is finite (e.g., the interval 0, 2 1 ), all objects can be encoded by words of the same length. A language L has length n 0 if L =, or every word of

More information

On the Succinctness of Nondeterminizm

On the Succinctness of Nondeterminizm On the Succinctness of Nondeterminizm Benjamin Aminof and Orna Kupferman Hebrew University, School of Engineering and Computer Science, Jerusalem 91904, Israel Email: {benj,orna}@cs.huji.ac.il Abstract.

More information

An On-the-fly Tableau Construction for a Real-Time Temporal Logic

An On-the-fly Tableau Construction for a Real-Time Temporal Logic #! & F $ F ' F " F % An On-the-fly Tableau Construction for a Real-Time Temporal Logic Marc Geilen and Dennis Dams Faculty of Electrical Engineering, Eindhoven University of Technology P.O.Box 513, 5600

More information

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

More information

LTL Model Checking. Wishnu Prasetya.

LTL Model Checking. Wishnu Prasetya. LTL Model Checking Wishnu Prasetya wishnu@cs.uu.nl www.cs.uu.nl/docs/vakken/pv Overview This pack : Abstract model of programs Temporal properties Verification (via model checking) algorithm Concurrency

More information

Decision Procedures for CTL

Decision Procedures for CTL Decision Procedures for CTL Oliver Friedmann and Markus Latte Dept. of Computer Science, University of Munich, Germany Abstract. We give an overview over three serious attempts to devise an effective decision

More information

From Liveness to Promptness

From Liveness to Promptness From Liveness to Promptness Orna Kupferman 1, Nir Piterman 2, and Moshe Y. Vardi 3 1 Hebrew University 2 Ecole Polytechnique Fédéral de Lausanne (EPFL) 3 Rice University Abstract. Liveness temporal properties

More information

Logic Model Checking

Logic Model Checking Logic Model Checking Lecture Notes 10:18 Caltech 101b.2 January-March 2004 Course Text: The Spin Model Checker: Primer and Reference Manual Addison-Wesley 2003, ISBN 0-321-22862-6, 608 pgs. the assignment

More information

Tecniche di Specifica e di Verifica. Automata-based LTL Model-Checking

Tecniche di Specifica e di Verifica. Automata-based LTL Model-Checking Tecniche di Specifica e di Verifica Automata-based LTL Model-Checking Finite state automata A finite state automaton is a tuple A = (S,S,S 0,R,F) S: set of input symbols S: set of states -- S 0 : set of

More information

Impartial Anticipation in Runtime-Verification

Impartial Anticipation in Runtime-Verification Impartial Anticipation in Runtime-Verification Wei Dong 1, Martin Leucker 2, and Christian Schallhart 2 1 School of Computer, National University of Defense Technology, P.R.China 2 Institut für Informatik,

More information

Stéphane Demri Arnaud Sangnier. When Model-Checking Freeze LTL over Counter Machines Becomes Decidable. Research Report LSV-10-05

Stéphane Demri Arnaud Sangnier. When Model-Checking Freeze LTL over Counter Machines Becomes Decidable. Research Report LSV-10-05 Stéphane Demri Arnaud Sangnier When Model-Checking Freeze LTL over Counter Machines Becomes Decidable Research Report LSV-10-05 February 2010 When Model-Checking Freeze LTL over Counter Machines Becomes

More information

Applied Automata Theory

Applied Automata Theory Applied Automata Theory Roland Meyer TU Kaiserslautern Roland Meyer (TU KL) Applied Automata Theory (WiSe 2013) 1 / 161 Table of Contents I 1 Regular Languages and Finite Automata Regular Languages Finite

More information

Model Checking Algorithms

Model Checking Algorithms Model Checking Algorithms Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan November 14, 2018 Bow-Yaw Wang (Academia Sinica) Model Checking Algorithms November 14, 2018 1 / 56 Outline

More information

Lattice Automata. Orna Kupferman and Yoad Lustig

Lattice Automata. Orna Kupferman and Yoad Lustig Lattice Automata Orna Kupferman and Yoad Lustig Hebrew University, School of Engineering and Computer Science, Jerusalem 91904, Israel Email: {orna,yoadl}@cs.huji.ac.il Abstract. Several verification methods

More information

Theoretical Foundations of the UML

Theoretical Foundations of the UML Theoretical Foundations of the UML Lecture 17+18: A Logic for MSCs Joost-Pieter Katoen Lehrstuhl für Informatik 2 Software Modeling and Verification Group moves.rwth-aachen.de/teaching/ws-1718/fuml/ 5.

More information

Model Checking LTL with Regular Valuations for Pushdown Systems 1

Model Checking LTL with Regular Valuations for Pushdown Systems 1 Model Checking LTL with Regular Valuations for Pushdown Systems 1 Javier Esparza Division of Informatics University of Edinburgh Edinburgh EH9 3JZ United Kingdom E-mail: jav@dcs.ed.ac.uk and Antonín Kučera

More information

Course Runtime Verification

Course Runtime Verification Course Martin Leucker (ISP) Volker Stolz (Høgskolen i Bergen, NO) INF5140 / V17 Chapters of the Course Chapter 1 Recall in More Depth Chapter 2 Specification Languages on Words Chapter 3 LTL on Finite

More information

Component-wise Incremental LTL Model Checking

Component-wise Incremental LTL Model Checking Component-wise Incremental LTL Model Checking Vince Molnár 1, András Vörös 1, Dániel Darvas 1, Tamás Bartha 2 and István Majzik 1 1 Department of Measurement and Information Systems, Budapest University

More information

SETH FOGARTY AND MOSHE Y. VARDI

SETH FOGARTY AND MOSHE Y. VARDI BÜCHI COMPLEMENTATION AND SIZE-CHANGE TERMINATION SETH FOGARTY AND MOSHE Y. VARDI Department of Computer Science, Rice University, Houston, TX e-mail address: sfogarty@gmail.com Department of Computer

More information

Temporal Logic Model Checking

Temporal Logic Model Checking 18 Feb, 2009 Thomas Wahl, Oxford University Temporal Logic Model Checking 1 Temporal Logic Model Checking Thomas Wahl Computing Laboratory, Oxford University 18 Feb, 2009 Thomas Wahl, Oxford University

More information

Tree Automata and Rewriting

Tree Automata and Rewriting and Rewriting Ralf Treinen Université Paris Diderot UFR Informatique Laboratoire Preuves, Programmes et Systèmes treinen@pps.jussieu.fr July 23, 2010 What are? Definition Tree Automaton A tree automaton

More information

Optimal Bounds in Parametric LTL Games

Optimal Bounds in Parametric LTL Games Optimal Bounds in Parametric LTL Games Martin Zimmermann 1 Institute of Informatics University of Warsaw Warsaw, Poland Abstract Parameterized linear temporal logics are extensions of Linear Temporal Logic

More information

SAT-Based Explicit LTL Reasoning

SAT-Based Explicit LTL Reasoning SAT-Based Explicit LTL Reasoning Jianwen Li 1,2 Shufang Zhu 2 Geguang Pu 2 Moshe Y. Vardi 1 1. Rice University 2. East China Normal University August 22, 2016 Temporal Reasoning Church, 1957: Given a model

More information

Unary Automatic Graphs: An Algorithmic Perspective 1

Unary Automatic Graphs: An Algorithmic Perspective 1 Unary Automatic Graphs: An Algorithmic Perspective 1 This paper studies infinite graphs produced from a natural unfolding operation applied to finite graphs. Graphs produced via such operations are of

More information

Automata Construction for PSL

Automata Construction for PSL Automata Construction for Doron Bustan 1 Dana Fisman 2 John Havlicek 1 dbustan@freescale.com dana.fisman@weizmann.ac.il john.havlicek@freescale.com 1 Freescale Semiconductor, Inc. 2 Weizmann Institute

More information

Fast LTL to Büchi Automata Translation

Fast LTL to Büchi Automata Translation (LTL2BA) April 19, 2013 (LTL2BA) Table of contents 1 (LTL2BA) 2 Alternating Formula Improvements in LTL to VWAA Translation Improvements in VWAA to TGBA Translation Optimization of BA 3 (LTL2BA) (LTL2BA)

More information

Visibly Linear Dynamic Logic

Visibly Linear Dynamic Logic Visibly Linear Dynamic Logic Joint work with Alexander Weinert (Saarland University) Martin Zimmermann Saarland University September 8th, 2016 Highlights Conference, Brussels, Belgium Martin Zimmermann

More information

PSL Model Checking and Run-time Verification via Testers

PSL Model Checking and Run-time Verification via Testers PSL Model Checking and Run-time Verification via Testers Formal Methods 2006 Aleksandr Zaks and Amir Pnueli New York University Introduction Motivation (Why PSL?) A new property specification language,

More information

Failure Diagnosis of Discrete Event Systems With Linear-Time Temporal Logic Specifications

Failure Diagnosis of Discrete Event Systems With Linear-Time Temporal Logic Specifications Failure Diagnosis of Discrete Event Systems With Linear-Time Temporal Logic Specifications Shengbing Jiang and Ratnesh Kumar Abstract The paper studies failure diagnosis of discrete event systems with

More information

Lecture 9 Synthesis of Reactive Control Protocols

Lecture 9 Synthesis of Reactive Control Protocols Lecture 9 Synthesis of Reactive Control Protocols Nok Wongpiromsarn Singapore-MIT Alliance for Research and Technology Richard M. Murray and Ufuk Topcu California Institute of Technology EECI, 16 May 2012

More information

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either Introduction to Temporal Logic The purpose of temporal logics is to specify properties of dynamic systems. These can be either Desired properites. Often liveness properties like In every infinite run action

More information

Logic in Automatic Verification

Logic in Automatic Verification Logic in Automatic Verification Javier Esparza Sofware Reliability and Security Group Institute for Formal Methods in Computer Science University of Stuttgart Many thanks to Abdelwaheb Ayari, David Basin,

More information

Logic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014

Logic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014 Logic and Automata I EATCS School, Telc, July 2014 The Plan We present automata theory as a tool to make logic effective. Four parts: 1. Some history 2. Automata on infinite words First step: MSO-logic

More information

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford Probabilistic Model Checking Michaelmas Term 2011 Dr. Dave Parker Department of Computer Science University of Oxford Overview Temporal logic Non-probabilistic temporal logic CTL Probabilistic temporal

More information

First-Order vs. Second-Order Encodings for

First-Order vs. Second-Order Encodings for First-Order vs. Second-Order Encodings for LTL f -to-automata Translation Shufang Zhu 1, Geguang Pu 1, and Moshe Y. Vardi 2 1 East China Normal University, Shanghai, China 2 Rice University, Texas, USA

More information

Alternating-Time Temporal Logic

Alternating-Time Temporal Logic Alternating-Time Temporal Logic R.Alur, T.Henzinger, O.Kupferman Rafael H. Bordini School of Informatics PUCRS R.Bordini@pucrs.br Logic Club 5th of September, 2013 ATL All the material in this presentation

More information

Partially Ordered Two-way Büchi Automata

Partially Ordered Two-way Büchi Automata Partially Ordered Two-way Büchi Automata Manfred Kufleitner Alexander Lauser FMI, Universität Stuttgart, Germany {kufleitner, lauser}@fmi.uni-stuttgart.de June 14, 2010 Abstract We introduce partially

More information

Complexity Bounds for Regular Games (Extended Abstract)

Complexity Bounds for Regular Games (Extended Abstract) Complexity Bounds for Regular Games (Extended Abstract) Paul Hunter and Anuj Dawar University of Cambridge Computer Laboratory, Cambridge CB3 0FD, UK. paul.hunter@cl.cam.ac.uk, anuj.dawar@cl.cam.ac.uk

More information

Closure under the Regular Operations

Closure under the Regular Operations September 7, 2013 Application of NFA Now we use the NFA to show that collection of regular languages is closed under regular operations union, concatenation, and star Earlier we have shown this closure

More information

Linear-time Temporal Logic

Linear-time Temporal Logic Linear-time Temporal Logic Pedro Cabalar Department of Computer Science University of Corunna, SPAIN cabalar@udc.es 2015/2016 P. Cabalar ( Department Linear oftemporal Computer Logic Science University

More information

Alternating nonzero automata

Alternating nonzero automata Alternating nonzero automata Application to the satisfiability of CTL [,, P >0, P =1 ] Hugo Gimbert, joint work with Paulin Fournier LaBRI, Université de Bordeaux ANR Stoch-MC 06/07/2017 Control and verification

More information

Topics in Verification AZADEH FARZAN FALL 2017

Topics in Verification AZADEH FARZAN FALL 2017 Topics in Verification AZADEH FARZAN FALL 2017 Last time LTL Syntax ϕ ::= true a ϕ 1 ϕ 2 ϕ ϕ ϕ 1 U ϕ 2 a AP. ϕ def = trueu ϕ ϕ def = ϕ g intuitive meaning of and is obt Limitations of LTL pay pay τ τ soda

More information