on morphisms generating run-rich strings

38
On Morphisms Generating Run-Rich Strings Kazuhiko Kusano, Kazuyuki Narisawa and Ayumi Shinohara GSIS, Tohoku University, Japan PSC2013

Upload: hayden

Post on 23-Feb-2016

44 views

Category:

Documents


0 download

DESCRIPTION

On Morphisms Generating Run-Rich Strings. Kazuhiko Kusano, Kazuyuki Narisawa and Ayumi Shinohara GSIS, Tohoku University, Japan. PSC2013. On Morphisms Generating Run-Rich Strings. Kazuhiko Kusano, Kazuyuki Narisawa and Ayumi Shinohara GSIS, Tohoku University, Japan. April 2013~. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: On Morphisms  Generating Run-Rich Strings

On Morphisms Generating

Run-Rich Strings

Kazuhiko Kusano, Kazuyuki Narisawa and

Ayumi ShinoharaGSIS, Tohoku University, Japan

PSC2013

Page 2: On Morphisms  Generating Run-Rich Strings

On Morphisms Generating

Run-Rich Strings

Kazuhiko Kusano, Kazuyuki Narisawa and

Ayumi ShinoharaGSIS, Tohoku University, Japan

PSC2013

April 2013~

Page 3: On Morphisms  Generating Run-Rich Strings

We found good morphismsthat generate Run-Rich Strings

๐œ™๐‘Ÿ (a )=abac๐œ™๐‘Ÿ ( b )=aac๐œ™๐‘Ÿ (c )=a

๐‘ข๐‘–=h (๐œ™๐‘Ÿ๐‘– (a ))

๐‘ฃ ๐‘–=๐œ“๐‘’(๐œ™๐‘Ÿ๐‘– (a ))

๐œŽ (๐‘ฃ12 )|๐‘ฃ12|

=2.036982

: Number of Runs in : Sum of Exponents of Runs in

Know Best L.B. [Simpson2010]

Know Best L.B. [Crochemore+2011]

In Short,

Page 4: On Morphisms  Generating Run-Rich Strings

We found good morphismsthat generate Run-Rich Strings

๐œ™๐‘Ÿ (a )=abac๐œ™๐‘Ÿ ( b )=aac๐œ™๐‘Ÿ (c )=a

๐‘ข๐‘–=h (๐œ™๐‘Ÿ๐‘– (a ))

๐‘ฃ ๐‘–=๐œ“๐‘’(๐œ™๐‘Ÿ๐‘– (a ))

๐œŽ (๐‘ฃ12 )|๐‘ฃ12|

=2.036982

: Number of Runs in : Sum of Exponents of Runs in

Know Best L.B. [Simpson2010]

Know Best L.B. [Crochemore+2011]

In Short,

๐œ™๐‘Ÿ : ฮ“ โ†’ ฮ“โˆ—for ฮ“={a , b , c }

Page 5: On Morphisms  Generating Run-Rich Strings

We found good morphismsthat generate Run-Rich Strings

๐œ™๐‘Ÿ (a )=abac๐œ™๐‘Ÿ ( b )=aac๐œ™๐‘Ÿ (c )=a

๐‘ข๐‘–=h (๐œ™๐‘Ÿ๐‘– (a ))

๐‘ฃ ๐‘–=๐œ“๐‘’(๐œ™๐‘Ÿ๐‘– (a ))

๐œŽ (๐‘ฃ12 )|๐‘ฃ12|

=2.036982

: Number of Runs in : Sum of Exponents of Runs in

Know Best L.B. [Simpson2010]

Know Best L.B. [Crochemore+2011]

In Short,

๐œ™๐‘Ÿ (a )=abac

โ‹ฎ

๐œ™๐‘Ÿ : ฮ“ โ†’ ฮ“โˆ—for ฮ“={a , b , c }

Page 6: On Morphisms  Generating Run-Rich Strings

We found good morphismsthat generate Run-Rich Strings

๐œ™๐‘Ÿ (a )=abac๐œ™๐‘Ÿ ( b )=aac๐œ™๐‘Ÿ (c )=a

๐‘ข๐‘–=h (๐œ™๐‘Ÿ๐‘– (a ))

๐‘ฃ ๐‘–=๐œ“๐‘’(๐œ™๐‘Ÿ๐‘– (a ))

๐œŽ (๐‘ฃ12 )|๐‘ฃ12|

=2.036982

: Number of Runs in : Sum of Exponents of Runs in

Know Best L.B. [Simpson2010]

