On the Boundary of Regular Languages . Galina Jir askov a, Jozef - - PowerPoint PPT Presentation

on the boundary of regular languages
SMART_READER_LITE
LIVE PREVIEW

On the Boundary of Regular Languages . Galina Jir askov a, Jozef - - PowerPoint PPT Presentation

. On the Boundary of Regular Languages . Galina Jir askov a, Jozef Jir asek (and his PC:-) Slovak Academy of Sciences and Saf arik University, Ko sice 1377 Tartu 1033 Kaunas 711 Hamburg 951 Rotterdam 1241 Krakow 177


slide-1
SLIDE 1

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. .

On the Boundary of Regular Languages

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-)

Slovak Academy of Sciences and ˇ Saf´ arik University, Koˇ sice

  • Hamburg 951

Rotterdam 1241 Montreal 6700 Vatican 1024 Durban 8801 Waterloo 7260 177 Krakow Graz 471 Tartu 1033 Kaunas 711 Brno 343 Marseilles 1365 Milan 982 Los Angeles 9985 1377 1093 7136 2170 8288 8862 Θεσσαλουικη

909

Debrecen 135

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-2
SLIDE 2

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-3
SLIDE 3

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Motivation I . .

  • J. Brzozowski, E. Grant, J. Shallit:

Closures in formal languages and Kuratowski’s theorem [DLT 09, IJFCS 11] concepts of ”open” and ”closed” L ⊆ Σ∗ is closed if L = L∗ L is open if Lc closed natural analogues of classical THMs . In point-set topology: . . bd(S) = closure(S) ∩ closure(Sc) S = {(x, y): x2 + y2 ≤ 1} ⇒ bd(S) = {(x, y): x2 + y2 = 1}

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-4
SLIDE 4

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Motivation II . .

  • A. Salomaa, K. Salomaa, S. Yu:

State complexity

  • f combined operations [TCS 07]
  • peration

composition complexity (K ∩ L)∗ 3/4 · 2mn 3/4 · 2mn (K ∪ L)∗ 3/4 · 2mn ≤ 3/4 · 2m+n . Combined operations [SSY 07, ...] . .

  • comb. operations

complexity without c and ∩ 2O(m+n) without c 2poly(mn) L∗c∗ 2Θ(n log n) [JS 12]

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-5
SLIDE 5

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Motivation III (for me:) . . An article by Hor´ ak about Paul Erd¨

  • s:

A pop-singer needs crowds; the larger, the better... A researcher needs to be acknowledged by 5 people; he knows them by name. Horak’s fives: Erd¨

  • s, Erd¨
  • s, Erd¨
  • s, Erd¨
  • s, Erd¨
  • s.

My fives? ...

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-6
SLIDE 6

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Known results . .

  • peration

complexity Lc n [folklore] K ∩ L mn [RS 59, Ma 70] L∗ 3/4 · 2n [YZS 94]

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-7
SLIDE 7

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Known results . .

  • peration

complexity Lc n [folklore] K ∩ L mn [RS 59, Ma 70] L∗ 3/4 · 2n [YZS 94] . Trivial upper bound on sc of bd(L): . .

  • peration

complexity L∗ 3/4 · 2n Lc∗ 3/4 · 2n bd(L) = L∗ ∩ Lc∗ 9/16 · 4n

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-8
SLIDE 8

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications .

  • Triv. upper bound for bd(L) is 9/16 · 4n

. . Question: Is it attainable??? Answer: Almost!!!

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-9
SLIDE 9

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications .

  • Triv. upper bound for bd(L) is 9/16 · 4n

. . Question: Is it attainable??? Answer: Almost!!! . If L is accepted by an n-state DFA with k final states, then . . sc(L∗ ∩ Lc∗) ≤ 2 + 2n−k 2n−1 − 3n−k 2k−1 + 2k−1 2n−1 − 3k−1 2n−k + 4n−1 − (n − 1 k − 1 ) , which is maximal if k = 2, and it equals 3/8 · 4n + 2n−2 − 2 · 3n−2 − n + 2.

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-10
SLIDE 10

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications .

  • Triv. upper bound for bd(L) is 9/16 · 4n

