Automata, Logics, and Infinite Games
- S. Pinchinat
IRISA, Rennes, France
Master2 RI 2007
- S. Pinchinat (IRISA)
Automata, Logics, and Infinite Games Master2 RI 2007 1 / 79
Automata, Logics, and Infinite Games S. Pinchinat IRISA, Rennes, - - PowerPoint PPT Presentation
Automata, Logics, and Infinite Games S. Pinchinat IRISA, Rennes, France Master2 RI 2007 S. Pinchinat (IRISA) Automata, Logics, and Infinite Games Master2 RI 2007 1 / 79 Temporal Logics and Model-checking 1 Introductory Example Kripke
Automata, Logics, and Infinite Games Master2 RI 2007 1 / 79
Automata, Logics, and Infinite Games Master2 RI 2007 2 / 79
Temporal Logics and Model-checking Introductory Example
Automata, Logics, and Infinite Games Master2 RI 2007 3 / 79
Temporal Logics and Model-checking Introductory Example
Automata, Logics, and Infinite Games Master2 RI 2007 4 / 79
Temporal Logics and Model-checking Kripke Structures
◮ S is a set of states (worlds) ◮ R ⊆ S × S is a transition relation ◮ λ : S → 2Prop associates those pi which are assumed true in s. Write
Automata, Logics, and Infinite Games Master2 RI 2007 5 / 79
Temporal Logics and Model-checking Kripke Structures
Automata, Logics, and Infinite Games Master2 RI 2007 6 / 79
Temporal Logics and Model-checking Kripke Structures
Automata, Logics, and Infinite Games Master2 RI 2007 7 / 79
Temporal Logics and Model-checking Kripke Structures
1 1
1
2
Automata, Logics, and Infinite Games Master2 RI 2007 8 / 79
Temporal Logics and Model-checking Behavioral Properties - The logics LTL and CTL∗
Automata, Logics, and Infinite Games Master2 RI 2007 9 / 79
Temporal Logics and Model-checking Behavioral Properties - The logics LTL and CTL∗
Automata, Logics, and Infinite Games Master2 RI 2007 10 / 79
Temporal Logics and Model-checking Behavioral Properties - The logics LTL and CTL∗
1
2
3
Automata, Logics, and Infinite Games Master2 RI 2007 11 / 79
Temporal Logics and Model-checking Behavioral Properties - The logics LTL and CTL∗
Automata, Logics, and Infinite Games Master2 RI 2007 12 / 79
Temporal Logics and Model-checking Behavioral Properties - The logics LTL and CTL∗
s0 s0s1 s0s1s1 s0s1s2 s0s1s1s1 s0s1s2 s0s1s1s2 s0s2 s0 s1 s2 t(S,s0) S
Automata, Logics, and Infinite Games Master2 RI 2007 13 / 79
Temporal Logics and Model-checking Behavioral Properties - The logics LTL and CTL∗
Automata, Logics, and Infinite Games Master2 RI 2007 14 / 79
Temporal Logics and Model-checking Behavioral Properties - The logics LTL and CTL∗
ǫ 1 00 01 10 11 T ω a a b a b a b t
Automata, Logics, and Infinite Games Master2 RI 2007 15 / 79
Temporal Logics and Model-checking Fundamental Questions
Automata, Logics, and Infinite Games Master2 RI 2007 16 / 79
Temporal Logics and Model-checking Fundamental Questions
Automata, Logics, and Infinite Games Master2 RI 2007 17 / 79
Games Generalities
Automata, Logics, and Infinite Games Master2 RI 2007 18 / 79
Games Generalities
Automata, Logics, and Infinite Games Master2 RI 2007 19 / 79
Games Generalities
◮ an infinite path π = v0v1v2 . . . ∈ V ω with vi+1 ∈ viE for all i ∈ ω, or ◮ a finite path π = v0v1v2 . . . vl ∈ V + with vi+1 ∈ viE for all i < l, but
Automata, Logics, and Infinite Games Master2 RI 2007 20 / 79
Games Generalities
◮ π is finite and last(π) ∈ V1 and last(π)E = ∅, or ◮ π is infinite and π ∈ Win.
Automata, Logics, and Infinite Games Master2 RI 2007 21 / 79
Games Parity Games
Automata, Logics, and Infinite Games Master2 RI 2007 22 / 79
Games Parity Games
Automata, Logics, and Infinite Games Master2 RI 2007 23 / 79
Games Parity Games
Automata, Logics, and Infinite Games Master2 RI 2007 24 / 79
Games Parity Games
Automata, Logics, and Infinite Games Master2 RI 2007 25 / 79
Games Parity Games
Automata, Logics, and Infinite Games Master2 RI 2007 26 / 79
Games Parity Games
Automata, Logics, and Infinite Games Master2 RI 2007 27 / 79
Games Memoryless Determinacy of Parity Games
Automata, Logics, and Infinite Games Master2 RI 2007 28 / 79
Games Memoryless Determinacy of Parity Games
1 2
Automata, Logics, and Infinite Games Master2 RI 2007 29 / 79
Games Memoryless Determinacy of Parity Games
Automata, Logics, and Infinite Games Master2 RI 2007 30 / 79
Games Solving Parity Games
1
2
Automata, Logics, and Infinite Games Master2 RI 2007 31 / 79
Games Solving Parity Games
Automata, Logics, and Infinite Games Master2 RI 2007 32 / 79
Automata on Infinite Objects Generalities
Automata, Logics, and Infinite Games Master2 RI 2007 33 / 79
Automata on Infinite Objects Generalities
Automata, Logics, and Infinite Games Master2 RI 2007 34 / 79
Automata on Infinite Objects Generalities
Automata, Logics, and Infinite Games Master2 RI 2007 35 / 79
Automata on Infinite Objects Non-deterministic Parity Tree Automata
◮ Q(∋ q0) is a finite set of states (q0 the initial state) ◮ δ ⊆ Q × Σ × Q× is the transition relation ◮ c : Q → {0, . . . , k}, k ∈ I
Automata, Logics, and Infinite Games Master2 RI 2007 36 / 79
Automata on Infinite Objects Non-deterministic Parity Tree Automata
◮ ρ(ǫ) = q0, and ◮ for every node w ∈ {0, 1}∗ of t (and its sons w0 and w1), we have
Automata, Logics, and Infinite Games Master2 RI 2007 37 / 79
Automata on Infinite Objects Non-deterministic Parity Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 38 / 79
Automata on Infinite Objects Non-deterministic Parity Tree Automata
a a b a b a b t q q q q q ⊤ ⊤ ⊤ ⊤ ⊤ ⊤ ⊤ ⊤ ρ
Automata, Logics, and Infinite Games Master2 RI 2007 39 / 79
Automata on Infinite Objects Non-deterministic Parity Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 40 / 79
Automata on Infinite Objects Non-deterministic Parity Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 41 / 79
Automata on Infinite Objects Non-deterministic Parity Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 42 / 79
Automata on Infinite Objects Non-deterministic Parity Tree Automata
◮ Tree automata cannot be determinized: L∃
a ⊆ Trees({a, b}), the
◮ The proof for complementation uses the determinization result for word
Automata, Logics, and Infinite Games Master2 RI 2007 43 / 79
Automata on Infinite Objects Alternating Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 44 / 79
Automata on Infinite Objects Alternating Tree Automata
q [q1, q2] [q2, q4] q1 q2 q4 ǫ ǫ 1 1
Automata, Logics, and Infinite Games Master2 RI 2007 45 / 79
Automata on Infinite Objects Alternating Tree Automata
◮ For non-deterministic automata, we had
◮ Now we can write things like
1, 0) ∧ (q2, 1) ∨ (q2, 0) ∧ (q4, 1) ∧ (q5, ǫ)
Automata, Logics, and Infinite Games Master2 RI 2007 46 / 79
Automata on Infinite Objects Alternating Tree Automata
q [q1, q2] [q2, q4] q1 q2 q4 ǫ ǫ 1 1 q′1 q′
4
1 ǫ
Automata, Logics, and Infinite Games Master2 RI 2007 47 / 79
Automata on Infinite Objects Alternating Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 48 / 79
Automata on Infinite Objects Alternating Tree Automata
q q′ q1 q2 q3 w w0 w1 w w0 w1 w0 w1 w0
Automata, Logics, and Infinite Games Master2 RI 2007 49 / 79
Automata on Infinite Objects Alternating Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 50 / 79
Automata on Infinite Objects Alternating Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 51 / 79
Automata on Infinite Objects Alternating Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 52 / 79
Automata on Infinite Objects Alternating Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 53 / 79
Automata on Infinite Objects Decision Problems
Automata, Logics, and Infinite Games Master2 RI 2007 54 / 79
Automata on Infinite Objects Decision Problems
Automata, Logics, and Infinite Games Master2 RI 2007 55 / 79
Automata on Infinite Objects Decision Problems
Automata, Logics, and Infinite Games Master2 RI 2007 56 / 79
Automata on Infinite Objects Emptiness of Non-deterministic Tree Automaton
Automata, Logics, and Infinite Games Master2 RI 2007 57 / 79
Automata on Infinite Objects Emptiness of Non-deterministic Tree Automaton
qI qb qd 1 1 1 I d b d b b d t
Automata, Logics, and Infinite Games Master2 RI 2007 58 / 79
Automata on Infinite Objects Emptiness of Non-deterministic Tree Automaton
Automata, Logics, and Infinite Games Master2 RI 2007 59 / 79
Automata on Infinite Objects Emptiness of Non-deterministic Tree Automaton
(qI, I) (qd, d) (qb, b) (qd, d) (qb, b) (qb, b) (qd, d) ρ I d b d b b d t
Automata, Logics, and Infinite Games Master2 RI 2007 60 / 79
Automata on Infinite Objects Emptiness of Non-deterministic Tree Automaton
Automata, Logics, and Infinite Games Master2 RI 2007 61 / 79
Automata on Infinite Objects Emptiness of Non-deterministic Tree Automaton
◮ (q, (q, q′, q”)) ∈ E ◮ ((q, q′, q”), q′), ((q, q′, q”), q”) ∈ E
Automata, Logics, and Infinite Games Master2 RI 2007 62 / 79
Automata on Infinite Objects Emptiness of Non-deterministic Tree Automaton
Automata, Logics, and Infinite Games Master2 RI 2007 63 / 79
Automata on Infinite Objects Emptiness of Non-deterministic Tree Automaton
Automata, Logics, and Infinite Games Master2 RI 2007 64 / 79
Automata on Infinite Objects Emptiness of Non-deterministic Tree Automaton
f induces a deteministic IF automaton A” (without
Automata, Logics, and Infinite Games Master2 RI 2007 65 / 79
Automata on Infinite Objects Emptiness of Non-deterministic Tree Automaton
Automata, Logics, and Infinite Games Master2 RI 2007 66 / 79
The Mu-calculus
Automata, Logics, and Infinite Games Master2 RI 2007 67 / 79
The Mu-calculus Definitions
Automata, Logics, and Infinite Games Master2 RI 2007 68 / 79
The Mu-calculus Definitions
Automata, Logics, and Infinite Games Master2 RI 2007 69 / 79
The Mu-calculus Definitions
Automata, Logics, and Infinite Games Master2 RI 2007 70 / 79
The Mu-calculus Definitions
Automata, Logics, and Infinite Games Master2 RI 2007 71 / 79
The Mu-calculus Definitions
◮ µZ.Pb ∨ (0Z ∨ 1Z) ∧ Pa is equivalent to the CTL formula E a U b. ◮ νZ.Pa ∧ (0Z ∧ 1Z) is equivalent to AG a.
Automata, Logics, and Infinite Games Master2 RI 2007 72 / 79
The Mu-calculus Definitions
Automata, Logics, and Infinite Games Master2 RI 2007 73 / 79
The Mu-calculus From the Mu-calculus to Alternating Parity Tree Automata
Automata, Logics, and Infinite Games Master2 RI 2007 74 / 79
The Mu-calculus From the Mu-calculus to Alternating Parity Tree Automata
◮ δ(Pa, a) = {(⊤, ǫ)} and δ(Pa, b) = {(⊥, ǫ)} for all b = a ◮ δ(¬Pa, a) = {(⊥, ǫ)} and δ(¬Pa, b) = {(⊤, ǫ)} for all b = a ◮ δ(Z, a) = {βZ, ǫ)} ◮ δ(α ∧ α′) = {(α, ǫ), (α′, ǫ)} and the same for δ(α ∨ α′) ◮ δ(dα) = (α, d), for d ∈ {0, 1} ◮ δ(θZ.α) = (α, ǫ), for θ ∈ {µ, ν}
◮ c(α) = 2 ∗ (M − ad(α)) if α is a ν-formula ◮ c(α) = 2 ∗ (M − ad(α)) + 1 if α is a µ-formula ◮ c(α) = M if α is not a fix-point formula.
Automata, Logics, and Infinite Games Master2 RI 2007 75 / 79
The Mu-calculus From the Mu-calculus to Alternating Parity Tree Automata
νZ.µZ ′.(Z ∧ Pa) ∨ 0Z ′ µZ ′.(Z ∧ Pa) ∨ 0Z ′ (Z ∧ Pa) ∨ 0Z ′ Z ∧ Pa 0Z ′ Z Pa Z ′ 0(= 2 ∗ (1 − 1)) 1(= 2 ∗ (1 − 1) + 1) 1 1 1 1 1 ⊤ ⊥
Automata, Logics, and Infinite Games Master2 RI 2007 76 / 79
The Mu-calculus From Alternating Tree Automata to the Mu-calculus
Automata, Logics, and Infinite Games Master2 RI 2007 77 / 79
The Mu-calculus From Alternating Tree Automata to the Mu-calculus
◮ The satisfiability problem for the Mu-calculus is EXPTIME-complete
◮ The model-checking for the Mu-calculus is NP ∩ co-NP; it is open
◮ CTL translates into the alternation free fragment of the Mu-calculus.
◮ CTL∗ can be translated into the Mu-calculus [Dam94], but there is an
Automata, Logics, and Infinite Games Master2 RI 2007 78 / 79
The Mu-calculus From Alternating Tree Automata to the Mu-calculus
Automata, Logics, and Infinite Games Master2 RI 2007 79 / 79
The Mu-calculus Relation to Monadic Second Order Logic
Automata, Logics, and Infinite Games Master2 RI 2007 79 / 79
The Mu-calculus Relation to Monadic Second Order Logic
Automata, Logics, and Infinite Games Master2 RI 2007 79 / 79
The Mu-calculus Relation to Monadic Second Order Logic
Automata, Logics, and Infinite Games Master2 RI 2007 79 / 79
The Mu-calculus Relation to Monadic Second Order Logic
Automata, Logics, and Infinite Games Master2 RI 2007 79 / 79