Know Best L.B. [Crochemore+2011]

In Short,

Page 7: On Morphisms  Generating Run-Rich Strings

We found good morphismsthat generate Run-Rich Strings

๐œ™๐‘Ÿ (a )=abac๐œ™๐‘Ÿ ( b )=aac๐œ™๐‘Ÿ (c )=a

๐‘ข๐‘–=h (๐œ™๐‘Ÿ๐‘– (a ))

๐‘ฃ ๐‘–=๐œ“๐‘’(๐œ™๐‘Ÿ๐‘– (a ))

๐œŽ (๐‘ฃ12 )|๐‘ฃ12|

=2.036982

: Number of Runs in : Sum of Exponents of Runs in

Know Best L.B. [Simpson2010]

Know Best L.B. [Crochemore+2011]

In Short,

๐œ“๐‘’ : ฮ“ โ†’ {0 ,1 }โˆ—

Page 8: On Morphisms  Generating Run-Rich Strings

Run (maximal repetition) of Periodic substring of which is extendableneither to the left nor to the rightwith the same period.

โ€ข : the number of runs in string โ€ข : sum of exponents of runs in string

abaababaaab

period : 3exponent : 2

period : 2exponent : 2.5

period : 1exponent : 3

period : 1exponent : 2

๐œŒ (๐‘ค )=4๐œŽ (๐‘ค )=9.5

for any string

Page 9: On Morphisms  Generating Run-Rich Strings

Maximum Number of Runs(Maximum Sum of Exponents of Runs) in a String of Length

for any integer

abaababaaab

aabaabbaabb

aaaaaaaaaaa

๐œŽ (๐‘ค2 )=2+2+2+2+2+2+2.25๐œŽ (๐‘ค3 )=11

๐œŽ (๐‘ค1 )=4

๐œŽ (๐‘ค2 )=7

๐œŽ (๐‘ค3 )=1

aababaababb ๐œŽ (๐‘ค4 )=7 ๐œŽ (๐‘ค2 )=2+2+2+2 .5+2+2+2

๐‘›=11

run-maximal string

run-maximal string

SoE-maximal string

Page 10: On Morphisms  Generating Run-Rich Strings

Run-Rich StringsAll run-maximal and SOE-maximal strings โ‰ค 27

๐œŒ (๐‘ค)๐œŽ (๐‘ค)

๐œŒ (๐‘ค)๐œŽ (๐‘ค)

๐œŒ (๐‘ค)๐ˆ(๐’˜ )

run-maximal

SOE-maximal

ab

Page 11: On Morphisms  Generating Run-Rich Strings

Run-Rich StringsAll run-maximal and SOE-maximal strings โ‰ค 27

๐œŒ (๐‘ค)๐œŽ (๐‘ค)

๐œŒ (๐‘ค)๐œŽ (๐‘ค)

๐œŒ (๐‘ค)๐ˆ(๐’˜ )

run-maximal

SOE-maximal

ab

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

1 1 2 2 3 4 5 5 6 7 8 8 10 10 11 12 13 14 15 15 16 17 18 19 20 21

2.0 3.0 4.0 5.0 6.0 8.0 10.0 11.0 12.5 14.5 16.0 17.4 20.3 21.3 23.0 25.0 27.0 29.0 31.0 32.0 33.7 35.7 37.6 39.7 42.2 44.3

Page 12: On Morphisms  Generating Run-Rich Strings

Exact Values of for

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

1 1 2 2 3 4 5 5 6 7 8 8 10 10 11 12 13 14 15 15 16 17 18 19 20 21

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 650.00

0.10

0.20

0.30

0.40

0.50

0.60

0.70

0.80

0.90

1.00

0

10

20

30

40

50

60

๐œŒ(๐‘›)๐‘›

๐œŒ (๐‘›)ฯ(11) = 7= run(aabaabbaabb )

ฯ(11) / 11 = 7 / 11 = 0.63636...

Page 13: On Morphisms  Generating Run-Rich Strings

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

1 1 2 2 3 4 5 5 6 7 8 8 10 10 11 12 13 14 15 15 16 17 18 19 20 21

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 650.00

0.10

0.20

0.30

0.40

0.50

0.60

0.70

0.80

0.90

1.00

0

10

20

30

40

50

60

๐œŒ(๐‘›)๐‘›

๐œŒ (๐‘›)<๐œŒ (๐‘›+2)๐œŒ (๐‘›) โ‰ค๐œŒ (๐‘›+1)

