Combinatorics on Finite Words and Data Structures

Size: px
Start display at page:

Download "Combinatorics on Finite Words and Data Structures"

Transcription

1 Combinatorics on Finite Words and Data Structures Dipartimento di Informatica ed Applicazioni Università di Salerno (Italy) Laboratoire I3S - Université de Nice-Sophia Antipolis 13 March 2009

2 Combinatorics of Words AMS 2000 Mathematics Subject Classification: 68R15

3 Combinatorics of Words

4 Combinatorics of Finite Words A is a finite set of letters (the alphabet). A finite word w is an element of A. Its length w is the number of its letters. The empty word ε has length 0. Let w = a 1 a 2... a n be a word. a 1... a i, with 1 i n, and ε are the prefixes of w. a j... a n, with 1 j n, and ε are the suffixes of w. a j... a i, with 1 i, j n, and ε are the factors of w.

5 Combinatorics of Finite Words Example A = {a, n, b, c}, w = banana banana = 6 ba is a prefix of banana nana is a suffix of banana a, ba, ε, banana are factors of banana

6 Combinatorics of Finite Words Some famous classes of finite words: palindromes: w R = w. Ex. level.

7 Combinatorics of Finite Words Some famous classes of finite words: palindromes: w R = w. Ex. level. balanced words (over two letters): all the factors of the same length have the same number of a s and b s up to 1. Ex. abaababaabaab.

8 Combinatorics of Finite Words Some famous classes of finite words: palindromes: w R = w. Ex. level. balanced words (over two letters): all the factors of the same length have the same number of a s and b s up to 1. Ex. abaababaabaab. differentiable words: words over {1, 2} such that their Run Length Encoding is still a word over {1, 2}. Ex

9 Combinatorics of Finite Words Some famous classes of finite words: palindromes: w R = w. Ex. level. balanced words (over two letters): all the factors of the same length have the same number of a s and b s up to 1. Ex. abaababaabaab. differentiable words: words over {1, 2} such that their Run Length Encoding is still a word over {1, 2}. Ex finite prefixes of (right) infinite words: Thue-Morse, Fibonacci, Kolakoski,...

10 Combinatorics of Finite Words Some famous classes of finite words: palindromes: w R = w. Ex. level. balanced words (over two letters): all the factors of the same length have the same number of a s and b s up to 1. Ex. abaababaabaab. differentiable words: words over {1, 2} such that their Run Length Encoding is still a word over {1, 2}. Ex finite prefixes of (right) infinite words: Thue-Morse, Fibonacci, Kolakoski,... many many others.

11 Combinatorics of Finite Words Some famous classes of finite words: palindromes: w R = w. Ex. level. balanced words (over two letters): all the factors of the same length have the same number of a s and b s up to 1. Ex. abaababaabaab. differentiable words: words over {1, 2} such that their Run Length Encoding is still a word over {1, 2}. Ex finite prefixes of (right) infinite words: Thue-Morse, Fibonacci, Kolakoski,... many many others. Intersections: is a balanced differentiable palindromic prefix of the Fibonacci word over {1, 2}...

12 What s the target? Target Classify the words through their combinatorial properties.

13 The suffix automaton Definition (Blumer et al Crochemore 1986) The suffix automaton of the word w is the minimal deterministic automaton recognizing the suffixes of w. Example The suffix automaton of aabbabb: a a b b a b b b b 3 b 4 b a a 3

14 Algorithmically Theorem (Blumer et al Crochemore 1986) The suffix automaton of a word w over a fixed alphabet A can be built in time and space O( w ).

15 One way to build the SA Build a non-deterministic automaton: w = aabbabb a a b b a b b

16 One way to build the SA Build a non-deterministic automaton: w = aabbabb a a b b a b b Determinize by subset construction: a a b b a b b {0, 1, 2,...,7} {1, 2, 5} {2} {3} {4} {5} {6} {7} b b b {3, 6} {4, 7} b a a {3, 4, 6, 7}

17 Ending Positions We associate to each factor v of w the set of ending positions of v in w. Example w = aabbabb Endset(b) = {3, 4, 6, 7}, Endset(abb) = Endset(bb) = {4, 7}.

18 Ending Positions We associate to each factor v of w the set of ending positions of v in w. Example w = aabbabb Endset(b) = {3, 4, 6, 7}, Endset(abb) = Endset(bb) = {4, 7}. We define on Fact(w) the equivalence: u v Endset(u) = Endset(v)

19 Ending Positions We associate to each factor v of w the set of ending positions of v in w. Example w = aabbabb Endset(b) = {3, 4, 6, 7}, Endset(abb) = Endset(bb) = {4, 7}. We define on Fact(w) the equivalence: u v Endset(u) = Endset(v) Then Fact(w)/ is the set of states of the SA of w.

20 The number of states The number of states (classes) of the SA is noted Q w. The bounds on Q w are well known: w + 1 Q w 2 w 1

21 The number of states The number of states (classes) of the SA is noted Q w. The bounds on Q w are well known: w + 1 Q w 2 w 1 The upper bound is reached for w = ab w 1, with a b.

22 The number of states The number of states (classes) of the SA is noted Q w. The bounds on Q w are well known: w + 1 Q w 2 w 1 The upper bound is reached for w = ab w 1, with a b. And for the lower bound?

