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

We call a path successful if its last state is a success state. We are apply<strong>in</strong>g<br />

elements of T np<br />

τ here but it is easy to see that the set of test processes can be<br />

reduced to τ-free test processes without loss of expressiveness. The follow<strong>in</strong>g<br />

steps show how to delete τ-transitions <strong>in</strong> test processes.<br />

• Fix T =(ST , →T , sT ) ∈T np<br />

τ<br />

with a set A of success states and assume<br />

without loss of generality that T has a tree-like structure, i.e. every state<br />

t �= sT has exactly one predecessor.<br />

• We def<strong>in</strong>e prec : ST → ST <strong>in</strong>ductively by<br />

⎧<br />

⎪⎨<br />

sT if s = sT ,<br />

prec(s) =<br />

⎪⎩<br />

s if ∃ s ′ : s ′ a −→T s, a �= τ,<br />

prec(s ′ ) if s ′ a −→T s implies a = τ.<br />

Note that prec(s) is constructed such that s can be reached from prec(s)<br />

with a sequence of <strong>in</strong>ternal moves.<br />

• Let RMτ(T )=({s ∈ ST |∃s ′ : s = prec(s ′ )}, →, sT ) ∈T np be a nonprobabilistic<br />

test process where → is such that<br />

prec(s) a −→ s ′ iff a �= τ and s a −→T s ′ .<br />

Let A ′ = {prec(s) | s ∈A}be the set of success states of RMτ(T ).<br />

Intuitively speak<strong>in</strong>g, RMτ (T )istheτ-free copy of T .<br />

Proposition 9.21. Let C ∈ NP and T ∈T np<br />

τ .<br />

C may T iff C may RMτ(T ),<br />

C must T iff C must RMτ(T ).<br />

Informally speak<strong>in</strong>g, for each path α <strong>in</strong> C �T there is a correspond<strong>in</strong>g path α ′<br />

<strong>in</strong> the process C �RMτ (T ) such that the RMτ(T )-part of α ′ is the τ-free copy of<br />

the T -part of α. In our sett<strong>in</strong>g, remov<strong>in</strong>g τ-transitions <strong>in</strong> non-probabilistic test<br />

processes does not change the relation ⊑DH . So we apply the set T np <strong>in</strong>stead of<br />

for ⊑DH and the result<strong>in</strong>g relations co<strong>in</strong>cide.<br />

T np<br />

τ<br />

T np can be decreased to T np,re by ”splitt<strong>in</strong>g” a test process <strong>in</strong> several ”reactive”<br />

ones:<br />

For T =(ST , →T , sT ) ∈Tnp with set of success states A let RMnd (T ) ⊆Tnp,re be the set of all test processes T ′ =(S, →, sT )where<br />

•→is a largest subset of →T with<br />

s a −→ s ′ , s a −→ s ′′ ⇒ s ′ = s ′′ ,<br />

• S is the set of all states <strong>in</strong> the process (ST , →, sT ) reachable from sT and<br />

•A ′ = A∩S is the set of success states of T ′ .

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

Saved successfully!

Ooh no, something went wrong!