• Ingen resultater fundet

From Γ-equivalence to iso-δ-bisimilarity

The key observation underlying this result is that any winning strategy in the backtracking game Γ(X, X0) maintains isomorphisms between ob servations of the two systems.

Lemma B.14 A winning strategy σ in Γ(X, X0) respects iso in the sense that if t,t¯0) is a play respecting σ, then ¯t isot¯0.

Proof Assume towards contradiction that there are playstt,t¯0t0) respect-ing σ such that ¬tt iso t¯0t0). Choose p,tt,¯ t¯0t0 with this property and such that ¯tt is of minimal length with that property. Since every play respects length and labels, there are sequences ∈ω such that

iπ•¯ttdefined & iπ•t¯0t0 undefined (4) (or vice versa). Choose of minimal length with this property. Then, furthermore,

B PROOFS FROM SECTION 3 32

π•¯ttdefined & π•¯t0t0 defined. (5) Suppose |¯tt|=n and write

π•¯tt=r0r1· · ·riri+1· · ·rn1 and (6) π•t¯0t0 =r00r10 · · ·ri0ri+10 · · ·rn01.

where, by (4) and (5), riIri+1 and ¬(r0iIri+10 ).

We will now argue that in (6),i=n−2, meaning thatri+1 and r0i+1 are the last transitions. Assume towards contradiction that i < n 2 and let k be such that hπ,¯tti(k) = n−1 and hence hπ,t¯0t0i(k) = n−1. Then, by Lemma B.4, (¯tt)k is backwards enabled in ¯ttmaking it possible for Opponent to do the backwards move

tt,t¯0t0)(k, δ(k,¯tt),t¯0t0).

Since σ is winning, Player is able match this move, and we end up in (δ(k,¯tt), δ(k,t¯0t0)). Now, since ¯tt was chosen minimal, we see that δ(k,¯tt) iso δ(k,t¯0t0). Since ri I ri+1 and ¬(ri I ri+1), the only values of s for which δ(s,¯r) isoδ(s,r¯0) can be true, are i and i+ 1. By Corollary B.8, δ(n−1,r)¯ isoδ(n−1,r¯0), so we conclude thatn−1∈i, i+ 1. Butn−1 = icontradicts i+ 1 being a legal index of ¯r. Hence,n−1 =i+ 1 or, equivalently,i=n−2.

Finally we can now rewrite (6) using the information thati=n−2:

π•¯tt=r0r1· · ·riri+1 and π•t¯0t0 =r00r01· · ·r0ir0i+1.

Let now lbe such that hπ,¯tti(l) = iand hencehπ,t¯0t0i(l) =i. Since ri I ri+1, it follows from Lemma B.4 that (¯tt)l is backwards enabled in ¯tt. Hence, Opponent can do the backwards move

tt,t¯0t0)(l, δ(l,¯tt),t¯0t0).

But, since¬(r0iI ri+1), it follows from Lemma B.4 that (¯t0t0)lis not backwards enabled in ¯t0t0, so Player is stuck. This contradicts σ being winning. 2

The proof of the proposition below is now straightforward.

Proposition B.15 Γ⊆∼isoδ.

Proof Let σ be a winning strategy in Γ(X, X0) and assume, in accordance with Lemma B.14, that σ respects iso. Define a relation T ⊆ Seqs(X)×

Seqs(X0) by

t¯T t¯0 iff t0t0)∈P lays(σ, τ) for some play p and counter-strategy τ.

We show that T is an iso-δ-bisimulation:

Aiso: ¯t T t¯0 ¯t isot¯0 follows directly from the fact that σ respects iso.

Abisim: Suppose ¯t T t¯0 and ¯tt∈Seqs(X). Letpand τ be such thattt¯0) P lays(σ, τ) and define

τ0 = [(¯tt,t¯0)/p·t,t¯0)],

which is the function equal toτ everywhere except att,t¯0) at which it yields (¯tt,t¯0). Now3,

p0 =t,t¯0)(¯tt,t¯0)∈P lays(σ, τ0),

forcing σ to be defined on p0. Inspecting the rules of Γ(X, X0) we see that σ(p) equals (¯tt,t¯0t0) for somet0. But then ¯tt T t¯0t0, as required.

Aδ : Let ¯tT t¯0 and assumeti ∈BEn(¯t). Choosepandτ such thatt,t¯0) P lays(σ, τ) and define

