Reducing -regular Specifications to Safety Conditions Joint work - - PowerPoint PPT Presentation

reducing regular specifications to safety conditions
SMART_READER_LITE
LIVE PREVIEW

Reducing -regular Specifications to Safety Conditions Joint work - - PowerPoint PPT Presentation

Reducing -regular Specifications to Safety Conditions Joint work with John Fearnley (University of Liverpool) Daniel Neider (RWTH Aachen University) Roman Rabinovich (TU Berlin) Martin Zimmermann Saarland University March 5th, 2014 AVACS


slide-1
SLIDE 1

Reducing ω-regular Specifications to Safety Conditions

Joint work with John Fearnley (University of Liverpool) Daniel Neider (RWTH Aachen University) Roman Rabinovich (TU Berlin)

Martin Zimmermann

Saarland University

March 5th, 2014

AVACS Meeting, Oldenburg, Germany

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 1/13

slide-2
SLIDE 2

ω-regular Specifications

ω-regular expressions

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 2/13

slide-3
SLIDE 3

ω-regular Specifications

ω-regular expressions Monadic second-order logic with one successor

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 2/13

slide-4
SLIDE 4

ω-regular Specifications

ω-regular expressions Monadic second-order logic with one successor Non-deterministic automata with B¨ uchi acceptance (Q, Σ, q0, ∆, F) with F ⊆ Q and q0q1q2 · · · accepting ⇔ Inf(q0q1q2 · · · ) ∩ F = ∅

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 2/13

slide-5
SLIDE 5

ω-regular Specifications

ω-regular expressions Monadic second-order logic with one successor Non-deterministic automata with B¨ uchi acceptance Deterministic automata with Muller acceptance (Q, Σ, q0, δ, F) with F ⊆ 2Q and q0q1q2 · · · accepting ⇔ Inf(q0q1q2 · · · ) ∈ F

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 2/13

slide-6
SLIDE 6

ω-regular Specifications

ω-regular expressions Monadic second-order logic with one successor Non-deterministic automata with B¨ uchi acceptance Deterministic automata with Muller acceptance Many other acceptance conditions: parity, Rabin, Streett, ..

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 2/13

slide-7
SLIDE 7

ω-regular Specifications

ω-regular expressions Monadic second-order logic with one successor Non-deterministic automata with B¨ uchi acceptance Deterministic automata with Muller acceptance Many other acceptance conditions: parity, Rabin, Streett, .. Generality: Every acceptance condition that only depends on the states visited infinitely often is a Muller condition.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 2/13

slide-8
SLIDE 8

ω-regular Specifications

ω-regular expressions Monadic second-order logic with one successor Non-deterministic automata with B¨ uchi acceptance Deterministic automata with Muller acceptance Many other acceptance conditions: parity, Rabin, Streett, .. Generality: Every acceptance condition that only depends on the states visited infinitely often is a Muller condition. Non-deterministic automata with safety acceptance

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 2/13

slide-9
SLIDE 9

ω-regular Specifications

ω-regular expressions Monadic second-order logic with one successor Non-deterministic automata with B¨ uchi acceptance Deterministic automata with Muller acceptance Many other acceptance conditions: parity, Rabin, Streett, .. Generality: Every acceptance condition that only depends on the states visited infinitely often is a Muller condition. Non-deterministic automata with safety acceptance (Q, Σ, q0, ∆, F) with F ⊆ Q and q0q1q2 · · · accepting ⇔ Occ(q0q1q2 · · · ) ⊆ F

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 2/13

slide-10
SLIDE 10

ω-regular Specifications

ω-regular expressions Monadic second-order logic with one successor Non-deterministic automata with B¨ uchi acceptance Deterministic automata with Muller acceptance Many other acceptance conditions: parity, Rabin, Streett, .. Generality: Every acceptance condition that only depends on the states visited infinitely often is a Muller condition. Non-deterministic automata with safety acceptance Weaker: not every ω-regular language is a safety condition.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 2/13

slide-11
SLIDE 11

ω-regular Specifications

