Abstract Numeration Systems or Decimation of Languages

Size: px
Start display at page:

Download "Abstract Numeration Systems or Decimation of Languages"

Transcription

1 Abstract Numeration Systems or Decimation of Languages Emilie Charlier University of Waterloo, School of Computer Science Languages and Automata Theory Seminar Waterloo, April 1 and 8, 211

2 Positional numeration systems A positional numeration system (PNS) is given by a sequence of integers U = (U i ) i such that U = 1 i U i < U i+1 (U i+1 /U i ) i is bounded C U = sup i U i+1 /U i The greedy U-representation of a positive integer n is the unique word rep U (n) = c l 1 c over Σ U = {,...,C U 1} satisfying l 1 n = c i U i, c l 1 and t i= t c i U i < U t+1. i= A set X N is U-recognizable or U-automatic if rep U (X) Σ U is regular.

3 Integer base b 2 U = (b i ) i rep U, Σ U rep b, Σ b Σ b = {,,b 1} L b = rep b (N) = Σ b \Σ b,1,2 1,2 rep 3 (N) N is 3-recognizable ε

4 Integer base b 2 U = (b i ) i rep U, Σ U rep b, Σ b Σ b = {,,b 1} L b = rep b (N) = Σ b \Σ b,2, rep U3 (2N) 2 N is 3-recognizable ε

5 Fibonacci (or Zeckendorf) numeration system Let F = (F i ) i = (1,2,3,5,8,13,21,...) be defined by F = 1, F 1 = 2 and i N, F i+2 = F i+1 +F i. Σ F = {,1} The factor 11 is forbidden : 1 1 rep F (N) = 1{,1} {ε} N is F-recognizable ε

6 Fibonacci (or Zeckendorf) numeration system Let F = (F i ) i = (1,2,3,5,8,13,21,...) be defined by F = 1, F 1 = 2 and i N, F i+2 = F i+1 +F i rep F (2N) 2N is F-recognizable ε

7 U-recognizability of N Is the set N U-recognizable? Otherwise stated, is the numeration language regular? Not necessarily: Theorem (Shallit 1994) Let U be a PNS. If N is U-recognizable, then U is linear, i.e., it satisfies a linear recurrence relation over Z. Loraud (1995) and Hollander (1998) gave sufficient conditions for the numeration language to be regular : The characteristic polynomial of the recurrence relation has a particular form.

8 Abstract numeration systems An abstract numeration system (ANS) is a triple S = (L,Σ,<) where L is an infinite regular language over a totally ordered alphabet (Σ, <). By enumerating the words of L w.r.t. the radix order < rad induced by <, we define a bijection : rep S : N L val S = rep 1 S : L N. A set X N is S-recognizable if rep S (X) is regular.

9 L = {a,b} Σ = {a,b} a < b n rep(n) ε a b aa ab ba bb aaa L = a b Σ = {a,b} a < b n rep(n) ε a b aa ab bb aaa

10 A generalization ANS generalize PNS having a regular numeration language: Let U be a PNS and let x,y N. We have x < y rep U (x) < rad rep U (y). Example (Fibonacci) rep F (N) = 1{,1} {ε} 6 < 7 and 11 < rad 11 (same length) 6 < 8 and 11 < rad 1 (different lengths) ε

11 A generalization ANS generalize PNS having a regular numeration language: Let U be a PNS and let x,y N. We have x < y rep U (x) < rad rep U (y). Example (Fibonacci) rep F (N) = 1{,1} {ε} 6 < 7 and 11 < rad 11 (same length) 6 < 8 and 11 < rad 1 (different lengths) ε

12 A generalization ANS generalize PNS having a regular numeration language: Let U be a PNS and let x,y N. We have x < y rep U (x) < rad rep U (y). Example (Fibonacci) rep F (N) = 1{,1} {ε} rep F (n) n ε

13 Decimation of languages Let L be a language ordered w.r.t. the radix order. If w < w 1 < are the elements of L and X N, then L[X] = {w n : n X}. If S = (L,Σ,<), then L[X] = rep S (X). If L[X] is accepted by a finite automaton, what does it imply on X? What conditions on X insures that L[X] is regular?

14 Motivation for ANS ANS are a generalization of all usual PNS like integer base numeration systems or linear numeration systems, and even rational numeration systems. Thanks to this general point of view on numeration systems, we try to distinguish results that deeply depend on the algorithm used to represent the integers from results that only depend on the set of representations. Due to the general setting of ANS, some new questions concerning languages arise naturally from this numeration point of view.

15 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

16 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

17 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

18 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

19 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

20 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

21 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

22 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

23 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

24 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

25 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

26 Some questions around ANS Rec. sets in a given ANS? Rec. sets in all ANS? Are there subsets of N that are never recognizable? Given a subset of N can we build an ANS for which it is rec.? How do rec. depend on the choice of the numeration? For which ANS do arithmetic operations preserve rec.? Operations preserving rec. in a given ANS? How to represent real numbers? Can we define automatic sequences in that context? Logical characterization of rec. sets? Extensions to the multidimensional setting?...

27 S-automatic words

28 b-automatic words An infinite word x = (x n ) n is b-automatic if there exists a DFAO A = (Q,q,Σ b,δ,γ,τ) s.t. for all n, x n = τ(δ(q,rep b (n))). Theorem (Cobham 1972) Let b 2. An infinite word is b-automatic iff it is the image under a coding of an infinite fixed point of a b-uniform morphism.

29 S-automatic words Let S = (L,Σ,<) be an ANS. An infinite word x = (x n ) n is S-automatic if there exists a DFAO A = (Q,q,Σ,δ,Γ,τ) s.t. for all n, x n = τ(δ(q,rep S (n))). Theorem (Rigo-Maes 22) An infinite word is S-automatic for some ANS S iff it is the image under a coding of an infinite fixed point of a morphism, i.e. a morphic word.

30 Corollary The factor complexity of an S-automatic word is O(n 2 ). Corollary The set of primes is never S-recognizable. Its characteristic sequence is not morphic (Mauduit 1988).

31 Idea of the proof Example (Morphic S-Automatic) Consider the morphism µ defined by a abc ; b bc ; c aac. We have µ ω (a) = abcbcaacbcaacabcabcaacbcaacabcabc. One canonically associates the DFA A µ,a a 1 b,1 2 1 c 2 L µ,a = {ε,1,2,1,11,2,21,22,1,11,11,111,112,2,...} If S = (L µ,a,{,1,2}, < 1 < 2), then (µ ω (a)) n = δ µ (a,rep S (n)) for all n.

32 Idea of the proof Example (S-Automatic Morphic) S = (L,{,1,2}, < 1 < 2) where L = {w Σ : w 1 is odd} minimal automaton of L DFAO generating x,2 I 1 1 F,2 2 a,1,1 b 2 n rep S (n) x b a a b b b b a a

33 Example (Continued) I a F b 1 f: α αi a F a F b I b F a g: α,i a,i b ε I a I b F b I a F b F a I a F b F a a I b I a F a I b 1 I b F a F b b L Σ ε f ω (α) α I a I b F b I a I a F a I b F a I a F b x b a a b g(f ω (α)) = x

34 Multidimensional Case A d-dimensional infinite word over an alphabet Σ is a map x : N d Σ. We use notation like x n1,...,n d or x(n 1,...,n d ) to denote the value of x at (n 1,...,n d ). If w 1,...,w d are finite words over the alphabet Σ, (w 1,...,w d ) # := (# m w 1 w 1,...,# m w d w d ) where m = max{ w 1,..., w d }. Example (ab,bbaa) # = (##ab,bbaa) = (#,b)(#,b)(a,a)(b,a)