τ00 = [(i, δ(i,¯t),t¯0)/p·t,t¯0)].

Observe that

p00 def= t,t¯0)·(i, δ(i,t),¯ t¯0)∈P lays(σ, τ00).

Being winning,σis able to respond to this move withσ(p00) = (δ(i,¯t), δ(i,t¯0)).

Hence, t0i BEn(¯t0), by the definition of Γ(X, X0). Furthermore, δ(i,t¯0) T δ(i,¯t0), since p00 ·(δ(i,¯t), δ(i,t¯0)) P lays(σ, τ). By a

sym-metric argument, this finishes the proof. 2

3Here we use that strategies are defined on positions rather that configurations.

C PROOFS FROM SECTION 4 34

C Proofs From Section 4

Proposition C.1 (Proposition 4.5 restated) If two transition systems with independence are PomL-bisimilar, then they are also Assn-equivalent.

Proof Let T be a δ-bisimulation between X and X0. By structural in-duction on assertions we show that for all A Assn, ¯t Seqs(X), and t¯0 ∈Seqs(X0),

Lemma C.2Suppose X has no auto-concurrency and let ¯t∈Seqs(X). Then, if ti, tj ∈BEn(t)and `(ti = (tj),the transitions are egual, i.e. i=j.

Proof Assume towards contradiction that i 6= j. Without loss of gener-ality we may assurne that i < j. Since ti BEn(¯t), by definition, tiItk for all k > i. This clearly contradicts X having no auto-concurrency. 2

For non-auto-concurrent systems, there is a simpler game, Γ0, charac-terizing PomL-bisimilarity. Backtracking on indices can be substituted by backtracking on labels, yielding rules like

t,t¯0)(a,r,¯ ¯t0) if ¯r;a ¯t,

where the a is a directive to Player to play backwards with an a-move in the longer of the sequences. More concretely, Player must reply with an application of the rule

(a,r,¯ t¯0)r,r¯0) if ¯r0 ;a t¯0.

Say that two transition systems with independence X and X0 are Γ0 equiva-lent iff Player has a winning strategy in Γ0(X, X0).

Proposition C.3 Two non-auto-concurrent transition systems with inde-pendence are Γ0-equivalent iff they are Γ-equivalent.

Proof Let X and X0 be transition systems with independence. First we notice that there is a bijection C :P os(Γ(X, X0))→P os(Γ0(X, X0)) defined inductively in length of the position:

C(ε, ε) = (ε, ε) C(p·t,t¯0)) = C(p)·t,t¯0) C(p·tt,t¯0)) = C(p)·tt,t¯0) C(p·t,t¯0t0)) = C(p)·t,t¯0t0)

C(p·t,¯t0)·(i, δ(i, t),t¯0)) = C(p·t,¯t0))·(`(ti), δ(i,¯t),t¯0) C(p·t,t¯0)·(i,t¯0, δ(i,t¯0))) = C(p·t,¯t0))·(`(t0i),¯t, δ(i,t¯0))

Using that the plays of Γ(X, X0) respect labels (i.e. that whenever (¯t,t¯0) P os(Γ(X, X0),∀i.(`(ti) = `(t0i))), it is easy to show that C is well-defined.

The inverse functionC1 of C is given inductively by very similar clauses. As an example, let us see how C1(p·t,t¯0)·(a,¯r,t¯0)) (where ¯r ;a t¯is defined.

By definition 4.1, there is an index i such that ti BEn(¯t, `(ti) = a, and r¯=δ(i,t). Moreover, this index is unique. We can thus define¯

C1(p·t,t¯0)·(a,r,¯ ¯t0)) =C1(p·t,t¯0))·(i, δ(i,t),¯ t¯0)).

The well-definedness of C1 follows from Lemma C.2 using that plays of γ(X, X0) respect labels. It is straightforward to show that C and C1 are each others inverse.

C PROOFS FROM SECTION 4 36

For one direction, assume that σ is a winning strategy in Γ(X, X0).

We then define a winning strategy σ0 in Γ(X, X0) as follows: For each p∈P os(Γ0(X, X0)), let

σ0(p) = σ(C1(p)).

Using the bijection, it can be shown that σ0 is a winning strategy.

The other direction is managed in a similar way. 2 Proposition C.4 (Proposition 4.7 restated) If two non-auto-concurrent transition systems with independence are Assn-equivalent, then they are also PomL-bisimilar.

