• Aucun résultat trouvé

Computing probability of Borelian languages

N/A
N/A
Protected

Academic year: 2021

Partager "Computing probability of Borelian languages"

Copied!
13
0
0

Texte intégral

(1)

HAL Id: hal-00834017

https://hal.archives-ouvertes.fr/hal-00834017

Preprint submitted on 14 Jun 2013

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

Computing probability of Borelian languages

Mustapha Arfi, Carla Selmi

To cite this version:

Mustapha Arfi, Carla Selmi. Computing probability of Borelian languages. 2012. �hal-00834017�

(2)

Computing probability of Borelian languages

Arfi M. and Selmi C.,

Abstract: The Kolmogorov extension theorem shows that, for any probability lawπ onA, there exists one and only one probability measure, namely Pπ, on the family of Borelian languages ofAωsuch thatPπ(wAω) =π(w). We give in this paper a method to compute the probability mesure, given by the Kolmogorov extension theorem, of Borelian languages of infinite words on a finite alphabetA. This method becomes effective in the case of rational Borelian languages when the probability law is computable, as in the case of probability law defined by an automaton.

Keywords: Words, infinite words, formal languages, probability, topology.

Introduction

Probability laws (distributions) play an important role in language theory and, in particular, in that of codes [4]. Also called cylindric measures, in the litterature de- voted to the subject, they are in fact defined on finite words over a certain alphabet.

According to Kolmogorov axtension theorem, there exists a one to one correspon- dence between the set of probability distributions and that of probability measures on infinite words over the same alphabet. They can be used in order to study mixed strategies in game theory [1, 2], which will be done in a future paper.

The purpose of this article consists in computing the probability measure of Borelian languages of infinite words. It provides an explicit method allowing to evaluate that of ω-rational languages, by decomposing them in more elementary sets in the Borelian hierarchy.

Our paper is organized in the following way: In Section 1, we recall the basic notions and properties on finite and infinite words, on the topological space of infinite words, on Borelian sets, on measures and probability laws. We state, in Section 2, the Kolmogorov extension theorem to the space of infinite words. In Section 3, we show how to obtain the probability of open and closed sets when the probability law is computable, then we apply these results, in Section 4, to compute the probability of any Borelian language. Finally, in Section 5, we give an effective method to obtain the probability ofω-rational languages.

Normandie Univ, France, UR LITIS F-76821 Mont Saint Aignan, France {mustapha.arfi, carla.selmi}@litislab.eu

(3)

1 Preliminaries

We recall in this section the basic notions and properties on finite and infinite words, on topological space of infinite words, on Borelian sets, on measure and on proba- bility laws.

1.1 Finite and infinite words

A wordis a finite sequence of elements of an alphabet A. We denote by A the set of all words on A. The length of a word w ∈ A, denoted by |w|, is the number of letters of A composing w. The empty word ǫ is the only word of length zero.

We denote byAk the set of all words in A length of which isk. Given two words u, v∈A, we say that u is a prefix of v ifv∈uA

An infinite word onAis an infinite sequencehof elements ofA, which we will write h = h0h1· · ·ht· · ·. We denote by Aω the set of all infinite words on A. Given a word w ∈ A and an infinite word h ∈ Aω, we say that w is a prefix of h if there exists an infinite word h ∈Aω such thath=wh.

IfL is a subset of Aω, we denote by P refk(L) the set of all words that are prefixes of length k of words of L. We set P ref(L) =S

i≥0P refi(L). In the sequel, all the alphabets are supposed to be finite.

1.2 Topology of Aω

We consider on the setAω the distance ddefined as follows:

d(x, y) = (1 +max{|w| |w∈P ref({x})∩P ref({y})})−1

with the convention 1/∞ = 0. Equipped with this distance, Aω is a compact and complete metric space, since A is finite. The reader is referred to [5] for more topological basic definitions. In this reference, a new operator is introduced as follows: for each subsetL⊂A, let

→L ={u∈Aω|u has infinitely many prefixes inL}.

In the same reference, it is shown the following proposition, which we will use in the sequel.

Proposition 1.1 Let L be a subset of Aω