23 Special Factors Definition v is a left special factor of w if there exist a b such that av and bv are factors of w. v is a right special factor of w if there exist a b such that va and vb are factors of w. v is a bispecial factor of w if it is both left and right special.

24 Special Factors Definition v is a left special factor of w if there exist a b such that av and bv are factors of w. v is a right special factor of w if there exist a b such that va and vb are factors of w. v is a bispecial factor of w if it is both left and right special. Example (w = aabbabb) LS = {ε, a, b, ab, abb}, RS = {ε, a, b}, BIS = {ε, a, b}

25 The number of states Theorem (Sciortino, Zamboni 2007) If A = 2 then the following conditions are equivalent for a word over A: Q w = w + 1 Every left special factor of w is a prefix of w w is a prefix of a standard sturmian word.

26 The number of states Theorem (Sciortino, Zamboni 2007) If A = 2 then the following conditions are equivalent for a word over A: Q w = w + 1 Every left special factor of w is a prefix of w w is a prefix of a standard sturmian word. Without restriction on the cardinality of A we have the formula: Lemma Q w = w D(w) where D(w) is the set of left special factors of w which are not prefixes.

27 Open problem Problem Characterize the class of words having the property that every left special factor is a prefix, over an arbitrary fixed alphabet A.

28 The binary case For binary words we can give a more precise formula: Q w = 2 w H w P w H w is the minimal length of a prefix of w occurring only once, P w is the maximal length of a left special prefix of w.

29 The binary case For binary words we can give a more precise formula: Q w = 2 w H w P w H w is the minimal length of a prefix of w occurring only once, P w is the maximal length of a left special prefix of w. As a corollary we obtain a new characterization of standard sturmian words: Corollary w is a prefix of a stand. sturm. word w = H w + P w + 1.

30 Example Example (w = aabbabb) a a b b a b b b b 3 b 4 b a a 3 H w = 2 since aa occurs only once. P w = 1 since a is left special. Q w = =

31 The number of edges What about the number of edges E w?

32 The number of edges What about the number of edges E w? The bounds on E w are well known: w E w 3 w 4

33 The number of edges What about the number of edges E w? The bounds on E w are well known: w E w 3 w 4 For binary words we give the formula: E w = Q w + G(w) 1 G(w) is the union of the set of bispecial factors of w and the set of right special prefixes of w.

34 Example Example (w = aabbabb) a a b b a b b b b 3 b 4 b a a 3 G(w) = BIS(w) (Pref (w) RS(w)) = {ε, a, b} {ε, a} G(w) = 3 E w = =

35 Further Research Problem Does this approach can be applied to other data structures (factor oracles, suffix tries, suffix arrays, etc.)?

Special Factors and Suffix and Factor Automata

Special Factors and Suffix and Factor Automata Special Factors and Suffix and Factor Automata LIAFA, Paris 5 November 2010 Finite Words Let Σ be a finite alphabet, e.g. Σ = {a, n, b, c}. A word over Σ is finite concatenation of symbols of Σ, that is,

More information

Words with the Smallest Number of Closed Factors

Words with the Smallest Number of Closed Factors Words with the Smallest Number of Closed Factors Gabriele Fici Zsuzsanna Lipták Abstract A word is closed if it contains a factor that occurs both as a prefix and as a suffix but does not have internal

More information

Sturmian Words, Sturmian Trees and Sturmian Graphs

Sturmian Words, Sturmian Trees and Sturmian Graphs Sturmian Words, Sturmian Trees and Sturmian Graphs A Survey of Some Recent Results Jean Berstel Institut Gaspard-Monge, Université Paris-Est CAI 2007, Thessaloniki Jean Berstel (IGM) Survey on Sturm CAI

More information

ON THE LEAST NUMBER OF PALINDROMES IN AN INFINITE WORD

ON THE LEAST NUMBER OF PALINDROMES IN AN INFINITE WORD ON THE LEAST NUMBER OF PALINDROMES IN AN INFINITE WORD GABRIELE FICI AND LUCA Q. ZAMBONI ABSTRACT. We investigate the least number of palindromic factors in an infinite word. We first consider general

More information

A Fine and Wilf s theorem for pseudoperiods and Justin s formula for generalized pseudostandard words

A Fine and Wilf s theorem for pseudoperiods and Justin s formula for generalized pseudostandard words A Fine and Wilf s theorem for pseudoperiods and Justin s formula for generalized pseudostandard words A. Blondin Massé 1,2, G. Paquin 2 and L. Vuillon 2 1 Laboratoire de Combinatoire et d Informatique

More information

On Strong Alt-Induced Codes

On Strong Alt-Induced Codes Applied Mathematical Sciences, Vol. 12, 2018, no. 7, 327-336 HIKARI Ltd, www.m-hikari.com https://doi.org/10.12988/ams.2018.8113 On Strong Alt-Induced Codes Ngo Thi Hien Hanoi University of Science and

More information

Combinatorics On Sturmian Words. Amy Glen. Major Review Seminar. February 27, 2004 DISCIPLINE OF PURE MATHEMATICS

Combinatorics On Sturmian Words. Amy Glen. Major Review Seminar. February 27, 2004 DISCIPLINE OF PURE MATHEMATICS Combinatorics On Sturmian Words Amy Glen Major Review Seminar February 27, 2004 DISCIPLINE OF PURE MATHEMATICS OUTLINE Finite and Infinite Words Sturmian Words Mechanical Words and Cutting Sequences Infinite

More information

