07.01.2013 Views

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

9 Test<strong>in</strong>g Theory for Probabilistic Systems 239<br />

We proceed with the construction of a probability space for sets of paths and<br />

traces of P. We def<strong>in</strong>e the set of outcomes Ω as the set Path(P) conta<strong>in</strong><strong>in</strong>g all<br />

f<strong>in</strong>ite and <strong>in</strong>f<strong>in</strong>ite paths <strong>in</strong> P. Furthermore,letC (α) ⊆ Ω denote the set of all<br />

paths start<strong>in</strong>g with the sequence α (also called a cyl<strong>in</strong>der set) andletC be the<br />

set of all C (α), where α is an alternat<strong>in</strong>g sequence of states and actions. We<br />

def<strong>in</strong>e a probability measure PrP by <strong>in</strong>duction on C as follows.<br />

PrP(C (s0)) = 1 if s0 = sP and 0 otherwise,<br />

PrP(C (s0 a0 s1 a1 ...an−1 sn a ′ s ′ )) =<br />

PrP(C (s0 a0 s1 a1 ...an−1 sn)) · Pr a′<br />

P (sn, s ′ ).<br />

PrP can be extended to a unique probability measure Pr path<br />

P<br />

on σ(C). We briefly<br />

write Pr path<br />

P (α) forPr path<br />

P (C (α)).<br />

We have a similar construction for traces of a fully probabilistic process P. The<br />

set of outcomes is the set of all traces and the σ-algebra σ(C) is built with<br />

cyl<strong>in</strong>der sets of traces. We have for the probability of the cyl<strong>in</strong>der set of all<br />

traces start<strong>in</strong>g with the sequence β ∈ Act ∗ :<br />

Pr ′ P<br />

path<br />

(C (β)) = PrP ({α ∈ Path(P) | β is a prefix of trace(α)}).<br />

to a unique probability<br />

on σ(C). We briefly write Pr trace<br />

P (β) forPr trace<br />

P (C (β)). We call<br />

the trace distribution of P, although �<br />

trace<br />

ω<br />

β∈Act PrP (β) mightbe<br />

(β) =1<strong>in</strong>stead.<br />

Aga<strong>in</strong> it is possible to extend the probability measure Pr ′ P<br />

measure Pr trace<br />

P<br />

Pr trace<br />

P<br />

greater as one. We have � β=trace(α),<br />

α∈Path(P)<br />

Pr trace<br />

P<br />

Example. For the paths α1,α2 <strong>in</strong> Example 9.3.1 (see also Figure 9.1) we have<br />

that<br />

Pr path<br />

P (sP av1au1) =0.5 · 0.2 =0.1,<br />

Pr path<br />

P (sP bv2τ u3) =0.5 · 0.3 =0.15,<br />

Pr trace<br />

P (a a)=0.5 · 0.2+0.5 · 0.8 =0.5,<br />

Pr trace<br />

P (b) =0.5.<br />

9.4 Probabilistic Processes<br />

Probabilistic processes are another basic model for systems with probabilistic<br />

phenomena. Probabilistic processes are the action-labeled extension of Markov<br />

decision processes [Put94] and are also known (sometimes <strong>in</strong> a more general<br />

form) as probabilistic automata [SL94]. Probabilistic processes are more abstract<br />

than fully probabilistic processes because they can represent nondeterm<strong>in</strong>istic<br />

behavior. They comb<strong>in</strong>e model<strong>in</strong>g probabilistic behavior and <strong>in</strong>teraction with<br />

⊓⊔

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!