1. L is a closed set if and only if L=−−−−−−→

P ref(L).

2. L is an open set if and only if it is of the form L=XAω, X ⊂A. Further- more, L= (X\XA+)Aω.

3. L is a clopen set if and only if it is of the form L=XAω where X is a finite subset ofA.

(4)

1.3 Borelian sets

LetE be a set. Denote by Xc the complement of a subsetX of E. A family F of subsets ofE is said a σ-algebra if it satisfies the following conditions:

• ∅ ∈ F,

• Xc ∈ F, ∀X∈ F,

• S

n≥0Xn∈ F, for all sequence (Xn)n≥0 of elements ofF.

For each collectionCof subsets ofE, there exists a smallestσ-algebra onEcontainig C which is denoted by σ(C). One says that σ(C) is the σ-algebra generated by C.

IfE is a topological space, it is usual to note B(E) the σ-algebra generated by the collection of open subsets of E. B(E) is called the Borelian σ-algebra of E. Its elements constitute the Borelian sets ofE.

Proposition 1.2 In the case of a metric spaceE, the following statements hold:

• σ(C) =B(E), where C denotes the family of closed subsets of E.

• σ(C) =B(E), where C denotes the family of clopen subsets of E.

1.4 Measures and probability laws

LetE be a set and F be a σ-algebra of subsets of F. We will say that (E,F) is a measureable space. One defines a measure on (E,F) as a mapµ:F −→IR+∪{+∞}

such that : - µ(∅) = 0, - µ(S

n≥0Xn) = P

n≥0µ(Xn), for every pairwise disjoint sequence (Xn)n≥0 of elements ofF.

The second condition is calledσ-additivity.

A probability measure on (E,F) is a measureµ:F −→[0,1] such thatµ(E) = 1.

2 Kolmogorov extension theorem

LetA be a finite alphabet. A probability law on A is a map π :A −→[0,1] such that:

- π(ǫ) = 1, - P

a∈Aπ(wa) =π(w), ∀w∈A.

The second part of the definition is called coherence condition.

Example 2.1 Let A = {a, b} and α ∈ [0,1]. Consider the map π : A −→ [0,1]

given by:

(5)

π(ǫ) = 1, π(a) =α, π(b) = 1−α andπ(wa) =π(w)π(a),∀a∈A,∀w∈A. The mapπ determines a probability law on A, called Bernoulli probability law.

Example 2.2 [4] A probability law on words can be given by a finite automaton in the following way. Let A = hQ, Ai be a finite deterministic automaton on the alphabetA. Letπs be a probability distribution onQ,the set of states ofA. For each state q∈Q, we define a probability distributionπq on the set of edges starting in q.

Thus,

P

q∈Qπs(q) = 1 and P

a∈Aπq(q, a) = 1, ∀q∈Q.

This allows to define a probability law πγ on the set of paths in A. Let c = (q0, a0, q1)(q1, a1, q2). . .(qn, an, qn+1), ai ∈A,∀0 ≤i≤n, qj ∈Q,∀0≤j ≤n+ 1, be a path in A. We set

