• Aucun résultat trouvé

Lazard's Elimination (in traces) is finite-state recognizable

N/A
N/A
Protected

Academic year: 2021

Partager "Lazard's Elimination (in traces) is finite-state recognizable"

Copied!
11
0
0

Texte intégral

(1)

HAL Id: hal-00084721

https://hal.archives-ouvertes.fr/hal-00084721v2

Preprint submitted on 12 Jul 2006

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or

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 établissements d’enseignement et de recherche français ou étrangers, des laboratoires

Lazard’s Elimination (in traces) is finite-state recognizable

Gérard Duchamp, Jean-Gabriel Luque

To cite this version:

Gérard Duchamp, Jean-Gabriel Luque. Lazard’s Elimination (in traces) is finite-state recognizable.

2006. �hal-00084721v2�

(2)

ccsd-00084721, version 2 - 12 Jul 2006

Lazard’s elimination (in traces) is finite-state recognizable

G´erard Duchamp

and Jean-Gabriel Luque

Laboratoire d’Informatique de Paris Nord Universit´e Paris 13 (LIPN UMR 7030 du CNRS),

Avenue J.-B. Cl´ement 93430 Villetaneuse, France [email protected]

Laboratoire d’informatique de l’Institut Gaspard Monge (UMR 8049 IGM-LabInfo ),

Universit´e de Marne-la-Vall´ee, 5, Boulevard Descartes, 775454 Champs-sur-Marne, France

[email protected] July 12, 2006

Abstract

We prove that the codes issued from the elimination of any sub- alphabet in a trace monoid are finite-state recognizable. This implies in particular that the transitive fatorizations of the trace monoids are recognizable by (boolean) finite-state automata.

Keywords: Trace monoid; Lazard’s elimination; automata with multiplicities.

1 Introduction

Sch¨ utzenberger ([8] Chapter 5) introduced the notion of a factorization of a monoid M

M =

Y

i∈I

M

i

(1)

(3)

where (M

i

)

i∈I

is a subfamily of submonoids of the given monoid M . When M = A

is a free monoid, at the both ends of the chain, one has complete factorizations like Lyndon and Hall factorizations [11] and the bisections

|I | = 2 [7].

A nice way to produce factorizations is to start with a bisection M = M

1

M

2

and refine the factors using a uniform process. Doing this, we could obtain a complete factorization for every trace monoid [3]. Trace monoids are defined as follows. Consider an alphabet Σ = {x

1

, · · · , x

n

} and a commutation relation ϑ (i.e. a reflexive and symmetric relation) on Σ. The trace monoid M(Σ, ϑ) is the quotient

M(Σ, ϑ) = Σ

/

ϑ

(2) where ≡

ϑ

is the congruence generated by the relators ab ≡ ba where (a, b) ∈ ϑ.

Later on, we adressed the question of bisecting a trace monoid so that the left factor be generated by a subalphabet (Lazard bisection) and the right factor be a trace monoid [5]. Doing so, we obtained a complete description of the factors and graph-theoretical criteria for the factorization. We conjectured that the trace codes so obtained could be recognized by finite-state automata [5].

In this paper, we prove that the answer to the conjecture is positive.

This will be a consequence of the more general result that if a trace monoid M(Σ, ϑ) is bisected as

M(Σ, ϑ) = L.M(B, ϑ

B

) (3)

with B ⊂ Σ and ϑ

B

= ϑ ∩ (B × B )), then the minimal generating set β(L) of L is recognizable by a finite-state, effectively constructible automaton.

Here, we prove this fact and give the construction of the automaton.

The paper is organised as follows:

In section 2, we recall basic notions related to trace monoids and recog- nizability. In section 3, we prove that the left factor of a Lazard bisection is a recognizable set and we describe the construction of a deterministic au- tomaton recognizing it in section 4. To end with, we explain in section 5 how to construct a deterministic automaton which recognizes the generating set of the left factor of such a bisection.

2 Trace Monoids

Trace monoids were introduced by Cartier and Foata with the purpose of

studying some combinatorial problems linked with rearrangements (see [2]).

(4)

Next, this notion has been studied by Mazurkiewicz and many schools of Computer Sciences in the context of concurrent program schemes (see [9, 10]).

Let x ∈ Σ be a letter and denote Com(x) the set of letters which commute with x

