• Aucun résultat trouvé

A note on equal powers of word morphisms

N/A
N/A
Protected

Academic year: 2022

Partager "A note on equal powers of word morphisms"

Copied!
6
0
0

Texte intégral

(1)

RAIRO. I NFORMATIQUE THÉORIQUE

K. R UOHONEN

A note on equal powers of word morphisms

RAIRO. Informatique théorique, tome 11, no3 (1977), p. 207-211

<http://www.numdam.org/item?id=ITA_1977__11_3_207_0>

© AFCET, 1977, tous droits réservés.

L’accès aux archives de la revue « RAIRO. Informatique théorique » im- plique l’accord avec les conditions générales d’utilisation (http://www.numdam.

org/conditions). Toute utilisation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit contenir la présente mention de copyright.

Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques

http://www.numdam.org/

(2)

(vol. 11, nc 3, 1977 p. 207 à 211).

A NOTE ON EQUAL POWERS OF WORD MORPHISMS (*)

by K. RUOHONEN (!)

Communicated by J. Berstel

Abstract. — It is shown to be decidable of any given two word endomorphisms with nonsingular Parikh matrices whether or not they have common positive composite powers.

INTRODUCTION

We report hère some progress towards a positive solution of the following decidability problem. Is there an algorithm which, given any two endomorphisms ex and e2 on a fmitely generated free monoid (word monoid), décides whether or not e\ = e\ for some n > 0 (hère e" dénotes the n-fold composition of e-) ? We show that such an algorithm exists if we restrict ourselves to endomorphisms with nonsingular Parikh matrices (these are special kind of monomorphisms, see Theorem 2 .6 in Ruohonen [4]). Our main tools are certain combinatorial word mappings introduced in Ruohonen [4].

NOTATION

The free monoid generated by a finite set (alphabet) A is denoted by A*. The length of a word P e A* is denoted by |P|. By [P] we dénote the Parikh vector of PeA* which we get by listing the numbers of occurrences of symbols of A in Pin some preassigned order. The Parikh matrix of an endomorphism e on A*

is then £ [^]r[^(«)] where T dénotes transpose. The cardinality of A is

aeA

denoted by #A.

RESULTS

We begin with a theorem on equal powers of integer matrices.

THEOREM 1 : It is decidable, given arbitrary two n x n-matrices M and L with integer entries, whether or not there exists an m > 0 such that Mm = Lm.

(•) Received September 1976, Revised Nov. 1976.

0) Mathematics Department, University of Turku, Finland.

(3)

2 0 8 K. RUOHONEN

Proof : Let M = (m0) and L = (/0). If Mm = Lm then also Mkm = UT for all /c > 0. Thus, if Mm = Lm and m > 0 is the smallest number satisfying this relation, the séquences

