Moore automata and epichristoffel words

Slides:



Advertisements
Similar presentations
DNA and splicing (circular) Dipartimento di Informatica Sistemistica e Comunicazioni, Univ. di Milano - Bicocca ITALY Dipartimento di Informatica e Applicazioni,
Advertisements

Properties of Regular Languages
Deterministic Finite Automata (DFA)
Finite Automata CPSC 388 Ellen Walker Hiram College.
YES-NO machines Finite State Automata as language recognizers.
From squares in words to squares in permutations Sergey Kitaev Reykjavík University.
1 Languages. 2 A language is a set of strings String: A sequence of letters Examples: “cat”, “dog”, “house”, … Defined over an alphabet: Languages.
1 CSCI-2400 Models of Computation. 2 Computation CPU memory.
Strings and Languages Operations
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 4.
1 Languages and Finite Automata or how to talk to machines...
79 Regular Expression Regular expressions over an alphabet  are defined recursively as follows. (1) Ø, which denotes the empty set, is a regular expression.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Lecture 4.
Using PQ Trees For Comparative Genomics - CPM Using PQ Trees For Comparative Genomics Gad M. Landau – Univ. of Haifa Laxmi Parida – IBM T.J. Watson.
Topics Automata Theory Grammars and Languages Complexities
Great Theoretical Ideas in Computer Science.
Theory Of Automata By Dr. MM Alam
Dr. David Dailey Dr. Beverly Gocal Dr. Deborah Whitfield
1 Syntax Specification Regular Expressions. 2 Phases of Compilation.
Basics of automata theory
Combinatorial aspects of the Burrows-Wheeler transform
1 Chapter 1 Introduction to the Theory of Computation.
Great Theoretical Ideas in Computer Science.
Module 2 How to design Computer Language Huma Ayub Software Construction Lecture 8.
1 Languages. 2 A language is a set of strings String: A sequence of letters Examples: “cat”, “dog”, “house”, … Defined over an alphabet:
Introduction to Theory of Automata By: Wasim Ahmad Khan.
Regular Expressions Prepared by Manuel E. Bermúdez, Ph.D. Associate Professor University of Florida Programming Language Translators.
Regular Grammars Chapter 7. Regular Grammars A regular grammar G is a quadruple (V, , R, S), where: ● V is the rule alphabet, which contains nonterminals.
Regular Expressions CIS 361. Need finite descriptions of infinite sets of strings. Discover and specify “regularity”. The set of languages over a finite.
Mathematical Notions and Terminology Lecture 2 Section 0.2 Fri, Aug 24, 2007.
Strings and Languages CS 130: Theory of Computation HMU textbook, Chapter 1 (Sec 1.5)
Data Compression Meeting October 25, 2002 Arithmetic Coding.
Recognising Languages We will tackle the problem of defining languages by considering how we could recognise them. Problem: Is there a method of recognising.
Deterministic Finite Automata (DFA) - 1 q0q0q0q0 q1q1q1q strings that do not end with "1". Build an automaton to identify strings that end with.
Fundamentals of Informatics
Cardinality with Applications to Computability Lecture 33 Section 7.5 Wed, Apr 12, 2006.
CS 203: Introduction to Formal Languages and Automata
Lossless Decomposition and Huffman Codes Sophia Soohoo CS 157B.
Great Theoretical Ideas In Computer Science John LaffertyCS Fall 2005 Lecture 10Sept Carnegie Mellon University b b a b a a a b a b One.
Lecture # Book Introduction to Theory of Computation by Anil Maheshwari Michiel Smid, 2014 “Introduction to computer theory” by Daniel I.A. Cohen.
Strings and Languages Denning, Section 2.7. Alphabet An alphabet V is a finite nonempty set of symbols. Each symbol is a non- divisible or atomic object.
Lecture # 4.
Great Theoretical Ideas In Computer Science John LaffertyCS Fall 2006 Lecture 22 November 9, 2006Carnegie Mellon University b b a b a a a b a b.
Lecture 2 Theory of AUTOMATA
using Deterministic Finite Automata & Nondeterministic Finite Automata
BİL711 Natural Language Processing1 Regular Expressions & FSAs Any regular expression can be realized as a finite state automaton (FSA) There are two kinds.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen.
1 Chapter 3 Regular Languages.  2 3.1: Regular Expressions (1)   Regular Expression (RE):   E is a regular expression over  if E is one of:
1 Section 11.2 Finite Automata Can a machine(i.e., algorithm) recognize a regular language? Yes! Deterministic Finite Automata A deterministic finite automaton.
Deterministic Finite Automata Nondeterministic Finite Automata.
Akram Salah ISSR Basic Concepts Languages Grammar Automata (Automaton)
L ECTURE 3 T HEORY OF AUTOMATA. E QUIVALENT R EGULAR E XPRESSIONS Definition Two regular expressions are said to be equivalent if they generate the same.
CHAPTER TWO LANGUAGES By Dr Zalmiyah Zakaria.
Lecture # 8 (Transition Graphs). Example Consider the language L of strings, defined over Σ={a, b}, having (containing) triple a or triple b. Consider.
Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2005 Lecture 9Feb Carnegie Mellon University b b a b a a a b a b One Minute.
Recap Lecture 3 RE, Recursive definition of RE, defining languages by RE, { x}*, { x}+, {a+b}*, Language of strings having exactly one aa, Language of.
Chapter 1 INTRODUCTION TO THE THEORY OF COMPUTATION.
Cardinality with Applications to Computability
Formal Methods in software development
Languages.
Regular Expressions (Examples)
Theory of Computation Lecture # 9-10.
LANGUAGES Prepared by: Paridah Samsuri Dept. of Software Engineering
CSC312 Automata Theory Lecture # 4 Languages-III.
Line, line segment and rays.
Recap lecture 29 Example of prefixes of a language, Theorem: pref(Q in R) is regular, proof, example, Decidablity, deciding whether two languages are equivalent.
Formal Methods in software development
Chapter 1 Introduction to the Theory of Computation
Lines, rays and line segments
Recap Lecture 3 RE, Recursive definition of RE, defining languages by RE, { x}*, { x}+, {a+b}*, Language of strings having exactly one aa, Language of.
Presentation transcript:

