Deciding the weak definability of B uchi definable tree languages - - PowerPoint PPT Presentation

deciding the weak definability of b uchi definable tree
SMART_READER_LITE
LIVE PREVIEW

Deciding the weak definability of B uchi definable tree languages - - PowerPoint PPT Presentation

Deciding the weak definability of B uchi definable tree languages Michael Vanden Boom Department of Computer Science University of Oxford Queen Mary Theory Group Seminar 13 November 2013 Joint work with Thomas Colcombet, Denis Kuperberg,


slide-1
SLIDE 1

Deciding the weak definability of B¨ uchi definable tree languages

Michael Vanden Boom

Department of Computer Science University of Oxford

Queen Mary Theory Group Seminar 13 November 2013

Joint work with Thomas Colcombet, Denis Kuperberg, and Christof L¨

  • ding
slide-2
SLIDE 2

Setting

Infinite labelled tree: model of possible execution of a system where

◮ branching represents non-determinism in system, or

different possibilities when the environment interacts with the system;

◮ label describes behavior of the system.

a b b b a b a a a a a b b b a

. . .

slide-3
SLIDE 3

Setting

Let L(ϕ) denote the set of infinite trees over some fixed finite alphabet A that satisfy some property ϕ. Question Given some property ϕ, is there a “simpler” ϕ′ such that L(ϕ) = L(ϕ′)?

slide-4
SLIDE 4

Setting

Let L(ϕ) denote the set of infinite trees over some fixed finite alphabet A that satisfy some property ϕ. Question Given some property ϕ, is there a “simpler” ϕ′ such that L(ϕ) = L(ϕ′)?

smaller size, restricted set of operations, different specification language, ...

slide-5
SLIDE 5

Setting

Let L(ϕ) denote the set of infinite trees over some fixed finite alphabet A that satisfy some property ϕ. Question Given some property ϕ, is there a “simpler” ϕ′ such that L(ϕ) = L(ϕ′)?

smaller size, restricted set of operations, different specification language, ...

Goal: analyze/decide questions like this for regular languages L(ϕ).

slide-6
SLIDE 6

Regular languages of infinite trees

Regular Languages

monadic second-order logic (MSO) µ-calculus parity automata

slide-7
SLIDE 7

Regular languages of infinite trees

weakly definable weak MSO alternation-free µ-calculus weak automata

Regular Languages

monadic second-order logic (MSO) µ-calculus parity automata

slide-8
SLIDE 8

Regular languages of infinite trees

weakly definable weak MSO alternation-free µ-calculus weak automata

Regular Languages

monadic second-order logic (MSO) µ-calculus parity automata Weakly definable languages are expressive (subsuming CTL), but still have good computational properties (model-checking can be done in linear time).

slide-9
SLIDE 9

Alternating parity automata on infinite trees

A = A, Q, q0, δ, Ω

δ describes possible moves for Eve and Adam Ω : Q → P for a finite set of priorities P

Acceptance game A × t

◮ Positions in the game are Q × dom(t). ◮ Eve and Adam select the next position in the play based on δ. ◮ Eve is trying to ensure the play satisfies the parity condition:

the maximum priority occurring infinitely often in the play is even.

slide-10
SLIDE 10

Alternating parity automata on infinite trees

A = A, Q, q0, δ, Ω

δ describes possible moves for Eve and Adam Ω : Q → P for a finite set of priorities P

Acceptance game A × t

◮ Positions in the game are Q × dom(t). ◮ Eve and Adam select the next position in the play based on δ. ◮ Eve is trying to ensure the play satisfies the parity condition:

the maximum priority occurring infinitely often in the play is even. L(A) := {t : Eve has a winning strategy in A × t}

slide-11
SLIDE 11

Example

L1 := {t : there is some a in t with no b below it}. Construct A1 with Q = {q0, qa, q⊥} and Ω : q0, q⊥ → 1; qa → 2.

◮ In state q0, Eve selects a path in the tree.

If she sees an a, Eve can choose to switch to state qa.

◮ In state qa, Adam selects a path in the tree.

If he sees a b, then he can switch to a sink state q⊥.

slide-12
SLIDE 12

Example

L1 := {t : there is some a in t with no b below it}. Construct A1 with Q = {q0, qa, q⊥} and Ω : q0, q⊥ → 1; qa → 2.

◮ In state q0, Eve selects a path in the tree.