(1) rf> = [_(mn, . . . min)M' - (ln,..., lin)L^e} (t > 0 ) ,

where ej is an n-column vector the only nonzero entry of which is the ƒh one which has the value 1, have infinitely many common zero terms with period m, the first such zero term being the mth one. Let M ® L be the direct product of M and L. Then, by the Cayley-Hamilton Theorem, each of the n2 séquences in (1) is governed by the linear récurrence équation q{E)r{(] = 0 (t ^ 0) where q is the characteristic polynomial of M (g) L and E is the operator (operating on number theoretic functions) given by (Ef )(t) = f(t + 1 ) .

Since, as is well known, every set of nonnegative integers which is closed under addition is a finite union of arithmetic progressions we have

{ t\ r# = 0 } = (Q { gs + Mf | s > 0 } \ u FtJ

for some g > 1, utJ ^ 1, b\f ^ 0 and some set Ftj. We may assume that g and Ftj are the smallest possible. Then (cf. the proof of Theorem 2 in Berstel &

Mignotte [1])

where y is the number of zero eigen values of M ® L. Furthermore (Proposition 1 in Berstel & Mignotte [1]) g divides

h = l.c.m. { degree(s) | s is a primitive root of unity expressible as a quotient of two eigenvalues of M (x) L }.

We see that to check whether or not Mm = Lm for some m ^ 1 it suffices to do this for m = 1, . . . , y + h whence the theorem follows. (A more explicit bound is given by e.g.

h < exp(4(2n - y) v/l01og(2n - y));

Corollary to Theorem 1 in Berstel & Mignotte [1].)D

REMARK 1 : In the sequel we use Theorem 1 only for nonsingular M and L. In this case it suffices to check whether or not Mm = Lm for some 1 ^ m ^ h as is seen.

LEMMA 1 : Let OLl9 . . . , oc„ be real numbers and

S = ( atZ + . . . + anZ) n Q

where Z is the set of integers and Q is the set of rationals. Then there exists a positive integer q such that qx e Z for ail x e S.

vol. 11, n° 3, 1977.

(4)

Proof : The set S is a submodule of the finitely generated Z-module axZ + . . . + a„Z. Thus S is a finitely generated Z-module and the lemma follows when we take q to be a common denominator of some numbers generating S. •

For our main resuit we recall some of our earlier results in Ruohonen [4].

Let A be a finite alphabet. Then there is a séquence Qt : A* -> NPi (i ^ 0) of mappings, where p. = #A + . .. + #Ai + 19 such that P = Q whenever Q.(p) = Q.(Q)and2j ^ |P|, \Q\ (hère N dénotes the set ofnonnegativeintegers).

Especially, 0O is the Parikh mapping, i.e. 0O(P) = [ P ] . Moreover, for each endomorphism e on A* there exists a séquence (F;) of integer matrices such that

(i) Ff is of size pt x pt ;

(ii) et(e(P)) = ^ ( P ^ f o r a l l P e ^ * ; (iii) Fo equals the Parikh matrix of e\

rr x) /

where F<;+ 1 )isthe

O T-(i+l) / ~ O

(i + 1 )st Kronecker power of Fo, F t + x is an integer matrix and 0 is a zero matrix of appropriate size ;

(v) for each a e A, dt(e(a)) appears as a (fixed) row in Ft.

By (v) F; completely détermines e for 2i ^ max { \e(a)\ }.By (iii)and (iv)the

aeA

u

eigen values of FjConsist of all products of the form Y\ Yj? where 1 ^ u < i + 1 and jj are eigenvalues of Fo. We will not give here the somewhat complicated définition of 0; but refer instead to Ruohonen [4]. It should be stressed that 0f as well as Ft can be effectively obtained.

THEOREM 2 : It is decidable, given arbitrary two endomorphisms ex and e2

on A* with nonsingular Parikh matrices, whetheror not there exists an n > Osuch that e\ = e2.

Proof : Let (F^) and (A^) be the matrix séquences corresponding to ex and e2, respectively, as described above. For any quotient — where a and P =# 0 are eigenvalues of F,. ® At, the argument of — is a linear combination of arguments of eigenvalues of Fo ® Ao with nonnegative integer coefficients. It follows from Lemma 1 that the nondecreasing séquence (cf) where ct is the l.c.m. of the degrees of primitive roots of unity expressible as quotients of eigenvalues of F,- ® A; is bounded. Let c = max { c0, cx, . . . }.

R.A.I.R.O. Informatique théorique/Theoretical Computer Science

(5)

210 K. RUOHONEN

Assume that for each i ^ 0 there exists an nt > 0 such that r?.- = AJ*. By Remark 1 we may assume that the séquence (nt) is bounded, indeed we may assume that nt ^ c for i ^ 0. Let

2i > max { \e\(a% \e\{a)\ } .

aeA

Since Tf = Ast for some s ^ c and Tst and A- completely détermine e\ and e^ it must be the case that é[ = e|. Thus there exist numbers nt > 0 such that T"1 = À"1 if and only if there exists a number s > 0 such that e\ = e^ (the reverse implication is of course trivial by (ii)). Our décision algorithm now works as shown in the foliowing flow diagram.

'ANSWER : YES

( STOP NO /ANSWER :

NO

The décision in I is trivial. The décision in II can be done by Theorem l . D In the above proof we do not need the effective calculability of the bound e, only its existence guaranteed by the ineffective Lemma 1. Using field theory we obtain further information (e.g. effective calculability) of such a bound. Indeed, let K be the field which we get by adjoining the eigenvalues of Fo ® Ao to Q.

Then the degree \_K : Q] does not exceed (2 # A)\. The eigenvalues of Vt ® Af are in K as well as their quotients. If K contains a primitive root of unity of degree r, then cp(r) divides \_K : Q] and thus cp(r) ^ (2 #.4)! (here 9 is Euler's totient function). (See e.g. Borevich & Shafarevich [2].) Hence c can be replaced by d which is the largest number such that q>(d) ^ (2 # A)\.

Such a number exists, we have e.g.

q>(n) > : (n > 3) log log n

for some positive constant b (see Theorem 6-26 in Le Veque [3]). However, these numbers are large and grow rapidly with respect to # A, for instance, for # A = 2 we have d = 90.

vol. 11, n° 3, 1977.

(6)

REMARK 2 : A generalization of our methods to prove the above kind of results for endomorphisms (or even monomorphisms) with singular Parikh matrices does not seem to be expectable. For instance, let the monomorphisms e± and e2 on { a, b }* be given by

ex(a) = ab , ex(b) = ba , e2(a) = ba , e2(b) = ab.

The common Parikh matrix of these monomorphisms is ( J the eigen values of which are 0 and 2. If our above results were to extend to this case then e\ #= en2

for n > 0 since el =j= e2 and the eigenvalues are nonnegative. However, e\ = el

Acknowledgement : I would like thank an anonymous référée for his comments which helped to simplify an earlier version of this note.

REFERENCES

1. J. BERSTEL et M. MIGNOTTE, Deux propriétés décidables des suites récurrentes linéaires, Bulletin de la Société Mathématique de France, 104, 1976, 175-184.

2. Z. I. BOREVICH and I. R. SHAFAREVICH, Number Theory, Academie Press, New York

& London, 1966.

3. W. J. LE VEQUE, Topics in Number Theory / , Addison-Wesley Publ. Co., Reading, Mass., 1956.

4. K. RUOHONEN, Some combinatorial mappings of words. Annales Academiae Scientiarum Fennicae, Series A.I., Mathematicae, Dissertationes, 9, 1976.

R.A.I.R.O. Informatique théorique/Theoretical Computer Science

Références

Documents relatifs

We tested for two additional contrasts an- alyzed by Smolka et al.: the difference in priming strength between Transparent and Opaque Deriva- tion (not significant in either

Unité de recherche INRIA Rocquencourt, Domaine de Voluceau, Rocquencourt, BP 105, 78153 LE CHESNAY Cedex Unité de recherche INRIA Sophia-Antipolis, 2004 route des Lucioles, BP 93,

To get a conditional proof of the conjecture we need to assume a stronger hypothesis about the behaviour of Selberg's integral in short intervals, see D.. This paper concerns with

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

The aim of the present study was first to examine the effect of acute STN stimulation on different VF tasks, phonemic, alternating/switching, and cued switching, and second to determine

In section 3 we define a new operator for action negation therefore give arise to a new dynamic logic.. In Section 4 we apply the new logic to the

– The second is that the acceptable preva- lence (i.e., the maximum prevalence rate of the disease that one accepts to detect with a confidence lower than a given threshold, e.g. 95

The idea for proving Theorem 1.1 is as follows: We show first that all inequalities of Theorem 1.1 hold and that they correspond to facets of P(p e , d).. Section 3 contains the