Moore automata and epichristoffel words G. Castiglione and M. Sciortino University of Palermo ICTCS 2012, Varese sept 18-21

Outline Combinatorics on words Theory of Automata Binary alphabet Finite Sturmian words Minimization of DFA K-ary alphabet Finite episturmian words Minimization of DMA

Sturmian words Infinite words – binary alphabet {a,b} n+1 factors of lenght n for each n 0; one right special factor for each length n; (factor that appears followed by two different letters resp.) Example: Fibonacci word abaababaabaababaababaab…

Christoffel word Example: (5,3) aabaabab Given (p,q) coprime, the Christoffel word having p occurrences of a's and q occurrences of b's is obtained by considering the path under the segment in the lattice NxN, from the point (0,0) to the point (p,q) and by coding by ‘a’ a horizontal step and by ‘b’ a vertical step. Example: (5,3) aabaabab (5,3) Conjugate of standard words (particular prefixes of Sturmian words)

(w) - Christoffel classes – circular Sturmian words The finite version infinite finite (w) - Christoffel classes – circular Sturmian words Exactly n+1 factors of lenght n for each n  0; One right special factor for each length Exactly n+1 circular factors of lenght n for each nw-1; One right circular special factor for each length n  w-2 Example: Fibonacci word abaababaabaababaababaab… Example: finite Fibonacci word abaababaabaababaababaab a b

K-ary alphabet, Episturmian words Are closed under reversal and have at most one right special factor of each length. Example: Tribonacci word over {a,b,c} abacabaabacaba… 3-special factor

K-ary alphabet, episturmian words Are closed under reversal and have at most one right special factor of each length. Example: Tribonacci word over {a,b,c} abacabaabacaba… 2-special factor

epichristoffel classes circular episturmian words The finite case epichristoffel classes or circular episturmian words A finite word is an epichristoffel word if it is the image of a letter by an episturmian morphism and if it is the smallest word of its conjugacy class (epichristoffel class).

Unique up to changes of letters Epichristoffel class (6, 3, 1) →(2, 3, 1) →(2, 0, 1) →(1, 0, 1) →(0, 0, 1). There exists an epichristoffel class having letter frequencies (p,q,r) if and only if iterating the described process we obtain a triple with all 0’s and a 1. [Paquin ’09: On a generalization of Christoffel words: epichristoffel words] Unique up to changes of letters

Paquin’s construction b a a (6, 3, 1) →(2, 3, 1) →(2, 0, 1) →(1, 0, 1) →(0, 0, 1). Episturmian morphism: ψa(a) = a; ψa(x) = ax, if x ∈ A \ {a}; ψabaa(c) = ψaba(ac) = ψab(aac) = ψa(bababc) = abaabaabac Directive sequence Δ Conjugate of a prefix of Tribonacci word

(w) - epichristoffel classes - circular episturmian words The finite version infinite finite (w) - epichristoffel classes - circular episturmian words At most one right special factor for each length One right circular special factor for each length n  !!! …how many h-special?! Example: Tribonacci word abacabaabacaba… Example: abaabaabac prefix of a conjugate of Tribonacci word a b c

Paquin’s construction (binary case) (5, 3) →(2, 3) →(2, 1) →(1, 1) →(0, 1). Episturmian morphism: ψa(a) = a; ψa(x) = ax, if x ∈ A \ {a}; ψabaa(b) = ψaba(ab) = ψab(aab) = ψa(babab) = abaabaab Conjugate of a prefix of Fibonacci word

A factorization of epichristoffel classes b a (7, 2, 1) →(4, 2, 1) →(1, 2, 1) →(1, 0, 1) →(0, 0, 1). ψaaba(c) = aabaaabaac Δ=aaba

A factorization of epichristoffel class (abaabac) (ab) (a) Epichristoffel classes (aabaaabaac) Δ=aaba Δi the prefix of Δ up to the first occurrence of ai in Δ Each letter ai induces a factorization in a set of factors Xai={ψΔi aj (ai), for each j} Xa= {a, ba, ca} then (aabaaabaac) Xb= {aab, aaab, aacaab} then (aaabaacaab) Xc={aabaabaac, …, … } then (aabaaabaac) by coding… up to changes of letters

Reduction tree Theorem: Each epichristoffel class determines a reduction tree, unique up to changes of letters

Outline Combinatorics on words Theory of Automata Binary alphabet Finite Sturmian words Minimization of DFA K-ary alphabet Finite episturmian words Minimization of DMA

Cyclic Moore automaton associated to a circular word aabaaabaac

Derivation tree Minimization by a variant of Hopcroft’s algorithm Theorem: If the cyclic automaton is associated to an epichristoffel class the algorithm has a unique execution.

Derivation tree (aabaaabaac) 10 7 2 1 4 2 1 1 1 2 1 1 (7, 2, 1) →(4, 2, 1) →(1, 2, 1) →(1, 0, 1) →(0, 0, 1) 10 7 2 1 4 2 1 1 1 2 1 1

Theorem: reduction tree and derivation tree are isomorphic!

THANK YOU!