(โ€œThe Run Conjectureโ€)๐œŒ (๐‘›+1 ) โ‰ค ๐œŒ (๐‘› )+2

: Max #runs in binary strings

Basic Facts & Conjectures on

ฯ(14) = ฯ(13) + 2

ฯ(42) = ฯ(41) + 2

Page 14: On Morphisms  Generating Run-Rich Strings

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

1 1 2 2 3 4 5 5 6 7 8 8 10 10 11 12 13 14 15 15 16 17 18 19 20 21

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 650.00

0.10

0.20

0.30

0.40

0.50

0.60

0.70

0.80

0.90

1.00

0

10

20

30

40

50

60

๐œŒ(๐‘›)๐‘›

๐œŒ (๐‘›)<๐œŒ (๐‘›+2)๐œŒ (๐‘›) โ‰ค๐œŒ (๐‘›+1)

ฯ(14) = ฯ(13) + 2

ฯ(42) = ฯ(41) + 2

(โ€œThe Run Conjectureโ€) (โ€œThe Run Conjectureโ€)๐œŒ (๐‘›+1 ) โ‰ค ๐œŒ (๐‘› )+2

: Max #runs in binary strings

Basic Facts & Conjectures on

Page 15: On Morphisms  Generating Run-Rich Strings

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 650.00

0.10

0.20

0.30

0.40

0.50

0.60

0.70

0.80

0.90

1.00

0

10

20

30

40

50

60

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

1 1 2 2 3 4 5 5 6 7 8 8 10 10 11 12 13 14 15 15 16 17 18 19 20 21

๐œŒ(๐‘›)๐‘›

(โ€œThe Run Conjectureโ€) (โ€œThe Run Conjectureโ€)

Basic Facts & Conjectures on

(โ€œThe Run Conjectureโ€)

Page 16: On Morphisms  Generating Run-Rich Strings

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 650.00

0.10

0.20

0.30

0.40

0.50

0.60

0.70

0.80

0.90

1.00

0

10

20

30

40

50

60

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 650.00

0.10

0.20

0.30

0.40

0.50

0.60

0.70

0.80

0.90

1.00

0

10

20

30

40

50

60

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

1 1 2 2 3 4 5 5 6 7 8 8 10 10 11 12 13 14 15 15 16 17 18 19 20 21

๐œŒ(๐‘›)๐‘›

(โ€œThe Run Conjectureโ€)

Basic Facts & Conjectures on

(โ€œThe Run Conjectureโ€)

Page 17: On Morphisms  Generating Run-Rich Strings

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 650.00

0.10

0.20

0.30

0.40

0.50

0.60

0.70

0.80

0.90

1.00

0

10

20

30

40

50

60

๐œŒ(๐‘›)๐‘›

Basic Facts & Conjectures on

(โ€œThe Run Conjectureโ€)

The best upper-bound 1.029 [Crochemore+2011]

1.029

omitted deep history in this talk

Page 18: On Morphisms  Generating Run-Rich Strings

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 650.00

0.10

0.20

0.30

0.40

0.50

0.60

0.70

0.80

0.90

1.00

0

10

20

30

40

50

60

๐œŒ(๐‘›)๐‘›

Basic Facts & Conjectures on

(โ€œThe Run Conjectureโ€)

The best upper-bound 1.029 [Crochemore+2011]

1.029

omitted deep history in this talk

The known lower-bounds for

โ€ข 0.9445757 [Simpson 2010, (Matsubara+2009)]โ€ข 0.9445756 [Matsubara+2009]โ€ข 0.9445648 [Matsubara+2008]โ€ข 0.9270509 [Franek+2003]

lim ยฟ๐‘›โ†’ โˆž ๐œŒ (๐‘› )๐‘›

Page 19: On Morphisms  Generating Run-Rich Strings

History of Lower Bounds

1 10 1000.200

0.300

0.400

0.500

0.600

0.700

0.800

0.900

0.9270509

Page 20: On Morphisms  Generating Run-Rich Strings

History of Lower Bounds

1 10 1000.200

0.300

0.400

0.500

0.600

0.700

0.800

0.900

Found a string with

0.9270509

Page 21: On Morphisms  Generating Run-Rich Strings

History of Lower Bounds

1 10 100 0.200

0.300

0.400

0.500

0.600

0.700

0.800

0.900

t0 = 1001010010110100101t1 = 1001010010110t2 = 100101001011010010100101tk = tk-1 tk-2 (k mod 3 = 0, k>2)tk = tk-1 tk-4 (k mod 3 โ‰  0, k>2)

