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 271<br />

Def<strong>in</strong>ition 9.32. [LS91] Let P be a reactive probabilistic process. An equivalence<br />

relation R⊆SP ×SP is a probabilistic bisimulation iff for all (s, s ′ ) ∈R<br />

we have that<br />

�<br />

v∈E µ s,a (v) =�v∈E<br />

µ s ′ ,a (v) for all E ∈ SP/R, a ∈ Actτ,<br />

where SP/R denotes the quotient space of R.<br />

Two reactive probabilistic processes P, Q are probabilistically bisimilar if<br />

there exists a probabilistic bisimulation R on (SP ∪SQ) such that (sP, sQ)are<strong>in</strong>a<br />

probabilistic bisimulation <strong>in</strong> the probabilistic process (SP ∪SQ, →P ∪→Q, sP) 7 .<br />

We write P ∼ bs Q <strong>in</strong> this case.<br />

⊓⊔<br />

The probabilistic bisimulation extends the standard bisimulation [HM85] for<br />

non-probabilistic processes. It was motivated by a probabilistic modal logic PML<br />

[LS91] that is a probabilistic extension of the Hennessy-Milner logic HML, also<br />

<strong>in</strong>troduced by Hennessy and Milner [HM85]. Two non-probabilistic processes<br />

(probabilistic processes) are bisimilar (probabilistic bisimilar, respectively) if<br />

and only if they satisfy exactly the same HML (PML, respectively) formulas.<br />

For a more detailed discussion about probabilistic bisimulation see the work of<br />

Baier et al. [BHKW03] where also a weak 8 notion of ∼ bs is def<strong>in</strong>ed and where<br />

the relationship between probabilistic (bi-)simulation and probabilistic logics is<br />

exam<strong>in</strong>ed <strong>in</strong> the discrete-time and also <strong>in</strong> the cont<strong>in</strong>uous-time case.<br />

In the follow<strong>in</strong>g, we present a test<strong>in</strong>g approach that is, opposed to the previous<br />

sections, not based on the parallel composition of a test process and a<br />

tested process and it turns out that this approach yields a relation equivalent<br />

to probabilistic bisimulation. Without loss of generality we can assume that<br />

T =(ST , →T , sT ) ∈T np has a tree-like structure, i.e. each t ∈ ST , t �= sT has<br />

exactly one predecessor. We def<strong>in</strong>e a set of observations OT that are produced<br />

if T is applied:<br />

Def<strong>in</strong>ition 9.33. Let OT (s) denotethesetofobservations obta<strong>in</strong>ed from the<br />

state t ∈ ST <strong>in</strong>ductively given by OT (t) ={1ω} if t is term<strong>in</strong>al and<br />

OT (t)=({0a1}∪{1a1 : o | o ∈ OT(t1)}) ×...× ({0an }∪{1an : o | o ∈ OT (tn)})<br />

if t ai<br />

−→T ti, 1� i � n. LetOT = OT(sT ).<br />

⊓⊔<br />

Note that OT is well-def<strong>in</strong>ed s<strong>in</strong>ce test processes are f<strong>in</strong>ite-state, f<strong>in</strong>itely branch<strong>in</strong>g<br />

and acyclic. Intuitively, 1a denotes that action a is observed and 0a that a is<br />

not observed. The observed actions are concatenated with ”:”. The observation<br />

1a : o, for <strong>in</strong>stance, means that a is observed and followed by the observation o.<br />

If the test process branches, the observation is a tuple. For example, 1a :(0a, 1b)<br />

means that first action a is observed and then for the a-branch (<strong>in</strong> T )noaaction<br />

is performed (0a) and for the b-branch a b-action is executed (1b). Of<br />

course, a = b is possible.<br />

7 Without loss of generality we can assume that SP ∩ SQ = ∅.<br />

8 ’’Weak” <strong>in</strong> the sense that τ-actions are treated <strong>in</strong> a special way.

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

Saved successfully!

Ooh no, something went wrong!