Reachability Problems on (Partially Lossy) Queue Automata 13 th - - PowerPoint PPT Presentation

reachability problems on partially lossy queue automata
SMART_READER_LITE
LIVE PREVIEW

Reachability Problems on (Partially Lossy) Queue Automata 13 th - - PowerPoint PPT Presentation

Reachability Problems on (Partially Lossy) Queue Automata 13 th International Conference on Reachability Problems, Brussels Chris K ocher Automata and Logics Group Technische Universit at Ilmenau September 11, 2019 1 Queue Automata


slide-1
SLIDE 1

Reachability Problems on (Partially Lossy) Queue Automata

13th International Conference on Reachability Problems, Brussels

Chris K¨

  • cher

Automata and Logics Group Technische Universit¨ at Ilmenau

September 11, 2019

1

slide-2
SLIDE 2

Queue Automata

Let A be an alphabet. Two actions for each a ∈ A:

write letter a ↝ a read letter a ↝ a

A ∶= {a∣ a ∈ A}, A ∶= {a∣ a ∈ A} Σ ∶= A ⊎ A

Example

q0 q1 q2 q3 b b a a a a b b a a a a a a b b b

2

slide-3
SLIDE 3

Queue Automata

Let A be an alphabet. Two actions for each a ∈ A:

write letter a ↝ a read letter a ↝ a

A ∶= {a∣ a ∈ A}, A ∶= {a∣ a ∈ A} Σ ∶= A ⊎ A

Example

q0 q1 q2 q3 b b a a a a b b a a a a a a b b b

2

slide-4
SLIDE 4

Queue Automata

Let A be an alphabet. Two actions for each a ∈ A:

write letter a ↝ a read letter a ↝ a

A ∶= {a∣ a ∈ A}, A ∶= {a∣ a ∈ A} Σ ∶= A ⊎ A

Example

q0 q1 q2 q3 b b a a a a b b a a a a a a b b b

2

slide-5
SLIDE 5

Queue Automata

Let A be an alphabet. Two actions for each a ∈ A:

write letter a ↝ a read letter a ↝ a

A ∶= {a∣ a ∈ A}, A ∶= {a∣ a ∈ A} Σ ∶= A ⊎ A

Example

q0 q1 q2 q3 b b a a a a b b a a a a a a b b b

2

slide-6
SLIDE 6

Queue Automata

Let A be an alphabet. Two actions for each a ∈ A:

write letter a ↝ a read letter a ↝ a

A ∶= {a∣ a ∈ A}, A ∶= {a∣ a ∈ A} Σ ∶= A ⊎ A

Example

q0 q1 q2 q3 b b a a a a b b a a a a a a b b b

2

slide-7
SLIDE 7

Queue Automata

Let A be an alphabet. Two actions for each a ∈ A:

write letter a ↝ a read letter a ↝ a

A ∶= {a∣ a ∈ A}, A ∶= {a∣ a ∈ A} Σ ∶= A ⊎ A

Example

q0 q1 q2 q3 b b a a a a b b a a a a a a b b b

2

slide-8
SLIDE 8

Queue Automata

Let A be an alphabet. Two actions for each a ∈ A:

write letter a ↝ a read letter a ↝ a

A ∶= {a∣ a ∈ A}, A ∶= {a∣ a ∈ A} Σ ∶= A ⊎ A

Example

q0 q1 q2 q3 b b a a a a b b a a a a a a b b b

2

slide-9
SLIDE 9

Queue Automata

Let A be an alphabet. Two actions for each a ∈ A:

write letter a ↝ a read letter a ↝ a

A ∶= {a∣ a ∈ A}, A ∶= {a∣ a ∈ A} Σ ∶= A ⊎ A

Example

q0 q1 q2 q3 b b a a a a b b a a a a a a b b b

2

slide-10
SLIDE 10

Reachability Problem

Inputs: T ⊆ Σ∗ regular language of transformation sequences L ⊆ A∗ regular language of queue contents Compute: Reach(L, T) ∶= the set of all queue contents afer application of T on L

Example

q0 q1 q2 q3 b b a a a a b b a a a a a a b b

3

slide-11
SLIDE 11

Reachability Problem

Inputs: T ⊆ Σ∗ regular language of transformation sequences L ⊆ A∗ regular language of queue contents Compute: Reach(L, T) ∶= the set of all queue contents afer application of T on L

Example

q0 q1 q2 q3 b b a a a a b b a a a a a a b b

3

slide-12
SLIDE 12

Turing-Completeness

Teorem (Brand, Zafiropulo 1983)

Queue Automata can simulate Turing-machines. Reach(L, T) can be any recursively enumerable language holds already for some fixed T = {t1, . . . , tn}∗ with t1, . . . , tn ∈ Σ∗

4

slide-13
SLIDE 13

Approximations of the Reachability Problem

Iterative approach: for i = 0, 1, 2, . . . do

compute the prefixes Ti of length i from T apply Ti on L

Faster approach:

Teorem (Boigelot, Godefroid, Willems, Wolper 1997)

Let L ⊆ A∗ be regular and t ∈ Σ∗. Ten Reach(L, t∗) is effectively regular.

⇒ Combine multiple iterations of a loop to a meta-transformation

Aim

Generalize this result.

5

slide-14
SLIDE 14

Te Main Teorem

Teorem

Let L, W, R ⊆ A∗ be regular. Ten Reach(L, (WR)∗) is effectively regular (in polynomial time). We slightly modify W and R:

Let $ ∉ A be some new letter. Set W′ ∶= $W and R′ ∶= shuffle(R,$

). Easy: Reach(L, (WR)∗) = projA(Reach(L, (W′R′)∗)). We prove that Reach(L, (W′R′)∗) is regular.