0.94457570.9445757Found a string with

0.9270509

NTT SoftwareApril 2012~

Page 22: On Morphisms  Generating Run-Rich Strings

0.9270509

History of Lower Bounds

1 10 1000.200

0.300

0.400

0.500

0.600

0.700

0.800

0.900

Simpson2010Matsubara+2009Matsubara+2008Franek+2003ฯ(n)/n

t0 = 1001010010110100101t1 = 1001010010110t2 = 100101001011010010100101tk = tk-1 tk-2 (k mod 3 = 0, k>2)tk = tk-1 tk-4 (k mod 3 โ‰  0, k>2)

The Modified Padovan Wordsf (a) = aacab f (b) = acabf (c) = ach(a) = 101001011001010010110100h(b) = 1010010110100h(c) = 10100101

pk=R(f(pk-5)) for k>5

0.9445757Found a string with

Page 23: On Morphisms  Generating Run-Rich Strings

History of Lower Bounds

1 10 1000.200

0.300

0.400

0.500

0.600

0.700

0.800

0.900

Simpson2010Matsubara+2009Matsubara+2008Franek+2003ฯ(n)/n

t0 = 1001010010110100101t1 = 1001010010110t2 = 100101001011010010100101tk = tk-1 tk-2 (k mod 3 = 0, k>2)tk = tk-1 tk-4 (k mod 3 โ‰  0, k>2)

The Modified Padovan Wordsf (a) = aacab f (b) = acabf (c) = ach(a) = 101001011001010010110100h(b) = 1010010110100h(c) = 10100101

pk=R(f(pk-5)) for k>5

0.9445757

Exactly Identical !!!

Found a string with

Page 24: On Morphisms  Generating Run-Rich Strings

History of Lower Bounds

1 10 1000.200

0.300

0.400

0.500

0.600

0.700

0.800

0.900

Simpson2010Matsubara+2009Matsubara+2008Franek+2003ฯ(n)/n

t0 = 1001010010110100101t1 = 1001010010110t2 = 100101001011010010100101tk = tk-1 tk-2 (k mod 3 = 0, k>2)tk = tk-1 tk-4 (k mod 3 โ‰  0, k>2)

The Modified Padovan Wordsf (a) = aacab f (b) = acabf (c) = ach(a) = 101001011001010010110100h(b) = 1010010110100h(c) = 10100101

pk=R(f(pk-5)) for k>5

0.9445757Found a string with

Page 25: On Morphisms  Generating Run-Rich Strings

We found yet another good morphisms

1 10 1000.200

0.300

0.400

0.500

0.600

0.700

0.800

0.900

Simpson2010Matsubara+2009Matsubara+2008Franek+2003ฯ(n)/n

t0 = 1001010010110100101t1 = 1001010010110t2 = 100101001011010010100101tk = tk-1 tk-2 (k mod 3 = 0, k>2)tk = tk-1 tk-4 (k mod 3 โ‰  0, k>2)

The Modified Padovan Wordsf (a) = aacab f (b) = acabf (c) = ach(a) = 101001011001010010110100h(b) = 1010010110100h(c) = 10100101 h()

pk=R(f(pk-5)) for k>5

0.9445757h() = 101001011001010010110100h() = 1010010110100h() = 10100101

h() for

New

Page 26: On Morphisms  Generating Run-Rich Strings

A New Lower Bound for Maximum Sum of Exponents of Runs in a String

Page 27: On Morphisms  Generating Run-Rich Strings

Run-Rich StringsAll run-maximal and SOE-maximal strings โ‰ค 27

๐œŒ (๐‘ค)๐œŽ (๐‘ค)

๐œŒ (๐‘ค)๐œŽ (๐‘ค)

๐œŒ (๐‘ค)๐ˆ(๐’˜ )

run-maximal

SOE-maximal

ab

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

1 1 2 2 3 4 5 5 6 7 8 8 10 10 11 12 13 14 15 15 16 17 18 19 20 21

2.0 3.0 4.0 5.0 6.0 8.0 10.0 11.0 12.5 14.5 16.0 17.4 20.3 21.3 23.0 25.0 27.0 29.0 31.0 32.0 33.7 35.7 37.6 39.7 42.2 44.3

Page 28: On Morphisms  Generating Run-Rich Strings

Maximum Sum of Exponents of Runs in a stringโ€ข The best

upper bound for is 4.087 [Crochemore+2011]lower bound is 2.035267 [Crochemore+2011]

Page 29: On Morphisms  Generating Run-Rich Strings