35 A d-dimensional infinite word over an alphabet Γ is b-automatic if there exists a DFAO A = (Q,q,(Σ b ) d,δ,γ,τ) s.t. for all n 1,...,n d, ( ( τ δ q,(rep b (n 1 ),...,rep b (n d )) )) = x n1,...,n d. Theorem (Salon 1987) Let b 2 and d 1. A d-dimensional infinite word is b-automatic iff it is the image under a coding of a fixed point of a b-uniform d-dimensional morphism.

36 Theorem (C-Kärki-Rigo 21) Let d 1. The d-dimensional infinite word is S-automatic for some ANS S = (L,Σ,<) where ε L iff it is the image under a coding of a shape-symmetric infinite d-dimensional word.

37 Shape-symmetric µ(a) = µ(f) = a b c d ; µ(b) = e c ; µ(c) = e b ;µ(d) = f µ(e) = e b g d ; µ(g) = h b ; µ(h) = h b c d. µ ω (a) = a b e e b e b e c d c g d g d c e b f e b h b f e b e a b e b e g d c c d g d c e b e e b a b e g d c g d c d c h b f e b e b f....

38 Consider the morphism µ 1 defined by a ab ;b e ;e eb. We have µ ω 1 (a) = abeebebeebeebebeebebeebeeb. One canonically associates the DFA A µ1,a a 1 b e 1 L µ1,a = {ε,1,1,1,11,1,11,11,1,...}