Proof Assume towards contradiction that X and X0 are Assn-equivalent but not PomL-bisimilar. Then there can be no winning strategy in the modified game Γ0(X, X0). Hence, by Proposition 3.1, there is a winning counter-strategy τ in Γ0(X, X0). Using τ, we construct an assertion A(p) for any play psuch that

p respects τ, and

λ(p) = O.

Define the following partial order on such plays:

p0 ≺piff ∃c, c0.(p0 =p·c·c0).

As τ is winning, there can be no infinite plays respecting τ. Hence, is well-founded. We now define A(p) by well-founded recursion onp. Letp be a play of the above kind and suppose A(p0) is defined for all p0 p. Since p respects τ, and λ(p) = O, τ(p) must be defined - otherwise τ would not be winning. Assuming the last configuration of p is (¯t,¯t0), consider now the following cases of τ(p) :

τ(p) = (¯r,t¯0)where ¯t→a r:¯

A(p) =hai(V{A(p0)| ∃r¯0.(p0 =p·τ(p)·r,r¯0)≺p)}) τ(p) = (¯t,r¯0)where ¯t0 a r¯0:

A(p) = ¬hai(V{¬A(p0)| ∃r.(p¯ 0 =p·τ(p)·r,r¯0)≺p)})

τ(p) = (a,r,¯ t¯0)where ¯r→a ¯t:

A(p) =°a (V{A(p0)| ∃r¯0.(p0 =p·τ(p)·r,r¯0)≺p)}) τ(p) = (a,¯t,r¯0)where r¯0 a t¯0:

A(p) =¬°a (V{A(p0)| ∃r¯0.(p0 =p·τ(p)·r,r¯0)≺p)})

The claim is now that if p is a play of the above kind, and the last configu-ration of p is (¯t,t¯0), then

¯t|=X A(p) & ¯t0 |=X ¬A(p). (8) Instantiating p to (ε, ε) yields |=X A(ε, ε) and |=X0 ¬A(ε, ε) which con tra-dicts the assumption X Assn X0.

The proof of the claim is by well-founded induction on p. We consider the following four cases of τ(p) :

τ(p) = (¯r,t¯0)where ¯t→a r: To establish ¯¯ t|=X A(p) we show

¯ r|=X

V{A(p0)| ∃r¯0.(p0 =p·τ(p)·r,r¯0)≺p)}.

Assume p0 = p·τ(p)·r,r¯0) p for some ¯r0. We are then re-quired to show ¯r |=X A(p0). But this follows inductively, since p0 respects τ and the last configuration of p0 is (¯r,r¯0).

To establish ¯t0 |=X0 ¬A(p) we assume towards contradiction that t¯0 |=X0 A(p). Then there exists a transition sequence ¯r0 such that t¯0 a r¯0 and

r¯0 |=X0

V{A(p0)| ∃r¯0.(p0 =p·τ(p)·r,r¯0)≺p)}.

Now there is a move τ(p) r,r¯0), so p0 = τ(p)·r,r¯0) p)}. Hence, ¯r0 |=X0 A(p0), but this contradicts the induction hypothesis.

τ(p) = (¯t,r¯0)where ¯t0 a r¯0 : Similar to the previous case.

τ(p) = (a,r,¯ t¯0)where ¯r→a ¯t: To establish ¯r |=X0 A(p) we simply show

¯ r |=X

V{A(p0)| ∃r¯0.(p0 =p·τ(p)·r,r¯0)≺p)}.

C PROOFS FROM SECTION 4 38

Suppose p0 = p · τ(p) ·r,r¯0) p. We are then required to show ¯r |=X A(p0), but this follows directly from the induction hypothesis.

We still need to show ¯t0 |=X0 ¬A(p). Assume towards contradic-tion that ¯t0 |=X0 A(p). Then there exists ¯r0 such that ¯r0 a t¯0 and

r¯0 |=X0

V{A(p0)| ∃r¯0.(p0 =p·τ(p)·r,r¯0)≺p)}.

Now there is a move τ(p) r,r¯0), so, in fact, p0 = τ(p)·r,r¯0)≺p. Hence, ¯r0 |=X0 A(p0), which contradicts the induction hypothesis.

τ(p) = (a,¯t,r¯0)where r¯0 ;a t¯0: Symmetric. 2