a robust extension of regular word languages
play

A robust extension of -regular word languages. Mikoaj Bojaczyk - PowerPoint PPT Presentation

A robust extension of -regular word languages. Mikoaj Bojaczyk Warsaw University What is a regular word language? regular expressions automata monadic second-order logic closure properties semigroups


  1. m. Emptiness decidable for max-automata. For a max-automaton, the accepting condition says some counters are bounded, and some are not. finite prefix

  2. m. Emptiness decidable for max-automata. For a max-automaton, the accepting condition says some counters are bounded, and some are not. finite prefix

  3. m. Emptiness decidable for max-automata. For a max-automaton, the accepting condition says some counters are bounded, and some are not. for bounding counters: every loop with an increment also contains a reset. finite prefix loop that makes an unbounded counter c accepting. No reset on c, at least one increment.

  4. What is the logic for max-automata?

  5. Extend weak MSO with the following quantifier:

  6. Extend weak MSO with the following quantifier: U X φ ( X ) which is the same as “ φ ( X ) holds for finite sets X of arbitrarily large size” which is the same as ∧ φ ( X ) ∧ n< | X|<∞ n

  7. Extend weak MSO with the following quantifier: U X φ ( X ) which is the same as “ φ ( X ) holds for finite sets X of arbitrarily large size” which is the same as ∧ φ ( X ) ∧ n< | X|<∞ n Example: { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... is not bounded}

  8. Extend weak MSO with the following quantifier: U X φ ( X ) which is the same as “ φ ( X ) holds for finite sets X of arbitrarily large size” which is the same as ∧ φ ( X ) ∧ n< | X|<∞ n Example: { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... is not bounded} U X “X is a set of consecutive a ’s”

  9. m. Deterministic max-automata recognize the same langauges as weak MSO with the unbounding quantifier.

  10. m. Deterministic max-automata recognize the same langauges as weak MSO with the unbounding quantifier. Proof. Effective translations both ways.

  11. m. Deterministic max-automata recognize the same langauges as weak MSO with the unbounding quantifier. Proof. Effective translations both ways. WMSO+U ω-regular

  12. m. Deterministic max-automata recognize the same langauges as weak MSO with the unbounding quantifier. Proof. Effective translations both ways. WMSO+U ω-regular “ n 1 n 2 n 3 ... is bounded”

  13. –logic –automata –decidability –?

  14. ω Myhill-Nerode equivalence. ( ) ...

  15. ω Myhill-Nerode equivalence. ( ) ... Prop. Languages recognized by max-automata have finitely many equivalence classes. Each class is a regular language of finite words.

  16. ω Myhill-Nerode equivalence. ( ) ... Prop. Languages recognized by max-automata have finitely many equivalence classes. Each class is a regular language of finite words. Proof sketch. Equivalence class of depends on state transformations, which counters are incremented (but not how much), and which counters are reset.

  17. ω Myhill-Nerode equivalence. ( ) ... Prop. Languages recognized by max-automata have finitely many equivalence classes. Each class is a regular language of finite words. Proof sketch. Equivalence class of depends on state transformations, which counters are incremented (but not how much), and which counters are reset. also works for: ( ) ( ) (

  18. What about full MSO with the unbounding quantifier?

  19. What about full MSO with the unbounding quantifier? m. MSO+U is strictly more expressive than WMSO+U

  20. What about full MSO with the unbounding quantifier? m. MSO+U is strictly more expressive than WMSO+U separating language L= { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... tends to ∞}

  21. What about full MSO with the unbounding quantifier? m. MSO+U is strictly more expressive than WMSO+U separating language L= { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... tends to ∞} L ∈ MSO+U

  22. What about full MSO with the unbounding quantifier? m. MSO+U is strictly more expressive than WMSO+U separating language L= { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... tends to ∞} L ∈ MSO+U complement of L : exists a bounded subsequence.

  23. What about full MSO with the unbounding quantifier? m. MSO+U is strictly more expressive than WMSO+U separating language L= { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... tends to ∞} L ∈ MSO+U complement of L : exists a bounded subsequence. L ∉ WMSO+U

  24. What about full MSO with the unbounding quantifier? m. MSO+U is strictly more expressive than WMSO+U separating language L= { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... tends to ∞} L ∈ MSO+U complement of L : exists a bounded subsequence. L ∉ WMSO+U topological argument.

  25. What about full MSO with the unbounding quantifier? m. MSO+U is strictly more expressive than WMSO+U separating language L= { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... tends to ∞} L ∈ MSO+U complement of L : exists a bounded subsequence. L ∉ WMSO+U topological argument. acceptance condition “ n 1 n 2 n 3 ... is bounded”

  26. What about full MSO with the unbounding quantifier? m. MSO+U is strictly more expressive than WMSO+U separating language L= { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... tends to ∞} L ∈ MSO+U complement of L : exists a bounded subsequence. L ∉ WMSO+U topological argument. acceptance condition “ n 1 n 2 n 3 ... is bounded” is a countable union of closed sets ( Σ 2 )

  27. What about full MSO with the unbounding quantifier? m. MSO+U is strictly more expressive than WMSO+U separating language L= { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... tends to ∞} L ∈ MSO+U complement of L : exists a bounded subsequence. L ∉ WMSO+U topological argument. acceptance condition “ n 1 n 2 n 3 ... is bounded” is a countable union of closed sets ( Σ 2 ) “sequence bounded by N ” is a closed set

  28. What about full MSO with the unbounding quantifier? m. MSO+U is strictly more expressive than WMSO+U separating language L= { a n 1 b a n 2 b a n 3 b... : n 1 n 2 n 3 ... tends to ∞} L ∈ MSO+U complement of L : exists a bounded subsequence. L ∉ WMSO+U topological argument. acceptance condition “ n 1 n 2 n 3 ... is bounded” is a countable union of closed sets ( Σ 2 ) “sequence bounded by N ” is a closed set Prop . A language recognized by a max automaton is a boolean combination of Σ 2 sets, while L is not.

  29. ω-regular

  30. WMSO+U ω-regular

  31. WMSO+U ω-regular “ n 1 n 2 n 3 ... is bounded”

  32. MSO+U WMSO+U ω-regular “ n 1 n 2 n 3 ... is bounded”

  33. n 1 n 2 n 3 ... tends to ∞ MSO+U WMSO+U ω-regular “ n 1 n 2 n 3 ... is bounded”

  34. n 1 n 2 n 3 ... tends to ∞ MSO+U WMSO+U ω-regular BS-automata (B, Colcombet LICS ’06) “ n 1 n 2 n 3 ... is bounded”

  35. infinitely many numbers n 1 n 2 n 3 ... tends to ∞ appear infinitely often MSO+U WMSO+U ω-regular BS-automata (B, Colcombet LICS ’06) “ n 1 n 2 n 3 ... is bounded”

  36. Conclusion New robust class of languages extending ω-regular languages. (automata, logic, decidability)

  37. Conclusion New robust class of languages extending ω-regular languages. (automata, logic, decidability) Future work

  38. Conclusion New robust class of languages extending ω-regular languages. (automata, logic, decidability) Future work – Full MSO+U

  39. Conclusion New robust class of languages extending ω-regular languages. (automata, logic, decidability) Future work – Full MSO+U – Tree extensions

  40. Conclusion New robust class of languages extending ω-regular languages. (automata, logic, decidability) Future work – Full MSO+U – Tree extensions – Algebra

  41. Conclusion New robust class of languages extending ω-regular languages. (automata, logic, decidability) Future work – Full MSO+U – Tree extensions – Algebra – Regular expressions

  42. a bit about the proofs

  43. WMSO+U deterministic max-automata

  44. WMSO+U deterministic max-automata Proof strategy: Automata are closed under all operations in the logic.

  45. WMSO+U deterministic max-automata Proof strategy: Automata are closed under all operations in the logic. Boolean operations: free for a deterministic automaton.

  46. WMSO+U deterministic max-automata Proof strategy: Automata are closed under all operations in the logic. Boolean operations: free for a deterministic automaton. Weak existential quantification Unbounding quantification

  47. WMSO+U deterministic max-automata Proof strategy: Automata are closed under all operations in the logic. Boolean operations: free for a deterministic automaton. Let w be a word over alphabet Σ, and X a set of positions. w [ X ] : word over alphabet Σ×{0,1} Weak existential quantification Unbounding quantification

  48. WMSO+U deterministic max-automata Proof strategy: Automata are closed under all operations in the logic. Boolean operations: free for a deterministic automaton. Let w be a word over alphabet Σ, and X a set of positions. w [ X ] : word over alphabet Σ×{0,1} Weak existential quantification Prop . If L ⊆ (Σ×{0,1}) ω is recognized by a deterministic max- automaton, then so is { w : w [ X ] ∈ L for some finite set X } ⊆ Σ ω Unbounding quantification

  49. WMSO+U deterministic max-automata Proof strategy: Automata are closed under all operations in the logic. Boolean operations: free for a deterministic automaton. Let w be a word over alphabet Σ, and X a set of positions. w [ X ] : word over alphabet Σ×{0,1} Weak existential quantification Prop . If L ⊆ (Σ×{0,1}) ω is recognized by a deterministic max- automaton, then so is { w : w [ X ] ∈ L for some finite set X } ⊆ Σ ω Unbounding quantification Prop . If L ⊆ (Σ×{0,1}) ω is recognized by a deterministic max- automaton, then so is { w : w [ X ] ∈ L for arbitrarily large X } ⊆ Σ ω

  50. WMSO+U deterministic max-automata Proof strategy: Automata are closed under all operations in the logic. Boolean operations: free for a deterministic automaton. Let w be a word over alphabet Σ, and X a set of positions. w [ X ] : word over alphabet Σ×{0,1} Weak existential quantification Prop . If L ⊆ (Σ×{0,1}) ω is recognized by a deterministic max- automaton, then so is { w : w [ X ] ∈ L for some finite set X } ⊆ Σ ω Unbounding quantification Prop . If L ⊆ (Σ×{0,1}) ω is recognized by a deterministic max- automaton, then so is { w : w [ X ] ∈ L for arbitrarily large X } ⊆ Σ ω e proof uses a combinatoric theorem of I. Simon.

  51. Let A be an automaton with state space Q Two rules for splitting words.

  52. Let A be an automaton with state space Q Two rules for splitting words. Simon eorem. For fixed A , there is a splitting depth K , such that every word can be split in depth K down to single letters.

  53. Let A be an automaton with state space Q Two rules for splitting words. Rule 1. split into two parts abaabbbababbbabba bbabbbabbbabbaba Simon eorem. For fixed A , there is a splitting depth K , such that every word can be split in depth K down to single letters.

  54. Let A be an automaton with state space Q Two rules for splitting words. Rule 1. split into two parts abaabbbababbbabba bbabbbabbbabbaba Rule 2. split into many parts, each with the same transformation abaab bbababb babba bba bbbabb babba ba Simon eorem. For fixed A , there is a splitting depth K , such that every word can be split in depth K down to single letters.

  55. Let A be an automaton with state space Q Two rules for splitting words. Rule 1. split into two parts abaabbbababbbabba bbabbbabbbabbaba Rule 2. split into many parts, each with the same transformation abaab bbababb babba bba bbbabb babba ba Simon eorem. For fixed A , there is a splitting depth K , such that every word can be split in depth K down to single letters.

  56. “even number of a’ s” has a two transition functions: decomposition of depth 5 even (0) and odd (1)

  57. “even number of a’ s” has a two transition functions: decomposition of depth 5 even (0) and odd (1) a b b a a a a b b a a b b a a b

Recommend


More recommend