Transducers for bidirectional decoding of prefix codes

Transducers for bidirectional decoding of prefix codes Transducers for bidirectional decoding of prefix codes Laura Giambruno a,1, Sabrina Mantaci a,1 a Dipartimento di Matematica ed Applicazioni - Università di Palermo - Italy Abstract We construct a transducer

More information

On the Average Complexity of Brzozowski s Algorithm for Deterministic Automata with a Small Number of Final States

On the Average Complexity of Brzozowski s Algorithm for Deterministic Automata with a Small Number of Final States On the Average Complexity of Brzozowski s Algorithm for Deterministic Automata with a Small Number of Final States Sven De Felice 1 and Cyril Nicaud 2 1 LIAFA, Université Paris Diderot - Paris 7 & CNRS

More information

Factorizations of the Fibonacci Infinite Word

Factorizations of the Fibonacci Infinite Word 2 3 47 6 23 Journal of Integer Sequences, Vol. 8 (205), Article 5.9.3 Factorizations of the Fibonacci Infinite Word Gabriele Fici Dipartimento di Matematica e Informatica Università di Palermo Via Archirafi

More information

Open and closed factors of Arnoux-Rauzy words arxiv: v1 [math.co] 12 Oct 2018 Olga Parshina 1,2 and Luca Zamboni 1

Open and closed factors of Arnoux-Rauzy words arxiv: v1 [math.co] 12 Oct 2018 Olga Parshina 1,2 and Luca Zamboni 1 Open and closed factors of Arnoux-Rauzy words arxiv:18.05472v1 [math.co] 12 Oct 2018 Olga Parshina 1,2 and Luca Zamboni 1 1 Université de Lyon, Université Lyon 1, CNRS UMR 5208, Institut Camille Jordan,

More information

Conference on Diophantine Analysis and Related Fields 2006 in honor of Professor Iekata Shiokawa Keio University Yokohama March 8, 2006

Conference on Diophantine Analysis and Related Fields 2006 in honor of Professor Iekata Shiokawa Keio University Yokohama March 8, 2006 Diophantine analysis and words Institut de Mathématiques de Jussieu + CIMPA http://www.math.jussieu.fr/ miw/ March 8, 2006 Conference on Diophantine Analysis and Related Fields 2006 in honor of Professor

More information

One-relation languages and ω-code generators

One-relation languages and ω-code generators One-relation languages and ω-code generators Tran Vinh Duc, Igor Litovsky I3S Université de Nice - Sophia Antipolis France Journées Montoises d Informatique Théorique AMIENS, 2010 Infinite words Let A

More information

FIXED POINTS OF MORPHISMS AMONG BINARY GENERALIZED PSEUDOSTANDARD WORDS

FIXED POINTS OF MORPHISMS AMONG BINARY GENERALIZED PSEUDOSTANDARD WORDS #A21 INTEGERS 18 (2018) FIXED POINTS OF MORPHISMS AMONG BINARY GENERALIZED PSEUDOSTANDARD WORDS Tereza Velká Department of Mathematics, Faculty of Nuclear Sciences and Physical Engineering, Czech Technical

More information

State complexity of the multiples of the Thue-Morse set

State complexity of the multiples of the Thue-Morse set State complexity of the multiples of the Thue-Morse set Adeline Massuir Joint work with Émilie Charlier and Célia Cisternino 17 th Mons Theorical Computer Science Days Bordeaux September 13 th 2018 Adeline

More information

arxiv: v1 [math.co] 22 Jan 2013

arxiv: v1 [math.co] 22 Jan 2013 A Coloring Problem for Sturmian and Episturmian Words Aldo de Luca 1, Elena V. Pribavkina 2, and Luca Q. Zamboni 3 arxiv:1301.5263v1 [math.co] 22 Jan 2013 1 Dipartimento di Matematica Università di Napoli

More information

Universal Disjunctive Concatenation and Star

Universal Disjunctive Concatenation and Star Universal Disjunctive Concatenation and Star Nelma Moreira 1 Giovanni Pighizzini 2 Rogério Reis 1 1 Centro de Matemática & Faculdade de Ciências Universidade do Porto, Portugal 2 Dipartimento di Informatica

More information

Finite State Transducers

Finite State Transducers Finite State Transducers Eric Gribkoff May 29, 2013 Original Slides by Thomas Hanneforth (Universitat Potsdam) Outline 1 Definition of Finite State Transducer 2 Examples of FSTs 3 Definition of Regular

More information

About Duval Extensions

About Duval Extensions About Duval Extensions Tero Harju Dirk Nowotka Turku Centre for Computer Science, TUCS Department of Mathematics, University of Turku June 2003 Abstract A word v = wu is a (nontrivial) Duval extension

More information

arxiv: v2 [math.co] 24 Oct 2012

arxiv: v2 [math.co] 24 Oct 2012 On minimal factorizations of words as products of palindromes A. Frid, S. Puzynina, L. Zamboni June 23, 2018 Abstract arxiv:1210.6179v2 [math.co] 24 Oct 2012 Given a finite word u, we define its palindromic

More information

arxiv: v1 [math.co] 27 May 2012

arxiv: v1 [math.co] 27 May 2012 Fundamenta Informaticae XX (2012) 1 9 1 IOS Press arxiv:1205.5946v1 [math.co] 27 May 2012 Some characterizations of Sturmian words in terms of the lexicographic order Michelangelo Bucci Department of Mathematics,