If she sees an a, Eve can choose to switch to state qa.

◮ In state qa, Adam selects a path in the tree.

If he sees a b, then he can switch to a sink state q⊥. L2 := {t : every a in t has a b below it}. Construct A2 with Q = {q0, qb, q⊤} and Ω : q0, q⊤ → 2; qb → 1.

◮ In state q0, Adam selects a path in the tree.

If he sees an a, Adam can choose to switch to state qb.

◮ In state qb, Eve selects a path in the tree.

If she sees a b, then she can switch to a sink state q⊤.

slide-13
SLIDE 13

Special types of alternating parity automata

B¨ uchi automaton parity automaton using only priorities {1, 2} (we call states of priority 2 the accepting states and states of priority 1 the non-accepting states)

slide-14
SLIDE 14

Special types of alternating parity automata

B¨ uchi automaton parity automaton using only priorities {1, 2} (we call states of priority 2 the accepting states and states of priority 1 the non-accepting states) Nondeterministic B¨ uchi automaton alternating B¨ uchi automaton such that a strategy for Eve in an acceptance game is just a labelling of the input tree with states (called a run)

slide-15
SLIDE 15

Special types of alternating parity automata

B¨ uchi automaton parity automaton using only priorities {1, 2} (we call states of priority 2 the accepting states and states of priority 1 the non-accepting states) Nondeterministic B¨ uchi automaton alternating B¨ uchi automaton such that a strategy for Eve in an acceptance game is just a labelling of the input tree with states (called a run) Alternating weak automaton alternating B¨ uchi automaton such that no cycle visits both accepting and non-accepting states

slide-16
SLIDE 16

Regular languages of infinite trees

weakly definable weak MSO alternation-free µ-calculus weak automata B¨ uchi definable

complement is

B¨ uchi definable

Regular Languages

monadic second-order logic (MSO) µ-calculus parity automata

Theorem [Rabin ’70, Kupferman+Vardi ’99] A language L is weakly definable iff L and L are B¨ uchi definable.

slide-17
SLIDE 17

Weak definability problem

Weak definability decision problem INPUT: parity automaton U OUTPUT: YES if there exists weak automaton W with L(W) = L(U), NO otherwise

slide-18
SLIDE 18

Weak definability problem

Weak definability decision problem INPUT: parity automaton U OUTPUT: YES if there exists weak automaton W with L(W) = L(U), NO otherwise Theorem [Niwi´ nski+Walukiewicz ’05] The weak definability problem is decidable if L(U) is deterministic.

slide-19
SLIDE 19

Weak definability problem

Weak definability decision problem INPUT: parity automaton U OUTPUT: YES if there exists weak automaton W with L(W) = L(U), NO otherwise Theorem [Niwi´ nski+Walukiewicz ’05] The weak definability problem is decidable if L(U) is deterministic. Theorem

[Facchini+Murlak+Skrzypczak ’13]

The weak definability problem is decidable if L(U) is a game language.

slide-20
SLIDE 20

Weak definability problem

Weak definability decision problem INPUT: parity automaton U OUTPUT: YES if there exists weak automaton W with L(W) = L(U), NO otherwise Theorem [Niwi´ nski+Walukiewicz ’05] The weak definability problem is decidable if L(U) is deterministic. Theorem

[Facchini+Murlak+Skrzypczak ’13]

The weak definability problem is decidable if L(U) is a game language. Theorem

[Colcombet,Kuperberg,L¨

  • ding,VB ’13]

The weak definability problem is decidable if U is B¨ uchi.

slide-21
SLIDE 21

Cost automata

Finite state automaton A + finite set of counters (initialized to 0, values range over N) + counter operations on transitions (increment i, reset r, no change ε) Semantics A : infinite trees → N ∪ {∞} A(t) := min{n : ∃ winning strategy for Eve in A × t such that every play has counter values at most n}

slide-22
SLIDE 22

Example

f (t) := min {n : every a has a b at most n nodes below it}. Construct A with Q = {q0, qb, q⊤}, Ω : q0, q⊤ → 2; qb → 1, 1 counter.

◮ In state q0, Adam selects a path in the tree.

The counter operation is ε. If he sees an a, Adam can choose to switch to state qb.

◮ In state qb, Eve selects a path in the tree.

If she sees an a, then the counter is incremented. If she sees a b, then she can switch to a sink state q⊤.

slide-23
SLIDE 23

Cost automata