ω-regular expressions Monadic second-order logic with one successor Non-deterministic automata with B¨ uchi acceptance Deterministic automata with Muller acceptance Many other acceptance conditions: parity, Rabin, Streett, .. Generality: Every acceptance condition that only depends on the states visited infinitely often is a Muller condition. Non-deterministic automata with safety acceptance Weaker: not every ω-regular language is a safety condition. Is it nevertheless possible to turn every Muller condition into an equivalent safety condition? (under which equivalence?) Upside: simpler algorithms for safety conditions

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 2/13

slide-12
SLIDE 12

Muller Games

We study this question in a more general setting: infinite games.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 3/13

slide-13
SLIDE 13

Muller Games

We study this question in a more general setting: infinite games. Running example 1 2

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 3/13

slide-14
SLIDE 14

Muller Games

We study this question in a more general setting: infinite games. Running example 1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 3/13

slide-15
SLIDE 15

Muller Games

We study this question in a more general setting: infinite games. Running example 1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} Formally: Muller game (A, F0, F1) with Arena A = (V , V0, V1, E, v) and partition (F0, F1) of 2V . Player i wins play ρ iff Inf(ρ) ∈ Fi.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 3/13

slide-16
SLIDE 16

Muller Games

We study this question in a more general setting: infinite games. Running example 1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} Formally: Muller game (A, F0, F1) with Arena A = (V , V0, V1, E, v) and partition (F0, F1) of 2V . Player i wins play ρ iff Inf(ρ) ∈ Fi. Emptiness of (non-deterministic) Muller automata and universality

  • f deterministic Muller automata are one-player Muller games

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 3/13

slide-17
SLIDE 17

Muller Games

We study this question in a more general setting: infinite games. Running example 1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} Formally: Muller game (A, F0, F1) with Arena A = (V , V0, V1, E, v) and partition (F0, F1) of 2V . Player i wins play ρ iff Inf(ρ) ∈ Fi. Emptiness of (non-deterministic) Muller automata and universality

  • f deterministic Muller automata are one-player Muller games

Our goal: give winner-preserving reduction from Muller to safety games.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 3/13

slide-18
SLIDE 18

Playing Muller Games in Finite Time

Robert McNaughton: We believe that infinite games might have an interest for casual living-room recreation. But there is a problem: it takes a long time to play an infinite game!

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 4/13

slide-19
SLIDE 19

Playing Muller Games in Finite Time

Robert McNaughton: We believe that infinite games might have an interest for casual living-room recreation. But there is a problem: it takes a long time to play an infinite game! Thus: Scoring functions for Muller games. Use threshold score to obtain finite-duration variant. If threshold is large enough, obtain finite game with the same winning regions as infinite game. Question How large has the threshold to guarantee same winner?

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 4/13