More information

1 Alphabets and Languages

1 Alphabets and Languages 1 Alphabets and Languages Look at handout 1 (inference rules for sets) and use the rules on some examples like {a} {{a}} {a} {a, b}, {a} {{a}}, {a} {{a}}, {a} {a, b}, a {{a}}, a {a, b}, a {{a}}, a {a,

More information

BOUNDS ON ZIMIN WORD AVOIDANCE

BOUNDS ON ZIMIN WORD AVOIDANCE BOUNDS ON ZIMIN WORD AVOIDANCE JOSHUA COOPER* AND DANNY RORABAUGH* Abstract. How long can a word be that avoids the unavoidable? Word W encounters word V provided there is a homomorphism φ defined by mapping

More information

Generalized Thue-Morse words and palindromic richness extended abstract

Generalized Thue-Morse words and palindromic richness extended abstract arxiv:1104.2476v2 [math.co] 26 Apr 2011 1 Introduction Generalized Thue-Morse words and palindromic richness extended abstract Štěpán Starosta Department of Mathematics, FNSPE, Czech Technical University

More information

Complexité palindromique des codages de rotations et conjectures

Complexité palindromique des codages de rotations et conjectures Complexité palindromique des codages de rotations et conjectures Sébastien Labbé Laboratoire d Informatique, de Robotique et de Microélectronique de Montpellier Université Montpellier 2 Laboratoire de

More information

(Preliminary Version)

(Preliminary Version) Relations Between δ-matching and Matching with Don t Care Symbols: δ-distinguishing Morphisms (Preliminary Version) Richard Cole, 1 Costas S. Iliopoulos, 2 Thierry Lecroq, 3 Wojciech Plandowski, 4 and

More information

Generalized Thue-Morse words and palindromic richness

Generalized Thue-Morse words and palindromic richness Generalized Thue-Morse words and palindromic richness arxiv:1104.2476v3 [math.co] 10 Jul 2011 Štěpán Starosta Department of Mathematics, FNSPE, Czech Technical University in Prague, Trojanova 13, 120 00

More information

Pascal Ochem 1 and Elise Vaslet Introduction REPETITION THRESHOLDS FOR SUBDIVIDED GRAPHS AND TREES

Pascal Ochem 1 and Elise Vaslet Introduction REPETITION THRESHOLDS FOR SUBDIVIDED GRAPHS AND TREES Theoretical Informatics and Applications Informatique Théorique et Applications Will be set by the publisher REPETITION THRESHOLDS FOR SUBDIVIDED GRAPHS AND TREES Pascal Ochem 1 and Elise Vaslet 2 Abstract.

More information

DENSITY OF CRITICAL FACTORIZATIONS

DENSITY OF CRITICAL FACTORIZATIONS DENSITY OF CRITICAL FACTORIZATIONS TERO HARJU AND DIRK NOWOTKA Abstract. We investigate the density of critical factorizations of infinte sequences of words. The density of critical factorizations of a

More information

The commutation with ternary sets of words

The commutation with ternary sets of words The commutation with ternary sets of words Juhani Karhumäki Michel Latteux Ion Petre Turku Centre for Computer Science TUCS Technical Reports No 589, March 2004 The commutation with ternary sets of words

More information

#A36 INTEGERS 12 (2012) FACTOR FREQUENCIES IN LANGUAGES INVARIANT UNDER SYMMETRIES PRESERVING FACTOR FREQUENCIES

#A36 INTEGERS 12 (2012) FACTOR FREQUENCIES IN LANGUAGES INVARIANT UNDER SYMMETRIES PRESERVING FACTOR FREQUENCIES #A36 INTEGERS 2 (202) FACTOR FREQUENCIES IN LANGUAGES INVARIANT UNDER SYMMETRIES PRESERVING FACTOR FREQUENCIES L ubomíra Balková Department of Mathematics, Faculty of Nuclear Sciences and Physical Engineering,

More information

arxiv: v3 [math.co] 19 Aug 2016

arxiv: v3 [math.co] 19 Aug 2016 Monochromatic factorisations of words and periodicity Caïus Wojcik a, Luca Q. Zamboni a a Université de Lyon, Université Lyon 1, CNRS UMR 5208, Institut Camille Jordan, 43 boulevard du 11 novembre 1918,

More information

Square-free words with square-free self-shuffles

Square-free words with square-free self-shuffles Square-free words with square-free self-shuffles James D. Currie & Kalle Saari Department of Mathematics and Statistics University of Winnipeg 515 Portage Avenue Winnipeg, MB R3B 2E9, Canada j.currie@uwinnipeg.ca,

More information

languages by semifilter-congruences

languages by semifilter-congruences ideas Suffix semifilter-congruences Southwest Univ. Southwest Univ. Hongkong Univ. July 5 9, 2010, Nankai, China. Prefixsuffix Contents ideas 1 2 ideas 3 Suffix- 4 Prefix-suffix- Suffix Prefixsuffix ideas

More information

On Sturmian and Episturmian Words, and Related Topics

On Sturmian and Episturmian Words, and Related Topics On Sturmian and Episturmian Words, and Related Topics by Amy Glen Supervisors: Dr. Alison Wolff and Dr. Robert Clarke A thesis submitted in fulfilment of the requirements for the degree of Doctor of Philosophy

More information

Letter frequency in infinite repetition-free words

Letter frequency in infinite repetition-free words Theoretical Computer Science 80 200 88 2 www.elsevier.com/locate/tcs Letter frequency in infinite repetition-free words Pascal Ochem LaBRI, Université Bordeaux, 5 cours de la Libération, 405 Talence Cedex,

More information

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate

More information

Theoretical Computer Science. From Nerode s congruence to suffix automata with mismatches

Theoretical Computer Science. From Nerode s congruence to suffix automata with mismatches Theoretical Computer Science 410 (2009) 3471 3480 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs From Nerode s congruence to suffix

More information

CPSC 421: Tutorial #1

CPSC 421: Tutorial #1 CPSC 421: Tutorial #1 October 14, 2016 Set Theory. 1. Let A be an arbitrary set, and let B = {x A : x / x}. That is, B contains all sets in A that do not contain themselves: For all y, ( ) y B if and only

More information

Crochemore factorization of Sturmian and other infinite words

Crochemore factorization of Sturmian and other infinite words WoWA,7june2006 1 Crochemore factorization of Sturmian and other infinite words Jean Berstel and Alessandra Savelli Institut Gaspard Monge Université de Marne la Vallée and CNRS(UMR 8049) Workshop on Words

More information

A Generalization of Sturmian Sequences; Combinatorial Structure and Transcendence

A Generalization of Sturmian Sequences; Combinatorial Structure and Transcendence A Generalization of Sturmian Sequences; Combinatorial Structure and Transcendence Rebecca N. Risley Department of Mathematics University of North Texas Denton, TX 76203-5116 rnr0002@jove.acs.unt.edu Luca

More information

Pattern-Matching for Strings with Short Descriptions

Pattern-Matching for Strings with Short Descriptions Pattern-Matching for Strings with Short Descriptions Marek Karpinski marek@cs.uni-bonn.de Department of Computer Science, University of Bonn, 164 Römerstraße, 53117 Bonn, Germany Wojciech Rytter rytter@mimuw.edu.pl

More information

Chapter 3. Regular grammars

Chapter 3. Regular grammars Chapter 3 Regular grammars 59 3.1 Introduction Other view of the concept of language: not the formalization of the notion of effective procedure, but set of words satisfying a given set of rules Origin

More information

Bourget-du-lac cedex, France. Extended Abstract

Bourget-du-lac cedex, France. Extended Abstract Codings of rotations on two intervals are full A. Blondin-Massé a, S. Brlek a, S. Labbé a, L. Vuillon b a Laboratoire de Combinatoire et d Informatique Mathématique, Un. du Québec à Montréal, CP 8888 Succ.

More information

CSE 468, Fall 2006 Homework solutions 1

CSE 468, Fall 2006 Homework solutions 1 CSE 468, Fall 2006 Homework solutions 1 Homework 1 Problem 1. (a) To accept digit strings that contain 481: Q ={λ,4,48, 481}, Σ ={0,1,...,9}, q 0 = λ, A ={481}. To define δ, weuse a for all letters (well,

More information

Smooth Words on a 2-letter alphabets having same parity

Smooth Words on a 2-letter alphabets having same parity Smooth Words on a 2-letter alphabets having same parity Srecko Brlek, Damien Jamet, Geneviève Paquin To cite this version: Srecko Brlek, Damien Jamet, Geneviève Paquin. Smooth Words on a 2-letter alphabets

More information

We define the multi-step transition function T : S Σ S as follows. 1. For any s S, T (s,λ) = s. 2. For any s S, x Σ and a Σ,

We define the multi-step transition function T : S Σ S as follows. 1. For any s S, T (s,λ) = s. 2. For any s S, x Σ and a Σ, Distinguishability Recall A deterministic finite automaton is a five-tuple M = (S,Σ,T,s 0,F) where S is a finite set of states, Σ is an alphabet the input alphabet, T : S Σ S is the transition function,

More information

Minimum Critical Exponents for Palindromes

Minimum Critical Exponents for Palindromes Minimum Critical Exponents for Palindromes arxiv:1612.05320v2 [cs.fl] 20 Dec 2016 Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, ON N2L 3G1 Canada shallit@cs.uwaterloo.ca December

More information

Discrete Mathematics

Discrete Mathematics Discrete Mathematics 310 (2010) 109 114 Contents lists available at ScienceDirect Discrete Mathematics journal homepage: www.elsevier.com/locate/disc Total palindrome complexity of finite words Mira-Cristiana

More information

Automata Theory and Formal Grammars: Lecture 1

Automata Theory and Formal Grammars: Lecture 1 Automata Theory and Formal Grammars: Lecture 1 Sets, Languages, Logic Automata Theory and Formal Grammars: Lecture 1 p.1/72 Sets, Languages, Logic Today Course Overview Administrivia Sets Theory (Review?)

More information

On the complexity of a family of S-autom-adic sequences

On the complexity of a family of S-autom-adic sequences On the complexity of a family of S-autom-adic sequences Sébastien Labbé Laboratoire d Informatique Algorithmique : Fondements et Applications Université Paris Diderot Paris 7 LIAFA Université Paris-Diderot

More information

CS 121, Section 2. Week of September 16, 2013

CS 121, Section 2. Week of September 16, 2013 CS 121, Section 2 Week of September 16, 2013 1 Concept Review 1.1 Overview In the past weeks, we have examined the finite automaton, a simple computational model with limited memory. We proved that DFAs,

More information

arxiv: v1 [cs.dm] 13 Feb 2010

arxiv: v1 [cs.dm] 13 Feb 2010 Properties of palindromes in finite words arxiv:1002.2723v1 [cs.dm] 13 Feb 2010 Mira-Cristiana ANISIU Valeriu ANISIU Zoltán KÁSA Abstract We present a method which displays all palindromes of a given length

More information

On different generalizations of episturmian words

On different generalizations of episturmian words Theoretical Computer Science 393 (2008) 23 36 www.elsevier.com/locate/tcs On different generalizations of episturmian words Michelangelo Bucci a, Aldo de Luca a,, Alessandro De Luca a, Luca Q. Zamboni

More information

Automata-based Verification - III

Automata-based Verification - III COMP30172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2009 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Sturmian words. Lecture notes

Sturmian words. Lecture notes Sturmian words Lecture notes Sturmian words are a challenging topic, which is a bridge between combinatorics on words, number theory and dynamical systems. Sturmian words have been widely studied for their

More information

FINE AND WILF WORDS FOR ANY PERIODS II. R. Tijdeman and L.Q. Zamboni

FINE AND WILF WORDS FOR ANY PERIODS II. R. Tijdeman and L.Q. Zamboni FINE AND WILF WORDS FOR ANY PERIODS II R. Tijdeman and L.Q. Zamboni Abstract. Given positive integers n, and p 1,..., p r, we define a fast word combinatorial algorithm for constructing a word w = w 1

More information

Transducers for bidirectional decoding of codes with a finite deciphering delay

Transducers for bidirectional decoding of codes with a finite deciphering delay Transducers for bidirectional decoding of codes with a finite deciphering delay L. Giambruno 1, S. Mantaci 2, J. Néraud 3 and C. Selmi 3 GREYC - Université de Caen Basse-Normandie Dipartimento di Matematica

More information

Simple equations on binary factorial languages

Simple equations on binary factorial languages Simple equations on binary factorial languages A. E. Frid a a Sobolev Institute of Mathematics SB RAS Koptyug av., 4, 630090 Novosibirsk, Russia E-mail: frid@math.nsc.ru Abstract We consider equations

More information

Online Computation of Abelian Runs

Online Computation of Abelian Runs Online Computation of Abelian Runs Gabriele Fici 1, Thierry Lecroq 2, Arnaud Lefebvre 2, and Élise Prieur-Gaston2 1 Dipartimento di Matematica e Informatica, Università di Palermo, Italy Gabriele.Fici@unipa.it

More information

Automata: a short introduction

Automata: a short introduction ILIAS, University of Luxembourg Discrete Mathematics II May 2012 What is a computer? Real computers are complicated; We abstract up to an essential model of computation; We begin with the simplest possible

More information

Palindromic complexity of infinite words associated with simple Parry numbers

Palindromic complexity of infinite words associated with simple Parry numbers Palindromic complexity of infinite words associated with simple Parry numbers Petr Ambrož (1)(2) Christiane Frougny (2)(3) Zuzana Masáková (1) Edita Pelantová (1) March 22, 2006 (1) Doppler Institute for

More information

Automata and Languages

Automata and Languages Automata and Languages Prof. Mohamed Hamada Software Engineering Lab. The University of Aizu Japan Mathematical Background Mathematical Background Sets Relations Functions Graphs Proof techniques Sets

More information

arxiv: v3 [cs.fl] 2 Jul 2018

arxiv: v3 [cs.fl] 2 Jul 2018 COMPLEXITY OF PREIMAGE PROBLEMS FOR DETERMINISTIC FINITE AUTOMATA MIKHAIL V. BERLINKOV arxiv:1704.08233v3 [cs.fl] 2 Jul 2018 Institute of Natural Sciences and Mathematics, Ural Federal University, Ekaterinburg,

More information

Unbordered Factors and Lyndon Words

Unbordered Factors and Lyndon Words Unbordered Factors and Lyndon Words J.-P. Duval Univ. of Rouen France T. Harju Univ. of Turku Finland September 2006 D. Nowotka Univ. of Stuttgart Germany Abstract A primitive word w is a Lyndon word if

More information

Automata and Number Theory

Automata and Number Theory PROCEEDINGS OF THE ROMAN NUMBER THEORY ASSOCIATION Volume, Number, March 26, pages 23 27 Christian Mauduit Automata and Number Theory written by Valerio Dose Many natural questions in number theory arise

More information

ON HIGHLY PALINDROMIC WORDS

ON HIGHLY PALINDROMIC WORDS ON HIGHLY PALINDROMIC WORDS Abstract. We study some properties of palindromic (scattered) subwords of binary words. In view of the classical problem on subwords, we show that the set of palindromic subwords

More information

From p-adic numbers to p-adic words

From p-adic numbers to p-adic words From p-adic numbers to p-adic words Jean-Éric Pin1 1 January 2014, Lorentz Center, Leiden References I S. Eilenberg, Automata, Languages and Machines, Vol B, Acad. Press, New-York (1976). M. Lothaire,

More information

Computational Models Lecture 2 1

Computational Models Lecture 2 1 Computational Models Lecture 2 1 Handout Mode Ronitt Rubinfeld and Iftach Haitner. Tel Aviv University. March 16/18, 2015 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice

More information

Intro to Theory of Computation

Intro to Theory of Computation Intro to Theory of Computation 1/19/2016 LECTURE 3 Last time: DFAs and NFAs Operations on languages Today: Nondeterminism Equivalence of NFAs and DFAs Closure properties of regular languages Sofya Raskhodnikova

More information

COM364 Automata Theory Lecture Note 2 - Nondeterminism

COM364 Automata Theory Lecture Note 2 - Nondeterminism COM364 Automata Theory Lecture Note 2 - Nondeterminism Kurtuluş Küllü March 2018 The FA we saw until now were deterministic FA (DFA) in the sense that for each state and input symbol there was exactly

More information

Automata-based Verification - III

Automata-based Verification - III CS3172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20/22: email: howard.barringer@manchester.ac.uk March 2005 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Computational Models - Lecture 1 1

Computational Models - Lecture 1 1 Computational Models - Lecture 1 1 Handout Mode Ronitt Rubinfeld and Iftach Haitner. Tel Aviv University. February 29/ March 02, 2016 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames

More information

Repetitions in Words Associated with Parry Numbers

Repetitions in Words Associated with Parry Numbers Repetitions in Words Associated with Parry Numbers Karel Klouda 1, 2 karel@kloudak.eu Joint work with E.Pelantová 1 and L. Balková 1 1 FNSPE, CTU in Prague 2 LIAFA, Université Paris 7 The 2nd Canadian

More information

PERIODS OF FACTORS OF THE FIBONACCI WORD

PERIODS OF FACTORS OF THE FIBONACCI WORD PERIODS OF FACTORS OF THE FIBONACCI WORD KALLE SAARI Abstract. We show that if w is a factor of the infinite Fibonacci word, then the least period of w is a Fibonacci number. 1. Introduction The Fibonacci

More information

arxiv: v1 [cs.fl] 19 Mar 2015

arxiv: v1 [cs.fl] 19 Mar 2015 Regular realizability problems and regular languages A. Rubtsov arxiv:1503.05879v1 [cs.fl] 19 Mar 2015 1 Moscow Institute of Physics and Technology 2 National Research University Higher School of Economics

More information

Alternating nonzero automata

Alternating nonzero automata Alternating nonzero automata Application to the satisfiability of CTL [,, P >0, P =1 ] Hugo Gimbert, joint work with Paulin Fournier LaBRI, Université de Bordeaux ANR Stoch-MC 06/07/2017 Control and verification

More information

Degrees of Streams. Jörg Endrullis Dimitri Hendriks Jan Willem Klop. Streams Seminar Nijmegen, 20th April Vrije Universiteit Amsterdam

Degrees of Streams. Jörg Endrullis Dimitri Hendriks Jan Willem Klop. Streams Seminar Nijmegen, 20th April Vrije Universiteit Amsterdam Degrees of Streams Jörg Endrullis Dimitri Hendriks Jan Willem Klop Vrije Universiteit Amsterdam Streams Seminar Nijmegen, 20th April 2010 Complexity of streams Complexity measures for infinite streams:

More information

Finite Universes. L is a fixed-length language if it has length n for some

Finite Universes. L is a fixed-length language if it has length n for some Finite Universes Finite Universes When the universe is finite (e.g., the interval 0, 2 1 ), all objects can be encoded by words of the same length. A language L has length n 0 if L =, or every word of

More information

On the suffix automaton with mismatches

On the suffix automaton with mismatches On the suffix automaton with mismatches Maxime Crochemore, Chiara Epifanio, Alessandra Gabriele, Filippo Mignosi To cite this version: Maxime Crochemore, Chiara Epifanio, Alessandra Gabriele, Filippo Mignosi.

More information

Two-dimensional Total Palindrome Complexity

Two-dimensional Total Palindrome Complexity Annals of the Tiberiu Popoviciu Seminar of Functional Equations, Approximation and Convexity ISSN 1584-4536, vol 6, 2008, pp. 3 12. Two-dimensional Total Palindrome Complexity Mira-Cristiana Anisiu (Cluj-Napoca)

More information

REGular and Context-Free Grammars

REGular and Context-Free Grammars REGular and Context-Free Grammars Nicholas Mainardi 1 Dipartimento di Elettronica e Informazione Politecnico di Milano nicholas.mainardi@polimi.it March 26, 2018 1 Partly Based on Alessandro Barenghi s

More information

arxiv:math/ v1 [math.gr] 8 Nov 2004

arxiv:math/ v1 [math.gr] 8 Nov 2004 arxiv:math/0411166v1 [math.gr] 8 Nov 2004 CONTEXT-FREE ND 1-COUNTER GEODESIC LNGUGE FOR BUMSLG-SOLITR GROUP MURRY ELDER bstract. We give a language of unique geodesic normal forms for the Baumslag- Solitar

More information

Nondeterministic State Complexity of Basic Operations for Prefix-Free Regular Languages

Nondeterministic State Complexity of Basic Operations for Prefix-Free Regular Languages Fundamenta Informaticae 90 (2009) 93 106 93 DOI 10.3233/FI-2009-0008 IOS Press Nondeterministic State Complexity of Basic Operations for Prefix-Free Regular Languages Yo-Sub Han Intelligence and Interaction

More information

On the Uniform Distribution of Strings

On the Uniform Distribution of Strings On the Uniform Distribution of Strings Sébastien REBECCHI and Jean-Michel JOLION Université de Lyon, F-69361 Lyon INSA Lyon, F-69621 Villeurbanne CNRS, LIRIS, UMR 5205 {sebastien.rebecchi, jean-michel.jolion}@liris.cnrs.fr

More information

Semigroup presentations via boundaries in Cayley graphs 1

Semigroup presentations via boundaries in Cayley graphs 1 Semigroup presentations via boundaries in Cayley graphs 1 Robert Gray University of Leeds BMC, Newcastle 2006 1 (Research conducted while I was a research student at the University of St Andrews, under

More information

Some improvments of the S-adic Conjecture

Some improvments of the S-adic Conjecture Some improvments of the S-adic Conjecture Julien Leroy Laboratoire Amiénois de Mathématiques Fondamentales et Appliquées CNRS-UMR 6140, Université de Picardie Jules Verne, 33 rue Saint Leu, 80039 Amiens

More information

On the Number of Distinct Squares

On the Number of Distinct Squares Frantisek (Franya) Franek Advanced Optimization Laboratory Department of Computing and Software McMaster University, Hamilton, Ontario, Canada Invited talk - Prague Stringology Conference 2014 Outline

More information

Gray Codes and Overlap Cycles for Restricted Weight Words

Gray Codes and Overlap Cycles for Restricted Weight Words Gray Codes and Overlap Cycles for Restricted Weight Words Victoria Horan Air Force Research Laboratory Information Directorate Glenn Hurlbert School of Mathematical and Statistical Sciences Arizona State

More information

The number of runs in Sturmian words

The number of runs in Sturmian words The number of runs in Sturmian words Paweł Baturo 1, Marcin Piatkowski 1, and Wojciech Rytter 2,1 1 Department of Mathematics and Computer Science, Copernicus University 2 Institute of Informatics, Warsaw

More information

A generalization of Thue freeness for partial words. By: Francine Blanchet-Sadri, Robert Mercaş, and Geoffrey Scott

A generalization of Thue freeness for partial words. By: Francine Blanchet-Sadri, Robert Mercaş, and Geoffrey Scott A generalization of Thue freeness for partial words By: Francine Blanchet-Sadri, Robert Mercaş, and Geoffrey Scott F. Blanchet-Sadri, R. Mercas and G. Scott, A Generalization of Thue Freeness for Partial

More information

Obtaining the syntactic monoid via duality

Obtaining the syntactic monoid via duality Radboud University Nijmegen MLNL Groningen May 19th, 2011 Formal languages An alphabet is a non-empty finite set of symbols. If Σ is an alphabet, then Σ denotes the set of all words over Σ. The set Σ forms

More information

Fooling Sets and. Lecture 5

Fooling Sets and. Lecture 5 Fooling Sets and Introduction to Nondeterministic Finite Automata Lecture 5 Proving that a language is not regular Given a language, we saw how to prove it is regular (union, intersection, concatenation,

More information

Games derived from a generalized Thue-Morse word

Games derived from a generalized Thue-Morse word Games derived from a generalized Thue-Morse word Aviezri S. Fraenkel, Dept. of Computer Science and Applied Mathematics, Weizmann Institute of Science, Rehovot 76100, Israel; fraenkel@wisdom.weizmann.ac.il

More information

INITIAL POWERS OF STURMIAN SEQUENCES

INITIAL POWERS OF STURMIAN SEQUENCES INITIAL POWERS OF STURMIAN SEQUENCES VALÉRIE BERTHÉ, CHARLES HOLTON, AND LUCA Q. ZAMBONI Abstract. We investigate powers of prefixes in Sturmian sequences. We obtain an explicit formula for ice(ω), the

More information

T (s, xa) = T (T (s, x), a). The language recognized by M, denoted L(M), is the set of strings accepted by M. That is,

T (s, xa) = T (T (s, x), a). The language recognized by M, denoted L(M), is the set of strings accepted by M. That is, Recall A deterministic finite automaton is a five-tuple where S is a finite set of states, M = (S, Σ, T, s 0, F ) Σ is an alphabet the input alphabet, T : S Σ S is the transition function, s 0 S is the

More information

The subword complexity of a class of infinite binary words

The subword complexity of a class of infinite binary words arxiv:math/0512256v1 [math.co] 13 Dec 2005 The subword complexity of a class of infinite binary words Irina Gheorghiciuc November 16, 2018 Abstract Let A q be a q-letter alphabet and w be a right infinite

More information

Sums of Digits, Overlaps, and Palindromes

Sums of Digits, Overlaps, and Palindromes Sums of Digits, Overlaps, and Palindromes Jean-Paul Allouche, Jeffrey Shallit To cite this version: Jean-Paul Allouche, Jeffrey Shallit Sums of Digits, Overlaps, and Palindromes Discrete Mathematics and

More information

ON PARTITIONS SEPARATING WORDS. Formal languages; finite automata; separation by closed sets.

ON PARTITIONS SEPARATING WORDS. Formal languages; finite automata; separation by closed sets. ON PARTITIONS SEPARATING WORDS Abstract. Partitions {L k } m k=1 of A+ into m pairwise disjoint languages L 1, L 2,..., L m such that L k = L + k for k = 1, 2,..., m are considered. It is proved that such

More information

Computational Models #1

Computational Models #1 Computational Models #1 Handout Mode Nachum Dershowitz & Yishay Mansour March 13-15, 2017 Nachum Dershowitz & Yishay Mansour Computational Models #1 March 13-15, 2017 1 / 41 Lecture Outline I Motivation

More information