The Transformation Monoid of a Partially Lossy Queue 12th - - PowerPoint PPT Presentation

the transformation monoid of a partially lossy queue
SMART_READER_LITE
LIVE PREVIEW

The Transformation Monoid of a Partially Lossy Queue 12th - - PowerPoint PPT Presentation

The Transformation Monoid of a Partially Lossy Queue 12th International Computer Science Symposium in Russia, Kazan Chris K ocher Dietrich Kuske Fachgebiet Automaten und Logik Technische Universit at Ilmenau June 9, 2017 1 What is a


slide-1
SLIDE 1

The Transformation Monoid of a Partially Lossy Queue

12th International Computer Science Symposium in Russia, Kazan

Chris K¨

  • cher

Dietrich Kuske

Fachgebiet Automaten und Logik Technische Universit¨ at Ilmenau

June 9, 2017

1

slide-2
SLIDE 2

What is a Partially Lossy Queue?

we consider classical fifo-queues Reliable Queues nothing can be forgotten or injected undecidable reachability [Brand, Zafiropulo 1983] can be “simulated” by queue with two distinct letters [Huschenbett, Kuske, Zetzsche 2014] Lossy Queues everything can be forgotten, nothing can be injected decidable reachability [Abdulla, Jonsson 1994] cannot be “simulated” by lossy queues with less letters [K¨

  • cher 2016]

Partially Lossy Queues (PLQs)

2

slide-3
SLIDE 3

Outline

1 Model the transformations on PLQs as monoid

= ⇒ PLQ monoid

2 Characterize which PLQ monoids embed into which others

= ⇒ kind of simulation of one PLQ by another

3 Characterize the trace monoids embedding into PLQ monoid

3

slide-4
SLIDE 4

Outline

1 Model the transformations on PLQs as monoid

= ⇒ PLQ monoid

2 Characterize which PLQ monoids embed into which others

= ⇒ kind of simulation of one PLQ by another

3 Characterize the trace monoids embedding into PLQ monoid

4

slide-5
SLIDE 5

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba v = bbab a a b a

5

slide-6
SLIDE 6

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba b v = bbab a a b a

5

slide-7
SLIDE 7

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba b v = bbab a a b a

5

slide-8
SLIDE 8

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba b v = bbab a a b a b

5

slide-9
SLIDE 9

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba b v = bbab a a b a b

5

slide-10
SLIDE 10

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba b v = bbab a a b a b

5

slide-11
SLIDE 11

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba v = bbab a a b b b

5

slide-12
SLIDE 12

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba a v = bbab a a b b b

5

slide-13
SLIDE 13

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba v = bbab a b b b

5

slide-14
SLIDE 14

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba b v = bbab a b b b

5

slide-15
SLIDE 15

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba b v = bbab a b b b

5

slide-16
SLIDE 16

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba b v = bbab b b b

5

slide-17
SLIDE 17

PLQs: Basics

Let A be an alphabet (|A| ≥ 2) and U ⊆ A.

U ... unforgettable letters A \ U ... forgettable letters

two controllable operations for each a ∈ A:

write letter a a read letter a a

Σ := {a, a | a ∈ A} non-controllable operation: forgetting letters from A \ U

Example

A = {a, b}, U = {b} q = aaba v = bbab b b

5

slide-18
SLIDE 18

PLQs: Read-Lossy Semantics

Definition

The map ◦: (A∗ ∪ {⊥}) × Σ∗ → (A∗ ∪ {⊥}) is defined for each q ∈ A∗, a, b ∈ A and v ∈ Σ∗ as follows:

1 q ◦ ε = q 2 q ◦ av = qa ◦ v 3 bq ◦ av =

     q ◦ v if a = b q ◦ av if a = b, b ∈ A \ U ⊥

  • therwise

4 ⊥ ◦ v = ⊥ = ε ◦ av

Example

Let A = {a, b} and U = {b}. aaba ◦ bbab = aabab ◦ bab = aababb ◦ ab = ababb ◦ b = abb

6

slide-19
SLIDE 19

PLQ Monoids: Definition

Definition