Com(x) = {z|(x, z) ∈ ϑ}. (4)

In particular, one has x ∈ Com(x). Let w ∈ M(Σ, ϑ) be a trace, we will denote

T A(w) = {x ∈ Σ|w = ux, u ∈ M(Σ, ϑ)} (5) the terminal alphabet of w.

As it is shown in [3], Lazard elimination occurs in the context of traces.

Let B be a subalphabet of Σ and ϑ

B

= ϑ∩ (B ×B). The trace monoid splits into two submonoids

M(Σ, ϑ) = L.M(B, ϑ

B

) (6) where L is the submonoid consisting in the traces whose terminal alphabet is a subset of Σ \ B . Furthermore the decomposition is unique, which suggests that the following equality occurs in ZhΣ, ϑi = Z[M(Σ, ϑ)], the algebra of series corresponding to Z[M(Σ, ϑ)] [4]. Thus,

M(Σ, ϑ) = L.M(B, ϑ

B

) (7) where S denotes the characteristic series of a subset S ⊂ M(Σ, ϑ) i.e.

S =

X

w∈S

w ∈ ZhhΣ, ϑii. (8)

Let φ be the natural surjection Σ

→ M(Σ, ϑ), the set of the representative words of a trace t is defined as Rep(t) = φ

−1

(t). We can extend this defini- tion to trace langages Rep(L) = φ

−1

(L) =

St∈L

φ

−1

(t). A trace langage is said recognizable if and only if its representative set is, and we say that an automaton recognizes L if and only if it recognizes Rep(L).

Example 1 Let a and b be two commuting letters, then the set Rep({ab})

is recognized by the automaton

(5)

a b

b a

1 2

3

4

In fact, one can prove that a rational language is a set of representatives (i.e.

it is saturated w.r.t. the congruence ≡

θ

) if and only if the corresponding minimal automaton shows complete squares as above.

We will denote Rec(Σ, ϑ) the set of recognizable sets of traces.

3 Recognizing the left factor

The Z-rationality of the left factor L is a direct consequence of the unicity of the decomposition, which, in term of formal series, reads

M(Σ, ϑ) = L.M(B, ϑ

B

). (9) where S denotes the Z-characteristic series of the set S (i.e. S =

Px∈S

x).

Indeed, by a classical result due to Cartier and Foata ([2] Theorem 2.4) the Z-characteristic series of M(Σ, ϑ) is rational when the alphabet Σ is finite

a

:

M(Σ, ϑ) = 1

X

{a1,...,an}∈Cliques(Σ)

(−1)

n

a

1

· · · a

n

. (10)

where the sum at the denominator is taken over the set Cliques(Σ) of the cliques of Σ (i.e. commutative sub-alphabets). Hence, one obtains the

aThe formula holds also when the alphabet is infinite but the denominator is then a series.

(6)

rational equality

L = 1

X

{a1,...,an}∈Cliques(Σ)

(−1)

n

a

1

· · · a

n

×

X

{b1,...,bn}∈Cliques(B)

(−1)

n

b

1

· · · b

n

(11) Nevertheless, this remark is not sufficient to show that L is recognizable as a language. Furthermore, for traces, one has the strict inclusion Rec(Σ, ϑ) ⊂ Rat(Σ, ϑ). To prove that L is recognizable it suffices to find a construction of Rep(L) using only recognizable operations. For each letter x ∈ Σ, let TN

x

be the set of representative words of traces whose terminal alphabet does not contain x. Remarking that Rep(L) is the representative set of the traces whose terminal alphabet contains no letter of B, one has

Rep(L) =

\

b∈B

TN

b

. (12)

Hence, Rep(L) is recognizable if each TN

b

is. But, one can easily verify that automaton A

b

:

A − {b} Com(b)

b A\Com(b)

1 2

recognizes TN

b

. Thus, we have the proposition

Proposition 1 L is a recognizable submonoid of M (Σ, ϑ).

4 A deterministic automaton for a terminal con- dition

One can compute a deterministic automaton recognizing L generalizing the construction of A

b

. We consider an automaton A

B

= (S

B

, I

B

, F

B

, T

B

) such that:

1. The set S

B

of its states is the set of all the sub-alphabets of B, 2. There a unique initial state I

B

