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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

• Let α be a probabilistic trace <strong>in</strong> P. The probability of α start<strong>in</strong>g <strong>in</strong> the state<br />

s is <strong>in</strong>ductively def<strong>in</strong>ed by<br />

Pr ptrace<br />

P (s,α)=<br />

�<br />

1 if α = ɛ,<br />

�<br />

s ′ ∈SP<br />

Pr a P (s, s′ ,µ) · Pr ptrace<br />

P (s ′ ,α ′ ) if α =(a,µ) α ′ .<br />

• Let Pr ptrace<br />

P (α) =Pr ptrace<br />

P (sP,α)(wheresPis the <strong>in</strong>itial state of P) denote<br />

the probability of a probabilistic trace α <strong>in</strong> P.<br />

Def<strong>in</strong>ition 9.26. [CSZ92] Let P, Q ∈ FPP.<br />

P � ptrace Q iff for all probabilistic traces α : Pr ptrace<br />

P<br />

(α) � Pr ptrace<br />

Q (α).<br />

⊓⊔<br />

Note that opposed to Cleaveland et al. we do not allow synchronization over τactions,<br />

so � ptrace is slightly different from the correspond<strong>in</strong>g relation <strong>in</strong> [CSZ92].<br />

Theorem 9.27. [CSZ92] For all fully probabilistic processes P, Q:<br />

P � ptrace QiffP⊑CL Q.<br />

Proof sketch: The idea for prov<strong>in</strong>g ⊑CL ⊆� ptrace is to construct T (α) ∈T fp<br />

τ<br />

from a given probabilistic trace α such that the success probability <strong>in</strong> P�T (α)<br />

(and Q�T (α), respectively) is equal to the probability of α <strong>in</strong> P (and Q, respectively).<br />

The proof of � ptrace ⊆⊑CL relies heavily on the fact that only a subset of all<br />

possible fully probabilistic test processes is necessary to decide whether P ⊑CL Q<br />

or not. These test processes are called essential and an essential test process T<br />

conta<strong>in</strong>s only paths that are successful <strong>in</strong> P�T (and Q�T , respectively) or ”stop”<br />

after one step when reach<strong>in</strong>g success is impossible. For details we refer to the<br />

work of Cleaveland et al. [CSZ92]. Note that the set of essential test processes<br />

of P is still <strong>in</strong>f<strong>in</strong>ite. Thus decid<strong>in</strong>g P ⊑CL Q is not practical. ⊓⊔<br />

Christoff gives a characterization by extended traces for his test<strong>in</strong>g relations<br />

[Chr90]. Bernardo and Cleaveland show that ⊑BC can also be characterized by<br />

such traces [BC00]. This is not surpris<strong>in</strong>g s<strong>in</strong>ce non-probabilistic test processes<br />

(used by Christoff) and Markovian test processes used <strong>in</strong> [BC00] are very similar<br />

and an extended trace ”simulates” <strong>in</strong> fact a non-probabilistic test process. Let<br />

D ′ be the set of all weight functions σ over Actτ with σ(a) ∈{0, 1} for a �= τ<br />

and σ(τ) =0.<br />

Def<strong>in</strong>ition 9.28. An extended trace is a sequence<br />

α =(a1,σ1) (a2,σ2) ...(an,σn), ai ∈ Act,σi ∈D ′ for 1 � i � n.<br />

⊓⊔<br />

Note that we restrict to τ-free extended traces here because for ⊑CH we apply<br />

τ-free test processes and a characterization of ⊑BC <strong>in</strong>clud<strong>in</strong>g test processes that

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

Saved successfully!

Ooh no, something went wrong!