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

a note on decidable separability by piecewise testable
SMART_READER_LITE
LIVE PREVIEW

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-1
SLIDE 1

A Note on Decidable Separability by Piecewise Testable Languages

Wim Martens Wojciech Czerwiński Lorijn van Rooijen Marc Zeitoun

slide-2
SLIDE 2

Separability

slide-3
SLIDE 3

Separability

K L

slide-4
SLIDE 4

Separability

S K L

slide-5
SLIDE 5

Separability

S S separates K and L K L

slide-6
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
SLIDE 7

General problem

slide-8
SLIDE 8

General problem

Given: two languages K and L from family F1

slide-9
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
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
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
SLIDE 12

Main problem

slide-13
SLIDE 13

Main problem

Given: context-free grammars for languages K and L

slide-14
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
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
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
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
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
SLIDE 19

What is known?

Separability of CFL by

slide-20
SLIDE 20

What is known?

  • CFL - undecidable (intersection problem)

Separability of CFL by

slide-21
SLIDE 21

What is known?

  • CFL - undecidable (intersection problem)
  • regular languages - undecidable

Separability of CFL by

slide-22
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
SLIDE 23

Our main result

slide-24
SLIDE 24

Our main result

Theorem: Separability of context free languages by piecewise testable languages is decidable

slide-25
SLIDE 25

Our main message

slide-26
SLIDE 26

Our main message

  • something nontrivial possible for separability
  • f CFL
slide-27
SLIDE 27

Our main message

  • something nontrivial possible for separability
  • f CFL
  • no algebra needed
slide-28
SLIDE 28

Our main message

  • something nontrivial possible for separability
  • f CFL
  • no algebra needed
  • piecewise testable languages are special
slide-29
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
SLIDE 30

Proof (sketch)

slide-31
SLIDE 31

Proof (sketch)

Two semi-procedures

slide-32
SLIDE 32

Proof (sketch)

Two semi-procedures One tries to show separability

slide-33
SLIDE 33

Proof (sketch)

Two semi-procedures One tries to show separability One tries to show non-separability

slide-34
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
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
SLIDE 36

Second main result

slide-37
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
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
SLIDE 39

Patterns

slide-40
SLIDE 40

Patterns

Pattern p over Σ consists of:

slide-41
SLIDE 41

Patterns

Pattern p over Σ consists of: words w0, w1, ..., wn in Σ*

slide-42
SLIDE 42

Patterns

Pattern p over Σ consists of: words w0, w1, ..., wn in Σ* subalphabets B1, ..., Bn of Σ

slide-43
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
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
SLIDE 45

Generalization

slide-46
SLIDE 46

Generalization

The same construction works for separating:

slide-47
SLIDE 47

Generalization

The same construction works for separating:

  • languages of Petri Nets
slide-48
SLIDE 48

Generalization

The same construction works for separating:

  • languages of Petri Nets
  • languages of Higher Order Pushdown

Automata of order 2

slide-49
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
SLIDE 50

Well-behaving languages

slide-51
SLIDE 51

Well-behaving languages

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

slide-52
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
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
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
SLIDE 55

Diagonal problem

slide-56
SLIDE 56

Diagonal problem

Given: word language L over alphabet Σ

slide-57
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
SLIDE 58

Generalized theorem

slide-59
SLIDE 59

Generalized theorem

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

slide-60
SLIDE 60

Further research

slide-61
SLIDE 61

Further research

  • complexity of separability of CFL by PTL
slide-62
SLIDE 62

Further research

  • complexity of separability of CFL by PTL
  • is separability of CFL by some other

nontrivial family decidable?

slide-63
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
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
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
SLIDE 66

Thank you!