= {∅},

3. There a unique final state F

B

= {∅} = I

B

, 4. The transitions are

T

B

= {(B

, x, ((B

∪ {x}) ∩ Com(x) ∩ B ))}

B⊂B,x∈Σ

.

(7)

One has

Proposition 2 The automaton A

B

is a complete deterministic automaton recognizing Rep(L).

Proof It is straightforward to see that such an automaton is complete and deterministic. Now, let us prove that it recognizes Rep(L). As A

L

is com- plete deterministic, for each word w = a

1

· · · a

n

we can consider a state s

w

which is the state of A

B

after reading w. More precisely, we can define s

w

as s

w

= s

n

in the following chain of transitions

(∅, a

1

, s

1

), (s

1

, a

2

, s

2

), · · · , (s

n−1

, a

n

, s

n

= s

w

). (13) We first prove that if w is a word then s

w

= T A(t

w

) ∩ B where t

w

denotes the trace admitting w as representative word. We use an induction process, considering as starting point: (∅, x, {x} ∩ B ) where x ∈ Σ. Let w = a

1

· · · a

n

be a word of length n, such that s

w

is the intersection between B and the terminal alphabet of trace t

w

. Let a

n+1

∈ σ be an other letter. One has, (s

w

, a

n+1

, s

wan+1

) ∈ T

B

. Hence, the set s

wan+1

is

s

wan+1

= (s

w

∪{a

n+1

})∩Com{a

n+1

}∩B = T A(t

w

a

n+1

)∩B = T A(t

wan+1

)∩B.

(14) This proves our assertion. Then, the set of words w such that s

w

= ∅ is exactly the set of representative words of L.

Example 2 We consider the trace alphabet given by the following commu- tation graph

e d a b

e

If we set B = {a, b}, then L is recognized by the following automaton (in

the figure the only initial state and the only final state is ∅):

(8)

a b

b a

e

c, e, d

c, d

e

a, b c, d, e

a, c, d

b

{a, b}

{a}

{b}

5 A deterministic automaton for the generating set of the left factor

Each submonoid M of a trace monoid has an unique generating set which is the subset G(M) = M\M

2

.

b

In this section, we prove that G(L) is recognizable and we construct an automaton A

β

which recognizes it. The automaton A

β

is obtained from A

B

by adding two states F, H, choosing F as final state instead of ∅ and modifying the transitions in such a way that if a letter of Z = A − B is read, the state reached belongs in F, H and the other states become unreachable.

More precisely, one considers the automaton A

β

= (S

β

, I

β

, F

β

, T

β

) ob- tained from the automaton A

B

= (S

B

, I

B

, F

B

, T

B

) computed in the previous section as follows:

1. The set of its states S

β

, is the set of the sub-alphabets of B plus two states F and H,

2. There is a unique initial state I

β

= {∅}, 3. There is a unique final state F

β

= {F}, 4. The transitions are

T

β

= T

B→B

∪ T

B→F

∪ T

B→H

∪ T

F→H

∪ T

H→H

bThe fact thatG(M) generatesM is straightforward and the unicity comes from that the Z-characteristic series of G(M) is the inverse of theZ-characteristic series of M in ZhhAii.

(9)

where

(a) T

B→B

= {(B

, b, B

′′

)}

B,B′′⊂B,b∈B,(B,b,B′′)∈TB

, (b) T

B→F

= {(B

, z, F )}

(B,z,∅)∈TB,B⊂B,B6=∅,z∈Z

, (c) T

B→H

= {(B

, z, H )}

(B,z,B′′)∈TB,B,B′′6∈{∅,F,H},z∈Z

, (d) T

F→H

= {(F, x, H )}

x∈Σ

,

(e) and T

H→H

= {(H, x, H )}

x∈Σ

.

Proposition 3 The automaton A

β

recognizes Rep(G(L)).

Proof The automaton is almost the same as A

B

. As for A

B

, if a word of B

is read, the automaton is in the state corresponding to its terminal alphabet.

The difference appears when a letter of Z is read, if it is read from the ∅ state the automaton goes to the state F . Consider now a word w = w

z with w

∈ B

+

, z ∈ Z. We denote δ

w

the state of the automaton after reading w (this definition makes sense as, like A

B

, A

β

is deterministic).

