09.08.2013 Views

Design and Verification of Adaptive Cache Coherence Protocols ...

Design and Verification of Adaptive Cache Coherence Protocols ...

Design and Verification of Adaptive Cache Coherence Protocols ...

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.

is true if <strong>and</strong> only if P (hs2, s3, :::i) is true. Intuitively, \ P " means that \P will be true in<br />

the next term <strong>of</strong> the sequence. Note that this operator cannot appear in liveness speci cations<br />

it can only be used in liveness pro<strong>of</strong>s. In the following theorems, let P , Q , F , G <strong>and</strong> H be<br />

predicates regarding a sequence <strong>of</strong> terms.<br />

Theorem-A: PQ if<br />

(P ^G ) Q <br />

2(P ):Q )<br />

2((:P ^ P ) ) G )<br />

P (s0) ) G (s0) where s0 is the initial term <strong>of</strong> the system.<br />

Pro<strong>of</strong> Let be a sequence <strong>of</strong> terms hs0, s1, s2, :::i where s0 is the initial term. Without<br />

losing generality, we assume 9i 2f0 1:::g P (si). There are two cases:<br />

8j 2 f0 1:::ig P (sj). This implies G (s0) <strong>and</strong> 8j 2 f0 1:::ig :Q (sj). Therefore,<br />

9k 2fi +1i+2:::g Q (sk).<br />

9m 2f0 1:::i; 1g (:P (sm) ^8j 2fm +1:::ig P (sj)). This implies G (sm+1) <strong>and</strong><br />

8j 2fm +1m+2:::ig:Q (sj). Therefore, 9k 2fi +1i+2:::g Q (sk). 2<br />

Theorem-B: P(P ^Q ) if<br />

PQ <br />

2((P ^ :P ) ) Q ).<br />

Pro<strong>of</strong> Let be a sequence <strong>of</strong> terms hs1, s2, :::i. Without losing generality, we assume P (s1).<br />

This implies 9i 2f1 2:::g Q (si). There are two cases:<br />

8j 2f1 2:::ig P (sj). Therefore, P (si) ^ Q (si).<br />

9k 2f1 2:::i; 1g (P (sk) ^:P (sk+1)). This implies P (sk) ^ Q (sk). 2<br />

Theorem-C: (P ^G ^F )((Q ^G ^F )_H ) if<br />

PQ <br />

2((G ^ :G ) ) H )<br />

2((G ^F ) ) F ).<br />

Pro<strong>of</strong> Let be a sequence <strong>of</strong> terms hs1, s2, :::i. Without losing generality, we assume P (s1)<br />

^ G (s1) ^ F (s1). This implies 9i 2f1 2:::g Q (si). There are two cases:<br />

8j 2f1 2:::ig G (sj). This implies 8j 2f1 2:::ig F (sj). Therefore, Q (si) ^ G (si)<br />

^ F (si).<br />

9k 2f1 2:::i; 1g (G (sk) ^:G (sk+1)). This implies H (sk+1). 2<br />

42

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

Saved successfully!

Ooh no, something went wrong!