rational recognizable and aperiodic sets in the partially
play

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


  1. 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 2, 2018 1

  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

  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

  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 v = bbab a a b a b 3

  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 v = bbab a a b a b 3

  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 v = bbab a a b a b b 3

  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 v = bbab a a b a b b 3

  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 v = bbab a a b a b b 3

  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

  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 v = bbab bab a a b b b 3

  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

  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 v = bbab b a b b b 3

  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 v = bbab b a b b b 3

  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 v = bbab b b b b 3

  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

  16. PLQ Monoids: Definition Definition u , v ∈ Σ ∗ act equally (in symbols u ≡ v ) if, and only if, ∀ p , q ∈ A ∗ : p u ⇒ p v − → q ⇐ − → 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

  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

  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

  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 = S 1 ∪ S 2 for some S 1 , S 2 q-rational S = S 1 · Q ( A , U ) · S 2 for some S 1 q + -rational, S 2 q − -rational s.t. S = [ A ∗ ✁ F ] ≡ for a finite set F ⊆ A ∗ . S = Q ( A , U ) \ S 1 for some S 1 q-rational 7

  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

  21. B¨ uchi’s Theorem Let w = abbacba . w is the following linear order: a a c a b b b 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

  22. Structures for PLQs Let a , b ∈ A , b / ∈ U . Consider q = [ babaaaa ] ≡ . We model q as a structure � q with infinitely many relations: ≤ + , ≤ − , P n for any n ∈ N ≤ − ≤ − ≤ + ≤ + ≤ + a a a a a b b ¬ P 1 , ¬ P 2 , ¬ P 3 , ¬ P 1 , P 2 , P 3 , ∀ n ≥ 4 : ¬ P n ∀ n ≥ 4 : ¬ P n babaaaa ≡ babaaaa 10

  23. Structures for PLQs Let a , b ∈ A , b / ∈ U . Consider q = [ babaaaa ] ≡ . We model q as a structure � q with infinitely many relations: ≤ + , ≤ − , P n for any n ∈ N ≤ − ≤ − ≤ + ≤ + ≤ + a a a a a b b ¬ P 1 , ¬ P 2 , ¬ P 3 , ¬ P 1 , P 2 , P 3 , ∀ n ≥ 4 : ¬ P n ∀ n ≥ 4 : ¬ P n FO q … first-order logic on these structures MSO q … FO q + quantification of sets 10

  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 φ ∈ MSO q Proof . “(1) ⇒ (2)”: With the help of several intermediate characterizations. “(2) ⇒ (3)”: Special product corresponds to some P n . “(3) ⇒ (1)”: Translation of MSO q -formulas into B¨ uchi’s MSO. � 11

  25. Comparison Data Structure Transformation Monoid Recognizable Sets finite memory finite monoid F S ⊆ F � blind counter ( Z , +) m + n Z ( m , n ) ∈ I , n � = 0 polycyclic monoid P ∅ , P pushdown plq Q ( A , U ) Q ( A , A ) q-rational sets / MSO q reliable queue lossy queue Q ( A , ∅ ) 12

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

Recommend


More recommend