Now, if {z} = T A(w

z), then (δ

w

, z, F ) ∈ T

B→F

which means that w is recognized by A

β

, otherwise (δ

w

, z, H ) ∈ T

B→H

and w is not recognized by A

β

. Furthermore, for each z ∈ Z and b ∈ B, δ

wzaw′′

= H (for each w

, w

′′

∈ Σ

). This ends the proof.

Example 3 Consider again the example (2). Then, β is recognized by the automaton

a b

b a

c, d e

c, e, d c, d e

c, d, e

a,b,c, d,e

a, b a

b

a, b, c, d, e

{a, b}

{a}

{b}

F H

(10)

6 Conclusion

The factorisations of free monoids (or in a more general setting of a monoid constructed by generators and relations) is a relevant topic in the context of the theory of codes [1]. Lazard bisections, or more generally rational bisections [7], play a role in the construction of bases of free Lie algebras [11] and the study of circular codes [1, 11]. A natural question asks if it is possible to generalize these properties to other monoids in particular when the free module over these monoids can be endowed with a shuffle coproduct [6]. The results contained in the paper consist in a step in the study of these problems for the trace monoids. The role played by the Lazard bisections in this context is not still completely known (see [3, 5] for some results).

References

[1] J. Berstel and D. Perrin , Theory of codes (Pure and applied Math- ematics Acad. Press. Inc., 1995).

[2] P. Cartier and D. Foata, Probl` emes combinatoires de commutation et r´ earrangements, Lect. Not. In Math., 85 (1969).

[3] G. Duchamp and D. Krob , Factorisations dans le mono¨ıde partielle- ment Commutatif libre, C.R. Acad. Sci. Paris, 312, s´erie I (1991), 189-192.

[4] Duchamp G., Krob D., Combinatorics on traces, Ch II du ”Book of traces” (Ed. G. Rozenberg, V. Dieckert), World Scientific (1995).

[5] G. Duchamp and J.-G. Luque, Transitive factorisations of partially Commutative free monoids and Lie algebras., Discrete Math., 246 (2002).

[6] G. Duchamp and J.G. Luque, Congruences compatible with the shuf- fle product, proceeding of Formal Power series and algebraic combi- natorics FPSAC’00, Moscow, 2000

[7] G. Duchamp and J.-Y. Thibon, Bisections reconnaissables, Theo- retical Informatics and Applications, 22 (1988), 113-128, (Gauthiers- Villars).

[8] N. Lothaire, Combinatorics on words, Cambridge University Press

(1997).

(11)

[9] A. Mazurkievicz, Concurrent program schemes and their interpreta- tion, (DAIMI Rep., PB 78, Aarhus University, 1977).

[10] A. Mazurkievicz, Traces, histories and graph: instances of process monoid, Lect. Not. in Comp. Sci., 176, 115-133 (1984).

[11] C. Reutenauer, Free Lie Algebras (Oxford University Press, New- York, 1993)

[12] G. Rozenberg, V. Dieckert, The Book of traces (World Scientific ,1995).

[13] G.X. Viennot. Heaps of pieces, Lect. Notes in Math., 1234 (1986),

321-350.

Références

Documents relatifs

T is the address of the current subterm (which is not closed, in general) : it is, therefore, an instruction pointer which runs along the term to be performed ; E is the

Abstract—This article presents a detailed description of an algorithm for the automatic detection of the mid-sagittal plane in three-dimensional (3–D) brain images.. The algorithm

For specific requests about statistical resources and databases, you can address to the documentalist responsible for the document collection, which is in an

As in [4], we denote Q f a measure such that under Q f the distribution of the full point process restricted to (−∞, 0] is identical to the distribution under P f and such that on

We will use the idea of Bakry and Emery [1] to give a notion of a ”lower Ricci curvature bound” on graphs and to prove that Ricci curvature on Locally finite graphs is always

First introduced by Faddeev and Kashaev [7, 9], the quantum dilogarithm G b (x) and its variants S b (x) and g b (x) play a crucial role in the study of positive representations

For example, he proved independently that two completely regular spaces X and Y have homeomorphic realcompactifications νX and νY whenever there is a biseparating linear maps from

The second mentioned author would like to thank James Cogdell for helpful conversation on their previous results when he was visiting Ohio State University.. The authors also would