slide-20
SLIDE 20

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-21
SLIDE 21

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} Acc{0} Sc{0,1} Acc{0,1} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-22
SLIDE 22

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 Acc{0} ∅ Sc{0,1} Acc{0,1} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-23
SLIDE 23

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 Acc{0} ∅ ∅ Sc{0,1} Acc{0,1} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-24
SLIDE 24

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 Acc{0} ∅ ∅ ∅ Sc{0,1} Acc{0,1} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-25
SLIDE 25

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 Acc{0} ∅ ∅ ∅ ∅ Sc{0,1} Acc{0,1} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-26
SLIDE 26

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 Acc{0} ∅ ∅ ∅ ∅ ∅ Sc{0,1} Acc{0,1} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-27
SLIDE 27

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} Acc{0,1} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-28
SLIDE 28

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} Acc{0,1} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-29
SLIDE 29

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} Acc{0,1} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-30
SLIDE 30

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} Acc{0,1} {0} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-31
SLIDE 31

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} Acc{0,1} {0} {0} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-32
SLIDE 32

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 Acc{0,1} {0} {0} ∅ Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-33
SLIDE 33

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 Acc{0,1} {0} {0} ∅ {1} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-34
SLIDE 34

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 Acc{0,1} {0} {0} ∅ {1} ∅ Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-35
SLIDE 35

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 Acc{0,1} {0} {0} ∅ {1} ∅ {0} Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-36
SLIDE 36

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-37
SLIDE 37

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ ∅ Sc{0,1,2} Acc{0,1,2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-38
SLIDE 38

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ ∅ Sc{0,1,2} Acc{0,1,2} {0}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-39
SLIDE 39

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ ∅ Sc{0,1,2} Acc{0,1,2} {0} {0}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-40
SLIDE 40

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ ∅ Sc{0,1,2} Acc{0,1,2} {0} {0} {0, 1}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-41
SLIDE 41

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ ∅ Sc{0,1,2} Acc{0,1,2} {0} {0} {0, 1} {0, 1}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-42
SLIDE 42

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ ∅ Sc{0,1,2} Acc{0,1,2} {0} {0} {0, 1} {0, 1} {0, 1}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-43
SLIDE 43

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ ∅ Sc{0,1,2} Acc{0,1,2} {0} {0} {0, 1} {0, 1} {0, 1} {0, 1}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-44
SLIDE 44

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ ∅ Sc{0,1,2} Acc{0,1,2} {0} {0} {0, 1} {0, 1} {0, 1} {0, 1} {0, 1}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-45
SLIDE 45

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ ∅ Sc{0,1,2} 1 Acc{0,1,2} {0} {0} {0, 1} {0, 1} {0, 1} {0, 1} {0, 1} ∅

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-46
SLIDE 46

Scores and Accumulators

For F ⊆ V define ScF : V + → N and AccF : V + → 2F. Intuition: ScF(w): maximal k ∈ N such that F is visited k times since last vertex in V \ F (reset). AccF(w): set A ⊂ F of vertices (from F) seen since last increase or reset of ScF.

w 1 1 1 2 Sc{0} 1 2 1 2 Acc{0} ∅ ∅ ∅ ∅ ∅ ∅ ∅ ∅ Sc{0,1} 1 1 2 2 3 Acc{0,1} {0} {0} ∅ {1} ∅ {0} ∅ ∅ Sc{0,1,2} 1 Acc{0,1,2} {0} {0} {0, 1} {0, 1} {0, 1} {0, 1} {0, 1} ∅

Remark F = Inf(ρ) ⇔ lim infn→∞ ScF(ρ0 · · · ρn) = ∞

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 5/13

slide-47
SLIDE 47

Results

McNaughton’s version: stop play when some ScF reaches |F|! + 1.

Theorem (McNaughton 2000)

Every Muller game and McNaughton’s finite-time variant are won by the same player.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 6/13

slide-48
SLIDE 48

Results

McNaughton’s version: stop play when some ScF reaches |F|! + 1.

Theorem (McNaughton 2000)

Every Muller game and McNaughton’s finite-time variant are won by the same player. Fearnley and Z.: stop play when some ScF reaches 3.

Theorem (Fearnley, Z. 2010)

Every Muller game and the variant up to score 3 are won by the same player.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 6/13

slide-49
SLIDE 49

Results

McNaughton’s version: stop play when some ScF reaches |F|! + 1.

Theorem (McNaughton 2000)

Every Muller game and McNaughton’s finite-time variant are won by the same player. Fearnley and Z.: stop play when some ScF reaches 3.

Theorem (Fearnley, Z. 2010)

Every Muller game and the variant up to score 3 are won by the same player. Stronger statement, which implies the theorem:

Lemma

If Player i wins the Muller game, then she can prevent her opponent from ever reaching a score of 3 for every set F ∈ F1−i.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 6/13

slide-50
SLIDE 50

Game Reductions

Reduce complicated game G to simpler game G′: every play ρ in G is mapped (continuously) to play ρ′ in G′ that has the same winner. G ≤ G′ ρ → ρ′

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 7/13

slide-51
SLIDE 51

Game Reductions

Reduce complicated game G to simpler game G′: every play ρ in G is mapped (continuously) to play ρ′ in G′ that has the same winner. G ≤ G′ ρ → ρ′ Solving G′ yields winner of G and corresponding finite-state winning strategy for winner.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 7/13

slide-52
SLIDE 52

Game Reductions

Reduce complicated game G to simpler game G′: every play ρ in G is mapped (continuously) to play ρ′ in G′ that has the same winner. G ≤ G′ ρ → ρ′ Solving G′ yields winner of G and corresponding finite-state winning strategy for winner. Remark Muller games cannot be reduced to safety games.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 7/13

slide-53
SLIDE 53

Reducing Muller Games to Safety Games

Recall: If Player i wins a Muller game, then she can prevent her

  • pponent from ever reaching a score of 3 for every set F ∈ F1−i.

“Player 0 has a winning strategy iff she can prevent Player 1 from reaching a score of 3” ⇒ safety condition!

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 8/13

slide-54
SLIDE 54

Reducing Muller Games to Safety Games

Recall: If Player i wins a Muller game, then she can prevent her

  • pponent from ever reaching a score of 3 for every set F ∈ F1−i.

“Player 0 has a winning strategy iff she can prevent Player 1 from reaching a score of 3” ⇒ safety condition! Construction: Ignore scores of Player 0. Identify plays having the same scores and accumulators for Player 1: w =F1 w′ iff last(w) = last(w′) and for all F ∈ F1: ScF(w) = ScF(w′) and AccF(w) = Acc(w′) Build =F1-quotient of unravelling up to score 3 for Player 1. Winning condition for Player 0: avoid ScF = 3 for all F ∈ F1.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 8/13

slide-55
SLIDE 55

Continuing the Example

1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} Player 0 wins from 1 : move to 0 and 2 alternatingly.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 9/13