Finite state automaton A + finite set of counters (initialized to 0, values range over N) + counter operations on transitions (increment i, reset r, no change ε) Semantics A : infinite trees → N ∪ {∞} A(t) := min{n : ∃ winning strategy for Eve in A × t such that every play has counter values at most n} Boundedness with respect to language K (written A ≈ χK) A ≈ χK if there is bound n ∈ N such that A(t) ≤ n if t ∈ K and A(t) = ∞ if t / ∈ K

slide-24
SLIDE 24

Decidability of boundedness for cost automata

Decidability of ≈ is known for some types of cost automata.

◮ cost automata over finite words

[Colcombet ’09, Bojanczyk+Colcombet ’06]

◮ cost automata over infinite words

[Colcombet unpublished]

◮ cost automata over finite trees

[Colcombet+L¨

  • ding ’10]
slide-25
SLIDE 25

Decidability of boundedness for cost automata

Decidability of ≈ is known for some types of cost automata.

◮ cost automata over finite words

[Colcombet ’09, Bojanczyk+Colcombet ’06]

◮ cost automata over infinite words

[Colcombet unpublished]

◮ cost automata over finite trees

[Colcombet+L¨

  • ding ’10]

◮ counter-weak automata over infinite trees

[Kuperberg+VB ’11]

slide-26
SLIDE 26

Reduction to boundedness

Many problems for a regular language L have been reduced to deciding ≈ for special types of cost automata.

◮ Finite power property

[Simon ’78, Hashiguchi ’79]

is there some n such that L∗ = {ǫ} ∪ L1 ∪ L2 ∪ · · · ∪ Ln?

◮ Star-height problem

[Hashiguchi ’88, Kirsten ’05, Colcombet+L¨

  • ding ’08]

given n, is there a regular expression for L with at most n nestings of Kleene star?

◮ Parity-index problem

[reduction in Colcombet+L¨

  • ding ’08, decidability open]

given i < j, is there a nondeterministic parity automaton for L which uses only priorities {i, i + 1, . . . , j}?

slide-27
SLIDE 27

Reduction to boundedness

Many problems for a regular language L have been reduced to deciding ≈ for special types of cost automata.

◮ Finite power property

[Simon ’78, Hashiguchi ’79]

is there some n such that L∗ = {ǫ} ∪ L1 ∪ L2 ∪ · · · ∪ Ln?

◮ Star-height problem

[Hashiguchi ’88, Kirsten ’05, Colcombet+L¨

  • ding ’08]

given n, is there a regular expression for L with at most n nestings of Kleene star?

◮ Parity-index problem

[reduction in Colcombet+L¨

  • ding ’08, decidability open]

given i < j, is there a nondeterministic parity automaton for L which uses only priorities {i, i + 1, . . . , j}? distance nested distance- desert cost-parity

slide-28
SLIDE 28

Reduction to boundedness (example)

Finite power property decision problem INPUT: Finite state automaton A over finite words with L = L(A) OUTPUT: YES if there is n ∈ N with L∗ = {ǫ} ∪ L1 ∪ L2 ∪ · · · ∪ Ln, NO otherwise

A

initial final

slide-29
SLIDE 29

Reduction to boundedness (example)

Finite power property decision problem INPUT: Finite state automaton A over finite words with L = L(A) OUTPUT: YES if there is n ∈ N with L∗ = {ǫ} ∪ L1 ∪ L2 ∪ · · · ∪ Ln, NO otherwise

slide-30
SLIDE 30

Reduction to boundedness (example)

Finite power property decision problem INPUT: Finite state automaton A over finite words with L = L(A) OUTPUT: YES if there is n ∈ N with L∗ = {ǫ} ∪ L1 ∪ L2 ∪ · · · ∪ Ln, NO otherwise

A′

Finite power property holds iff A′ ≈ χL∗

slide-31
SLIDE 31

Reduction of weak definability to boundedness

weakly definable weak MSO alternation-free µ-calculus weak automata B¨ uchi definable

complement is

B¨ uchi definable

Regular Languages

monadic second-order logic (MSO) µ-calculus parity automata

slide-32
SLIDE 32

Reduction of weak definability to boundedness

weakly definable weak MSO alternation-free µ-calculus weak automata B¨ uchi definable

complement is

B¨ uchi definable

Regular Languages

monadic second-order logic (MSO) µ-calculus parity automata

