SLIDE 1
A Note on Decidable Separability by Piecewise Testable Languages - - PowerPoint PPT Presentation
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
SLIDE 2
SLIDE 3
Separability
K L
SLIDE 4
Separability
S K L
SLIDE 5
Separability
S S separates K and L K L
SLIDE 6
Separability
S S separates K and L K L K and L are separable by family F if some S from F separates them
SLIDE 7
General problem
SLIDE 8
General problem
Given: two languages K and L from family F1
SLIDE 9
General problem
Given: two languages K and L from family F1 Question: are K and L separable by some language from family F2
SLIDE 10
General problem
Given: two languages K and L from family F1 Question: are K and L separable by some language from family F2 Separability of F1 by F2
SLIDE 11
General problem
Given: two languages K and L from family F1 Question: are K and L separable by some language from family F2 Separability of F1 by F2 If F1 effectively closed under complement
- generalization of membership
SLIDE 12
Main problem
SLIDE 13
Main problem
Given: context-free grammars for languages K and L
SLIDE 14
Main problem
Given: context-free grammars for languages K and L Question: are K and L separable by piecewise testable languages (PTL)?
SLIDE 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
SLIDE 16
Main problem
Given: context-free grammars for languages K and L Question: are K and L separable by piecewise testable languages (PTL)? Σ* a1 Σ* a2 Σ*... Σ* an Σ* piece language
SLIDE 17
Main problem
Given: context-free grammars for languages K and L Question: are K and L separable by piecewise testable languages (PTL)? Σ* a1 Σ* a2 Σ*... Σ* an Σ* piece language piecewise testable language
SLIDE 18
Main problem
Given: context-free grammars for languages K and L Question: are K and L separable by piecewise testable languages (PTL)? Σ* a1 Σ* a2 Σ*... Σ* an Σ* piece language
- bool. comb. of pieces
piecewise testable language
SLIDE 19
What is known?
Separability of CFL by
SLIDE 20
What is known?
- CFL - undecidable (intersection problem)
Separability of CFL by
SLIDE 21
What is known?
- CFL - undecidable (intersection problem)
- regular languages - undecidable
Separability of CFL by
SLIDE 22
What is known?
- CFL - undecidable (intersection problem)
- regular languages - undecidable
- any family containing wΣ* and closed under
boolean combination - undecidable Separability of CFL by
SLIDE 23
Our main result
SLIDE 24
Our main result
Theorem: Separability of context free languages by piecewise testable languages is decidable
SLIDE 25
Our main message
SLIDE 26
Our main message
- something nontrivial possible for separability
- f CFL
SLIDE 27
Our main message
- something nontrivial possible for separability
- f CFL
- no algebra needed
SLIDE 28
Our main message
- something nontrivial possible for separability
- f CFL
- no algebra needed
- piecewise testable languages are special
SLIDE 29
Our main message
- something nontrivial possible for separability
- f CFL
- no algebra needed
- piecewise testable languages are special
- separability problem is special (deciding
whether CFL is a PTL is undecidable)
SLIDE 30
Proof (sketch)
SLIDE 31
Proof (sketch)
Two semi-procedures
SLIDE 32
Proof (sketch)
Two semi-procedures One tries to show separability
SLIDE 33
Proof (sketch)
Two semi-procedures One tries to show separability One tries to show non-separability
SLIDE 34
Proof (sketch)
Two semi-procedures One tries to show separability One tries to show non-separability Enumerates all piecewise testable languages and test them
SLIDE 35
Proof (sketch)
Two semi-procedures One tries to show separability One tries to show non-separability Enumerates all piecewise testable languages and test them Enumerates all patterns and test them
SLIDE 36
Second main result
SLIDE 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
SLIDE 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
SLIDE 39
Patterns
SLIDE 40
Patterns
Pattern p over Σ consists of:
SLIDE 41
Patterns
Pattern p over Σ consists of: words w0, w1, ..., wn in Σ*
SLIDE 42
Patterns
Pattern p over Σ consists of: words w0, w1, ..., wn in Σ* subalphabets B1, ..., Bn of Σ
SLIDE 43
Patterns
Pattern p over Σ consists of: words w0, w1, ..., wn in Σ* subalphabets B1, ..., Bn of Σ B⊗ = words from B* that contain all the letters from B
SLIDE 44
Patterns
Pattern p over Σ consists of: words w0, w1, ..., wn in Σ* subalphabets B1, ..., Bn of Σ Pattern p fits to a language L if for all k ≥ 0 intersection of L and w0 (B1⊗)k w1 ... wn-1 (Bn⊗)k wn is nonempty B⊗ = words from B* that contain all the letters from B
SLIDE 45
Generalization
SLIDE 46
Generalization
The same construction works for separating:
SLIDE 47
Generalization
The same construction works for separating:
- languages of Petri Nets
SLIDE 48
Generalization
The same construction works for separating:
- languages of Petri Nets
- languages of Higher Order Pushdown
Automata of order 2
SLIDE 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
SLIDE 50
Well-behaving languages
SLIDE 51
Well-behaving languages
Family of languages over Σ is a full-trio if it is effectively closed under:
SLIDE 52
Well-behaving languages
Family of languages over Σ is a full-trio if it is effectively closed under:
- removing letters from subalphabet B ⊆ Σ
SLIDE 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 ⊆ Σ
SLIDE 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
SLIDE 55
Diagonal problem
SLIDE 56
Diagonal problem
Given: word language L over alphabet Σ
SLIDE 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?
SLIDE 58
Generalized theorem
SLIDE 59
Generalized theorem
Theorem: For every full-trio F with decidable diagonal problem separability of F by PTL is decidable
SLIDE 60
Further research
SLIDE 61
Further research
- complexity of separability of CFL by PTL
SLIDE 62
Further research
- complexity of separability of CFL by PTL
- is separability of CFL by some other
nontrivial family decidable?
SLIDE 63
Further research
- complexity of separability of CFL by PTL
- is separability of CFL by some other
nontrivial family decidable?
- group languages?
SLIDE 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?
SLIDE 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
SLIDE 66