slide-56
SLIDE 56

Continuing the Example

1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} Player 0 wins from 1 : move to 0 and 2 alternatingly. [0] [1] [2]

Sc{0,1} = 0, Acc{0,1} = {0} Sc{1,2} = 0, Acc{1,2} = ∅ Sc{0,1} = 0, Acc{0,1} = {1} Sc{1,2} = 0, Acc{1,2} = {1} Sc{0,1} = 0, Acc{0,1} = ∅ Sc{1,2} = 0, Acc{1,2} = {2}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 9/13

slide-57
SLIDE 57

Continuing the Example

1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} Player 0 wins from 1 : move to 0 and 2 alternatingly. [0] [1] [2] [10] [12]

Sc{0,1} = 1, Acc{0,1} = ∅ Sc{1,2} = 0, Acc{1,2} = ∅ Sc{0,1} = 0, Acc{0,1} = ∅ Sc{1,2} = 1, Acc{1,2} = ∅

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 9/13

slide-58
SLIDE 58

Continuing the Example

1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} Player 0 wins from 1 : move to 0 and 2 alternatingly. [0] [1] [2] [10] [12] [01] [21]

Sc{0,1} = 1, Acc{0,1} = ∅ Sc{1,2} = 0, Acc{1,2} = ∅ Sc{0,1} = 1, Acc{0,1} = ∅ Sc{1,2} = 0, Acc{1,2} = {1}

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 9/13

slide-59
SLIDE 59

Continuing the Example

1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} Player 0 wins from 1 : move to 0 and 2 alternatingly. [0] [1] [2] [10] [12] [01] [21] [101] [100] [122] [121] [1010] [1001] [1221] [1212] [10101] [10010] [12212] [12121] [101010] [100101] [122121] [121212]

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 9/13

slide-60
SLIDE 60

Continuing the Example

1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} Player 0 wins from 1 : move to 0 and 2 alternatingly. [0] [1] [2] [10] [12] [01] [21] [101] [100] [122] [121] [1010] [1001] [1221] [1212] [10101] [10010] [12212] [12121] [101010] [100101] [122121] [121212]

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 9/13

slide-61
SLIDE 61

Continuing the Example

1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} Player 0 wins from 1 : move to 0 and 2 alternatingly. [101] [100] [122] [121] [1010] [1001] [1221] [1212] [10101] [10010] [12212] [12121] [101010] [100101] [122121] [121212] [0] [1] [2] [10] [12] [01] [21] [101] [100] [122] [121] [1010] [1001] [1221] [1212] [10101] [10010] [12212] [12121] [101010] [100101] [122121] [121212]

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 9/13

slide-62
SLIDE 62

Results

Theorem (Neider, Rabinovich, Z. 2011)

  • 1. Player i wins the Muller game from v iff she wins the safety

game from [v]=F1.

  • 2. Safety game can be turned into finite-state winning strategy for

the Muller game.

  • 3. Size of the safety game: (n!)3.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 10/13

slide-63
SLIDE 63

Results

Theorem (Neider, Rabinovich, Z. 2011)

  • 1. Player i wins the Muller game from v iff she wins the safety

game from [v]=F1.

  • 2. Safety game can be turned into finite-state winning strategy for

the Muller game.

  • 3. Size of the safety game: (n!)3.

Remarks: Size of parity game in LAR-reduction n!. But: simpler algorithms for safety games.

  • 2. does not hold for Player 1.

Not a reduction in the classical sense: not every play of the Muller game can be mapped to a play in the safety game.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 10/13

slide-64
SLIDE 64

Proof Idea: Safety to Muller

1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} [100] [122] [1001] [1221] [10101] [12121] [1010] [1212] [10010] [12212] [101010] [100101] [122121] [121212] [0] [1] [2] [10] [12] [01] [21] [101] [121]

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 11/13

slide-65
SLIDE 65

Proof Idea: Safety to Muller

1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} [100] [122] [1001] [1221] [0] [1] [2] [10] [12] [01] [21] [101] [121] Pick a winning strategy for the safety game. This “is” a finite-state winning strategy for the Muller game.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 11/13

slide-66
SLIDE 66

Proof Idea: Safety to Muller

1 2 F0 = {{0, 1, 2}, {0}, {2}} F1 = {{0, 1}, {1, 2}} [100] [122] [1001] [1221] Even better: only use “maximal” elements, yields smaller memory.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 11/13

slide-67
SLIDE 67

Safety Reductions

Definition

G = (A, Win) with vertex set V is safety reducible, if there is a regular L ⊆ V ∗ such that: For every ρ ∈ V ω: if Pref(ρ) ⊆ L, then ρ ∈ Win. If v ∈ W0(G), then Player 0 has a strategy σ with Pref(ρ) ⊆ L for every ρ consistent with σ and starting in v.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 12/13

slide-68
SLIDE 68

Safety Reductions

Definition

G = (A, Win) with vertex set V is safety reducible, if there is a regular L ⊆ V ∗ such that: For every ρ ∈ V ω: if Pref(ρ) ⊆ L, then ρ ∈ Win. If v ∈ W0(G), then Player 0 has a strategy σ with Pref(ρ) ⊆ L for every ρ consistent with σ and starting in v.

Theorem (Neider, Rabinovich, Z. 2011)

G safety reducible with L(A) ⊆ V ∗ for DFA A = (Q, V , q0, δ, F). Define the safety game GS = (A × A, V × F). Then:

  • 1. Player i wins G from v if and only if Player i wins GS from

(v, δ(q0, v)).

  • 2. Player 0 has a finite-state winning strategy for G with memory

states Q (if she wins G).

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 12/13

slide-69
SLIDE 69

Safety Reductions: Applications

Reachability games: reach F after |V \ F| steps. B¨ uchi games: reach F every |V \ F| steps. co-B¨ uchi games: avoid visiting v ∈ V \ F twice. Request-response games and poset games: bound waiting times (Horn, Thomas, Wallmeier 2008; Z. 2009). parity, Rabin, Streett games: progress measure algorithms “are” safety reductions (Jurdzi´ nski 2000; Piterman, Pnueli 2006). Muller games: bound scores. If you can solve safety games, you can solve all these games. Caveat: safety games will be larger than original game.

Martin Zimmermann Saarland University Reducing ω-regular Specifications to Safety Conditions 13/13