v ≡ w for v, w ∈ Σ∗ iff q ◦ v = q ◦ w for any q ∈ A∗ Q(A, U) := Σ∗/

≡ ... PLQ monoid

Q′(f , u) := Q({1, . . . , f + u}, {1, . . . u})

Theorem

The word problem of Q(A, U) is decidable in polynomial time. In other words: Given v, w ∈ Σ∗. We can decide, whether v ≡ w holds.

7

slide-20
SLIDE 20

Outline

1 Model the transformations on PLQs as monoid

= ⇒ PLQ monoid

2 Characterize which PLQ monoids embed into which others

= ⇒ kind of simulation of one PLQ by another

3 Characterize the trace monoids embedding into PLQ monoid

8

slide-21
SLIDE 21

Main Theorem

Q′(0, 2) Q′(0, u) Q′(1, 2) Q′(1, u) Q′(2, 2) Q′(2, u) Q′(2, 0) Q′(3, 0) Q′(1, 1) Q′(2, 1) Q′(3, 1)

Main Theorem

Let u + f , u′ + f ′ ≥ 2. Then Q′(f , u) ֒ → Q′(f ′, u′) if, and

  • nly if, all of the following hold:

1 f ≤ f ′ 2 u′ = 0 ⇒ u = 0 3 u′ = 1 ⇒ u ≤ 1 or f < f ′

9

slide-22
SLIDE 22

Outline

1 Model the transformations on PLQs as monoid

= ⇒ PLQ monoid

2 Characterize which PLQ monoids embed into which others

= ⇒ kind of simulation of one PLQ by another

3 Characterize the trace monoids embedding into PLQ monoid

10

slide-23
SLIDE 23

Trace Monoids: Definition

Definition

An independence alphabet is a finite, undirected, irreflexive graph (Γ, I). ≡I is the least congruence on Γ ∗ satisfying ab ≡I ba for any (a, b) ∈ I . M(Γ, I) := Γ ∗/

≡I ... trace monoid on (Γ, I).

11

slide-24
SLIDE 24

Trace Monoids: Overview

Q′(0, 2) Q′(0, u) Q′(1, 1) Q′(1, 2) Q′(1, u) Q′(2, 1) Q′(2, 2) Q′(2, u) Q′(3, 1) Q′(2, 0) Q′(3, 0)

12

slide-25
SLIDE 25

Trace Monoids: Large Queue Alphabets

Theorem

Let f + 2u ≥ 3 and (Γ, I) be an independence alphabet. Then the following are equivalent:

1 M(Γ, I) ֒

→ Q′(f , u).

2 M(Γ, I) ֒

→ Q′(0, 2).

3 M(Γ, I) ֒

→ {a, b}∗ × {c, d}∗.

4 One of the following conditions holds: a All nodes in (Γ, I) have degree ≤ 1. b The only non-trivial connected

component of (Γ, I) is complete bipartite.

                   [Kuske, Prianychnykova 2016]

a b

13

slide-26
SLIDE 26

Trace Monoids: Binary Queue Alphabet

Theorem

Let (Γ, I) be an independence alphabet. Then the following are equivalent:

1 M(Γ, I) ֒

→ Q′(2, 0).

2 One of the following conditions holds: a All nodes in (Γ, I) have degree ≤ 1. b The only non-trivial connected component of (Γ, I) is a star

graph.

a b

14

slide-27
SLIDE 27

Further Research

Submitted: Kleene-type characterization of recognizable subsets:

Recognizable(Q(A, X)) Rational(Q(A, X)) Recognizable(Q(A, X)) = q-Rational(Q(A, X))

Sch¨ utzenberger-type characterization of aperiodic subsets:

Aperiodic(Q(A, X)) = Star-free(Q(A, X)) Aperiodic(Q(A, X)) = q-Star-free(Q(A, X))

Not yet submitted: Algorithmic properties of Rational(Q(A, X)), e.g.,

Recognizability is undecidable

15

slide-28
SLIDE 28

Summary

Q′(0, 2) Q′(0, u) Q′(1, 1) Q′(2, 2) Q′(1, u) Q′(2, 1) Q′(2, 2) Q′(2, u) Q′(3, 1) Q′(2, 0) Q′(3, 0) M     M     M    

16