πγ(c) =πs(q0q0(q0, a0q1(q1, a1). . . πqn(qn, an).

The probability of empty path is one.

This in turn defines a probability lawπ on the set of words on A. Let w∈A. π(w) is the sum ofπγ(c) on all paths c in A with label w.

The probability given by a finite automaton is effectively computable.

Remark 2.3 The Bernoulli law of the Example 2.1 is given by the automaton A= h{1},{(1, a),(1, b)}i withπs(1) = 1, π1(1, a) =α and π1(1, b) = 1−α.

In the sequel, all probability laws will be supposed computable.

Let nowµbe a probability measure onB(Aω). Consider the mapπ:A−→[0,1]

given by π(w) = µ(wAω) forw ∈A. Then we have π(ǫ) = µ(Aω) = 1. Moreover, π satisfies the coherence condition, since:

X

a∈A

π(wa) =X

a∈A

µ(waAω) =µ([

a∈A

waAω) =µ(wAω) =π(w),∀w∈A.

Hence,π is a probability law onA, as defined at the beginning of this section. The converse statement, known as the Kolmogorov extension theorem [4], is given by Theorem 2.4 For any probability law π onA, there exists one and only one prob- ability mesure Pπ on the family of Borelian subsets of Aω such that Pπ(wAω) = π(w), ∀w∈A.

We will say that Pπ is the probability measure associated with the probability law π defined onA.

(6)

3 Computing probability of open and closed sets of A

ω

Letπ:A−→[0,1] be a probability law onA. For each languageL ofA, set π(L) =X

w∈L

π(w).

π defines a map from P(A) into [0,1]. In the sequel, we denote by π a probability law onA and byPπ the probability measure associated with the probability lawπ 3.1 Probability of open sets

We will show how to compute the probability of open sets. We begin with the following proposition.

Proposition 3.1 Let XAω, X ⊂ A, be a an open set of Aω. Then Pπ(XAω) = π(X\XA+).

Proof. Proposition 1.1 implies L = XAω = S

x∈(X\XA+)xAω where the union is disjoint sinceX\XA+is a prefix set. So, we havePπ(L) =P

w∈X\XA+Pπ(wAω). By Theorem 2.4,Pπ(wAω) =π(w) for allw∈Aω. We obtain,Pπ(L) =P

w∈X\XA+π(w)

=π(X\XA+).

We obtain as a corollary of the previuos proposition the following statement:

Corollary 3.2 LetXAω, X⊂A,be a an open set ofAω where X⊂A is a prefix set. Then we havePπ(XAω) =π(X).

We remark that the probability of a clopen setL=XAω is effectively computable since the set X ⊂ A is finite. In Proposition 3.1 we proved that Pπ(XAω) = π(X\XA+). In the following proposition we show how to computeπ(X\XA+) for each X⊂A. We denote byX(n) =X∩An for each X⊂A and for eachn≥0.

Proposition 3.3 Let XAω, X ⊂A, be an open set of Aω. We have:

Pπ(XAω) = limn→∞π(Sn

k=0X(k)An−k).

Proof. We can write XAω =S

n≥0X(n)Aω =S

n≥0(Sn

k=0X(k)Aω). Since the first union is increasing, we havePπ(XAω) = limn→∞Pπ(Sn

k=0X(k)Aω).

Now, we have Sn

k=0X(k)Aω =Sn

k=0(X(k)An−k)Aω = (Sn

k=0X(k)An−k)Aω. So, we obtain Pπ(XAω) = limn→∞Pπ((Sn

k=0X(k)An−k)Aω). Since (Sn

k=0X(k)An−k) is a prefix set, Corollary 3.2 implies thatPπ(XAω) = limn→∞π(Sn

k=0(X(k)An−k)).

(7)

3.2 Probability of intersection of open sets

Now, we are able to compute also the probability of the intersection of open sets. We will use this result in the sequel to compute the probability of rationalω-languages.

Proposition 3.4 Let XAω, Y Aω, X, Y ⊂A be open sets ofAω. We have:

Pπ(XAω∩Y Aω) = lim

n→∞π( [

p+q≤n

(X(p)Aq∩Y(q)Ap)An−p−q)).

Proof.We can write:

XAω∩Y Aω = (S

p≥0X(p)Aω)∩(S

q≥0Y(q)Aω)

= S

p,q≥0(X(p)Aω∩Y(q)Aω)

= S

p,q≥0(X(p)AqAω∩Y(q)ApAω)

= S

p,q≥0(X(p)Aq∩Y(q)Ap)Aω

= (S

p,q≥0X(p)Aq∩Y(q)Ap)Aω

= T Aω

It follows by Proposition 3.3 that Pπ(XAω∩Y Aω) = limn→∞π(Sn

k=0(T(k)An−k)) SinceT(k)=S

p+q=k(X(p)Aq∩Y(q)Ap), we have successively:

Sn

k=0T(k)An−k = Sn k=0(S

p+q=k(X(p)Aq∩Y(q)Ap))An−k

= Sn k=0

S

p+q=k(X(p)Aq∩Y(q)Ap)An−k

= Sn k=0

S

p+q=k(X(p)Aq∩Y(q)Ap)An−p−q

= S

p+q≤n(X(p)Aq∩Y(q)Ap)An−p−q We obtainPπ(XAω∩Y Aω) = limn→∞π(S

p+q≤n((X(p)Aq∩Y(q)Ap)An−p−q)).

3.3 Probability of closed sets

We will show in the sequel how to compute the probability Pπ for a closed set of Aω. We begin by proving the following statement.

Lemma 3.5 For every closed set F of Aω, we have F =T

t≥0P reft(F)Aω. Proof.It is clear thatF ⊂T

t≥0P reft(F)Aω. To establish the opposite inclusion, consider a word h∈T

t≥0P reft(F)Aω. For each t≥0,h admits a prefix of length t in P reft(F). So, h has infinitely many prefixes in P ref(F), then h ∈ −−−−−−→

P ref(F).

SinceF is closed, it verifiesF =−−−−−−→

P ref(F) and thus,h∈F. This Lemma leads to the next result:

Proposition 3.6 For each closed setF of Aω, we have:

Pπ(F) = lim

t→∞π(P reft(F)).

(8)

Proof. By applying the previous lemma, we can writeF =T

t≥0P reft(F)Aω. Since this intersection is a decreasing one, it implies: π(F) = limt→∞Pπ(P reft(F)Aω).

Remark now that P reft(F)Aω is a clopen set and that P reft(F) is a prefix set, for each t ≥ 0. So Pπ(P reft(F)Aω) = π(P reft(F)). Finally, we obtain: π(F) =

limt→∞π(P reft(F)).

Example 3.7 Given a real number α ∈ [0,1], consider the probability law π on A={a, b}defined by: π(ǫ) = 1, π(wa) =α, π(wb) = 1−α, ∀w∈A.LetL=abω+ aω ⊂Aω. Since L=−−−−−−→

P ref(L), L is a closed set. The computation of the languages Lt = P reft(L), for t ≥ 0, leads to the relation: L0 = {ǫ} and Lt+1 = aLt+bt+1 (the proof is left to the reader). So, we obtain on the probability side: π(L0) = 1 and π(Lt+1) =απ(Lt) + (1−α)t+1. A simple proof by induction gives immediately π(Lt) =Pt

i=0αt−i(1−α)i=Pt

i=0αi(1−α)t−i. Suppose nowα≤(1−α), the other case is symetric. It implies thatαi ≤(1−α)i for all i≥0. So, Pt

i=0αi(1−α)t−i≤ Pt

i=0(1−α)t = (t+ 1)(1−α)t. Thus, we have 0≤π(Lt)≤(t+ 1)(1−α)t, which allows us to conclude that π(L) = limt→∞π(Lt) = 0, except for α = 1 where this probability is equal to one.

4 Computing probabilities on B( A

ω

)

The Borelian sets of Aω, as those of any metric space, are organized in the Borel hierarchy defined as follows:

Π0 = Σ0={L⊂Aω |L clopen},∆0 = Σ0 and for alln≥0:

Σn+1 = {S

i≥0Li |Li ∈Πn} Πn+1 = {T

i≥0Li |Li ∈Σn}

n+1 = Σn+1T Πn+1. Moreover, one can also remark that for alln≥0

Πn = {Lc|L∈Σn}.

In the particular case of metric spaces, the Borel hierarchy verifies the following property:

Proposition 4.1 In a metric space, the following inclusions hold:

1 ⊂Σ1 ⊂∆2 ⊂Σ2 ⊂. . .

1⊂Π1 ⊂∆2 ⊂Π2⊂. . .

We have already seen how to compute the probability of a language belonging to the levels 0 and 1 of this hierarchy, To proceed to the computation of the probability for the upper hierarchy levels, we need to establish the following proposition.

Proposition 4.2 For any n≥0,Πn (resp. Σn) is closed under finite union (resp.

finite intersection).

(9)

Proof. We will make it by induction onn only for Πn, the case of Σn is the same if one considers the intersection. We know that any finite union of closed sets is a closed one. Thus, the property holds for n = 0. Suppose now that the property is true at the rank n, Let L, K ∈ Πn. By definition, we obtain: L =T

i≥0Li and K=T

j≥0Kj withLi, Kj ∈Πn, then L∪K = (T

i≥0Li)∪(T

j≥0Lj) =T

i,j≥0(Li∪Kj), Li, Kj ∈Πn.

Since, by induction hypothesis, Πnis closed by finite union, it follows thatLi∪Kj

Πn. So, L∪K∈Πn+1.

The following statement represents an immediate consequence of the previous propo- sition.

Corollary 4.3 Every Borelian languageL of level n >0 can be written as increas- ing countable union or as a decreasing countable intersection of Borelian sets all belonging to the previous level. That is

L=S

i≥0Li or L=T

i≥0Li,

where Li is a Borelian language of level n−1, ∀i≥0. In both cases, we obtain, Pπ(L) = limi→∞Pπ(Li).

4.1 Probability of Fσ and of Gδ

In a topological space, the class Fσ (resp. Gδ) is usually defined as that consisting of all countable unions (resp. intersections) of closed (resp. open) sets. We can even take countable increasing (resp. decreasing) unions (resp. intersections) to build the set of Fσ (resp. Gδ). One can easily notice that the levels Σ2 and Π2 coincide exactly with the families Fσ and Gδ. These classes of Borelian languages are very important beacause, as we see later, one can show that every ω-rational Borelian language can be obtained as a boolean combination of sets belonging to FσS

Gδ. We begin with the following remark:

Remark 4.4 In a metric space, which is the case of Aω, the open (resp. closed) sets are elements ofFσ (resp. Gδ).

Given a probability lawπ onA and a languageLbelonging to Fσ, it becomes now possible to obtain the probability of L. We know that there exists an increasing sequence (Fn)n≥0 of closed sets such that L=S

n≥0Fn. So we have:

Pπ(L) = limn→∞Pπ(Fn), sincePπ is a probability measure onB(Aω).

If we suppose nowL inGδ, there exists a decreasing sequence (On)n≥0 of open sets such thatL=T

n≥0On. The probability of Lis then given by the formula:

Pπ(L) = limn→∞(1−Pπ(Onc)) = 1−limn→∞Pπ(Ocn).

(10)

We give some examples of computation of probability of sets belonging toFσ and Gδ.

Example 4.5 Consider on the alphabetA={a, b}, the languageL=Aaω. Notice that this language is not closed for the usual topology onAωbecausebω∈−−−−−−−→

P ref(Aa)\

Aaω. The language L is exactly the set of infinite words having a finite number of b. The language L belongs to Fσ, since we can write L = S

n≥0Anaω, where Anaω is closed. So: Pπ(L) = limn→∞Pπ(Anaω). The real numbers Pπ(Anaω) = limt→∞π(P reft(Anaω)), for each n≥0, depend on the chosen probability law.

We denote by X(n)=S

p≥nX(p) for each X⊂A and for each n≥0.

Let X ⊂ A. We have −→

X ∈ Gδ since X can be written as an intersection of open sets,

→X =T

n≥0X(n)Aω.

Using Proposition 3.3, we are able to compute the probability of a set of the form

→X , X ⊂A.

Proposition 4.6 Let −→

X ⊂Aω, X ⊂A. The probability of −→

X is given by:

Pπ(−→

X) = limp→∞limq→∞π(Sq

k=p(X(k)Aq−k)).

Proof. We can write −→ X = T

p≥0X(p)Aω and since this intersection is decreasing, we have Pπ(−→

X) = limp→∞Pπ(X(p)Aω). By Proposition 3.3, we obtain:

limp→∞Pπ(X(p)Aω) = limp→∞limq→∞π(Sq

k=0(X(p)(k)Aq−k))

= limp→∞limq→∞π(Sq

k=p(X(k)Aq−k)),

carX(p)(k)=Xk ifk≥p and X(p)(k) =∅otherwise.

We denote byRqp =Sq

k=pX(k)Aq−k, q≥p≥0. So,Pπ(−→

X) = limp→∞limq→∞π(Rqp).

We can compute the setRpq by induction in the following way:

- Rpp =X(p), - Rqp =Sq

k=pX(k)Aq−k=Sq−1

k=pX(k)Aq−kS

X(q)=Rq−1p AS X(q). Example 4.7 In the particular case of the Borelian language −−→

Aa, where A = {a, b}, we have:

- Rpp =X(p) =Ap−1a,

- Rqp =Ap−1(Aq−p+1\ {bq−p+1}).

Letπ be a multiplicative probability law onA and letPπ be the Kolmogorov measure associated to π. The probability of −−→

Aa is given by:

Pπ(−−→

Aa) = limp→∞limq→∞π(Ap−1(Aq−p+1\{bq−p+1})) = 1−limp→∞limq→∞π(bq−p+1).

We note that 1−limp→∞limq→∞π(bq−p+1) is equal to1 if π(b) = 0and it is equal to0 otherwise.

(11)

5 Case of rational Borelian languages

On obtain, as a consequence of the Theorem of MacNaughton [5], the following proposition:

Proposition 5.1 Anyω-rational subset L of Aω is a disjoint union of the form L=S

1≤i≤n(−→ Xi\−→

Yi), where Xi, Yi ⊂A for any 1≤i≤n.

Remark 5.2 The family of ω-rational languages belongs to level three of the Borel hierarchy. In fact, let−→

X ,−→

Y ⊂Aω, X, Y ⊂A. We can write−→ X\−→

Y =−→ X∩(−→

Y)c. As we have −→

X =T

i≥0Li, where Li is an open set for all i≥0 and (−→ Y)c =S

j≥0Mj, where Mi is a closed set for all j≥0,−→

X\−→

Y is a boolean combination of languages in Fσ∪Gδ, that is: −→

X \−→ Y = (T

i≥0Li)T (S

j≥0Mj). Applying Proposition 4.1 and Proposition 4.2, one can see that every ω-rational subset ofAω is included in Σ3. We computed, in Proposition 4.6, the probability of a set inAω of the form −→

X with X ⊂A. The following Proposition shows how to compute the probability of a set in Aω of the form −→

X \−→

Y with X, Y ⊂ A. So the probability of any ω-rational subsetL=S

1≤i≤n(−→ Xi\−→

Yi) is given by Pn

i=1Pπ(−→ Xi\−→

Yi).

Proposition 5.3 Let X, Y ⊂A. We have:

Pπ(−→ X\−→

Y) = limp→∞limq→∞(π(Sq

k=pX(k)Aq−k))−

limp→∞limq→∞(S

s,t≥p,s+t≤q(X(s)At∩Y(t)As)Aq−s−t)).

Proof. We can write−→ X = (−→

X\−→ Y)∪(−→

X∩−→

Y) and, since this union is disjoint, the probability of −→

X is given by Pπ(−→

X) = Pπ(−→ X \−→

Y) +Pπ(−→ X ∩−→

Y). By Proposition 4.6, we obtain:

Pπ(−→ X\−→

Y) = limp→∞limq→∞π(Sq

k=pX(k)Aq−k)−Pπ(−→ X∩−→

Y).

Now, we write:

→X∩−→ Y = (T

t≥0X(t)Aω)∩(T

t≥0Y(t)Aω) =T

p≥0(X(p)Aω∩Y(p)Aω).

Since the intersection onp is decreasing, we obtain:

Pπ(−→ X∩−→

Y) = limp→∞Pπ(X(p)Aω∩Y(p)Aω).

Applying Proposition 3.4, we have:

Pπ(−→ X∩−→

Y) = limp→∞limq→∞π(Sq

k=p(X(k)Aq−k))

= limp→∞limq→∞π(S

s,t≥p,s+t≤q(X(s)At∩Y(t)As)Aq−s−t).

Previous computations give:

(12)

Pπ(−→ X\−→

Y) = limp→∞limq→∞((π(Sq

k=pX(k)Aq−k))−

limp→∞limq→∞(π(S

s,t≥p,s+t≤q(X(s)At∩Y(t)As)Aq−s−t))).

We denote bySpq =S

s,t≥p,s+t≤q(X(s)At∩Y(t)As)Aq−s−t), q≥p≥0, q >0. We can compute the setSpq by induction in the following way:

- Sp2p =X(p)Ap∩Y(p)Ap, - Spq=Spq−1∪(S

s,t≥p,s+t=q(X(s)At∩Y(t)As)Aq−s−t).

Example 5.4 We compute, in this example, the probability of the Borelian language of infinite words on the alphabet A = {a, b} having infinitely many occurrences of the letterabut only a finite number of occurrences of the letterb. It is easy to verify that this language can be write as −−→

Aa\−−→

Ab.

First, we compute the set Spq. We have:

- Sp2p =Ap−1aAp∩Ap−1bAp=∅, - Spq=∅ ∩(S

s,t≥p,s+t=q(As−1aAt∩Yt−1bAs)) =Ap−1T A,

where T = {w ∈ A||w| = q −p + 2,|w|a 6= 0,|w|b 6= 0} = Aq−p+2 \ {aq−p+2, bq−p+2}.

By Proposition 5.3, the probability of −−→

Aa\−−→

Ab is given by:

Pπ(−−→

Aa\−−→

Ab) = limp→∞limq→∞(π(Rqp)−π(Spq))

= limp→∞limq→∞(Rqp)−

= limp→∞limq→∞(π(Ap−1{Aq−p+2\ {aq−p+2, bq−p+2}}A)).

Letπ be a probability multiplicative law onA and letPπ be the Kolmogorov measure associated toπ. Applying the result of the Example 4.7, the probability of −−→

Aa\−−→

Ab is given by:

Pπ(−−→

Aa\−−→

Ab) = limp→∞limq→∞(−π(bq−p+1) +π(aq−p+2) +π(bq−p+2))

= limp→∞limq→∞((π(b)−1)π(bq−p+1) +π(aq−p+2))

= limp→∞limq→∞(−π(a)π(bq−p+1) +π(aq−p+2))

= π(a) limp→∞limq→∞((π(aq−p+1)−π(bq−p+1))).

References

[1] Arfi M., B. Ould M Lemine and C. Selmi, Strategical languages of infinite words, Information Processing Letters,109, (2009), 749-753.

[2] Arfi M., B. Ould M Lemine and C. Selmi, Mixed strategies and closed sets of infinite words, In Proceedings of the Conference Words 2009, 14-18 Septembre 2009, Salerne, Italy.

(13)

[4] M. Lothaire, Applied Combinatorics on Words, Encyclopedia of Mathe- matics and its Applications,105, Cambridge University Press, 2005.

[4] Perrin D., J. Berstel and C. Reutenauer, Codes and automata, Encyclo- pedia of Mathematics and its Applications, 129, Cambridge University Press, 2009.

[5] Perrin D. and J.-´E. Pin, Infinite words, Automata, Semigroups, Logic and Games, Elsevier, Academic Press, 2004.

Références

Documents relatifs

In [6] a related question has been posed for the k-abelian case: Do there exist infinite words such that each factor contains the maximal number, up to a constant, of

In this article we show that we can combine the two types of constraints for the binary alphabet: producing an infinite word whose maximal exponent of its factor is the smallest

unique palindromic extension of p. Let us recall that if w is a left special factor of length n + 1, then its prefix of length n is necessarily left special, too. By reversal

If M is a Mealy machine with n states and x is an ultimately periodic word with pre-period k and period l then the result of transformation of x with the machine M is an

A finite word u is a left special factor of a finite or infinite word w if there exist at least two distinct letters a and b such that both words au and bu occur in w.. Fici [10],

We prove that there exist infinitely many 2-overlap-free binary partial words containing an infinite number of holes.. © 2009

(2006)] about the number of squares in smooth words, we show that the Lyndon factorization of the minimal infinite smooth word is a strictly decreasing sequence of Lyndon words,

Abstract: We deal in this paper with strategical languages of infinite words, that is those generated by a nondeterministic strategy in the sense of game theory.. We first show