From now on, we write W and R instead of W′ and R′, resp.

6

slide-15
SLIDE 15

Proof Idea (1)

Consider the following example: NFA LW∗ accepting LW∗: a b a b

$ $

a a, b NFA (WR)∗ accepting (WR)∗:

$

a a, b b

$ $ $

a b

7

slide-16
SLIDE 16

Proof Idea (1)

Consider the following example: NFA LW∗ accepting LW∗: a b a b

$ $

a a, b NFA (WR)∗ accepting (WR)∗:

$

a a, b b

$ $ $

a b $

7

slide-17
SLIDE 17

Proof Idea (1)

Consider the following example: NFA LW∗ accepting LW∗: a b a b

$ $

a a, b NFA (WR)∗ accepting (WR)∗:

$

a a, b b

$ $ $

a b $ a

7

slide-18
SLIDE 18

Proof Idea (1)

Consider the following example: NFA LW∗ accepting LW∗: a b a b

$ $

a a, b NFA (WR)∗ accepting (WR)∗:

$

a a, b b

$ $ $

a b $ a b

7

slide-19
SLIDE 19

Proof Idea (1)

Consider the following example: NFA LW∗ accepting LW∗: a b a b

$ $

a a, b NFA (WR)∗ accepting (WR)∗:

$

a a, b b

$ $ $

a b $ a b

7

slide-20
SLIDE 20

Proof Idea (1)

Consider the following example: NFA LW∗ accepting LW∗: a b a b

$ $

a a, b NFA (WR)∗ accepting (WR)∗:

$

a a, b b

$ $ $

a b $ a b

7

slide-21
SLIDE 21

Proof Idea (1)

Consider the following example: NFA LW∗ accepting LW∗: a b a b

$ $

a a, b NFA (WR)∗ accepting (WR)∗:

$

a a, b b

$ $ $

a b $ a b

7

slide-22
SLIDE 22

Proof Idea (2)

NFA LW∗ accepting LW∗: NFA (WR)∗ accepting (WR)∗: a b a b

$ $

a a, b

$

a a, b b

$ $ $

a b $ a b

A configuration of the queue automaton can be abstracted as follows:

1

the current state in (WR)∗

2 the starting state of the path in LW∗ 3 the ending state of the path in LW∗ 4 the number of $s on the path

⇒ Te queue automaton can be simulated by a one-counter automaton C control state of C counter of C

8

slide-23
SLIDE 23

Proof Idea (2)

NFA LW∗ accepting LW∗: NFA (WR)∗ accepting (WR)∗: a b a b

$ $

a a, b

$

a a, b b

$ $ $

a b $ a b

A configuration of the queue automaton can be abstracted as follows:

1

the current state in (WR)∗

2 the starting state of the path in LW∗ 3 the ending state of the path in LW∗ 4 the number of $s on the path

⇒ Te queue automaton can be simulated by a one-counter automaton C control state of C counter of C

8

slide-24
SLIDE 24

Proof Idea (2)

NFA LW∗ accepting LW∗: NFA (WR)∗ accepting (WR)∗: a b a b

$ $

a a, b

$

a a, b b

$ $ $

a b $ a b

A configuration of the queue automaton can be abstracted as follows:

1

the current state in (WR)∗

2 the starting state of the path in LW∗ 3 the ending state of the path in LW∗ 4 the number of $s on the path

⇒ Te queue automaton can be simulated by a one-counter automaton C control state of C counter of C

8

slide-25
SLIDE 25

Proof Idea (2)

NFA LW∗ accepting LW∗: NFA (WR)∗ accepting (WR)∗: a b a b

$ $

a a, b

$

a a, b b

$ $ $

a b $ a b

A configuration of the queue automaton can be abstracted as follows:

1

the current state in (WR)∗

2 the starting state of the path in LW∗ 3 the ending state of the path in LW∗ 4 the number of $s on the path

⇒ Te queue automaton can be simulated by a one-counter automaton C control state of C counter of C

8

slide-26
SLIDE 26

Semantics of C

C’s configurations consist of:

1

the current state in (WR)∗

2 the starting state of the path in LW∗ 3 the ending state of the path in LW∗ 4 the number of $s on the path

Let (p, q, r, n) ∈ ConfC be a configuration of C. p, q, r, n ∶= L(LW∗

q→r) ∩ shuffle($n, A∗)

control state of C counter of C

Proposition

Reach(L, (WR)∗) = ⋃

σ∈ConfC , reach. + acc.

σ , i.e., Reach(L, (WR)∗) is a rational image of the set of reachable and accepting configurations of C.

9

slide-27
SLIDE 27

Finishing the Proof

Consider the set of reachable and accepting configurations of C. By [Bouajjani, Esparza, Maler 1997] this set is semilinear. Using a rational transduction implies effective regularity of Reach(L, (WR)∗). ◻ ⇒ We have seen:

Teorem (Main Teorem)

Let L, W, R ⊆ A∗ be regular. Ten Reach(L, (WR)∗) is effectively regular (in polynomial time).

10

slide-28
SLIDE 28

Consequences

Corollary

Let L ⊆ A∗ and T ⊆ Σ∗ be regular. Ten Reach(L, T∗) is regular if

1 T = R1WR2 for regular W, R1, R2 ⊆ A∗, 2 T = W ∪ R for regular W, R ⊆ A∗, 3 T = {t} for t ∈ Σ∗ (cf. [Boigelot et al. 1997]), or 4 T = shuffle(W, R) for regular W, R ⊆ A∗.

Remark: Proofs of 3 and 4 use some result from [K. 2018, cf. STACS’18]

Tank you!

11