separability of context free languages by piecewise
play

Separability of Context-Free Languages by Piecewise Testable - PowerPoint PPT Presentation

Separability of Context-Free Languages by Piecewise Testable Languages Wojciech Czerwi ski Wim Martens Separability Separability K L Separability K L S Separability K L S S separates K and L Separability K L S S separates K and


  1. Separability of Context-Free Languages by Piecewise Testable Languages Wojciech Czerwi ń ski Wim Martens

  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. Problem

  8. Problem Given : context-free grammars for languages K and L

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

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

  11. 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

  12. 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

  13. 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

  14. What is known? Separability of CFL by

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

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

  17. What is known? Separability of CFL by • CFL - undecidable (intersection problem) • regular languages - undecidable • any family containing (reverse)-definite languages - undecidable

  18. Definite languages

  19. Definite languages reverse definite language = finite union of w Σ *

  20. Definite languages reverse definite language = finite union of w Σ * any logic L

  21. Definite languages reverse definite language = finite union of w Σ * any logic L • able to express n-th letter equals a

  22. Definite languages reverse definite language = finite union of w Σ * any logic L • able to express n-th letter equals a • closed under boolean combinations

  23. Definite languages reverse definite language = finite union of w Σ * any logic L • able to express n-th letter equals a • closed under boolean combinations describes all reverse definite languages

  24. Our main result

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

  26. Our main message

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

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

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

  30. Generalization

  31. Generalization The same construction works for separating:

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

  33. Generalization The same construction works for separating: • languages of Petri Nets • languages of Lossy Counter Machines (?)

  34. Generalization The same construction works for separating: • languages of Petri Nets • languages of Lossy Counter Machines (?) • every class of well-behaving languages

  35. Thank you!

  36. Proof (sketch)

  37. Proof (sketch) Two semi-procedures

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

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

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

  41. 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

  42. Patterns

  43. Patterns Pattern p over Σ consists of:

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

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

  46. 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

  47. 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

  48. Patterns and separability

  49. Patterns and separability Theorem (van Rooijen, Zeitoun `13): Languages K and L are non-separable by PTL if and only if there exists a pattern p, that fits to both to K and L

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend