of poly-slenderness coincides with the one of boundedness. Once more, the result was proved again by Raz [17]. In the case of regular languages, Szila

Size: px
Start display at page:

Download "of poly-slenderness coincides with the one of boundedness. Once more, the result was proved again by Raz [17]. In the case of regular languages, Szila"

Transcription

1 A characterization of poly-slender context-free languages 1 Lucian Ilie 2;3 Grzegorz Rozenberg 4 Arto Salomaa 2 March 30, 2000 Abstract For a non-negative integer k, we say that a language L is k-poly-slender if the number of words of length n in L is of order O(n k ). We give a precise characterization of the k- poly-slender context-free languages. The well-known characterization of the k-poly-slender regular languages is an immediate consequence of ours. Keywords: context-free language, poly-slender language, Dyck loop Introduction An innite sequence (# L (n)) n0 can be associated in a natural way to a language L: # L (n) is the number of words of length n in L. The idea is by no means new; for instance, in the rst ICALP, Berstel [3] considered the notion of the population function of a language L which associates, to every n, the number of words of length at most n in L. The notion of the number of words of the same length is certainly very basic one in language theory and this is why some results have been proved several times. We recall briey in the following the history of such results. When # L (n) is bounded from above by a xed constant, such languages are called semidiscrete in Kunze et al. [11] and slender in Andrasiu et al. [1]. The slender regular languages have been characterized as nite unions of sets of the form uv w in [11] but the result was not well known and it was proved again independently by Paun and Salomaa [16] and Shallit [19]. A similar situation is in the context-free case. The characterization of the slender context-free languages as nite unions of sets of the form fuv n wx n y j n 0g was proved by Latteux and Thierrin [12] (they called such nite unions iterative languages) but, again, the result was not widely known and the same characterization was conjectured in [16] and shown to be true by Ilie [9]. The proof of [9] is completely dierent from the one of [12]. The characterization has been strengthened in [10] where some upper bounds on the lengths of the words u; v; w; x; y are given. The case when # L (n) is bounded by a polynomial (we say L is poly-slender) has been considered by Latteux and Thierrin [13] who proved that for context-free languages the notion 1 This research was partially done during the rst author's visit to Leiden University. 2 Turku Centre for Computer Science TUCS, FIN-20520, Turku, Finland. 3 Research supported by the Academy of Finland, Project On leave of absence from Faculty of Mathematics, University of Bucharest, Str. Academiei 14, R-70109, Bucharest, Romania. 4 Department of Computer Science, Leiden University, P.O.Box 9512, 2300 RA Leiden, The Netherlands and Department of Computer Science, University of Colorado at Boulder, Boulder, CO 80309, U.S.A. 1

2 of poly-slenderness coincides with the one of boundedness. Once more, the result was proved again by Raz [17]. In the case of regular languages, Szilard et al. [20] gave a ne characterization based on the order of the polynomial which bounds # L (n). Besides the above mentioned results, there has been recently a lot of attention devoted to other aspects of slenderness. Some applications of the slender languages to cryptography are shown in [1], Shallit [19] investigated slender regular languages in connection with numeration systems, the slenderness of L-languages has been considered by Dassow et al. [5] and Nishida and Salomaa [15] and Honkala studied in [7] and [8] a generalization of the notion of slenderness, called Parikh slenderness, by considering languages for which the number of words with the same Parikh vector is bounded from above by a constant. In this note, we consider the situation when the degree of the polynomial bounding # L (n) is a xed non-negative integer; the obtained languages are called k-poly-slender. Generalizing the result of [12] and [9], we give a characterization of the k-poly-slender context-free languages. The structure of the Dyck language is the base for the structure of these languages. The corresponding characterization given in [20] for regular languages follows immediately from ours. Poly-slender languages We rst x some notations. For a word w and a letter a, jwj is the length of w, jwj a is the number of occurrences of a in w, and (w) denotes the primitive root of w. The conjugacy relation is denoted ; for two words u; v, u v i u = pq; v = qp, for some p; q. The empty word is denoted by ". For basic notions and results of combinatorics on words and formal languages we refer to [4, 14] and [18], respectively. For a language L, denote # L (n) = card(fw 2 L j jwj = ng); this is referred to as the complexity (function) of L. For an integer k 0, L is called k-poly-slender if # L (n) = O(n k ). L is poly-slender i it is k-poly-slender, for some k 0. A language L is called bounded if there are some words w 1 ; w 2 ; : : : ; w n 2 such that L w 1 w 2 : : : w n. It is clear that the class of poly-slender languages is the same with the class of languages with the population function polynomially limited. Therefore, the characterization theorem of [13] can be written as below (it appears in this form in [17]). Theorem 1 ([13, 17]). A context-free language is poly-slender i it is bounded. Dyck loops Consider the Dyck language of order k; k 1, D k f[ i ; ] i j 1 i kg. D k is generated by S?! SS j [ i S] i j ". Consider also a word z 2 D k with jzj [i = jzj ]i = 1; 1 i k, and some words u i ; v i ; w i 2, where \ f[ i ; ] i j 1 i kg = ;. For any integers n i 0; 1 i k, dene the morphism h n1 ;::: ;n k : ( [ f[ i ; ] i j 1 i kg)?!, by a?! a, for a 2, [ i?! u n i i, ] i?! v n i i, 1 i k. Put z = z 1 z 2 : : : z 2k ; z j 2 f[ i ; ] i j 1 i kg. Then D is a k-dyck loop if, for some u i, v i, w i, z as above, D = fh n1 ;::: ;n k (w 0 z 1 w 1 z 2 w 2 : : : z 2k w 2k ) j n i 0g: (1) 2

3 We shall call z an underlying word of D. (Clearly, z is not unique.) Also, h will stand for h 1;1;::: ;1 and will be called an underlying morphism of D. D is a Dyck loop i it is a k-dyck loop, for some k. Notice that if l < k, then any l-dyck loop is also a k-dyck loop. We give below two examples of Dyck loops which will be used also later. Example 2. For the underlying Dyck word z = [ 1 ] 1 [ 2 [ 3 [ 4 ] 4 [ 5 ] 5 ] 3 [ 6 ] 6 [ 7 ] 7 ] 2, we construct the Dyck loop L 1 = fa 2n 1 (ba) n 1 b(ab) 3n 2 b n 3 b 5n 4 b n 5 a 4n 5 (aba) n 3 b 3n 6 a n 7 b 2n 7 b n 2 j n i 0g: (2) About the underlying morphism we mention only that the images of any of ] 4 and ] 6 are empty. Example 3. The underlying Dyck word for the Dyck-loop L 2 = f(ab) 2n 1 a(ba) 3n 2 aab n 2 b 2n 3 b n 4 aba n 4 a 3n 3 a n 5 a 2n 1 j n i 0g; (3) is z = [ 1 [ 2 ] 2 [ 3 [ 4 ] 4 ] 3 [ 5 ] 5 ] 1 and we assume h(] 5 ) = ". Bounded languages The following result of Ginsburg and Spanier [6] will be essential for our purpose. Theorem 4 ([6]). The family of bounded context-free languages is the smallest family which contains all nite languages and is closed under the following operations: (i) union, (ii) catenation, (iii) (x; y)? L = S n0 xn Ly n, for x; y words. Remark 5. Clearly, Theorem 4 is still valid if, instead of nite languages, one starts from unary languages (that is, languages containing one word only). Moreover, if one starts from unary languages and uses only the operation (ii) and (iii) from Theorem 4, then what is obtained is always a Dyck loop. Conversely, any Dyck loop can be obtained in this way. Indeed, this is clear from the denition of the Dyck loops; the role of the production S?! SS is the same with the one of the catenation and the role of a production S?! [ i S] i is the same with the one of the operation?, in the sense that we use (u i ; v i )? L. Therefore, we get from Theorems 1 and 4 Theorem 6. For a context-free language L, the following assertions are equivalent: (i) L is bounded, (ii) L is poly-slender, (iii) L is a nite union of Dyck loops. Proof. First, (i) and (ii) are equivalent by Theorem 1. Second, (iii) clearly implies any of (i) and (ii). Third, (i) implies (iii) follows from Remark 5 and the distributivity of the catenation and \?" with respect to union. 3