Goal Given B¨ uchi automaton U, construct cost automaton Q such that Q ≈ χL(U) iff L(U) is weakly definable.

slide-33
SLIDE 33

Block counting

Given nondeterministic B¨ uchi automata U and V

◮ fix some tree t and let ρU and ρV be runs of U and V on t,

with accepting states marked with ρU ρV

r0 q0 r1 q1 r2 q2 r3 q3 r4 q4 r5 q5 r6 q6 r7 q7 r8 q8 r9 q9 · · · · · ·

◮ divide each branch in the composed run into blocks containing

accepting state for V followed by accepting state for U

slide-34
SLIDE 34

Block counting

Given nondeterministic B¨ uchi automata U and V

◮ fix some tree t and let ρU and ρV be runs of U and V on t,

with accepting states marked with ρU ρV

r0 q0 r1 q1 r2 q2 r3 q3 r4 q4 r5 q5 r6 q6 r7 q7 r8 q8 r9 q9 · · · · · ·

1 2 3 1 2 3 1 2 3

◮ divide each branch in the composed run into blocks containing

accepting state for V followed by accepting state for U

slide-35
SLIDE 35

Block counting

Given nondeterministic B¨ uchi automata U and V

◮ fix some tree t and let ρU and ρV be runs of U and V on t,

with accepting states marked with ρU ρV

r0 q0 r1 q1 r2 q2 r3 q3 r4 q4 r5 q5 r6 q6 r7 q7 r8 q8 r9 q9 · · · · · ·

1 2 3 1 2 3 1 2 3

◮ divide each branch in the composed run into blocks containing

accepting state for V followed by accepting state for U Theorem [Rabin ’70] If there are at least m = |QU| · |QV| + 1 blocks on every branch in the composed run, then L(U) ∩ L(V) = ∅.

slide-36
SLIDE 36

Weak automaton construction [Kupferman+Vardi ’99]

Given nondeterministic B¨ uchi automata U and V with L(U) = L(V) Construct weak automaton W such that L(W) = L(V)

◮ Adam selects transition from ∆U ◮ Eve selects transition from ∆V and direction

Adam ρU Eve ρV

r0 q0 r1 q1 r2 q2 r3 q3 r4 q4 r5 q5 r6 q6 r7 q7 r8 q8 r9 q9 · · · · · · i

slide-37
SLIDE 37

Weak automaton construction [Kupferman+Vardi ’99]

Given nondeterministic B¨ uchi automata U and V with L(U) = L(V) Construct weak automaton W such that L(W) = L(V)

◮ Adam selects transition from ∆U ◮ Eve selects transition from ∆V and direction ◮ Accept/reject depending on occurrences of

Adam ρU Eve ρV

· · · · · · r0 q0 r1 q1 r2 q2 r4 q4 r7 q7 r8 q8 r3 q3 r5 q5 r6 q6 r9 q9 i

slide-38
SLIDE 38

Weak automaton construction [Kupferman+Vardi ’99]

Given nondeterministic B¨ uchi automata U and V with L(U) = L(V) Construct weak automaton W such that L(W) = L(V)

◮ Adam selects transition from ∆U ◮ Eve selects transition from ∆V and direction ◮ Accept/reject depending on occurrences of ◮ Store the block number in the state, up to value m := |QU| · |QV| + 1

  • nce m blocks have been witnessed, stabilize in rejecting state

Adam ρU Eve ρV

· · · · · · 1 2 3 1 2 3 1 2 3 r0 q0 r1 q1 r2 q2 r4 q4 r7 q7 r8 q8 r3 q3 r5 q5 r6 q6 r9 q9 i

slide-39
SLIDE 39

Reduction of weak definability to boundedness

Given nondeterministic B¨ uchi automaton U Construct cost automaton Q s.t. Q ≈ χL(U) iff L(U) is weakly definable

◮ Adam selects transition from ∆U ◮ Eve selects direction and guesses whether to output ◮ Accept/reject depending on occurrences of

Adam ρU Eve

· · · · · · q0 q1 q2 q4 q7 q8 q3 q5 q6 q9

slide-40
SLIDE 40

Reduction of weak definability to boundedness

Given nondeterministic B¨ uchi automaton U Construct cost automaton Q s.t. Q ≈ χL(U) iff L(U) is weakly definable

◮ Adam selects transition from ∆U ◮ Eve selects direction and guesses whether to output ◮ Accept/reject depending on occurrences of ◮ Store the block number in the counter