Maximum Sum of Exponents of Runs in a stringโ€ข The best

upper bound for is 4.087 [Crochemore+2011]lower bound is 2.035267 [Crochemore+2011]lower bound is 2.036992 [This paper]New

identical for

Page 30: On Morphisms  Generating Run-Rich Strings

New Lower Bounds for โ€ข 2.035267 : current best [Crochemore+2011]โ€ข 2.036982 โ€ข 2.036992

New

Note: would be give a slightly better bound, but we have failed to evaluate it.

New

Page 31: On Morphisms  Generating Run-Rich Strings

We found good morphismsthat generate Run-Rich Strings

๐œ™๐‘Ÿ (a )=abac๐œ™๐‘Ÿ ( b )=aac๐œ™๐‘Ÿ (c )=a

๐‘ข๐‘–=h (๐œ™๐‘Ÿ๐‘– (a ))

๐‘ฃ ๐‘–=๐œ“๐‘’(๐œ™๐‘Ÿ๐‘– (a ))

๐œŽ (๐‘ฃ12 )|๐‘ฃ12|

=2.036982

: Number of Runs in : Sum of Exponents of Runs in

Know Best L.B. [Simpson2010]

Know Best L.B. [Crochemore+2011]

Summary

Page 32: On Morphisms  Generating Run-Rich Strings

Future Workโ€ข Can we get better lower bounds

by considering more general morphisms ?

e.g.

โ€ข Can we get general formulae for and from the definitions of and ?

(cf. for Strumian words [Franek+2000, Baturo+2008, Piฤ…tkowski2013] )

Page 33: On Morphisms  Generating Run-Rich Strings

Thank you.

Page 34: On Morphisms  Generating Run-Rich Strings
Page 35: On Morphisms  Generating Run-Rich Strings

We found good morphismsthat generate Run-Rich Strings

๐œ™๐‘Ÿ (a )=abac๐œ™๐‘Ÿ ( b )=aac๐œ™๐‘Ÿ (c )=a

๐‘ข๐‘–=h (๐œ™๐‘Ÿ๐‘– (a ))

๐‘ฃ ๐‘–=๐œ“๐‘’(๐œ™๐‘Ÿ๐‘– (a ))

๐œŽ (๐‘ฃ12 )|๐‘ฃ12|

=2.036982

: Number of Runs in : Sum of Exponents of Runs in

Know Best L.B. [Simpson2010]

Know Best L.B. [Crochemore+2011]

In Short,

Page 36: On Morphisms  Generating Run-Rich Strings

We found good morphismsthat generate Run-Rich Strings

๐œ™๐‘Ÿ (a )=abac๐œ™๐‘Ÿ ( b )=aac๐œ™๐‘Ÿ (c )=a

๐‘ข๐‘–=h (๐œ™๐‘Ÿ๐‘– (a ))

๐‘ฃ ๐‘–=๐œ“๐‘’(๐œ™๐‘Ÿ๐‘– (a ))

๐œŽ (๐‘ฃ12 )|๐‘ฃ12|

=2.036982

: Number of Runs in : Sum of Exponents of Runs in

Know Best L.B. [Simpson2010]

Know Best L.B. [Crochemore+2011]

In Short,

๐œ™๐‘Ÿ (a )=abac

โ‹ฎ

Page 37: On Morphisms  Generating Run-Rich Strings

We found good morphismsthat generate Run-Rich Strings

๐œ™๐‘Ÿ (a )=abac๐œ™๐‘Ÿ ( b )=aac๐œ™๐‘Ÿ (c )=a

๐‘ข๐‘–=h (๐œ™๐‘Ÿ๐‘– (a ))

๐‘ฃ ๐‘–=๐œ“๐‘’(๐œ™๐‘Ÿ๐‘– (a ))

๐œŽ (๐‘ฃ12 )|๐‘ฃ12|

=2.036982

: Number of Runs in : Sum of Exponents of Runs in

Know Best L.B. [Simpson2010]

Know Best L.B. [Crochemore+2011]

In Short,

๐œ™๐‘Ÿ (a )=abac

Page 38: On Morphisms  Generating Run-Rich Strings

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

1 1 2 2 3 4 5 5 6 7 8 8 10 10 11 12 13 14 15 15 16 17 18 19 20 21

2.0 3.0 4.0 5.0 6.0 8.0 10.0 11.0 12.5 14.5 16.0 17.4 20.3 21.3 23.0 25.0 27.0 29.0 31.0 32.0 33.7 35.7 37.6 39.7 42.2 44.3