4 Characterization of k-poly-slenderness We prove in this section our main result, that is, the characterization of the k-poly-slender context-free languages. In the case of 0-poly-slender languages, such a characterization was proved in [12] and [9]; using the above notations, the result of [12, 9] is written as Theorem 7 ([12, 9]). A context-free language is 0-poly-slender i it is a nite union of 1-Dyck loops. In what follows, we shall generalize Theorem 7 to Theorem 8. For any k 0, a context-free language is k-poly-slender i it is a nite union of (k + 1)-Dyck loops. Before proving the theorem we need several notions and a lemma. For three words u; w; v such that u and v are non-empty, we say that w links u with v, denoted link(u; w; v), i (u)w = w(v); it means that there are words p and q such that (u) = pq; (v) = qp, and w 2 (pq) p. The idea is that w links u with v when in words of the form u n wv m the period j(u)j is continued over w throughout v m (u n wv m is a prex of (u)! ), that is, one cannot really distinguish w there. Notice that, when w is empty, link(u; "; v) means precisely that u and v are powers of the same word, in accordance with the intuitive meaning of link. The following lemma will be a very useful tool in the proof. Lemma 9. Consider the words x i 2 + ; y i 2, and some non-negative integers n i ; m i. Denote w = y 0 x n 1 1 y 1x n 2 2 y 2 : : : x nr r y r, w 0 = y 0 x m 1 1 y 1x m 2 2 y 2 : : : x mr r y r and assume that link(x i ; y i ; x i+1 ) holds for no i. Then there is a constant N 0, depending only on the lengths of the words x i and y i, such that, if all n i ; m i are larger than N 0 and there is i with n i 6= m i, then w 6= w 0. Proof. We prove that N 0 = 1 (max min jx jy i j ij + 4 max jx i j) is good. Assume w = w 0. Without loss of generality, we may assume n 1 > m 1. If (n 1? m 1 )jx 1 j jy 1 j + jx 1 x 2 j, then, by Fine and Wilf's theorem and the choice of N 0, (x 1 ) (x 2 ) and, if (x 1 ) = pq; (x 2 ) = qp, then y 1 2 (pq) p. This means link(x 1 ; y 1 ; x 2 ), a contradiction. Otherwise, by the choice of N 0, we get, for some s 0, x n 1?m 1 1 y 1 = y 1 (x 2 ) s thus again link(x 1 ; y 1 ; x 2 ), contradicting our assumption. The lemma is proved. Proof of Theorem 8. One implication is obvious. For the other, the basic idea is to do the construction in Theorem 4 in a certain way, that is (roughly), anytime \?" is applied, the highest power of n in the complexity function # L (n) associated with the language L is increased by one and, anytime catenation is applied to two innite languages, the highest exponent in the complexity of the resulting language is the sum of the former two. Let us consider a context-free language L which is k-poly-slender. Then, by Theorem 6, L is a nite union of Dyck loops. If L contains no l-dyck loop with l > k + 1, then we are done. Assume then there is such a loop, say D, and that it has the form in (1) with l instead of k. We may assume, with no loss of generality, that u i v i 6= ", for any 1 i l, as otherwise we have a Dyck loop of smaller order. We shall consider very much in the sequel the links made by w i between the two adjacent images of h, h(z i ) and h(z i+1 ). But those images of h which are empty have no interest for 4

5 the language (this is why link is undened when the rst or the third component is empty) and therefore, for any 1 i 2l? 1, we dene next(i) as the smallest j i + 1 such that h(z j ) 6= ". If there is no link(h(z i ); w i w i+1 : : : w next(i)?1; h(z next(i))), then, by Lemma 9, any two dierent tuples of n i 's (n i 's are all assumed large enough { the complexity order is not aected) give dierent words of D. Therefore, # D (n) 6= O(n l?2 ), which contradicts the fact that L is k-poly-slender. Consequently, there are such links. We then group together the linked powers and apply Lemma 9 to those. In order to make things clear, we dene two relations on the set fi j 1 i 2l; h(z i ) 6= "g. (Recall that the positions i with h(z i ) = " are ignored.) The rst is chain(i; next(i)) i link(h(z i ); w i w i+1 : : : w next(i)?1; h(z next(i))). We say that i and j are in the same chain i ] chain (i; j), where ] chain is the equivalence generated by chain. The second is syst(i; j) i ] chain (i; j) or z i = [ p ; z j =] p, for some 1 p l. We say that i and j are in the same system i ] syst (i; j), where ] syst is the equivalence generated by syst. For the Dyck loop in (2), we have the following classes of ] chain : f1g, f2; 3g, f4; 5; 7g, f8g, f9g, f10g, f12g, f13; 14g and the classes of ] syst (unions of the former ones): f1; 2; 3; 12; 13; 14g, f4; 5; 7; 8; 9g, f10g. We next group together all powers in the same chain. For (2) this means that we write it as L 1 = fa 2n 1 b(ab) n 1+3n 2 b n 3+5n 4 +n 5 a 4n 5 (aba) n 3 b 3n 6 a n 7 b n 2+2n 7 j n i 0g: Now, the application of Lemma 9 gives a dierent result in the sense that the powers in the lemma are no longer single powers of our Dyck loop but linear combinations of those in the same chain. This means for (2) that any new tuple (2n 1 ; n 1 + 3n 2 ; n 3 + 5n 4 + n 5 ; 4n 5 ; n 3 ; 3n 6 ; n 7 ; n 2 + 2n 7 ) (recall that we assume the elements large enough) gives a new word. Incidentally, for (2), we get such a new tuple exactly when the tuple (n i ) 1i7 is new, due to the fact that the three systems corresponding to the classes of ] syst, namely 8 >< >: 2n 1 = 0 n 1 + 3n 2 = 0 n 7 = 0 n 2 + 2n 7 = 0 8 < : n 3 + 5n 4 + n 5 = 0 4n 5 = 0 n 3 = 0 3n6 = 0 have only trivial solutions. (It is worth noticing that the unknowns in the above systems are not the exponents but rather the dierencs of these for two dierent descriptions of the same word.) However, this need not be the case in general. As an example, consider the loop in (3). There are links and we have the classes of chain ] : f1; 2g, f3; 4; 5g, f6; 7; 8; 10g and only one class of syst ] : f1; 2; : : : ; 8; 10g. We write L 2 as L 2 = fa(ba) 2n 1+3n 2 aab n 2+2n 3 +n 4 aba 2n 1+3n 3 +n 4 +n 5 j n i 0g and, because the matrix of the associated system has more columns than rows, the associated system has also non-trivial solutions. Consider then, in the general case, the systems associated with the equivalence classes of syst ], as seen in the above example. (Notice that each system has as many equations as the number of classes of chain ] in the respective class of syst ].) As we noticed, if all such systems 5 (4)

6 have trivial solutions only, then we have the same situation as in the case of no links. Thus, the same contradiction with the k-poly-slenderness of L is obtained. Therefore, there are systems which have also non-trivial solutions. Consider one class of ] syst, say [i 0 ] ] syst such that its associated system, say j=1 a ij n j = 0; for all 1 i s; (5) has also non-trivial solutions. Here s is the number of chains (classes of ] chain ) in [i 0 ] ] syst and t is the number of n i 's involved, that is, the number of pairs [ i ] i involved. Let us show rst that s t + 1. We can view the class [i 0 ] ] syst as a graph with s vertices, which are the chaines, such that two vertices are connected by an edge only if there is a pair [ i ] i connecting them according with the denition of syst ([ i is in one chain and ] i is in the other). As the graph is connected, there are at least s? 1 edges, hence there are at least s? 1 pairs [ i ] i, which means t s? 1. Assume that s = t + 1 (as, e.g., in the rst system in (4)). The matrix of the system A = (a ij ) 1is, has one or two non-zero elements in each column and at least one in each row. 1jt Therefore, there is a row with exactly one non-zero element. The matrix obtained by eliminating the row and the column corresponding to this element has the same properties as A. Inductively, we obtain that rank(a)=t and hence the system (5) has only trivial solutions, a contradiction. Therefore, s t and rank(a) < t. If we denote the columns of A by A i ; 1 i t, then there exists a non-trivial linear dependence of A i 's, say c i A ji = sx d i A ki ; where c i 's and d P i 's are positive integers. Recall that we are interested in the values of the vector t n ia i, for all n i 0. Denote J = fj i j 1 i rg, K = fk i j 1 i sg; we may assume J \ K = ;. We claim that the following equality holds: n n i A i j n i 0 o = r[ n q=1 q i A ji + i62j m i A i + i6=q o m ji (c i A ji ) j m i 0; 0 q i c i? 1 : The inclusion \" is obvious. Let us prove the \" part. Consider some xed (n 1 ; n 2 ; : : : ; n t ) and put, for any 1 i r, n ji = n 0 j i c i + q i, 0 q i c i? 1. Take q; 1 q r, such that n 0 = minfn0 jq j i j 1 i rg. We have then n i A i = = i62j n i A i + q i A ji + i62j[k ((n 0 j i? n 0 jq )c i + q i )A ji + n 0 jq n i A i + sx (n ki + n 0 jq d i)a ki + 6 c i A ji i6=q (n 0 j i? n 0 jq )(c ia ji ) (6)

7 and the inclusion is proved. Now, in any set in the right-hand side of (6) we have essentially combinations of t? 1 vectors instead of t as we had initially, that is, in the left-hand side of (6). But, one A i less means exactly one pair of parentheses less in the underlying Dyck word z. That means, the l-dyck loop we started with can be written as a nite union of (l? 1)-Dyck loops just because l > k + 1. (Precisely, we proved that D can be decomposed as a union of r Q r c i (l? 1)-Dyck loops.) The above reasoning can be iterated, if needed, and therefore concludes the proof. We next give some examples of the construction in the proof of Theorem 8. Example 10. Consider the 5-Dyck loop in (3) which we have already discussed in the proof of Theorem 8. The matrix of the unique associated system is A = A We have the following simple relation between the columns A i ; 1 i 5, of A: A 3 = 2A 4 + A 5. It implies that n 5X o n 5X o n i A i j n i 0 = m i A i j m i 0 which allows us to write L 2 as i6=3 L 2 = fa(ba) 2m 1+3m 2 aab m 2+m 3 aba 2m 1+m 3 +m 4 j m i 0g: The pair of parentheses [ 3 ] 3 disappeared. But L 2 can be still reduced as the new matrix, say B = (B 1 B 2 B 3 B 4 ) = (A 1 A 2 A 4 A 5 ) has still more columns than rows. After noticing the linear combination 3B 1 + 2B 3 = 2B 2 + 8B 4, we get, according with the proof of Theorem 8, n 4X m i B i j m i 0 o = [ 2[ 2[ 1[ 1[ q 1 =0 q 3 =0 q 1 =0 q 3 =0 fq 1 B 1 + q 3 B 3 + p 2 B 2 + p 3 (2B 3 ) + p 4 B 4 j p 2;3;4 0g fq 1 B 1 + q 3 B 3 + p 1 (3B 1 ) + p 2 B 2 + p 4 B 4 j p 1;2;4 0g: Therefore, we obtain the following decomposition of L 2 as a nite union of 3-Dyck loops: L 2 = 2[ 1[ i=0 j=0 L 0 i;j [ 2[ 1[ L 00 i;j i=0 j=0 where, for any 0 i 2; 0 j 1, L 0 i;j = fa(ba)2i (ba) 3p 2 aab j b p 2+2p 3 aba 2i+j a 2p 3+p 4 j p 2;3;4 0g; L 00 i;j = fa(ba)2i (ba) 6p 1+3p 2 aab j b p 2 aba 2i+j a 6p 1+p 4 j p 1;2;4 0g; which cannot be reduced further as # L2 (n) = (n 2 ). 7

8 Example 11. Consider the 4-Dyck loop L 3 = fa n 1 a n 2 ba n 2 a n 3 ba n 3 a n 4 ba n 4 a n 1 j n i 0g: As above, we reduce it to L 3 = fa m 1 a m 2 ba m 2 ba m 4 ba m 4 a m 1 j m 1;2;4 0g [ fa m 2 ba m 2 a m 3 ba m 3 a m 4 ba m 4 j m 2;3;4 0g: We would like to notice that the 3-Dyck loop L 4 = fa n 1 a n 2 ba n 2 a n 3 ba n 3 a n 1 j n i 0g; which is actually very similar with L 2 cannot be reduced. The (essential) dierence is that the columns of the matrix corresponding to L 4 are linearly independent whereas the ones of L 3 are not. Consequences The rst of the consequences of Theorem 8 is the characterization of k-poly-slender regular languages. We say that the k-dyck loop D in (1) is degenerate if, for any 1 i k, at most one of the words u i and v i is non-empty. We get then immediately from Theorem 8 the following result which has been proved in [20]. Corollary 12. For any k 0, a regular language is k-poly-slender i it is a nite union of degenerate (k + 1)-Dyck loops. Consider next, for a language L, the following smoothening of the complexity function # L (n): # L (n) = max 1in # L(i): We have then from Theorem 8 Corollary 13. For any poly-slender context-free language L, there exists a k 0 such that # L (n) = (n k ). This means there is nothing in between integer powers, e.g., there is no context-free language the complexity of which is of order (n 3:4 ), (log n), (n log log n), etc. Acknowledgements We would like to thank the anonymous referees for useful remarks concerning especially the clarity of the proof of Theorem 8 and for pointing out the references [11] and [12]. References [1] Andrasiu, M., J. Dassow, Gh. Paun, and A. Salomaa, Language-theoretic problems arising from Richelieu cryptosystems, Theoret. Comput. Sci. 116 (1993) 339 { 357. [2] Autebert, J.-M., J. Bestel, and L. Boasson, Context-free languages and push-down automata, in G. Rozenberg, A. Salomaa, eds., Handbook of Formal Languages (Springer-Verlag, Berlin, Heidelberg, 1997) 111 {

9 [3] Berstel, J., Sur la densite asymptotique de langages formels, in M. Nivat, ed., Automata, Languages, and Programming (North-Holland, 1972) 345 { 358. [4] Chorut, C., and J. Karhumaki, Combinatorics of Words, in G. Rozenberg, A. Salomaa, eds., Handbook of Formal Languages (Springer-Verlag, Berlin, Heidelberg, 1997) 329 { 438. [5] Dassow, J., G. Paun and A. Salomaa, On thinness and slenderness of L languages, Bull. EATCS 49 (1993) 152{158. [6] Ginsburg, S., and E. H. Spanier, Bounded ALGOL-like languages, Trans. Amer. Math. Soc. 113 (1964) 333 { 368. [7] Honkala, J., On Parikh slender languages and power series, J. Comput. System Sci. 52 (1996) 185 { 190. [8] Honkala, J., Decision problems concerning thiness and slenderness of formal languages, Acta Inform. 35 (1998) 625 { 636. [9] Ilie, L., On a conjecture about slender context-free languages, Theoret. Comput. Sci. 132 (1994) 427 { 434. [10] Ilie, L., On lengths of words in context-free languages, Theoret. Comput. Sci., to appear. [11] Kunze, M., H.J. Shyr, and G. Thierrin, h-bounded and semidiscrete languages, Inform. and Control 51 (1981) 147 { 187. [12] Latteux, M., and G. Thierrin, Semidiscrete context-free languages, Internat. J. Comput. Math. 14 (1983) 3 { 18. [13] Latteux, M., and G. Thierrin, On bounded context-free languages, Elektron. Informtionsverarb. Kybernet. 20 (1984) 3 { 8. [14] Lothaire, M., Combinatorics on Words (Addison-Wesley, Reading, MA., 1983). [15] Nishida, T., and A. Salomaa, Slender 0L languages, Theoret. Comput. Sci. 158 (1996) 161{176. [16] Paun, Gh., and A. Salomaa, Thin and slender languages, Discrete Appl. Math. 61 (1995) 257 { 270. [17] Raz, D., Length considerations in context-free languages, Theoret. Comput. Sci. 183 (1997) 21 { 32. [18] Salomaa, A., Formal Languages (Academic Press, New York, 1973). [19] Shallit, J., Numeration systems, linear recurrences, and regular sets, Inform. and Comput. 113 (1994) 331 { 347. [20] Szilard, A., S. Yu, K. Zhang, and J. Shallit, Characterizing regular languages with polynomial densities, Proc. of the 17th MFCS (Prague 1992) Lecture Notes in Comput. Sci., 629, Springer, Berlin-New York, 1992, 494 {

Note On Parikh slender context-free languages

Note On Parikh slender context-free languages Theoretical Computer Science 255 (2001) 667 677 www.elsevier.com/locate/tcs Note On Parikh slender context-free languages a; b; ; 1 Juha Honkala a Department of Mathematics, University of Turku, FIN-20014

More information

INFORMATIQUE THÉORIQUE ET APPLICATIONS

INFORMATIQUE THÉORIQUE ET APPLICATIONS INFORMATIQUE THÉORIQUE ET APPLICATIONS LUCIAN ILIE GRZEGORZ ROZENBERG ARTO SALOMAA A characterization of poly-slender context-free languages Informatique théorique et applications, tome 34, n o 1 (2000),

More information

Decision Problems Concerning. Prime Words and Languages of the

Decision Problems Concerning. Prime Words and Languages of the Decision Problems Concerning Prime Words and Languages of the PCP Marjo Lipponen Turku Centre for Computer Science TUCS Technical Report No 27 June 1996 ISBN 951-650-783-2 ISSN 1239-1891 Abstract This

More information

Note Watson Crick D0L systems with regular triggers

Note Watson Crick D0L systems with regular triggers Theoretical Computer Science 259 (2001) 689 698 www.elsevier.com/locate/tcs Note Watson Crick D0L systems with regular triggers Juha Honkala a; ;1, Arto Salomaa b a Department of Mathematics, University

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

On the robustness of primitive words

On the robustness of primitive words Discrete Applied Mathematics 117 (2002) 239 252 On the robustness of primitive words Gheorghe Paun a, Nicolae Santean b, Gabriel Thierrin b;, Sheng Yu b a Institute of Mathematics of the Romanian Academy,

More information

The Accepting Power of Finite. Faculty of Mathematics, University of Bucharest. Str. Academiei 14, 70109, Bucharest, ROMANIA

The Accepting Power of Finite. Faculty of Mathematics, University of Bucharest. Str. Academiei 14, 70109, Bucharest, ROMANIA The Accepting Power of Finite Automata Over Groups Victor Mitrana Faculty of Mathematics, University of Bucharest Str. Academiei 14, 70109, Bucharest, ROMANIA Ralf STIEBE Faculty of Computer Science, University

More information

Insertion and Deletion of Words: Determinism and Reversibility

Insertion and Deletion of Words: Determinism and Reversibility Insertion and Deletion of Words: Determinism and Reversibility Lila Kari Academy of Finland and Department of Mathematics University of Turku 20500 Turku Finland Abstract. The paper addresses two problems

More information

Descriptional Complexity of Formal Systems (Draft) Deadline for submissions: April 20, 2009 Final versions: June 18, 2009

Descriptional Complexity of Formal Systems (Draft) Deadline for submissions: April 20, 2009 Final versions: June 18, 2009 DCFS 2009 Descriptional Complexity of Formal Systems (Draft) Deadline for submissions: April 20, 2009 Final versions: June 18, 2009 On the Number of Membranes in Unary P Systems Rudolf Freund (A,B) Andreas

More information

Fine and Wilf s Periodicity on Partial Words and Consequences

Fine and Wilf s Periodicity on Partial Words and Consequences Fine and Wilf s Periodicity on Partial Words and Consequences F. Blanchet-Sadri 1, Kevin Corcoran 2, and Jenell Nyberg 3 1 Department of Computer Science, University of North Carolina, P.O. Box 26170,

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

Properties of Fibonacci languages

Properties of Fibonacci languages Discrete Mathematics 224 (2000) 215 223 www.elsevier.com/locate/disc Properties of Fibonacci languages S.S Yu a;, Yu-Kuang Zhao b a Department of Applied Mathematics, National Chung-Hsing University, Taichung,

More information

Power and size of extended Watson Crick L systems

Power and size of extended Watson Crick L systems Theoretical Computer Science 290 (2003) 1665 1678 www.elsevier.com/locate/tcs Power size of extended Watson Crick L systems Judit Csima a, Erzsebet Csuhaj-Varju b; ;1, Arto Salomaa c a Department of Computer

More information

A shrinking lemma for random forbidding context languages

A shrinking lemma for random forbidding context languages Theoretical Computer Science 237 (2000) 149 158 www.elsevier.com/locate/tcs A shrinking lemma for random forbidding context languages Andries van der Walt a, Sigrid Ewert b; a Department of Mathematics,

More information

On the Equation x k = z k 1 in a Free Semigroup

On the Equation x k = z k 1 in a Free Semigroup On the Equation x k = z k 1 in a Free Semigroup Tero Harju Dirk Nowotka Turku Centre for Computer Science, TUCS, Department of Mathematics, University of Turku 1 zk 2 2 zk n n TUCS Turku Centre for Computer

More information

Independence of certain quantities indicating subword occurrences

Independence of certain quantities indicating subword occurrences Theoretical Computer Science 362 (2006) 222 231 wwwelseviercom/locate/tcs Independence of certain quantities indicating subword occurrences Arto Salomaa Turku Centre for Computer Science, Lemminkäisenkatu

More information

Finite Automata, Palindromes, Powers, and Patterns

Finite Automata, Palindromes, Powers, and Patterns Finite Automata, Palindromes, Powers, and Patterns Terry Anderson, Narad Rampersad, Nicolae Santean, Jeffrey Shallit School of Computer Science University of Waterloo 19 March 2008 Anderson et al. (University

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

Laboratoire d Informatique Fondamentale de Lille

Laboratoire d Informatique Fondamentale de Lille 99{02 Jan. 99 LIFL Laboratoire d Informatique Fondamentale de Lille Publication 99{02 Synchronized Shue and Regular Languages Michel Latteux Yves Roos Janvier 1999 c LIFL USTL UNIVERSITE DES SCIENCES ET

More information

Substitutions, Trajectories and Noisy Channels

Substitutions, Trajectories and Noisy Channels Substitutions, Trajectories and Noisy Channels Lila Kari 1, Stavros Konstantinidis 2, and Petr Sosík 1,3, 1 Department of Computer Science, The University of Western Ontario, London, ON, Canada, N6A 5B7

More information

A Note on the Number of Squares in a Partial Word with One Hole

A Note on the Number of Squares in a Partial Word with One Hole A Note on the Number of Squares in a Partial Word with One Hole F. Blanchet-Sadri 1 Robert Mercaş 2 July 23, 2008 Abstract A well known result of Fraenkel and Simpson states that the number of distinct

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

On Shyr-Yu Theorem 1

On Shyr-Yu Theorem 1 On Shyr-Yu Theorem 1 Pál DÖMÖSI Faculty of Informatics, Debrecen University Debrecen, Egyetem tér 1., H-4032, Hungary e-mail: domosi@inf.unideb.hu and Géza HORVÁTH Institute of Informatics, Debrecen University

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

Theoretical Computer Science. State complexity of basic operations on suffix-free regular languages

Theoretical Computer Science. State complexity of basic operations on suffix-free regular languages Theoretical Computer Science 410 (2009) 2537 2548 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs State complexity of basic operations

More information

Watson-Crick ω-automata. Elena Petre. Turku Centre for Computer Science. TUCS Technical Reports

Watson-Crick ω-automata. Elena Petre. Turku Centre for Computer Science. TUCS Technical Reports Watson-Crick ω-automata Elena Petre Turku Centre for Computer Science TUCS Technical Reports No 475, December 2002 Watson-Crick ω-automata Elena Petre Department of Mathematics, University of Turku and

More information

Binary words containing infinitely many overlaps

Binary words containing infinitely many overlaps Binary words containing infinitely many overlaps arxiv:math/0511425v1 [math.co] 16 Nov 2005 James Currie Department of Mathematics University of Winnipeg Winnipeg, Manitoba R3B 2E9 (Canada) j.currie@uwinnipeg.ca

More information

Languages and monoids with disjunctive identity

Languages and monoids with disjunctive identity Languages and monoids with disjunctive identity Lila Kari and Gabriel Thierrin Department of Mathematics, University of Western Ontario London, Ontario, N6A 5B7 Canada Abstract We show that the syntactic

More information

Solvability of Word Equations Modulo Finite Special And. Conuent String-Rewriting Systems Is Undecidable In General.

Solvability of Word Equations Modulo Finite Special And. Conuent String-Rewriting Systems Is Undecidable In General. Solvability of Word Equations Modulo Finite Special And Conuent String-Rewriting Systems Is Undecidable In General Friedrich Otto Fachbereich Mathematik/Informatik, Universitat GH Kassel 34109 Kassel,

More information

Balance properties of multi-dimensional words

Balance properties of multi-dimensional words Theoretical Computer Science 273 (2002) 197 224 www.elsevier.com/locate/tcs Balance properties of multi-dimensional words Valerie Berthe a;, Robert Tijdeman b a Institut de Mathematiques de Luminy, CNRS-UPR

More information

Insertion operations: closure properties

Insertion operations: closure properties Insertion operations: closure properties Lila Kari Academy of Finland and Mathematics Department 1 Turku University 20 500 Turku, Finland 1 Introduction The basic notions used for specifying languages

More information

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) Contents 1 Vector Spaces 1 1.1 The Formal Denition of a Vector Space.................................. 1 1.2 Subspaces...................................................

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

Elementary 2-Group Character Codes. Abstract. In this correspondence we describe a class of codes over GF (q),

Elementary 2-Group Character Codes. Abstract. In this correspondence we describe a class of codes over GF (q), Elementary 2-Group Character Codes Cunsheng Ding 1, David Kohel 2, and San Ling Abstract In this correspondence we describe a class of codes over GF (q), where q is a power of an odd prime. These codes

More information

Abstract This work is a survey on decidable and undecidable problems in matrix theory. The problems studied are simply formulated, however most of the

Abstract This work is a survey on decidable and undecidable problems in matrix theory. The problems studied are simply formulated, however most of the Decidable and Undecidable Problems in Matrix Theory Vesa Halava University of Turku, Department of Mathematics, FIN-24 Turku, Finland vehalava@utu. Supported by the Academy of Finland under the grant 447

More information

RINGS IN POST ALGEBRAS. 1. Introduction

RINGS IN POST ALGEBRAS. 1. Introduction Acta Math. Univ. Comenianae Vol. LXXVI, 2(2007), pp. 263 272 263 RINGS IN POST ALGEBRAS S. RUDEANU Abstract. Serfati [7] defined a ring structure on every Post algebra. In this paper we determine all the

More information

On the number of occurrences of all short factors in almost all words

On the number of occurrences of all short factors in almost all words Theoretical Computer Science 290 (2003) 2031 2035 www.elsevier.com/locate/tcs Note On the number of occurrences of all short factors in almost all words Ioan Tomescu Faculty of Mathematics, University

More information

Jerey Shallit. Department of Computer Science. University of Waterloo. Waterloo, Ontario N2L 3G1. Canada

Jerey Shallit. Department of Computer Science. University of Waterloo. Waterloo, Ontario N2L 3G1. Canada Characteristic Words as Fixed Points of Homomorphisms Jerey Shallit Department of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada shallit@watdragon.waterloo.edu Abstract. With

More information

One Quantier Will Do in Existential Monadic. Second-Order Logic over Pictures. Oliver Matz. Institut fur Informatik und Praktische Mathematik

One Quantier Will Do in Existential Monadic. Second-Order Logic over Pictures. Oliver Matz. Institut fur Informatik und Praktische Mathematik One Quantier Will Do in Existential Monadic Second-Order Logic over Pictures Oliver Matz Institut fur Informatik und Praktische Mathematik Christian-Albrechts-Universitat Kiel, 24098 Kiel, Germany e-mail:

More information

Combinatorial Interpretations of a Generalization of the Genocchi Numbers

Combinatorial Interpretations of a Generalization of the Genocchi Numbers 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 7 (2004), Article 04.3.6 Combinatorial Interpretations of a Generalization of the Genocchi Numbers Michael Domaratzki Jodrey School of Computer Science

More information

290 J.M. Carnicer, J.M. Pe~na basis (u 1 ; : : : ; u n ) consisting of minimally supported elements, yet also has a basis (v 1 ; : : : ; v n ) which f

290 J.M. Carnicer, J.M. Pe~na basis (u 1 ; : : : ; u n ) consisting of minimally supported elements, yet also has a basis (v 1 ; : : : ; v n ) which f Numer. Math. 67: 289{301 (1994) Numerische Mathematik c Springer-Verlag 1994 Electronic Edition Least supported bases and local linear independence J.M. Carnicer, J.M. Pe~na? Departamento de Matematica

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

Some Operations Preserving Primitivity of Words

Some Operations Preserving Primitivity of Words Some Operations Preserving Primitivity of Words Jürgen Dassow Fakultät für Informatik, Otto-von-Guericke-Universität Magdeburg PSF 4120; D-39016 Magdeburg; Germany Gema M. Martín, Francisco J. Vico Departamento

More information

Parikh s theorem. Håkan Lindqvist

Parikh s theorem. Håkan Lindqvist Parikh s theorem Håkan Lindqvist Abstract This chapter will discuss Parikh s theorem and provide a proof for it. The proof is done by induction over a set of derivation trees, and using the Parikh mappings

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

Locally catenative sequences and Turtle graphics

Locally catenative sequences and Turtle graphics Juhani Karhumäki Svetlana Puzynina Locally catenative sequences and Turtle graphics TUCS Technical Report No 965, January 2010 Locally catenative sequences and Turtle graphics Juhani Karhumäki University

More information

On Chomsky Hierarchy of Palindromic Languages

On Chomsky Hierarchy of Palindromic Languages Acta Cybernetica 22 (2016) 703 713. On Chomsky Hierarchy of Palindromic Languages Pál Dömösi, Szilárd Fazekas, and Masami Ito Abstract The characterization of the structure of palindromic regular and palindromic

More information

Deletion operations: closure properties

Deletion operations: closure properties Deletion operations: closure properties Lila Kari Academy of Finland and Department of Mathematics 1 University of Turku 20500 Turku Finland June 3, 2010 KEY WORDS: right/left quotient, sequential deletion,

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

On the Simplification of HD0L Power Series

On the Simplification of HD0L Power Series Journal of Universal Computer Science, vol. 8, no. 12 (2002), 1040-1046 submitted: 31/10/02, accepted: 26/12/02, appeared: 28/12/02 J.UCS On the Simplification of HD0L Power Series Juha Honkala Department

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

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

A q-matrix Encoding Extending the Parikh Matrix Mapping

A q-matrix Encoding Extending the Parikh Matrix Mapping Proceedings of ICCC 2004, Băile Felix Spa-Oradea, Romania pp 147-153, 2004 A q-matrix Encoding Extending the Parikh Matrix Mapping Ömer Eğecioğlu Abstract: We introduce a generalization of the Parikh mapping

More information

On an algebra related to orbit-counting. Peter J. Cameron. Queen Mary and Westeld College. London E1 4NS U.K. Abstract

On an algebra related to orbit-counting. Peter J. Cameron. Queen Mary and Westeld College. London E1 4NS U.K. Abstract On an algebra related to orbit-counting Peter J. Cameron School of Mathematical Sciences Queen Mary and Westeld College London E1 4NS U.K. Abstract With any permutation group G on an innite set is associated

More information

Primitive partial words

Primitive partial words Discrete Applied Mathematics 148 (2005) 195 213 www.elsevier.com/locate/dam Primitive partial words F. Blanchet-Sadri 1 Department of Mathematical Sciences, University of North Carolina, P.O. Box 26170,

More information

State Complexity of Two Combined Operations: Catenation-Union and Catenation-Intersection

State Complexity of Two Combined Operations: Catenation-Union and Catenation-Intersection International Journal of Foundations of Computer Science c World Scientific Publishing Company State Complexity of Two Combined Operations: Catenation-Union and Catenation-Intersection Bo Cui, Yuan Gao,

More information

Semi-simple Splicing Systems

Semi-simple Splicing Systems Semi-simple Splicing Systems Elizabeth Goode CIS, University of Delaare Neark, DE 19706 goode@mail.eecis.udel.edu Dennis Pixton Mathematics, Binghamton University Binghamton, NY 13902-6000 dennis@math.binghamton.edu

More information

Maximum union-free subfamilies

Maximum union-free subfamilies Maximum union-free subfamilies Jacob Fox Choongbum Lee Benny Sudakov Abstract An old problem of Moser asks: how large of a union-free subfamily does every family of m sets have? A family of sets is called

More information

How to Pop a Deep PDA Matters

How to Pop a Deep PDA Matters How to Pop a Deep PDA Matters Peter Leupold Department of Mathematics, Faculty of Science Kyoto Sangyo University Kyoto 603-8555, Japan email:leupold@cc.kyoto-su.ac.jp Abstract Deep PDA are push-down automata

More information

CERNY CONJECTURE FOR DFA ACCEPTING STAR-FREE LANGUAGES

CERNY CONJECTURE FOR DFA ACCEPTING STAR-FREE LANGUAGES CERNY CONJECTURE FOR DFA ACCEPTING STAR-FREE LANGUAGES A.N. Trahtman? Bar-Ilan University, Dep. of Math. and St., 52900, Ramat Gan, Israel ICALP, Workshop synchr. autom., Turku, Finland, 2004 Abstract.

More information

Product of Finite Maximal p-codes

Product of Finite Maximal p-codes Product of Finite Maximal p-codes Dongyang Long and Weijia Jia Department of Computer Science, City University of Hong Kong Tat Chee Avenue, Kowloon, Hong Kong, People s Republic of China Email: {dylong,wjia}@cs.cityu.edu.hk

More information

A version of for which ZFC can not predict a single bit Robert M. Solovay May 16, Introduction In [2], Chaitin introd

A version of for which ZFC can not predict a single bit Robert M. Solovay May 16, Introduction In [2], Chaitin introd CDMTCS Research Report Series A Version of for which ZFC can not Predict a Single Bit Robert M. Solovay University of California at Berkeley CDMTCS-104 May 1999 Centre for Discrete Mathematics and Theoretical

More information

On the classication of algebras

On the classication of algebras Technische Universität Carolo-Wilhelmina Braunschweig Institut Computational Mathematics On the classication of algebras Morten Wesche September 19, 2016 Introduction Higman (1950) published the papers

More information

arxiv:math/ v1 [math.co] 11 Oct 2002

arxiv:math/ v1 [math.co] 11 Oct 2002 COUNTING THE OCCURRENCES OF GENERALIZED PATTERNS IN WORDS GENERATED BY A MORPHISM arxiv:math/0210170v1 [math.co] 11 Oct 2002 Sergey Kitaev and Toufik Mansour 1 Matematik, Chalmers tekniska högskola och

More information

Periodicity in Rectangular Arrays

Periodicity in Rectangular Arrays Periodicity in Rectangular Arrays arxiv:1602.06915v2 [cs.dm] 1 Jul 2016 Guilhem Gamard LIRMM CNRS, Univ. Montpellier UMR 5506, CC 477 161 rue Ada 34095 Montpellier Cedex 5 France guilhem.gamard@lirmm.fr

More information

(1.) For any subset P S we denote by L(P ) the abelian group of integral relations between elements of P, i.e. L(P ) := ker Z P! span Z P S S : For ea

(1.) For any subset P S we denote by L(P ) the abelian group of integral relations between elements of P, i.e. L(P ) := ker Z P! span Z P S S : For ea Torsion of dierentials on toric varieties Klaus Altmann Institut fur reine Mathematik, Humboldt-Universitat zu Berlin Ziegelstr. 13a, D-10099 Berlin, Germany. E-mail: altmann@mathematik.hu-berlin.de Abstract

More information

The cocycle lattice of binary matroids

The cocycle lattice of binary matroids Published in: Europ. J. Comb. 14 (1993), 241 250. The cocycle lattice of binary matroids László Lovász Eötvös University, Budapest, Hungary, H-1088 Princeton University, Princeton, NJ 08544 Ákos Seress*

More information

TECHNISCHE UNIVERSITÄT DRESDEN. Fakultät Informatik. Technische Berichte Technical Reports. Daniel Kirsten. TUD / FI 98 / 07 - Mai 1998

TECHNISCHE UNIVERSITÄT DRESDEN. Fakultät Informatik. Technische Berichte Technical Reports. Daniel Kirsten. TUD / FI 98 / 07 - Mai 1998 TECHNISCHE UNIVERSITÄT DRESDEN Fakultät Informatik TUD / FI 98 / 07 - Mai 998 Technische Berichte Technical Reports ISSN 430-X Daniel Kirsten Grundlagen der Programmierung Institut für Softwaretechnik

More information

On Locating-Dominating Codes in Binary Hamming Spaces

On Locating-Dominating Codes in Binary Hamming Spaces Discrete Mathematics and Theoretical Computer Science 6, 2004, 265 282 On Locating-Dominating Codes in Binary Hamming Spaces Iiro Honkala and Tero Laihonen and Sanna Ranto Department of Mathematics and

More information

group Jean-Eric Pin and Christophe Reutenauer

group Jean-Eric Pin and Christophe Reutenauer A conjecture on the Hall topology for the free group Jean-Eric Pin and Christophe Reutenauer Abstract The Hall topology for the free group is the coarsest topology such that every group morphism from the

More information

Nordhaus-Gaddum Theorems for k-decompositions

Nordhaus-Gaddum Theorems for k-decompositions Nordhaus-Gaddum Theorems for k-decompositions Western Michigan University October 12, 2011 A Motivating Problem Consider the following problem. An international round-robin sports tournament is held between

More information

On Shuffle Ideals of General Algebras

On Shuffle Ideals of General Algebras Acta Cybernetica 21 (2013) 223 234. On Shuffle Ideals of General Algebras Ville Piirainen Abstract We extend a word language concept called shuffle ideal to general algebras. For this purpose, we introduce

More information

Invertible insertion and deletion operations

Invertible insertion and deletion operations Invertible insertion and deletion operations Lila Kari Academy of Finland and Department of Mathematics 1 University of Turku 20500 Turku Finland Abstract The paper investigates the way in which the property

More information

Note that neither ; nor are syntactic constituents of content models. It is not hard to see that the languages denoted by content models are exactly t

Note that neither ; nor are syntactic constituents of content models. It is not hard to see that the languages denoted by content models are exactly t Unambiguity of Extended Regular Expressions in SGML Document Grammars Anne Bruggemann-Klein Abstract In the Standard Generalized Markup Language (SGML), document types are dened by context-free grammars

More information

A new Cryptosystem based on Formal Language Theory

A new Cryptosystem based on Formal Language Theory A new Cryptosystem based on Formal Language Theory by Mircea Andrasiu, Adrian Atanasiu, Gheorghe Paun, Arto Salomaa Abstract. A classical cryptosystem and a public-key cryptosystem are proposed, based

More information

Counting and Constructing Minimal Spanning Trees. Perrin Wright. Department of Mathematics. Florida State University. Tallahassee, FL

Counting and Constructing Minimal Spanning Trees. Perrin Wright. Department of Mathematics. Florida State University. Tallahassee, FL Counting and Constructing Minimal Spanning Trees Perrin Wright Department of Mathematics Florida State University Tallahassee, FL 32306-3027 Abstract. We revisit the minimal spanning tree problem in order

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

arxiv:math/ v1 [math.co] 10 Oct 2003

arxiv:math/ v1 [math.co] 10 Oct 2003 A Generalization of Repetition Threshold arxiv:math/0101v1 [math.co] 10 Oct 200 Lucian Ilie Department of Computer Science University of Western Ontario London, ON, NA B CANADA ilie@csd.uwo.ca November,

More information

Vector Space Basics. 1 Abstract Vector Spaces. 1. (commutativity of vector addition) u + v = v + u. 2. (associativity of vector addition)

Vector Space Basics. 1 Abstract Vector Spaces. 1. (commutativity of vector addition) u + v = v + u. 2. (associativity of vector addition) Vector Space Basics (Remark: these notes are highly formal and may be a useful reference to some students however I am also posting Ray Heitmann's notes to Canvas for students interested in a direct computational

More information

Mergible States in Large NFA

Mergible States in Large NFA Mergible States in Large NFA Cezar Câmpeanu a Nicolae Sântean b Sheng Yu b a Department of Computer Science and Information Technology University of Prince Edward Island, Charlottetown, PEI C1A 4P3, Canada

More information

RECENT RESULTS IN STURMIAN WORDS 1. LITP, IBP, Universite Pierre et Marie Curie, 4, place Jussieu. F Paris Cedex 05, France

RECENT RESULTS IN STURMIAN WORDS 1. LITP, IBP, Universite Pierre et Marie Curie, 4, place Jussieu. F Paris Cedex 05, France RECENT RESULTS IN STURMIAN WORDS 1 JEAN BERSTEL LITP, IBP, Universite Pierre et Marie Curie, 4, place Jussieu F-75252 Paris Cedex 05, France e-mail: Jean.Berstel@litp.ibp.fr ABSTRACT In this survey paper,

More information

Notes on the matrix exponential

Notes on the matrix exponential Notes on the matrix exponential Erik Wahlén erik.wahlen@math.lu.se February 14, 212 1 Introduction The purpose of these notes is to describe how one can compute the matrix exponential e A when A is not

More information

Analysis on Graphs. Alexander Grigoryan Lecture Notes. University of Bielefeld, WS 2011/12

Analysis on Graphs. Alexander Grigoryan Lecture Notes. University of Bielefeld, WS 2011/12 Analysis on Graphs Alexander Grigoryan Lecture Notes University of Bielefeld, WS 0/ Contents The Laplace operator on graphs 5. The notion of a graph............................. 5. Cayley graphs..................................

More information

DESCRIPTIONAL COMPLEXITY OF NFA OF DIFFERENT AMBIGUITY

DESCRIPTIONAL COMPLEXITY OF NFA OF DIFFERENT AMBIGUITY International Journal of Foundations of Computer Science Vol. 16, No. 5 (2005) 975 984 c World Scientific Publishing Company DESCRIPTIONAL COMPLEXITY OF NFA OF DIFFERENT AMBIGUITY HING LEUNG Department

More information

2 I like to call M the overlapping shue algebra in analogy with the well known shue algebra which is obtained as follows. Let U = ZhU ; U 2 ; : : :i b

2 I like to call M the overlapping shue algebra in analogy with the well known shue algebra which is obtained as follows. Let U = ZhU ; U 2 ; : : :i b The Leibniz-Hopf Algebra and Lyndon Words Michiel Hazewinkel CWI P.O. Box 94079, 090 GB Amsterdam, The Netherlands e-mail: mich@cwi.nl Abstract Let Z denote the free associative algebra ZhZ ; Z2; : : :i

More information

Power of controlled insertion and deletion

Power of controlled insertion and deletion Power of controlled insertion and deletion Lila Kari Academy of Finland and Department of Mathematics 1 University of Turku 20500 Turku Finland Abstract The paper investigates classes of languages obtained

More information

N.G.Bean, D.A.Green and P.G.Taylor. University of Adelaide. Adelaide. Abstract. process of an MMPP/M/1 queue is not a MAP unless the queue is a

N.G.Bean, D.A.Green and P.G.Taylor. University of Adelaide. Adelaide. Abstract. process of an MMPP/M/1 queue is not a MAP unless the queue is a WHEN IS A MAP POISSON N.G.Bean, D.A.Green and P.G.Taylor Department of Applied Mathematics University of Adelaide Adelaide 55 Abstract In a recent paper, Olivier and Walrand (994) claimed that the departure

More information

Economics Bulletin, 2012, Vol. 32 No. 1 pp Introduction. 2. The preliminaries

Economics Bulletin, 2012, Vol. 32 No. 1 pp Introduction. 2. The preliminaries 1. Introduction In this paper we reconsider the problem of axiomatizing scoring rules. Early results on this problem are due to Smith (1973) and Young (1975). They characterized social welfare and social

More information

On the reconstruction of the degree sequence

On the reconstruction of the degree sequence Discrete Mathematics 259 (2002) 293 300 www.elsevier.com/locate/disc Note On the reconstruction of the degree sequence Charles Delorme a, Odile Favaron a, Dieter Rautenbach b;c; ;1 a LRI, Bât. 490, Universite

More information

How Many Holes Can an Unbordered Partial Word Contain?

How Many Holes Can an Unbordered Partial Word Contain? How Many Holes Can an Unbordered Partial Word Contain? F. Blanchet-Sadri 1, Emily Allen, Cameron Byrum 3, and Robert Mercaş 4 1 University of North Carolina, Department of Computer Science, P.O. Box 6170,

More information

A New Shuffle Convolution for Multiple Zeta Values

A New Shuffle Convolution for Multiple Zeta Values January 19, 2004 A New Shuffle Convolution for Multiple Zeta Values Ae Ja Yee 1 yee@math.psu.edu The Pennsylvania State University, Department of Mathematics, University Park, PA 16802 1 Introduction As

More information

THE STRUCTURE OF A RING OF FORMAL SERIES AMS Subject Classification : 13J05, 13J10.

THE STRUCTURE OF A RING OF FORMAL SERIES AMS Subject Classification : 13J05, 13J10. THE STRUCTURE OF A RING OF FORMAL SERIES GHIOCEL GROZA 1, AZEEM HAIDER 2 AND S. M. ALI KHAN 3 If K is a field, by means of a sequence S of elements of K is defined a K-algebra K S [[X]] of formal series

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

ON MINIMAL CONTEXT-FREE INSERTION-DELETION SYSTEMS

ON MINIMAL CONTEXT-FREE INSERTION-DELETION SYSTEMS ON MINIMAL CONTEXT-FREE INSERTION-DELETION SYSTEMS Sergey Verlan LACL, University of Paris XII 61, av. Général de Gaulle, 94010, Créteil, France e-mail: verlan@univ-paris12.fr ABSTRACT We investigate the

More information

State Complexity of Neighbourhoods and Approximate Pattern Matching

State Complexity of Neighbourhoods and Approximate Pattern Matching State Complexity of Neighbourhoods and Approximate Pattern Matching Timothy Ng, David Rappaport, and Kai Salomaa School of Computing, Queen s University, Kingston, Ontario K7L 3N6, Canada {ng, daver, ksalomaa}@cs.queensu.ca

More information

Properties of θ-super positive graphs

Properties of θ-super positive graphs Properties of θ-super positive graphs Cheng Yeaw Ku Department of Mathematics, National University of Singapore, Singapore 117543 matkcy@nus.edu.sg Kok Bin Wong Institute of Mathematical Sciences, University

More information

Math 375 First Exam, Page a) Give an example of a non-abelian group of innite order and one of nite order. (Say which is

Math 375 First Exam, Page a) Give an example of a non-abelian group of innite order and one of nite order. (Say which is Math 375 First Exam, Page 1 1. a) Give an example of a non-abelian group of innite order and one of nite order. (Say which is which.) b) Find the order of each element inu(5), the group of units mod 5.

More information

On Stateless Multicounter Machines

On Stateless Multicounter Machines On Stateless Multicounter Machines Ömer Eğecioğlu and Oscar H. Ibarra Department of Computer Science University of California, Santa Barbara, CA 93106, USA Email: {omer, ibarra}@cs.ucsb.edu Abstract. We

More information

Decidability and Undecidability of Marked PCP Vesa Halava 1, Mika Hirvensalo 2;1?, and Ronald de Wolf 3;4 1 Turku Centre for Computer Science, Lemmink

Decidability and Undecidability of Marked PCP Vesa Halava 1, Mika Hirvensalo 2;1?, and Ronald de Wolf 3;4 1 Turku Centre for Computer Science, Lemmink Decidability and Undecidability of Marked PCP Vesa Halava 1, Mika Hirvensalo 2;1?, and Ronald de Wolf 3;4 1 Turku Centre for Computer Science, Lemminkaisenkatu 14 A, 4th oor, FIN-20520, Turku, Finland,

More information

Rings With Topologies Induced by Spaces of Functions

Rings With Topologies Induced by Spaces of Functions Rings With Topologies Induced by Spaces of Functions Răzvan Gelca April 7, 2006 Abstract: By considering topologies on Noetherian rings that carry the properties of those induced by spaces of functions,

More information