Adam ρU Eve

· · · · · · q0 q1 q2 q4 q7 q8 q3 q5 q6 q9 i i i

slide-41
SLIDE 41

Decidability of boundedness for cost automata

Decidability of ≈ for cost automata over infinite trees is open in general, but is known in some special cases. Theorem [Kuperberg+VB ’11] The boundedness relation ≈ is decidable for counter-weak cost automata over infinite trees. Counter-weak cost automaton alternating cost-B¨ uchi automaton such that in any cycle with both accepting and non-accepting states, there is a counter which is incremented but not reset

slide-42
SLIDE 42

Deciding weak definability for B¨ uchi input

Theorem Given B¨ uchi automaton U, we can construct a counter-weak cost automaton Q such that the following are equivalent:

◮ L(U) is weakly definable; ◮ Q ≈ χL(U).

↓ Theorem [Kuperberg+VB ’11] The boundedness relation ≈ is decidable for counter-weak cost automata. ↓ Theorem [Colcombet+Kuperberg+L¨

  • ding+VB ’13]

Given B¨ uchi automaton U, it is decidable whether L(U) is weakly definable.

slide-43
SLIDE 43

Regular languages of infinite trees

weakly definable weak MSO alternation-free µ-calculus weak automata B¨ uchi definable

complement is

B¨ uchi definable

Regular Languages

monadic second-order logic (MSO) µ-calculus parity automata

slide-44
SLIDE 44

Conclusion

There are many questions related to determining whether there is “simpler” way to define some regular language. Cost automata can be used to help prove the decidability of some definability problems for regular languages of infinite trees.

◮ The weak definability problem is decidable when the input is a

B¨ uchi automaton.

◮ The co-B¨

uchi definability problem is decidable when the input is a parity automaton. Open questions Can we use cost automata to solve other questions like this? (e.g., the nondeterministic parity index problem) Is ≈ decidable for larger classes of cost automata over infinite trees?

slide-45
SLIDE 45

Nondeterministic Mostowski hierarchy

[0, 0] [0, 1] [0, 2] [0, k] [0, k + 1] [1, 1] [1, 2] [1, 3] [1, k + 1] [1, k + 2] B¨ uchi co-B¨ uchi finite closed A language L has index [i, j] if there is some nondeterministic par- ity automaton using priorities from {i, i + 1, . . . , j} that recognizes L.

slide-46
SLIDE 46

Nondeterministic Mostowski hierarchy

[0, 0] [0, 1] [0, 2] [0, k] [0, k + 1] [1, 1] [1, 2] [1, 3] [1, k + 1] [1, k + 2] B¨ uchi co-B¨ uchi finite closed A language L has index [i, j] if there is some nondeterministic par- ity automaton using priorities from {i, i + 1, . . . , j} that recognizes L. Hierarchy is strict over infinite trees [Niwinski ’86]

slide-47
SLIDE 47

Nondeterministic Mostowski hierarchy

[0, 0] [0, 1] [0, 2] [0, k] [0, k + 1] [1, 1] [1, 2] [1, 3] [1, k + 1] [1, k + 2] B¨ uchi co-B¨ uchi finite closed A language L has index [i, j] if there is some nondeterministic par- ity automaton using priorities from {i, i + 1, . . . , j} that recognizes L. Hierarchy is strict over infinite trees [Niwinski ’86] Parity index problem Given a parity automaton A and index [i, j], determine whether L(A) has index at most [i, j].

slide-48
SLIDE 48

Deciding co-B¨ uchi definability

Theorem [Colcombet+L¨

  • ding ’08]

Given parity automaton U and index [i, j], we can construct a cost-parity automaton B using priorities [i, j] such that the following are equivalent:

◮ L(U) has index [i, j]; ◮ B ≈ χL(U).

slide-49
SLIDE 49

Deciding co-B¨ uchi definability

Theorem [Colcombet+L¨

  • ding ’08]

Given parity automaton U and index [i, j], we can construct a cost-parity automaton B using priorities [i, j] such that the following are equivalent:

◮ L(U) has index [i, j]; ◮ B ≈ χL(U).

↓ Theorem [VB ’11] B ≈ χL is decidable for cost-parity automata using priorities {0, 1} and regular languages L. ↓ Theorem Given parity automaton U, it is decidable whether L(U) has index [0, 1].