piecewise testable tree languages
play

Piecewise Testable Tree Languages Mikoaj Bojaczyk, Luc Segoufin, - PowerPoint PPT Presentation

Piecewise Testable Tree Languages Mikoaj Bojaczyk, Luc Segoufin, Howard Straubing is talk is about understanding the expressive power of logics on words and trees. e logics involved can only define (some) regular languages. is talk


  1. Piecewise Testable Tree Languages Mikołaj Bojańczyk, Luc Segoufin, Howard Straubing

  2. is talk is about understanding the expressive power of logics on words and trees. e logics involved can only define (some) regular languages.

  3. is talk is about understanding the expressive power of logics on words and trees. e logics involved can only define (some) regular languages. Understand logic X = give na algorithm to decide if a language L is definable in X all regular languages languages definable in logic X

  4.  is talk is about understanding the expressive power of logics on words and trees.  e logics involved can only define (some) regular languages. Understand logic X = give na algorithm to decide if a language L is definable in X all regular languages languages definable in logic X eorem. (I. Simon, ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  5. a c b a c

  6. b a c b a c a is a piece of

  7. b a c b a c a is a piece of Definition. A word language is called piecewise testable if it is a boolean combination of languages “words that contain w as a piece”

  8. b a c b a c a is a piece of Definition. A word language is called piecewise testable if it is a boolean combination of languages “words that contain w as a piece” { abc } = contains piece abc, but no piece of length 4 a*b* = no piece ba a*b*a* = no piece bab

  9. b a c b a c a is a piece of Definition. A word language is called piecewise testable if it is a boolean combination of languages “words that contain w as a piece” { abc } = contains piece abc, but no piece of length 4 a*b* = no piece ba a*b*a* = no piece bab Fact. A language is piecewise testable i ff it can be defined by a boolean combination of formulas. Σ 1 ( ≤ ) ∃ x ∃ y a ( x ) ∧ b ( y ) ∧ x ≤ y

  10. eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  11. Syntactic monoid of L ⊆ Σ ∗

  12. Syntactic monoid of L ⊆ Σ ∗ Consider the two-sided Myhill-Nerode congruence w w’ ∼ L holds if for every u,v ∈ Σ ∗ uwv i ff uw’v ∈ L ∈ L

  13. Syntactic monoid of L ⊆ Σ ∗ Consider the two-sided Myhill-Nerode congruence w w’ ∼ L holds if for every u,v ∈ Σ ∗ uwv i ff uw’v ∈ L ∈ L Elements of the syntactic monoid are equivalence classes of this congruence, the monoid operation is concatenation.

  14. Syntactic monoid of L ⊆ Σ ∗ Consider the two-sided Myhill-Nerode congruence w w’ ∼ L holds if for every u,v ∈ Σ ∗ uwv i ff uw’v ∈ L ∈ L Elements of the syntactic monoid are equivalence classes of this congruence, the monoid operation is concatenation. Language Its syntactic monoid ( aa )* ( aa )* a ( aa )* a* a*ba* a*ba*b(a+b)* a*ba*

  15. eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  16. Infix relation in a monoid For s,t,u , we say s is an infix of tsu ∈ M We say s,t are in the same J -class if they are mutual infixes ∈ M Example.  e syntactic monoid of ( aa )* has two elements, ( aa )* and a ( aa )*, which are in the same J -class. A monoid is J -trivial if each J -class has one element.

  17. eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  18. Language Its syntactic monoid ( aa )* ( aa )* a ( aa )* a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  19. Language Its syntactic monoid ( aa )* ( aa )* a ( aa )* a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  20. Language Its syntactic monoid ✗ ( aa )* ( aa )* a ( aa )* a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  21. Language Its syntactic monoid ✗ ( aa )* ( aa )* a ( aa )* a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  22. Language Its syntactic monoid ✗ ( aa )* ( aa )* a ( aa )* ✓ a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  23. Language Its syntactic monoid ✗ ( aa )* ( aa )* a ( aa )* ✓ a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  24. Language Its syntactic monoid ✗ ( aa )* ( aa )* a ( aa )* ✓ a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* ✗ eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  25. Language Its syntactic monoid ✗ ( aa )* ( aa )* a ( aa )* ✓ a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* ✗ eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  26. Language Its syntactic monoid ✗ ( aa )* ( aa )* a ( aa )* ✓ a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* ✗ eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial. If s and t are in the same J -class, then for any n one can find representatives of s and t with the same pieces of size n. w uwv u’uwvv’ uu’uwvv’v u’uu’uwvv’vv’v ... s s t s t

  27. Language Its syntactic monoid ✗ ( aa )* ( aa )* a ( aa )* ✓ a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* ✗ eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  28. Language Its syntactic monoid ✗ ( aa )* ( aa )* a ( aa )* ✓ a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* ✗ eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial.

  29. Language Its syntactic monoid ✗ ( aa )* ( aa )* a ( aa )* ✓ a* a*ba* a*ba*b(a+b)* a*ba* ε a ( a+b )* b ( a+b )* a ( a+b )* ✗ eorem. (I. Simon,  ) A word language is piecewise testable i ff its syntactic monoid is J -trivial. Several arguments, all di ffi cult.

  30. What’s the point of all this?  ere is a rich theory connecting logic, regular languages, and algebra.

  31. What’s the point of all this?  ere is a rich theory connecting logic, regular languages, and algebra. eorem. (Schützenberger, McNaughton/Papert)  e following are equivalent for a word language: – L is definable in first-order logic – L is star-free – the syntactic monoid of L is group-free

  32. What’s the point of all this?  ere is a rich theory connecting logic, regular languages, and algebra. eorem. (Schützenberger, McNaughton/Papert)  e following are equivalent for a word language: – L is definable in first-order logic – L is star-free – the syntactic monoid of L is group-free eorem. (Schützenberger,  érien / Wilke)  e following are equivalent for a word language: – L is definable in two-variable first-order logic – L can be defined by a type of unambiguous expression – the syntactic monoid of L is in DA

  33. What’s the point of all this?  ere is a rich theory connecting logic, regular languages, and algebra. eorem. (Schützenberger, McNaughton/Papert)  e following are equivalent for a word language: – L is definable in first-order logic – L is star-free – the syntactic monoid of L is group-free eorem. (Schützenberger,  érien / Wilke)  e following are equivalent for a word language: – L is definable in two-variable first-order logic – L can be defined by a type of unambiguous expression – the syntactic monoid of L is in DA ... more results, including modulo quantifiers, the quantifier alternation hierarchy, etc.

  34. What’s the point of all this?  ere is a rich theory connecting logic, regular languages, and algebra. eorem. (Schützenberger, McNaughton/Papert)  e following are equivalent for a word language: – L is definable in first-order logic – L is star-free – the syntactic monoid of L is group-free What about trees? eorem. (Schützenberger,  érien / Wilke)  e following are equivalent for a word language: – L is definable in two-variable first-order logic – L can be defined by a type of unambiguous expression – the syntactic monoid of L is in DA ... more results, including modulo quantifiers, the quantifier alternation hierarchy, etc.

Recommend


More recommend