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

separability of context free languages by piecewise
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Separability

  • f Context-Free Languages

by Piecewise Testable Languages

Wim Martens Wojciech Czerwiński

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

Problem

slide-8
SLIDE 8

Problem

Given: context-free grammars for languages K and L

slide-9
SLIDE 9

Problem

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

slide-10
SLIDE 10

Problem

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

slide-11
SLIDE 11

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

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

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

What is known?

Separability of CFL by

slide-15
SLIDE 15

What is known?

  • CFL - undecidable (intersection problem)

Separability of CFL by

slide-16
SLIDE 16

What is known?

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

Separability of CFL by

slide-17
SLIDE 17

What is known?

  • CFL - undecidable (intersection problem)
  • regular languages - undecidable
  • any family containing (reverse)-definite

languages - undecidable Separability of CFL by

slide-18
SLIDE 18

Definite languages

slide-19
SLIDE 19

Definite languages

reverse definite language = finite union of wΣ*

slide-20
SLIDE 20

Definite languages

reverse definite language = finite union of wΣ* any logic L

slide-21
SLIDE 21

Definite languages

reverse definite language = finite union of wΣ* any logic L

  • able to express n-th letter equals a
slide-22
SLIDE 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
slide-23
SLIDE 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

slide-24
SLIDE 24

Our main result

slide-25
SLIDE 25

Our main result

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

slide-26
SLIDE 26

Our main message

slide-27
SLIDE 27

Our main message

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

Our main message

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

Our main message

  • something nontrivial possible for separability
  • f CFL
  • no algebra needed
  • piecewise testable languages are special
slide-30
SLIDE 30

Generalization

slide-31
SLIDE 31

Generalization

The same construction works for separating:

slide-32
SLIDE 32

Generalization

The same construction works for separating:

  • languages of Petri Nets
slide-33
SLIDE 33

Generalization

The same construction works for separating:

  • languages of Petri Nets
  • languages of Lossy Counter Machines (?)
slide-34
SLIDE 34

Generalization

The same construction works for separating:

  • languages of Petri Nets
  • languages of Lossy Counter Machines (?)
  • every class of well-behaving languages
slide-35
SLIDE 35

Thank you!

slide-36
SLIDE 36

Proof (sketch)

slide-37
SLIDE 37

Proof (sketch)

Two semi-procedures

slide-38
SLIDE 38

Proof (sketch)

Two semi-procedures One tries to show separability

slide-39
SLIDE 39

Proof (sketch)

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

slide-40
SLIDE 40

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

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

Patterns

slide-43
SLIDE 43

Patterns

Pattern p over Σ consists of:

slide-44
SLIDE 44

Patterns

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

slide-45
SLIDE 45

Patterns

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

slide-46
SLIDE 46

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

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

Patterns and separability

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