. . Question: Is it attainable??? Answer: Almost!!! . If L is accepted by an n-state DFA with k final states, then . . sc(L∗ ∩ Lc∗) ≤ 2 + 2n−k 2n−1 − 3n−k 2k−1 + 2k−1 2n−1 − 3k−1 2n−k + 4n−1 − (n − 1 k − 1 ) , which is maximal if k = 2, and it equals 3/8 · 4n + 2n−2 − 2 · 3n−2 − n + 2. . . This upper bound is tight!!! (|Σ| ≥ 5)

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-11
SLIDE 11

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-12
SLIDE 12

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Worst-case example over {a, b, c, d, e} . .

1 d d a,d a,c b,e b,e b,c,d,e e 2 3 a a b c

...

a b,c,d,e n−1 a cycle (2,3,4,..., n−1) b: d: 1 <−> 2 e: 0 <−> 1 a: 1 −> 1 2 −> 0 i −> i i −> i i −> i c: 0 <−> 1 0 <−> 2 i −> i 0 −> 0

meets 3/8 · 4n + 2n−2 − 2 · 3n−2 − n + 2

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-13
SLIDE 13

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Worst-case example over {a, b, c, d, e} . .

1 d d a,d a,c b,e b,e b,c,d,e e 2 3 a a b c

...

a b,c,d,e n−1 a cycle (2,3,4,..., n−1) b: d: 1 <−> 2 e: 0 <−> 1 a: 1 −> 1 2 −> 0 i −> i i −> i i −> i c: 0 <−> 1 0 <−> 2 i −> i 0 −> 0

meets 3/8 · 4n + 2n−2 − 2 · 3n−2 − n + 2 . Quaternary case: . . The DFA restrited to {a, b, c, d} meets 3/8 · 4n + 2n−2 − 2 · 3n−2 − n + 1 this lower bound is tight if |Σ| = 4

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-14
SLIDE 14

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Binary case: . . L :

3 4 1 2 ... n−2 n−3 n−1 b a a a a a b b b b b b a b a b a a

sc(bd(L)) ≥ 1/256 · 4n asymptotically tight bound Θ(4n) if |Σ| = 2, 3

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-15
SLIDE 15

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Binary case: . . L :

3 4 1 2 ... n−2 n−3 n−1 b a a a a a b b b b b b a b a b a a

sc(bd(L)) ≥ 1/256 · 4n asymptotically tight bound Θ(4n) if |Σ| = 2, 3 . Unary case: . . bd(L) = L∗ or bd(L) = Lc∗ (n − 1)2 + 1 [Yu, Zhuang, Salomaa 94]

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-16
SLIDE 16

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Summary . . |Σ| state complexity of boundary ≥ 5 3/8 · 4n + 2n−2 − 2 · 3n−2 − n + 2 = 4 3/8 · 4n + 2n−2 − 2 · 3n−2 − n + 1 = 3 Θ(4n) = 2 Θ(4n) = 1 (n − 1)2 + 1

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-17
SLIDE 17

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. . On the Boundary of Regular Languages

. . Outline . . Motivation and history Two problems by JS 2010

. .

1

L∗c∗ . .

2

bd(L) = L∗ ∩ (Lc)∗

Known results Our results

. .

1

tight bounds for bd(L) . .

2

5-letter alphabet . .

3

  • ptimal size (?)

Applications . Applications . . Euclid and his student Osusk´ y about Poincar´ e conjecture: ”I agree with the view

  • f the ancient Indian

religious culture that the commercial thinking is a thinking of animals, and that only thanks to the ingenious creativity, we’ve got to today’s level...”

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages

slide-18
SLIDE 18

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. Thank You for Your Attention . .

Galina Jir´ askov´ a, Jozef Jir´ asek (and his PC:-) On the Boundary of Regular Languages