a note on decidable separability by piecewise testable
play

A Note on Decidable Separability by Piecewise Testable Languages - PowerPoint PPT Presentation

A Note on Decidable Separability by Piecewise Testable Languages Wojciech Czerwi ski Wim Martens Lorijn van Rooijen Marc Zeitoun Separability Separability K L Separability K L S Separability K L S S separates K and L


  1. A Note on Decidable Separability by Piecewise Testable Languages Wojciech Czerwi ń ski Wim Martens Lorijn van Rooijen Marc Zeitoun

  2. Separability

  3. Separability K L

  4. Separability K L S

  5. Separability K L S S separates K and L

  6. Separability K L S S separates K and L K and L are separable by family F if some S from F separates them

  7. General problem

  8. General problem Given : two languages K and L from family F 1

  9. General problem Given : two languages K and L from family F 1 Question : are K and L separable by some language from family F 2

  10. General problem Given : two languages K and L from family F 1 Question : are K and L separable by some language from family F 2 Separability of F 1 by F 2

  11. General problem Given : two languages K and L from family F 1 Question : are K and L separable by some language from family F 2 Separability of F 1 by F 2 If F 1 effectively closed under complement - generalization of membership

  12. Main problem

  13. Main problem Given : context-free grammars for languages K and L

  14. Main problem Given : context-free grammars for languages K and L Question : are K and L separable by piecewise testable languages (PTL)?

  15. Main problem Given : context-free grammars for languages K and L Question : are K and L separable by piecewise testable languages (PTL)? piece language

  16. Main problem Given : context-free grammars for languages K and L Question : are K and L separable by piecewise testable languages (PTL)? Σ * a 1 Σ * a 2 Σ * ... Σ * a n Σ * piece language

  17. Main problem Given : context-free grammars for languages K and L Question : are K and L separable by piecewise testable languages (PTL)? Σ * a 1 Σ * a 2 Σ * ... Σ * a n Σ * piece language piecewise testable language

  18. Main problem Given : context-free grammars for languages K and L Question : are K and L separable by piecewise testable languages (PTL)? Σ * a 1 Σ * a 2 Σ * ... Σ * a n Σ * piece language piecewise testable language bool. comb. of pieces

  19. What is known? Separability of CFL by

  20. What is known? Separability of CFL by • CFL - undecidable (intersection problem)

  21. What is known? Separability of CFL by • CFL - undecidable (intersection problem) • regular languages - undecidable

  22. What is known? Separability of CFL by • CFL - undecidable (intersection problem) • regular languages - undecidable • any family containing w Σ * and closed under boolean combination - undecidable

  23. Our main result

  24. Our main result Theorem: Separability of context free languages by piecewise testable languages is decidable

  25. Our main message

  26. Our main message • something nontrivial possible for separability of CFL

  27. Our main message • something nontrivial possible for separability of CFL • no algebra needed

  28. Our main message • something nontrivial possible for separability of CFL • no algebra needed • piecewise testable languages are special

  29. Our main message • something nontrivial possible for separability of CFL • no algebra needed • piecewise testable languages are special • separability problem is special (deciding whether CFL is a PTL is undecidable)

  30. Proof (sketch)

  31. Proof (sketch) Two semi-procedures

  32. Proof (sketch) Two semi-procedures One tries to show separability

  33. Proof (sketch) Two semi-procedures One tries to show One tries to show separability non-separability

  34. Proof (sketch) Two semi-procedures One tries to show One tries to show separability non-separability Enumerates all piecewise testable languages and test them

  35. Proof (sketch) Two semi-procedures One tries to show One tries to show separability non-separability Enumerates all piecewise Enumerates all patterns testable languages and test them and test them

  36. Second main result

  37. Second main result Theorem Languages K and L are non-separable by PTL if and only if there exists a pattern p, that fits both to K and L

  38. Second main result Theorem Languages K and L are non-separable by PTL if and only if there exists a pattern p, that fits both to K and L It is decidable whether pattern p fits to CFL L

  39. Patterns

  40. Patterns Pattern p over Σ consists of:

  41. Patterns Pattern p over Σ consists of: words w 0 , w 1 , ..., w n in Σ *

  42. Patterns Pattern p over Σ consists of: words w 0 , w 1 , ..., w n in Σ * subalphabets B 1 , ..., B n of Σ

  43. Patterns Pattern p over Σ consists of: words w 0 , w 1 , ..., w n in Σ * subalphabets B 1 , ..., B n of Σ B ⊗ = words from B * that contain all the letters from B

  44. Patterns Pattern p over Σ consists of: words w 0 , w 1 , ..., w n in Σ * subalphabets B 1 , ..., B n of Σ B ⊗ = words from B * that contain all the letters from B Pattern p fits to a language L if for all k ≥ 0 intersection of L and w 0 (B 1 ⊗ ) k w 1 ... w n-1 (B n ⊗ ) k w n is nonempty

  45. Generalization

  46. Generalization The same construction works for separating:

  47. Generalization The same construction works for separating: • languages of Petri Nets

  48. Generalization The same construction works for separating: • languages of Petri Nets • languages of Higher Order Pushdown Automata of order 2

  49. Generalization The same construction works for separating: • languages of Petri Nets • languages of Higher Order Pushdown Automata of order 2 • every well-behaving family of languages

  50. Well-behaving languages

  51. Well-behaving languages Family of languages over Σ is a full-trio if it is effectively closed under:

  52. Well-behaving languages Family of languages over Σ is a full-trio if it is effectively closed under: • removing letters from subalphabet B ⊆ Σ

  53. Well-behaving languages Family of languages over Σ is a full-trio if it is effectively closed under: • removing letters from subalphabet B ⊆ Σ • adding letters from subalphabet B ⊆ Σ

  54. Well-behaving languages Family of languages over Σ is a full-trio if it is effectively closed under: • removing letters from subalphabet B ⊆ Σ • adding letters from subalphabet B ⊆ Σ • intersection with regular languages

  55. Diagonal problem

  56. Diagonal problem Given : word language L over alphabet Σ

  57. Diagonal problem Given : word language L over alphabet Σ Question : does there exists for every n a word in L containing each letter from Σ at least n times?

  58. Generalized theorem

  59. Generalized theorem Theorem: For every full-trio F with decidable diagonal problem separability of F by PTL is decidable

  60. Further research

  61. Further research • complexity of separability of CFL by PTL

  62. Further research • complexity of separability of CFL by PTL • is separability of CFL by some other nontrivial family decidable?

  63. Further research • complexity of separability of CFL by PTL • is separability of CFL by some other nontrivial family decidable? • group languages?

  64. Further research • complexity of separability of CFL by PTL • is separability of CFL by some other nontrivial family decidable? • group languages? • solvable group languages?

  65. Further research • complexity of separability of CFL by PTL • is separability of CFL by some other nontrivial family decidable? • group languages? • solvable group languages? • connections with other problems

  66. Thank you!

Recommend


More recommend