39 Open question If S and T are two ANS, (S,T)-automatic words are bidimensional infinite words (x m,n ) m,n for which there exists a DFAO A = (Q,(Σ {#}) d,δ,q,γ,τ) s.t. m,n N, x m,n = τ(δ(q,(rep S (m),rep T (n)) # )). Can these (S, T)-automatic words be characterized by iterating morphisms?

40 b-kernel An infinite word (x n ) n is b-automatic iff its b-kernel {(x b e n+r) n : e,r N, r < b e } is finite. The b-kernel can be rewritten {(x b w n+val b (w) ) n : w Σ b } ε NB: b w n+val b (w) is the base-b value of the (n+1)-th word in L b having w as a suffix.

41 Open question The S-kernel of (x n ) n is {(x fw(n)) n : w Σ } where f w (n) is the S-value of the (n+1)-th word in L having w as a suffix. Theorem (Rigo-Maes 22) An infinite word is S-automatic iff its S-kernel is finite. Does a similar characterization hold in the multidimensional setting?

42 Sets S-recognizable for all S

43 Ultimately periodic sets It is an exercise to show that all ultimately periodic set are b-recognizable for all b 2. Theorem (Cobham 1969) Let k, l 2 be two multiplicatively independent integers. A subset of N is both k-recognizable and l-recognizable iff it is ultimately periodic. Two numbers k and l are multiplicatively independent if k m = l n and m,n N implies m = n =. Corollary A subset of N is b-recognizable for all b 2 iff it is ultimately periodic.

44 Generalization to ANS Theorem (Lecomte-Rigo 21, Krieger et al. 29) Ultimately periodic sets are S-recognizable for all ANS S. Corollary A subset of N is S-recognizable for all ANS S iff it is ultimately periodic. Theorem (Krieger et al. 29, Angrand-Sakarovitch 21) Let m,r N with m 2 and r m 1 and let S = (L,Σ,<) be an ANS. If L is accepted by a n-state DFA, then the minimal DFA of rep S (mn+r) has at most nm n states.

45 Semi-linear sets A subset X of N d is b-recognizable if the language (rep b (X)) # over ({,1,...,b 1} {#}) d is regular, where rep b (X) = {(rep b (n 1 ),...,rep b (n d )): (n 1,...,n d ) X}. Theorem (Cobham Semenov, Semenov 1977) Let k, l 2 be two multiplicatively independent integers. A subset of N d is both k-recognizable and l-recognizable iff it is semi-linear. A set X N d is linear if there exist v,v 1,,v t N d such that X = v +Nv 1 +Nv 2 + +Nv t. A set X N d is semi-linear if it is a finite union of linear sets.

46 {(n,m) : n,m N and n m} = N(1,) +N(1,1)

47 Semi-linear sets: a good generalization? Corollary A subset of N d is b-recognizable for all b 2 iff it is semi-linear. In the one-dimensional case, we have the following equivalences: semi-linear ultimately periodic 1-recognizable.

48 Multidimensional case for ANS One might therefore expect that the semi-linear sets are recognizable in all ANS. However, this fails to be the case, as the following example shows. Example The semi-linear set X = {n(1,2) : n N} = {(n,2n) n N} is not 1-recognizable. Consider the language {(a n # n,a 2n ) n N}, consisting of the unary representations of the elements of X. Use the pumping lemma to show that this is not accepted by a finite automaton.

49 Let S = (L,Σ,<) be an ANS. A subset X of N d is S-recognizable if the language (rep S (X)) # over (Σ {#})) d is regular, where rep S (X) = {(rep S (n 1 ),...,rep S (n d )): (n 1,...,n d ) X}. It is 1-automatic if it is S-automatic for the ANS S built on a.

50 Multidimensional 1-recognizable sets Theorem (C-Lacroix-Rampersad 21) A subset of N d is S-recognizable for all ANS S iff it is 1-recognizable. Theorem (C-Lacroix-Rampersad 21) The multidimensional 1-recognizable sets are the finite unions of sets of the form where Nv 1 +a 1 +Nv 2 +a 2 + +Nv t +a t, i Supp(v i ) = Supp(a i ) Supp(v 1 ) Supp(v 2 ) Supp(v t ) All v i and a i are multiples of vectors all of whose components are or 1.

51 Recognizable sets Another well-studied subclass of the class of semi-linear sets is the class of recognizable sets. A subset X of N d is recognizable if the right congruence X has finite index (x X y if z N d (x+z X y +z X)). When d = 1, we have again the following equivalences: recognizable ultimately periodic 1-recognizable. However, for d > 1 these equivalences no longer hold.

52 Multidimensional recognizable sets: a characterization Theorem (Mezei) The recognizable subsets of N 2 are precisely finite unions of sets of the form Y Z, where Y and Z are ultimately periodic subsets of N. In particular, the diagonal set D = {(n,n) n N} is not recognizable. However, the set D is clearly a 1-recognizable subset of N 2. So we see that for d > 1, the class of 1-recognizable sets corresponds neither to the class of semi-linear sets, nor to the class of recognizable sets.

53 A description of S-recognizable sets

54 Which growth functions for recognizable sets? Let L be a language over an alphabet Σ. Define u L (n) = L Σ n and v L (n) = n u L (i) = L Σ n i= The maps u L : N N and v L : N N are the growth functions of L. If X N, we let t X (n) denote the (n+1)-th term of X. The map t X : N N is the growth function of X. What do the growth functions of S-recognizable sets look like?

55 Theorem (C-Rampersad 21) Let S = (L,Σ,<) be an ANS built on a regular language and let X N be an infinite S-recognizable set. Suppose i {,...,p 1}, v L (np+i) a i n c α n (n + ), for some p,c N with p 1, some α 1 and some positive constants a,...,a p 1, and j {,...,q 1}, v reps (X)(nq +j) b j n d β n (n + ), for some q,d N with q 1, some β 1 and some positive constants b,...,b q 1. Then we have ( p α) t X (n) = Θ (log(n)) c dlog( log( q β)n log( p α) ) log( q β) if β > 1; ( ) t X (n) = Θ nd( c p α) Θ(n1 d) if β = 1.

56 Exponential numeration language Proposition (C-Rampersad 21) For all k,l N with l >, there exists an ANS S built on an exponential regular language and an infinite S-recognizable set X N s.t. t X (n) = Θ((log(n)) k n l ). For all k,l N with l > 1, there exists an ANS S built on an exponential regular language ( and an infinite S-recognizable set X N s.t. t X (n) = Θ n l (log(n)) k ). For all k N with k > and for all ANS S, ( there is no S-recognizable set X N s.t. t X (n) = Θ. ) n (log(n)) k

57 Polynomial numeration language Corollary Let S = (L,Σ,<) be an ANS built on a polynomial regular language and let X N be an infinite S-recognizable set. Then we have t X (n) = Θ(n r ) for some rational number r 1. Proposition (C-Rampersad 21) For every rational number r 1, there exists an ANS S built on a polynomial regular language and an infinite S-recognizable set X N such that t X (n) = Θ(n r ).

58 Theorem (Eilenberg 1974) A b-recognizable set X = {x n : n N}, where x < x 1 <, satisfies either limsup n + (x n+1 x n ) < + or limsup n + x n+1 x n > 1. Corollary The set of squares {n 2 n N} is not b-automatic for all b 2. But it is S-automatic for the ANS built on a b a c with a < b < c since we have rep S ({n 2 n N}) = a. Proposition (Rigo 22) For all k N, the set {n k n N} is S-automatic for some S. In those constructions, the exhibited ANS are built on polynomial languages.

59 An example Consider the base 4 numeration system, that is, the ANS built on L 4 = {ε} {1,2,3}{,1,2,3} with the natural order on the digits. Let X = val 4 ({1,3} ) = {1,3,5,7,13,15,21,23,29,31,...}. It is clearly 4-automatic. We have v L4 (n) = 4 n and v {1,3} (n) = 2 n+1 1. We obtain t X (n) = Θ(n 2 ).

60 Theorem (Durand-Rigo 29) Let S be an ANS built on a polynomial regular language and let T be an ANS built on an exponential regular language. If a subset of N is both S-recognizable and T-recognizable, then it is ultimately periodic. Corollary Let S be an ANS built on an exponential regular language. If f Q[x] is a polynomial of degree greater than 1 such that f(n) N, then the set f(n) is not S-recognizable. Open problem (hard) Find a Cobham-style theorem for ANS.

61 The periodicity problem

62 The periodicity problem Open problem Given an ANS S and a DFA accepting an S-recognizable set, decide if this set it ultimately periodic. Theorem (Honkala 1985) The periodicity problem is decidable for integer bases. Theorem (Muchnik 1991) The periodicity problem is decidable for linear PNS U s.t. N is U-recognizable and addition is computable by a finite automaton.

63 Results for ANS Theorem (Honkala-Rigo 24) The periodicity problem for all ANS is equivalent to the HDL periodicity problem. Theorem (C-Rigo 28, Bell-C-Fraenkel-Rigo 29) The periodicity problem is decidable for a large class of linear PNS. NB: Our class contains PNS for which addition is not computable by a finite automaton. Intermediate open problem Given a PNS U s.t. N is U-recognizable and a DFA accepting an U-recognizable set, decide if this set it ultimately periodic.

64 Automata recognizing languages arising from linear PNS

65 Even numbers in Fibonacci system rep F (2N) ε

66 Motivation What is the best automaton we can get? DFAs accepting the binary representations of 4N + 3. Question The general algorithm doesn t provide a minimal automaton. What is the state complexity of rep U (pn+r)?

67 Information we are looking for Consider a linear PNS U such that N is U-recognizable. How many states does the minimal automaton recognizing rep U (mn) contain? 1. Give upper/lower bounds. 2. Study special cases, e.g., Fibonacci numeration system. 3. Get information on the minimal automaton A U recognizing rep U (N).

68 Information we are looking for Consider a linear PNS U such that N is U-recognizable. How many states does the minimal automaton recognizing rep U (mn) contain? 1. Give upper/lower bounds. 2. Study special cases, e.g., Fibonacci numeration system. 3. Get information on the minimal automaton A U recognizing rep U (N).

69 First results Theorem (C-Rampersad-Rigo-Waxweiler 21) Let U be a linear PNS such that rep U (N) is regular. (i) The automaton A U has a non-trivial strongly connected component C U containing the initial state. (ii) If p is a state in C U, then there exists N N such that δ U (p, n ) = q U, for all n N. In particular, one cannot leave C U by reading a.

70 Theorem (cont d.) (iii) If C U is the only non-trivial strongly connected component of A U, then lim n + U n+1 U n = +. (iv) If lim n + U n+1 U n = +, then δ U (q U,,1) is in C U.

71 Dominant root condition U satisfies the dominant root condition if lim n + U n+1/u n = β for some real β > 1. β is the dominant root of the recurrence. E.g., Fibonacci: dominant root β = (1+ 5)/2 Theorem (cont d.) Suppose U has a dominant root β > 1. (v) If A U has more than one non-trivial strongly connected component, then any such component other than C U is a cycle all of whose edges are labeled. (vi) If lim n + U n+1/u n = β, then there is only one non-trivial strongly connected component.

72 An example with two components Let t 1. Let U = 1, U tn+1 = 2U tn +1, and U tn+r = 2U tn+r 1, for 1 < r t. E.g., for t = 2 we have U = (1,3,6,13,26,53,...). Then rep U (N) = {,1} {,1} 2( t ). The second component is a cycle of t s.,1 2

73 Theorem (Hollander 1998) If U is a linear PNS has a dominant root β and if rep U (N) is regular, then β is a Parry number. With any Parry number β is associated a canonical finite automaton A β. We will study the relationship between A U and A β.

74 β-expansions Let β > 1 be a real number. The β-expansion of a real number x [,1] is the lexicographically greatest sequence d β (x) := (x i ) i 1 over {,..., β } satisfying x = x i β i. i=1

75 Parry numbers If d β (1) = t 1 t m ω, with t m, then d β (1) is finite. In this case d β (1) := (t 1 t m 1 (t m 1)) ω. For instance, d 2 (1) = 2 ω and d 2 (1) = 1ω. Otherwise d β (1) := d β(1). If d β (1) is ultimately periodic, then β is a Parry number.

76 The Parry automaton Theorem (Parry 196) A sequence (s i ) i 1 over N is the β-expansion of a real number in [,1) iff (s n+i ) i 1 is lexicographically less than d β (1) for all n N. Define D β to be the set of all β-expansions of real numbers in [,1). So, for β Parry, the language Fact(D β ) is regular. For β Parry, let A β be the minimal DFA accepting Fact(D β ).

77 An example of the automaton A β,1 2 Let β be the largest root of X 3 2X 2 1. d β (1) = 21 ω and d β (1) = (2)ω. This automaton also accepts rep U (N) for U defined by U n+3 = 2U n+2 +U n,(u,u 1,U 2 ) = (1,3,7). A U = A β

78 Bertrand numeration systems Bertrand numeration system: w rep U (N) w rep U (N). Example (The l-bonacci system is Bertrand.) U n+l = U n+l 1 +U n+l 2 + +U n U i = 2 i, i {,...,l 1} A U accepts all words that do not contain 1 l.

79 A non-bertrand system 1 2 U n+2 = U n+1 +U n,(u = 1,U 1 = 3) (U n ) n = 1,3,4,7,11,18,29,47,... 2 is a greedy representation but 2 is not.

80 Theorem (Bertrand 1989) A PNS U is Bertrand iff there is a β > 1 such that rep U (N) = Fact(D β ). Moreover, the system is derived from the β-development of 1. If β is a Parry number, then U is linear and we have a minimal finite automaton A β accepting Fact(D β ). Consequently, rep U (N) is regular and A U = A β.

81 Back to a previous example,1 2 Let β be the largest root of X 3 2X 2 1. d β (1) = 21 ω and d β (1) = (2)ω. This automaton accepts rep U (N) for U defined by U n+3 = 2U n+2 +U n,(u,u 1,U 2 ) = (1,3,7). A U = A β

82 Changing the initial conditions 3,4 a 2 d f g 1 b 1 c e U n+3 = 2U n+2 +U n,(u,u 1,U 2 ) = (1,3,7) We change the initial values to (U,U 1,U 2 ) = (1,5,6). A U A β

83 Relationship with A β Theorem (cont d.) Suppose U has a dominant root β > 1. There is a morphism of automata Φ from C U to A β. Φ maps the states of C U onto the states of A β so that Φ(q U, ) = q β,, for all states q and all letters σ s.t. q and δ U (q,σ) are in C U, we have Φ(δ U (q,σ)) = δ β (Φ(q),σ).

84 3,4 a 2 d f g 1 b 1 c e,1 2

85 Other results When U has a dominant root β > 1, we can say more. E.g., if A U has more than one non-trivial strongly connected component, then d β (1) is finite. We can also give sufficient conditions for A U to have more than one non-trivial strongly connected component. In addition, we can give an upper bound on the number of non-trivial strongly connected components. When U has no dominant root, the situation is more complicated.

86 A system with no dominant root,1,2,3, ,1,2, ,3 2,1 2,1 2,1,2 U n+3 = 24U n,(u,u 1,U 2 ) = (1,2,6) 3 non-trivial strongly connected components

87 A system with no dominant root 2 1, U n+4 = 3U n+2 +U n,(u,u 1,U 2,U 3 ) = (1,2,3,7) U n+1 /U n doesn t converge, but lim U 2n+2/U 2n = lim U 2n+3/U 2n+1 = (3+ 13)/2 n + n + M. Hollander, Greedy numeration systems and regularity, Theory Comput. Systems 31 (1998).

88 Application to the l-bonacci system Corollary For U the l-bonacci numeration system, the number of states of the trim minimal automaton accepting rep U (mn) is lm l.

89 1 1 1 rep F (2N) ε

90 Further work in this area Analyze the structure of A U for systems with no dominant root. Remove the assumption that (U i mod m) i is purely periodic in the state complexity result that we have. Get analogous syntactic complexity or radius complexity results.

91 Real numbers in ANS

92 The decimal representation of is.(846153)ω : 8 1, 84 1, 846 1, , ,... n-th fraction = val 1(prefix of length n of (846153) ω ) 1 n

93 L Σ, u L (n) = Card(L Σ n ); v L (n) = Card(L Σ n ) = n u L (i). i= For the integer base b 2: L b = {ε} {1,...,b 1}{,...,b 1} n v Lb (n) = u Lb (i) = b n. i=

94 The decimal representation of is.(846153)ω : 8 1, 84 1, 846 1, , ,... n-th fraction = val 1(prefix of length n of (846153) ω ) v L1 (n)

95 The binary representation of is.(111111)ω : 1 2, 3 4 = 6 8, 13 16, = = = , 433 = , n-th fraction = val 2(prefix of length n of (111111) ω ) v L2 (n) 7-th fraction: 18 = = val 2 (1111) 128 = 2 7 = v L2 (7).

96 Lecomte and Rigo S = (L,Σ,<) w Σ ω (w (n) ) n L N, w (n) w as n + POINT: To show that, under certain hypotheses, the limit val S (w (n) ) lim n + v L ( w (n) ) exists and only depends on w. In that case, w is an S-representation of the corresponding real.

97 QUESTION: And when L is not regular? Example The 3 2-number system introduced by Akiyama, Frougny and Sakarovitch (28) has a numeration language which is not context-free. AIM: To provide a unified approach for representing real numbers

98 Generalization to non-regular languages Arbitrary infinite language L (not necessarily regular) Minimal automaton of L: A = (Q,Σ,δ,q,F) Generalized ANS: S = (L,Σ,<) For all x L, the numerical value val S (x) of x is given by x 1 v L ( x 1)+ i= a<x[i] where x[,i 1] = prefix of length i of x and L q = language accepted from q in A. u Lδ(q,x[,i 1]a) ( x i 1),

99 w = limit of words in L Pref(w) Pref(L) w Adh(L) Since Adh(L) = Adh(Pref(L)), there is no new representation if we assume that L is prefix-closed.

100 Example: L = {w {a,b} w a w b 1} = {ε,a,b,ab,ba,aab,aba,abb,baa,bab,bba,aabb,...} a b -3 a a a a a a a b b b b b b b For S = (L,{a,b},a < b), we can compute val S ((ab) n ) lim = 3 n + v L (2n) 4 val S ((ab) n a) and lim n + v L (2n+1) = 3 5 val S ((ab) ω [,n 1]) which shows that lim n + v L (n) does not exist. L not prefix-closed: Pref(L) = {a,b}

101 Hypotheses needed? (H1) L is prefix-closed (H2) Adh(L) is uncountable QUESTION: What conditions must L satisfy so that val S (w[,n 1]) the limits lim n + v L (n) exist for all w Adh(L)?

102 Hypotheses needed? AIM: Define some approximation intervals of reals. Their length should decrease as the prefix that is read becomes larger and larger. x L Σ n, v L (n 1) val S(x) v L (n) }{{} v L (n) vl(n) v L (n) }{{} =1 u L (n) =1 v L (n) u L (n) If lim n + v L (n) exists, then it is denoted by r ε and the represented interval is I ε = [1 r ε,1].

103 Hypotheses needed? Recall that, for all x L, x 1 val S (x) = v L ( x 1)+ i= a<x[i] u Lδ(q,x[,i 1]a)( x i 1) (H3) x Σ, r x, lim n + u Lδ(q,x) (n x ) v L (n) = r x

104 Hypotheses needed? In general, I x = r x (H4) w Adh(L), lim l + r w[,l 1] = Let Center(L) = Pref(Adh(L)). Then x Center(L) r x =.

105 4 hypotheses Theorem (C.-Le Gonidec-Rigo 21) val S (w[,n 1]) The limits lim n + v L (n) the following conditions: exist when L satisfies (H1) L prefix-closed (H2) Adh(L) uncountable (H3) x Σ u Lδ(q,x), r x, lim (n x ) n + v L (n) (H4) w Adh(L), lim l + r w[,l 1] = = r x

106 val S (w[,n 1]) For all w Adh(L), val S (w) = lim n + v L (n) is the numerical value of w. The infinite word w is an S-representation of val S (w).

107 Proposition (C.-Le Gonidec-Rigo 21) Let L Σ, S = (Pref(L),Σ,<) be a (generalized) ANS. If Pref(L) satisfies (H1), (H2) and (H3), then for all sequences (w (n) ) n L N converging to a word w Adh(L), we have lim n + val S (w (n) ) v Pref(L) ( w (n) ) = val S(w).

108 Example: Prefixes of Dyck words D = {w {a,b} w a = w b and u Pref(w), u a u b } not prefix-closed we consider S = (Pref(D),{a,b},a < b) Pref(D) = {w {a,b} u Pref(w), u a u b } = {ε,a,aa,ab,aaa,aab,aba,aaaa,aaab,aaba,aabb,...}. a,b -1 b a a a b b b a b

109 Example: Prefixes of Dyck words (continued) val S ((aab) ω [,n 1]) lim = 39 n + v L (n) 49 = x val S (x) v L ( x ) val S (x) v L ( x ) a aa aab aaba aabaa aabaab aabaaba aabaabaa aabaabaab aabaabaaba aabaabaabaa

110 Example: Prefixes of Dyck words (continued) v L (n 1) Since lim = 1 n + v L (n) 2, we represent the interval I ε = [ 1 2,1] Center(Pref(D)) = Pref(D): I a = [1/2,1] I aa = [1/2,7/8] I ab = [7/8,1] I aaa = [1/2,3/4] I aab = [3/4,7/8] I aba = [7/8,1]...

111 Example: Prefixes of Dyck words (continued) x [ 1 2,1], Q x designates the set of representations of x. We have Q 1/2 = {a ω } and Q 1 = {(ab) ω }. If x ]1/2,1[ and x = supi w = infi z then Q x = { w(ab) ω,za ω }, where w = the least Dyck word having w as a prefix. Proposition (C.-Le Gonidec-Rigo 21) If L is context-free, then the representations of the endpoints of the intervals are ultimately periodic.

112 Open problems Characterize the automata recognizing a language L such that the corresponding ω-language Adh(L) is uncountable.

113 Open problems Theorem (Boasson-Nivat 198) For every context-free language L, there exists a sequential mapping f such that f(adh(d 2 )) = Adh(L), where D 2 is the Dyck language over two kinds of parentheses. Let S and T be abstract numeration systems built respectively on Pref(D 2 ) and Pref(L). Give a mapping g such that the following diagram commutes. Adh(D 2 ) f Adh(L) val S val T g [s,1] [t,1]

Émilie Charlier 1 Department of Mathematics, University of Liège, Liège, Belgium Narad Rampersad.

Émilie Charlier 1 Department of Mathematics, University of Liège, Liège, Belgium Narad Rampersad. #A4 INTEGERS B () THE MINIMAL AUTOMATON RECOGNIZING m N IN A LINEAR NUMERATION SYSTEM Émilie Charlier Department of Mathematics, University of Liège, Liège, Belgium echarlier@uwaterloo.ca Narad Rampersad

More information

(ABSTRACT) NUMERATION SYSTEMS

(ABSTRACT) NUMERATION SYSTEMS (ABSTRACT) NUMERATION SYSTEMS Michel Rigo Department of Mathematics, University of Liège http://www.discmath.ulg.ac.be/ OUTLINE OF THE TALK WHAT IS A NUMERATION SYSTEM? CONNECTION WITH FORMAL LANGUAGES

More information

RECOGNIZABLE SETS OF INTEGERS

RECOGNIZABLE SETS OF INTEGERS RECOGNIZABLE SETS OF INTEGERS Michel Rigo http://www.discmath.ulg.ac.be/ 1st Joint Conference of the Belgian, Royal Spanish and Luxembourg Mathematical Societies, June 2012, Liège In the Chomsky s hierarchy,

More information

MULTIDIMENSIONAL GENERALIZED AUTOMATIC SEQUENCES AND SHAPE-SYMMETRIC MORPHIC WORDS

MULTIDIMENSIONAL GENERALIZED AUTOMATIC SEQUENCES AND SHAPE-SYMMETRIC MORPHIC WORDS MULTIDIMENSIONAL GENERALIZED AUTOMATIC SEQUENCES AND SHAPE-SYMMETRIC MORPHIC WORDS EMILIE CHARLIER, TOMI KÄRKI, AND MICHEL RIGO Abstract An infinite word is S-automatic if, for all n 0, its (n+1)st letter

More information

Numeration systems: a link between number theory and formal language theory

Numeration systems: a link between number theory and formal language theory Numeration systems: a link between number theory and formal language theory Michel Rigo http://www.discmath.ulg.ac.be/ http://orbi.ulg.ac.be/ 28th November 22 Dynamical systems Symbolic dynamics Verification

More information

From combinatorial games to shape-symmetric morphisms (3)

From combinatorial games to shape-symmetric morphisms (3) From combinatorial games to shape-symmetric morphisms (3) Michel Rigo http://www.discmath.ulg.ac.be/ http://orbi.ulg.ac.be/handle/2268/216249 Jean-Morlet chair: Shigeki Akiyama Research school: Tiling

More information

On the concrete complexity of the successor function

On the concrete complexity of the successor function On the concrete complexity of the successor function M. Rigo joint work with V. Berthé, Ch. Frougny, J. Sakarovitch http://www.discmath.ulg.ac.be/ http://orbi.ulg.ac.be/handle/2268/30094 Let s start with

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

Computational Theory

Computational Theory Computational Theory Finite Automata and Regular Languages Curtis Larsen Dixie State University Computing and Design Fall 2018 Adapted from notes by Russ Ross Adapted from notes by Harry Lewis Curtis Larsen

More information

The Formal Inverse of the Period-Doubling Sequence

The Formal Inverse of the Period-Doubling Sequence 2 3 47 6 23 Journal of Integer Sequences, Vol. 2 (28), Article 8.9. The Formal Inverse of the Period-Doubling Sequence Narad Rampersad Department of Mathematics and Statistics University of Winnipeg 55

More information

AUTOUR DES SYSTÈMES DE NUMÉRATION

AUTOUR DES SYSTÈMES DE NUMÉRATION UTOUR DES SYSTÈMES DE NUMÉRTION BSTRITS Michel Rigo http://www.discmath.ulg.ac.be/ http://orbi.ulg.ac.be/handle/2268/2495 JMC 22, journés SD2-22, LITIS Rouen, 3 juin 22 In the Chomsky s hierarchy, the

More information

On multiplicatively dependent linear numeration systems, and periodic points

On multiplicatively dependent linear numeration systems, and periodic points On multiplicatively dependent linear numeration systems, and periodic points Christiane Frougny 1 L.I.A.F.A. Case 7014, 2 place Jussieu, 75251 Paris Cedex 05, France Christiane.Frougny@liafa.jussieu.fr

More information

On the cost and complexity of the successor function

On the cost and complexity of the successor function On the cost and complexity of the successor function Valérie Berthé 1, Christiane Frougny 2, Michel Rigo 3, and Jacques Sakarovitch 4 1 LIRMM, CNRS-UMR 5506, Univ. Montpellier II, 161 rue Ada, F-34392

More information

On the Recognizability of Self-Generating Sets

On the Recognizability of Self-Generating Sets 2 3 47 6 23 Journal of Integer Sequences, Vol. 3 (200), Article 0.2.2 On the Recognizability of Self-Generating Sets Tomi Kärki University of Turku Department of Mathematics FI-2004 Turku Finland topeka@utu.fi

More information

Words generated by cellular automata

Words generated by cellular automata Words generated by cellular automata Eric Rowland University of Waterloo (soon to be LaCIM) November 25, 2011 Eric Rowland (Waterloo) Words generated by cellular automata November 25, 2011 1 / 38 Outline

More information

A Universal Turing Machine

A Universal Turing Machine A Universal Turing Machine A limitation of Turing Machines: Turing Machines are hardwired they execute only one program Real Computers are re-programmable Solution: Universal Turing Machine Attributes:

More information

Finite Automata and Regular Languages

Finite Automata and Regular Languages Finite Automata and Regular Languages Topics to be covered in Chapters 1-4 include: deterministic vs. nondeterministic FA, regular expressions, one-way vs. two-way FA, minimization, pumping lemma for regular

More information

Algebras with finite descriptions

Algebras with finite descriptions Algebras with finite descriptions André Nies The University of Auckland July 19, 2005 Part 1: FA-presentability A countable structure in a finite signature is finite-automaton presentable (or automatic)

More information

CSE 105 Homework 1 Due: Monday October 9, Instructions. should be on each page of the submission.

CSE 105 Homework 1 Due: Monday October 9, Instructions. should be on each page of the submission. CSE 5 Homework Due: Monday October 9, 7 Instructions Upload a single file to Gradescope for each group. should be on each page of the submission. All group members names and PIDs Your assignments in this

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

* 8 Groups, with Appendix containing Rings and Fields.

* 8 Groups, with Appendix containing Rings and Fields. * 8 Groups, with Appendix containing Rings and Fields Binary Operations Definition We say that is a binary operation on a set S if, and only if, a, b, a b S Implicit in this definition is the idea that

More information

In N we can do addition, but in order to do subtraction we need to extend N to the integers

In N we can do addition, but in order to do subtraction we need to extend N to the integers Chapter 1 The Real Numbers 1.1. Some Preliminaries Discussion: The Irrationality of 2. We begin with the natural numbers N = {1, 2, 3, }. In N we can do addition, but in order to do subtraction we need

More information

A Hierarchy of Automatic ω-words having a decidable MSO Theory

A Hierarchy of Automatic ω-words having a decidable MSO Theory A Hierarchy of Automatic ω-words having a decidable MSO Theory Vince Bárány Mathematische Grundlagen der Informatik RWTH Aachen Journées Montoises d Informatique Théorique Rennes, 2006 Vince Bárány (RWTH

More information

Arturo Carpi 1 and Cristiano Maggi 2

Arturo Carpi 1 and Cristiano Maggi 2 Theoretical Informatics and Applications Theoret. Informatics Appl. 35 (2001) 513 524 ON SYNCHRONIZED SEQUENCES AND THEIR SEPARATORS Arturo Carpi 1 and Cristiano Maggi 2 Abstract. We introduce the notion

More information

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2 8. p-adic numbers 8.1. Motivation: Solving x 2 a (mod p n ). Take an odd prime p, and ( an) integer a coprime to p. Then, as we know, x 2 a (mod p) has a solution x Z iff = 1. In this case we can suppose

More information

Open Problems in Automata Theory: An Idiosyncratic View

Open Problems in Automata Theory: An Idiosyncratic View Open Problems in Automata Theory: An Idiosyncratic View Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada shallit@cs.uwaterloo.ca http://www.cs.uwaterloo.ca/~shallit

More information

Duality and Automata Theory

Duality and Automata Theory Duality and Automata Theory Mai Gehrke Université Paris VII and CNRS Joint work with Serge Grigorieff and Jean-Éric Pin Elements of automata theory A finite automaton a 1 2 b b a 3 a, b The states are

More information

Regularity-preserving letter selections

Regularity-preserving letter selections Regularity-preserving letter selections Armando B. Matos LIACC, Universidade do Porto Rua do Campo Alegre 823, 4150 Porto, Portugal 1 Introduction and definitions Seiferas and McNaughton gave in [SM76]

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

MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION. Chapter 2: Countability and Cantor Sets

MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION. Chapter 2: Countability and Cantor Sets MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION Chapter 2: Countability and Cantor Sets Countable and Uncountable Sets The concept of countability will be important in this course

More information

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION FORMAL LANGUAGES, AUTOMATA AND COMPUTATION DECIDABILITY ( LECTURE 15) SLIDES FOR 15-453 SPRING 2011 1 / 34 TURING MACHINES-SYNOPSIS The most general model of computation Computations of a TM are described

More information

An Efficient Algorithm to Decide Periodicity of b-recognisable Sets Using MSDF Convention

An Efficient Algorithm to Decide Periodicity of b-recognisable Sets Using MSDF Convention An Efficient Algorithm to Decide Periodicity of b-recognisable Sets Using MSDF Convention Bernard Boigelot 1, Isabelle Mainz 2, Victor Marsault 3, and Michel Rigo 4 1 Montefiore Institute & Department

More information

In N we can do addition, but in order to do subtraction we need to extend N to the integers

In N we can do addition, but in order to do subtraction we need to extend N to the integers Chapter The Real Numbers.. Some Preliminaries Discussion: The Irrationality of 2. We begin with the natural numbers N = {, 2, 3, }. In N we can do addition, but in order to do subtraction we need to extend

More information

Automata for arithmetic Meyer sets

Automata for arithmetic Meyer sets Author manuscript, published in "LATIN 4, Buenos-Aires : Argentine (24)" DOI : 1.17/978-3-54-24698-5_29 Automata for arithmetic Meyer sets Shigeki Akiyama 1, Frédérique Bassino 2, and Christiane Frougny

More information

Mix-Automatic Sequences

Mix-Automatic Sequences Mix-Automatic Sequences Jörg Endrullis 1, Clemens Grabmayer 2, and Dimitri Hendriks 1 1 VU University Amsterdam 2 Utrecht University Abstract. Mix-automatic sequences form a proper extension of the class

More information

Redundant Radix Enumeration Systems

Redundant Radix Enumeration Systems Redundant Radix Enumeration Systems CS 860: Automatic Sequences Daniel Roche University of Waterloo 21 November 2006 Roche (University of Waterloo) Redundant Radix Enumeration Systems 21 November 2006

More information

Representation of p-adic numbers in rational base numeration systems

Representation of p-adic numbers in rational base numeration systems Representation of p-adic numbers in rational base numeration systems Christiane Frougny LIAFA, CNRS, and Université Paris 8 Numeration June 4-8, 200, Leiden Joint work with Karel Klouda Base p = 0 Introduction

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

The Separating Words Problem

The Separating Words Problem The Separating Words Problem Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada shallit@cs.uwaterloo.ca https://www.cs.uwaterloo.ca/~shallit 1/54 The Simplest

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

The Logical Approach to Automatic Sequences

The Logical Approach to Automatic Sequences The Logical Approach to Automatic Sequences Part 3: Proving Claims about Automatic Sequences with Walnut Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada

More information

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY 15-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY REVIEW for MIDTERM 1 THURSDAY Feb 6 Midterm 1 will cover everything we have seen so far The PROBLEMS will be from Sipser, Chapters 1, 2, 3 It will be

More information

Section Summary. Sequences. Recurrence Relations. Summations. Examples: Geometric Progression, Arithmetic Progression. Example: Fibonacci Sequence

Section Summary. Sequences. Recurrence Relations. Summations. Examples: Geometric Progression, Arithmetic Progression. Example: Fibonacci Sequence Section 2.4 1 Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations 2 Introduction Sequences are ordered lists of

More information

Hierarchy among Automata on Linear Orderings

Hierarchy among Automata on Linear Orderings Hierarchy among Automata on Linear Orderings Véronique Bruyère Institut d Informatique Université de Mons-Hainaut Olivier Carton LIAFA Université Paris 7 Abstract In a preceding paper, automata and rational

More information

Abstract β-expansions and ultimately periodic representations

Abstract β-expansions and ultimately periodic representations Journal de Théorie des Nombres de Bordeaux 17 (2005), 283 299 Abstract -expansions and ultimately periodic representations par Michel RIGO et Wolfgang STEINER Résumé. Pour les systèmes de numération abstraits

More information

A Generalization of Cobham s Theorem to Automata over Real Numbers

A Generalization of Cobham s Theorem to Automata over Real Numbers A Generalization of Cobham s Theorem to Automata over Real Numbers Bernard Boigelot and Julien Brusten Institut Montefiore, B28 Université de Liège B-4000 Liège, Belgium {boigelot,brusten}@montefiore.ulg.ac.be

More information

Theory of Computation

Theory of Computation Fall 2002 (YEN) Theory of Computation Midterm Exam. Name:... I.D.#:... 1. (30 pts) True or false (mark O for true ; X for false ). (Score=Max{0, Right- 1 2 Wrong}.) (1) X... If L 1 is regular and L 2 L

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

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

Context Free Languages. Automata Theory and Formal Grammars: Lecture 6. Languages That Are Not Regular. Non-Regular Languages

Context Free Languages. Automata Theory and Formal Grammars: Lecture 6. Languages That Are Not Regular. Non-Regular Languages Context Free Languages Automata Theory and Formal Grammars: Lecture 6 Context Free Languages Last Time Decision procedures for FAs Minimum-state DFAs Today The Myhill-Nerode Theorem The Pumping Lemma Context-free

More information

Chapter 8. P-adic numbers. 8.1 Absolute values

Chapter 8. P-adic numbers. 8.1 Absolute values Chapter 8 P-adic numbers Literature: N. Koblitz, p-adic Numbers, p-adic Analysis, and Zeta-Functions, 2nd edition, Graduate Texts in Mathematics 58, Springer Verlag 1984, corrected 2nd printing 1996, Chap.

More information

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) +

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) + Lecture 2 Mai Gehrke Université Paris 7 and CNRS A {ε} A ((ab) (ba) ) (ab) + (ba) + Further examples - revisited 1. Completeness of modal logic with respect to Kripke semantics was obtained via duality

More information

Automata and Numeration Systems

Automata and Numeration Systems Automata and Numeration Systems Véronique Bruyère Université de Mons-Hainaut, 5 Avenue Maistriau, B-7 Mons, Belgium. vero@sun.umh.ac.be Introduction This article is a short survey on the following problem:

More information

Countable and uncountable sets. Matrices.

Countable and uncountable sets. Matrices. CS 441 Discrete Mathematics for CS Lecture 11 Countable and uncountable sets. Matrices. Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Arithmetic series Definition: The sum of the terms of the

More information

Aperiodic languages p. 1/34. Aperiodic languages. Verimag, Grenoble

Aperiodic languages p. 1/34. Aperiodic languages. Verimag, Grenoble Aperiodic languages p. 1/34 Aperiodic languages Dejan Ničković Verimag, Grenoble Aperiodic languages p. 2/34 Table of Contents Introduction Aperiodic Sets Star-Free Regular Sets Schützenberger s theorem

More information

Probabilistic Aspects of Computer Science: Probabilistic Automata

Probabilistic Aspects of Computer Science: Probabilistic Automata Probabilistic Aspects of Computer Science: Probabilistic Automata Serge Haddad LSV, ENS Paris-Saclay & CNRS & Inria M Jacques Herbrand Presentation 2 Properties of Stochastic Languages 3 Decidability Results

More information

Countable and uncountable sets. Matrices.

Countable and uncountable sets. Matrices. Lecture 11 Countable and uncountable sets. Matrices. Instructor: Kangil Kim (CSE) E-mail: kikim01@konkuk.ac.kr Tel. : 02-450-3493 Room : New Milenium Bldg. 1103 Lab : New Engineering Bldg. 1202 Next topic:

More information

On subtrees of the representation tree in rational base numeration systems

On subtrees of the representation tree in rational base numeration systems Discrete Mathematics and Theoretical Computer Science DMTCS vol. :, 8, # On subtrees of the representation tree in rational base numeration systems arxiv:7.8v [cs.dm] 7 Feb 8 Shigeki Akiyama Victor Marsault,

More information

Notes on generating functions in automata theory

Notes on generating functions in automata theory Notes on generating functions in automata theory Benjamin Steinberg December 5, 2009 Contents Introduction: Calculus can count 2 Formal power series 5 3 Rational power series 9 3. Rational power series

More information

Outline. We will now investigate the structure of this important set.

Outline. We will now investigate the structure of this important set. The Reals Outline As we have seen, the set of real numbers, R, has cardinality c. This doesn't tell us very much about the reals, since there are many sets with this cardinality and cardinality doesn't

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

Name: Student ID: Instructions:

Name: Student ID: Instructions: Instructions: Name: CSE 322 Autumn 2001: Midterm Exam (closed book, closed notes except for 1-page summary) Total: 100 points, 5 questions, 20 points each. Time: 50 minutes 1. Write your name and student

More information

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION "Winter" 2018 http://cseweb.ucsd.edu/classes/wi18/cse105-ab/ Today's learning goals Sipser Section 1.4 Explain the limits of the class of regular languages Justify why the

More information

COBHAM S THEOREM FOR ABSTRACT NUMERATION SYSTEMS

COBHAM S THEOREM FOR ABSTRACT NUMERATION SYSTEMS COBHAM S THEOREM FOR ABSTRACT NUMERATION SYSTEMS ÉMILIE CHARLIER, JULIEN LEROY, AND MICHEL RIGO Abstract. Abstract numeration systems generalize numeration systems whose representation map is increasing

More information

CS 125 Section #10 (Un)decidability and Probability November 1, 2016

CS 125 Section #10 (Un)decidability and Probability November 1, 2016 CS 125 Section #10 (Un)decidability and Probability November 1, 2016 1 Countability Recall that a set S is countable (either finite or countably infinite) if and only if there exists a surjective mapping

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

Section Summary. Relations and Functions Properties of Relations. Combining Relations

Section Summary. Relations and Functions Properties of Relations. Combining Relations Chapter 9 Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations Closures of Relations (not currently included

More information

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018 57 5. p-adic Numbers 5.1. Motivating examples. We all know that 2 is irrational, so that 2 is not a square in the rational field Q, but that we can

More information

Congruences for combinatorial sequences

Congruences for combinatorial sequences Congruences for combinatorial sequences Eric Rowland Reem Yassawi 2014 February 12 Eric Rowland Congruences for combinatorial sequences 2014 February 12 1 / 36 Outline 1 Algebraic sequences 2 Automatic

More information

ACS2: Decidability Decidability

ACS2: Decidability Decidability Decidability Bernhard Nebel and Christian Becker-Asano 1 Overview An investigation into the solvable/decidable Decidable languages The halting problem (undecidable) 2 Decidable problems? Acceptance problem

More information

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr. Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr. Chapter : Logic Topics:. Statements, Negation, and Compound Statements.2 Truth Tables and Logical Equivalences.3

More information

CSE 105 THEORY OF COMPUTATION. Spring 2018 review class

CSE 105 THEORY OF COMPUTATION. Spring 2018 review class CSE 105 THEORY OF COMPUTATION Spring 2018 review class Today's learning goals Summarize key concepts, ideas, themes from CSE 105. Approach your final exam studying with confidence. Identify areas to focus

More information

COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences. Revision: 1.3

COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences. Revision: 1.3 1 COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences Revision: 1.3 2 Notation for Numbers Definition Integers Z = {... 2, 1, 0, 1, 2,...} Reals R. : R Z floor of x, the greatest integer

More information

Definition: A binary relation R from a set A to a set B is a subset R A B. Example:

Definition: A binary relation R from a set A to a set B is a subset R A B. Example: Chapter 9 1 Binary Relations Definition: A binary relation R from a set A to a set B is a subset R A B. Example: Let A = {0,1,2} and B = {a,b} {(0, a), (0, b), (1,a), (2, b)} is a relation from A to B.

More information

NODIA AND COMPANY. GATE SOLVED PAPER Computer Science Engineering Theory of Computation. Copyright By NODIA & COMPANY

NODIA AND COMPANY. GATE SOLVED PAPER Computer Science Engineering Theory of Computation. Copyright By NODIA & COMPANY No part of this publication may be reproduced or distributed in any form or any means, electronic, mechanical, photocopying, or otherwise without the prior permission of the author. GATE SOLVED PAPER Computer

More information

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel LECTURE NOTES on DISCRETE MATHEMATICS Eusebius Doedel 1 LOGIC Introduction. First we introduce some basic concepts needed in our discussion of logic. These will be covered in more detail later. A set is

More information

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES Notes. x n+ = ax n has the general solution x n = x a n. 2. x n+ = x n + b has the general solution x n = x + (n )b. 3. x n+ = ax n + b (with a ) can be

More information

NOTES ON AUTOMATA. Date: April 29,

NOTES ON AUTOMATA. Date: April 29, NOTES ON AUTOMATA 1. Monoids acting on sets We say that a monoid S with identity element ɛ acts on a set Q if q(st) = (qs)t and qɛ = q. As with groups, if we set s = t whenever qs = qt for all q Q, then

More information

COBHAM S THEOREM AND SUBSTITUTION SUBSHIFTS

COBHAM S THEOREM AND SUBSTITUTION SUBSHIFTS COBHAM S THEOREM AND SUBSTITUTION SUBSHIFTS FABIEN DURAND Abstract. This lecture intends to propose a first contact with subshift dynamical systems through the study of a well known family: the substitution

More information

1 Take-home exam and final exam study guide

1 Take-home exam and final exam study guide Math 215 - Introduction to Advanced Mathematics Fall 2013 1 Take-home exam and final exam study guide 1.1 Problems The following are some problems, some of which will appear on the final exam. 1.1.1 Number

More information

Part IA. Numbers and Sets. Year

Part IA. Numbers and Sets. Year Part IA Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003 2002 2001 2017 19 Paper 4, Section I 1D (a) Show that for all positive integers z and n, either z 2n 0 (mod 3) or

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

Chapter 1. Sets and Numbers

Chapter 1. Sets and Numbers Chapter 1. Sets and Numbers 1. Sets A set is considered to be a collection of objects (elements). If A is a set and x is an element of the set A, we say x is a member of A or x belongs to A, and we write

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

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

The Separating Words Problem

The Separating Words Problem The Separating Words Problem Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada shallit@cs.uwaterloo.ca http://www.cs.uwaterloo.ca/~shallit 1 / 48 An Advertisement

More information

ECARES Université Libre de Bruxelles MATH CAMP Basic Topology

ECARES Université Libre de Bruxelles MATH CAMP Basic Topology ECARES Université Libre de Bruxelles MATH CAMP 03 Basic Topology Marjorie Gassner Contents: - Subsets, Cartesian products, de Morgan laws - Ordered sets, bounds, supremum, infimum - Functions, image, preimage,

More information

SYNTACTICAL AND AUTOMATIC PROPERTIES OF SETS OF POLYNOMIALS OVER FINITE FIELDS

SYNTACTICAL AND AUTOMATIC PROPERTIES OF SETS OF POLYNOMIALS OVER FINITE FIELDS SYNTACTICAL AND AUTOMATIC PROPERTIES OF SETS OF POLYNOMIALS OVER FINITE FIELDS MICHEL RIGO Abstract Syntactical properties of representations of integers in various number systems are well-known and have

More information

On closures of lexicographic star-free languages. E. Ochmański and K. Stawikowska

On closures of lexicographic star-free languages. E. Ochmański and K. Stawikowska On closures of lexicographic star-free languages E. Ochmański and K. Stawikowska Preprint No 7/2005 Version 1, posted on April 19, 2005 On closures of lexicographic star-free languages Edward Ochma ski

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

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS. 4 Functions Before studying functions we will first quickly define a more general idea, namely the notion of a relation. A function turns out to be a special type of relation. Definition: Let S and T be

More information

Automata extended to nominal sets

Automata extended to nominal sets Bachelor thesis Computer Science Radboud University Automata extended to nominal sets Author: Joep Veldhoven s4456556 First supervisor/assessor: Jurriaan Rot jrot@cs.ru.nl Second and third supervisor:

More information

CS 133 : Automata Theory and Computability

CS 133 : Automata Theory and Computability CS 133 : Automata Theory and Computability Lecture Slides 1 Regular Languages and Finite Automata Nestine Hope S. Hernandez Algorithms and Complexity Laboratory Department of Computer Science University

More information

Aperiodic languages and generalizations

Aperiodic languages and generalizations Aperiodic languages and generalizations Lila Kari and Gabriel Thierrin Department of Mathematics University of Western Ontario London, Ontario, N6A 5B7 Canada June 18, 2010 Abstract For every integer k

More information

A Generalization of Cobham s Theorem to Automata over Real Numbers 1

A Generalization of Cobham s Theorem to Automata over Real Numbers 1 A Generalization of Cobham s Theorem to Automata over Real Numbers 1 Bernard Boigelot and Julien Brusten 2 Institut Montefiore, B28 Université de Liège B-4000 Liège Sart-Tilman Belgium Phone: +32-43662970

More information

1.1. MEASURES AND INTEGRALS

1.1. MEASURES AND INTEGRALS CHAPTER 1: MEASURE THEORY In this chapter we define the notion of measure µ on a space, construct integrals on this space, and establish their basic properties under limits. The measure µ(e) will be defined

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

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

Decidable and Expressive Classes of Probabilistic Automata

Decidable and Expressive Classes of Probabilistic Automata Decidable and Expressive Classes of Probabilistic Automata Yue Ben a, Rohit Chadha b, A. Prasad Sistla a, Mahesh Viswanathan c a University of Illinois at Chicago, USA b University of Missouri, USA c University

More information

Iowa State University. Instructor: Alex Roitershtein Summer Exam #1. Solutions. x u = 2 x v

Iowa State University. Instructor: Alex Roitershtein Summer Exam #1. Solutions. x u = 2 x v Math 501 Iowa State University Introduction to Real Analysis Department of Mathematics Instructor: Alex Roitershtein Summer 015 Exam #1 Solutions This is a take-home examination. The exam includes 8 questions.

More information