Rational, Recognizable, and Aperiodic Sets in the Partially Lossy - - PowerPoint PPT Presentation

rational recognizable and aperiodic sets in the partially
SMART_READER_LITE
LIVE PREVIEW

Rational, Recognizable, and Aperiodic Sets in the Partially Lossy - - PowerPoint PPT Presentation

Rational, Recognizable, and Aperiodic Sets in the Partially Lossy Qeue Monoid 35 th International Symposium on Theoretical Aspects of Computer Science, Caen Chris K ocher Automata and Logics Group Technische Universit at Ilmenau March


slide-1
SLIDE 1

Rational, Recognizable, and Aperiodic Sets in the Partially Lossy Qeue Monoid

35th International Symposium on Theoretical Aspects of Computer Science, Caen

Chris K¨

  • cher

Automata and Logics Group Technische Universit¨ at Ilmenau

March 2, 2018

1

slide-2
SLIDE 2

What is a Partially Lossy Qeue?

there are two types of fifo-queues:

Reliable Qeues

nothing can be forgoten or injected applications: sofware and algorithms engineering

Lossy Qeues

everything can be forgoten, nothing can be injected applications: verification and telematics

natural combination of both: Partially Lossy Qeues (PLQs)

some parts can be forgoten nothing can be injected

2

slide-3
SLIDE 3

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-4
SLIDE 4

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-5
SLIDE 5

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-6
SLIDE 6

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-7
SLIDE 7

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-8
SLIDE 8

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-9
SLIDE 9

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-10
SLIDE 10

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-11
SLIDE 11

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-12
SLIDE 12

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-13
SLIDE 13

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-14
SLIDE 14

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-15
SLIDE 15

PLQs: Basics

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

U … unforgetable leters A \ U … forgetable leters

two actions for each a ∈ A:

write leter a a read leter a a

A := {a | a ∈ A} Σ := A ⊎ A non-controllable operation: forgeting leters from A \ U

Example

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

3

slide-16
SLIDE 16

PLQ Monoids: Definition

Definition

u, v ∈ Σ∗ act equally (in symbols u ≡ v) if, and only if, ∀p, q ∈ A∗ : p u − → q ⇐ ⇒ p v − → q

Theorem (K., Kuske 2017, cf. CSR 2017)

≡ is the least congruence satisfying the following equations:

1 ab ≡ ba if a = b 2 aac ≡ aac 3 cwaa ≡ cwaa if c ∈ U ∪ {a}

for any a, b, c ∈ A and w ∈ A∗.

Definition

Q(A, U) := Σ∗/

≡ … the plq monoid

4

slide-17
SLIDE 17

Rational and Recognizable Sets (1)

Definition

Let M be a monoid and S ⊆ M. S is rational if it can be constructed from finite subsets of M using ∪, ·, and ∗

i.e., generalizes regular expressions

S is recognizable if there is a homomorphism η into a finite monoid with η−1(η(S)) = S.

i.e., generalizes acceptance of finite automata closure properties: ∪, ∩, \

Theorem (Kleene 1951)

S ⊆ Γ ∗ is rational if, and only if, it is recognizable.

5

slide-18
SLIDE 18

Rational and Recognizable Sets (2)

Qestion

Is S ⊆ Q(A, U) rational if, and only if, it is recognizable? NO!

Proposition

The class of rational sets is not closed under intersection. The class of recognizable sets is not closed under · and ∗. BUT: each recognizable set is rational due to [McKnight 1964]

Qestion

When is a rational set recognizable?

Theorem

Recognizability of rational sets is undecidable.

6

slide-19
SLIDE 19

Q-Rational Subsets

Definition

S ⊆ Q(A, U) is q+-rational if there is a rational set R ⊆ A∗ s.t. S = [R ✁ A∗]≡. Similar: S ⊆ Q(A, U) is q−-rational if there is a rational set R ⊆ A∗ s.t. S = [A∗ ✁ R]≡. S ⊆ Q(A, U) is q-rational if

S is q+- or q−-rational S = S1 ∪ S2 for some S1, S2 q-rational S = S1 · Q(A, U) · S2 for some S1 q+-rational, S2 q−-rational s.t. S = [A∗ ✁ F]≡ for a finite set F ⊆ A

∗.

S = Q(A, U) \ S1 for some S1 q-rational

7

slide-20
SLIDE 20

Main Theorem

Theorem

Let S ⊆ Q(A, U). Then the following are equivalent:

1 S is recognizable 2 S is q-rational

Proof. “(1)⇒(2)”: With the help of several intermediate characterizations.

8

slide-21
SLIDE 21

B¨ uchi’s Theorem

Let w = abbacba. w is the following linear order: a b b a c b a FO … first-order logic on these linear orders MSO … FO + quantification of sets

Theorem (B¨ uchi 1960)

S ⊆ Γ ∗ is recognizable if, and only if, there is φ ∈ MSO with S = {w ∈ Γ ∗ | w | = φ}.

9

slide-22
SLIDE 22

Structures for PLQs

Let a, b ∈ A, b / ∈ U. Consider q = [babaaaa]≡. We model q as a structure q with infinitely many relations:

≤+, ≤−, Pn for any n ∈ N

b a b a a a a ≤− ≤− ≤+ ≤+ ≤+ ¬P1, P2, P3, ¬P1, ¬P2, ¬P3, ∀n ≥ 4: ¬Pn ∀n ≥ 4: ¬Pn babaaaa ≡ babaaaa

10

slide-23
SLIDE 23

Structures for PLQs

Let a, b ∈ A, b / ∈ U. Consider q = [babaaaa]≡. We model q as a structure q with infinitely many relations:

≤+, ≤−, Pn for any n ∈ N

b a b a a a a ≤− ≤− ≤+ ≤+ ≤+ ¬P1, P2, P3, ¬P1, ¬P2, ¬P3, ∀n ≥ 4: ¬Pn ∀n ≥ 4: ¬Pn FOq … first-order logic on these structures MSOq … FOq + quantification of sets

10

slide-24
SLIDE 24

Main Theorem

Theorem

Let S ⊆ Q(A, U). Then the following are equivalent:

1 S is recognizable 2 S is q-rational 3 S = {q ∈ Q(A, U) |

q | = φ} for some φ ∈ MSOq Proof. “(1)⇒(2)”: With the help of several intermediate characterizations. “(2)⇒(3)”: Special product corresponds to some Pn. “(3)⇒(1)”: Translation of MSOq-formulas into B¨ uchi’s MSO.

  • 11
slide-25
SLIDE 25

Comparison

Data Structure Transformation Monoid Recognizable Sets finite memory finite monoid F S ⊆ F blind counter (Z, +)

  • (m,n)∈I,

n=0

m + nZ pushdown polycyclic monoid P ∅, P plq Q(A, U) reliable queue Q(A, A) lossy queue Q(A, ∅) q-rational sets / MSOq

12

slide-26
SLIDE 26

Comparison

Data Structure Transformation Monoid Aperiodic Sets finite memory finite monoid F […] blind counter (Z, +) ∅, Z pushdown polycyclic monoid P ∅, P plq Q(A, U) reliable queue Q(A, A) lossy queue Q(A, ∅) q-star-free sets / FOq

Thank you!

12