Bisimilarities Induced by Relations on Home Page Actions Title - - PowerPoint PPT Presentation

bisimilarities induced by relations on
SMART_READER_LITE
LIVE PREVIEW

Bisimilarities Induced by Relations on Home Page Actions Title - - PowerPoint PPT Presentation

Bisimilarities Induced by Relations on Home Page Actions Title Page S. Arun-Kumar sak@cse.iitd.ernet.in Department of Computer Science and Engineering Page 1 of 47 I. I. T. Delhi, Hauz Khas, New Delhi 110 016. Go


slide-1
SLIDE 1

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 1 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Bisimilarities Induced by Relations on Actions

  • S. Arun-Kumar

sak@cse.iitd.ernet.in

Department of Computer Science and Engineering

  • I. I. T. Delhi, Hauz Khas, New Delhi 110 016.

http://www.cse.iitd.ernet.in/∼sak September 14, 2006

slide-2
SLIDE 2

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 2 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Outline

  • Vanilla Bisimulations
  • Example
  • The basic framework
  • Bisimulations: Generalisation
  • Inheritance
  • The Proxy Revisited
  • An On-the-fly Algorithm
  • Conclusions
slide-3
SLIDE 3

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 3 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Outline

  • Vanilla Bisimulations
  • Example
  • The basic framework
  • Bisimulations: Generalisation
  • Inheritance
  • The Proxy Revisited
  • An On-the-fly Algorithm
  • Conclusions
slide-4
SLIDE 4

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 4 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Bisimulations: Vanilla flavoured

Let P be the set of processes defined on a set Act of actions. Definition 1 A binary relation R ⊆ P × P is a (strong) bisimulation if pRq implies the following conditions for all a ∈ Act. p

a

− → p′ ⇒ ∃q′ : q

a

− → q′ ∧ p′Rq′ (1) and q

a

− → q′ ⇒ ∃p′ : p

a

− → p′ ∧ p′Rq′ (2) The largest bisimulation is bisimilarity and is an equivalence, (denoted ∼).

slide-5
SLIDE 5

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 5 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Bisimulations and Bisimilarity

  • Simple and intuitively appealing theory
  • Very nice algebraic properties
  • Bisimilarity is the smallest equivalence relation which re-

spects branching behaviour

  • Park’s induction principle
  • Very efficient algorithms for proving bisimilarity of systems
  • Has a nice game theoretic interpretation
  • Algorithms for verification of other equivalences of con-

current systems use bisimulation

slide-6
SLIDE 6

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 6 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Properties of Bisimulations

  • The identity relation on processes is a bisimulation
  • Arbitrary unions of bisimulations are bisimulations.
  • The converse of each bisimulation is also a bisimulation
  • The relational composition of bisimulations is a bisimula-

tion.

  • Let B be a function on binary relations on P s.t. p, q ∈

B(R) if p and q satisfy the conditions of definition 1. Then – B is monotonic i.e. R ⊆ S ⇒ B(R) ⊆ B(S). – R is a strong bisimulation iff R ⊆ B(R). – If R is a strong bisimulation then so is B(R). – ∼ = {R|R ⊆ B(R)} is the largest fixpoint of B.

  • ∼ is the largest bisimulation and an equivalence relation
  • n processes
slide-7
SLIDE 7

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 7 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Outline

  • Vanilla Bisimulations
  • Example
  • The basic framework
  • Bisimulations: Generalisation
  • Inheritance
  • The Proxy Revisited
  • An On-the-fly Algorithm
  • Conclusions
slide-8
SLIDE 8

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 8 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Browser

Browser Web Server Browser

slide-9
SLIDE 9

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 9 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Browser

@ t 1 r e q w : p Browser Web Server Browser

slide-10
SLIDE 10

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 10 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Browser

@ t 1 r e q w : p Browser Web Server w : p @ t 2 Browser

slide-11
SLIDE 11

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 11 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Browser

@ t 1 r e q w : p Browser Web Server w : p @ t 2 Browser @ t 1 ’ r e q w : p

slide-12
SLIDE 12

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 12 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Browser

@ t 1 r e q w : p Browser Web Server w : p @ t 2 Browser @ t 1 ’ w : p @ t 2 r e q w : p

slide-13
SLIDE 13

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 13 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Proxy Server

Browser Web Server Proxy Server w:p@t1

slide-14
SLIDE 14

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 14 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Proxy Server

Browser Web Server Proxy Server w:p@t1 req w:p

slide-15
SLIDE 15

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 15 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Proxy Server

Browser Web Server Proxy Server req @w:p w:p@t1 req w:p

slide-16
SLIDE 16

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 16 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Proxy Server

Browser Web Server Proxy Server t2 req @w:p w:p@t1 req w:p

slide-17
SLIDE 17

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 17 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Proxy Server

Browser Web Server Proxy Server t2 req @w:p w:p@t1

t1=t2

w:p@t1 req w:p

slide-18
SLIDE 18

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 18 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Proxy Server

Browser Web Server Proxy Server t2 req @w:p

t1 <> t2

req w:p w:p@t1 req w:p

slide-19
SLIDE 19

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 19 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Proxy Server

Browser Web Server Proxy Server t2 req @w:p

t1 <> t2

req w:p w:p@t3 w:p@t1 req w:p

slide-20
SLIDE 20

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 20 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Proxy Server

Browser Web Server Proxy Server t2 req @w:p

t1 <> t2

req w:p w:p@t3 w:p@t3 req w:p

slide-21
SLIDE 21

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 21 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Proxy Server

Browser Web Server Proxy Server t2 req @w:p

t1 <> t2

req w:p w:p@t3 w:p@t3 w:p@t3 req w:p

slide-22
SLIDE 22

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 22 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Modelling in CCS: Actions

The action set. gp() – get page

  • p(a)

– output page a on screen drp() – direct request for page dsp(h, a) – directly serve page irp() – indirect request for page isp(h, a) – indirectly serve page drh() – direct request for header dsh(h) – directly serve header

slide-23
SLIDE 23

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 23 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Modelling in CCS

A typical client DClient, which accesses the web-server di- rectly, has the following definition. DClient

= gp().drp().dsp(h, a).op(a).DClient With the introduction of a proxy server, the clients commu- nicate only with the proxy. The actions involving communications of the clients with proxy server are irp and isp. IClient

= gp().irp().isp(h, a).op(a).IClient

slide-24
SLIDE 24

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 24 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Modelling in CCS: Proxy

  • Assume it serves only one request at a time
  • Initial undefined content (⊥, ⊥) in cache
  • On the first request it obtains the full page from the web-

server.

  • For each subsequent request it merely sends a request

with the header h0 as parameter and waits in the state PrWait(h0, a0), where (h0, a0) is the current content in its cache. Proxy0(⊥, ⊥)

= irp().ReqPage(⊥, ⊥) Proxy(h0, a0)

= irp().ClWait(h0, a0) ReqPage(h0, a0)

= drp().ReqSent(h0, a0) ClWait(h0, a0)

= drh(h0).PrWait(h0, a0)

slide-25
SLIDE 25

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 25 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Modelling in CCS: Proxy

  • Web-server may respond by sending back the same header

h0 (indicating no change in page content), or

  • Send an updated page content (h′

0, a′ 0), with h′ 0 = h0.

The proxy caches this new content.

  • Its cache has the latest content on demand.

PrWait(h0, a0)

= dsh(h0).Cached(h0, a0)+ dsp(h′

0, a′ 0).Cached(h′ 0, a′ 0)

ReqSent(h0, a0)

= dsp(h′′

0, a′′ 0).Cached(h′′ 0, a′′ 0)

Cached(h, a)

= isp(h, a).Proxy(h, a) The client-proxy system in the local area network is defined as follows: CPSys

= (IClient|Proxy0(⊥, ⊥)) \{irp( , ), isp( , )} denote wildcard values.

slide-26
SLIDE 26

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 26 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Example: Proxy Server: Analysis

Browser Web Server Proxy Server t2 req @w:p

t1 <> t2

req w:p w:p@t3 w:p@t3 w:p@t3 req w:p

  • CPSys and DClient not weakly bisimilar,

since CPSys may perform actions such as dsh( ) ∈ Sort(DClient).

  • However they are both functionally equivalent in an obvi-
  • us sense.
slide-27
SLIDE 27

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 27 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Outline

  • Vanilla Bisimulations
  • Example
  • The basic framework
  • Bisimulations: Generalisation
  • Inheritance
  • The Proxy Revisited
  • An On-the-fly Algorithm
  • Conclusions
slide-28
SLIDE 28

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 28 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Labelled Transition Systems

Definition 2 A labelled transition system (LTS) is a 3-tuple P, Act, →, I where

  • P is a set of process states
  • Act is a set of actions and →⊆ P × Act × P is the

transition relation.

  • I ⊆ P is a set of initial states

A LTS P, Act, →, I may equally well be viewed as a struc- ture P, Act∗, →, I. The usual theory of bisimulations does not distinguish between the two.

slide-29
SLIDE 29

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 29 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

LTSs and Processes

Definition 3 A rooted LTS P, Act, →, p0 is a LTS P, Act, →, {p0} with a single initial state p0.

  • p

a

− → q denotes (p, a, q) ∈→

  • a-Successors of p: p

a

− →= {q | p

a

− → q}

  • Successors of p: p −

→=

  • a∈Act

p

a

− →

  • Derivatives of p: p −

→∗= {p} ∪

  • q∈p−

q − →∗

  • q is reachable from p: q ∈ p −

→∗

  • Process p: (sub-)LTS rooted at state p and consisting of

all the states and transitions reachable from p.

slide-30
SLIDE 30

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 30 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Outline

  • Example
  • The basic framework
  • Bisimulations: Generalisation
  • Inheritance
  • The Proxy Revisited
  • An On-the-fly Algorithm
  • Conclusions
slide-31
SLIDE 31

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 31 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

(ρ, σ)-Bisimulations

  • Definition 4

– P: the set of states – ρ and σ: binary relations on Act . – R ⊆ P × P R is a (ρ, σ)-induced bisimulation or simply a (ρ, σ)- bisimulation if pRq implies the following conditions. ∀a ∈ Act[p

a

− → p′ ⇒ ∃b, q′ : aρb ∧ q

b

− → q′ ∧ p′Rq′](3) ∀b ∈ Act[q

b

− → q′ ⇒ ∃a, p′ : aσb ∧ p

a

− → p′ ∧ p′Rq′](4)

  • The largest (ρ, σ)-bisimulation (under set containment) is

called (ρ, σ)-bisimilarity and denoted (ρ,σ).

  • A (=, =)-bisimulation will be called a natural bisimulation.
slide-32
SLIDE 32

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 32 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

(ρ, σ)-Bisimulations: Smooth Generalization

  • Arbitrary

unions

  • f

(ρ, σ)-bisimulations are (ρ, σ)- bisimulations.

  • Let B(ρ,σ) be a function on binary relations on P s.t.

p, q ∈ B(ρ,σ)(R) iff p and q satisfy the conditions of

  • 4. Then:

– B(ρ,σ) is monotonic i.e. R ⊆ S ⇒ B(ρ,σ)(R) ⊆ B(ρ,σ)(S) – R is a (ρ, σ)-bisimulation iff R ⊆ B(ρ,σ)(R). – If R is (ρ, σ)-bisimulation then so is B(ρ,σ)(R). – (ρ,σ) = {R | R ⊆ B(ρ,σ)(R)} is the largest fixpoint

  • f B(ρ,σ).
slide-33
SLIDE 33

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 33 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Park’s Induction Principle

Theorem 0.1 (Park’s Induction Principle). Let R be a binary relation on processes satisfying the following condi- tions for all pRq and a, b ∈ Act: ∀p′[p

a

− → p′ ⇒ ∃b, q′[aρb ∧ q

b

− → q′ ∧ p′(R ∪ (ρ,σ))q′]] ∀q′[q

b

− → q′ ⇒ ∃a, p′[aσb ∧ p

a

− → p′ ∧ p′(R ∪ (ρ,σ))q′]] Then R ⊆ (ρ,σ).

  • To prove p(ρ,σ)q it suffices to find a (ρ, σ)-bisimulation

containing p, q.

  • R : p (ρ,σ) q to denote that R is a (ρ, σ)-bisimulation

containing the pair p, q.

slide-34
SLIDE 34

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 34 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Monotonicity

Extending ⊆ and ⊂ pointwise to pairs of relations

  • (ρ, σ)⊆(ρ′, σ′) ⇒ every (ρ, σ)-bisimulation is also a

(ρ′, σ′)-bisimulation

  • And

(ρ, σ)⊆(ρ′, σ′) ⇒ (ρ,σ) ⊆ (ρ′,σ′)

  • But

(ρ, σ) ⊂ (ρ′, σ′) ⇒ (ρ,σ) ⊂ (ρ′,σ′)

slide-35
SLIDE 35

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 35 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Reflexivity and Transitivity

  • If both ρ and σ are reflexive then so is (ρ,σ).
  • The identity relation I is a (ρ, σ)-bisimulation iff both ρ

and σ are reflexive

  • If both ρ and σ are transitive then so is (ρ,σ)
  • For any (ρ, σ)-bisimulations R and S,

R◦S is a (ρ, σ)-bisimulation iff ρ and σ are both transitive

slide-36
SLIDE 36

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 36 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Outline

  • Vanilla Bisimulations
  • Example
  • The basic framework
  • Bisimulations: Generalisation
  • Inheritance
  • The Proxy Revisited
  • An On-the-fly Algorithm
  • Conclusions
slide-37
SLIDE 37

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 37 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Preorders and Partial Orders

  • If both ρ and σ are preorders then (ρ,σ) is a preorder.
  • If both ρ and σ are partial orders then (ρ,σ) may not be

a partial order (but is guaranteed to be a preorder)

  • (ρ,σ) inherits/preserves the preordering properties of ρ

and σ.

slide-38
SLIDE 38

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 38 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Symmetry

  • If both ρ and σ are symmetric then the converse of a

(ρ, σ)-bisimulation is a (σ, ρ)-bisimulation.

  • (ρ,ρ) is symmetric if ρ is symmetric
  • For any ρ, if

R is a (ρ, ρ)-bisimulation implies R−1 is also (ρ, ρ)- bisimulation then ρ must be symmetric.

  • (ρ,ρ) is an equivalence iff ρ is an equivalence.
slide-39
SLIDE 39

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 39 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

When ρ = σ or σ = ρ−1

Theorem 0.2 . For any binary relation ρ on Act,

  • 1. (ρ,ρ) is a preorder iff ρ is a preorder.
  • 2. (ρ,ρ) is an equivalence iff ρ is an equivalence relation.
  • 3. If ρ is a preorder then (ρ,ρ−1) is an equivalence.
  • 4. A strong bisimulation is simply a (=, =)-bisimulation.
  • 5. A weak bisimulation is simply a (

= , = )-bisimulation, where = is the equivalence on strings of Act∗ defined by ignoring all occurrences of the silent action τ.

slide-40
SLIDE 40

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 40 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Outline

  • Vanilla Bisimulations
  • Example
  • The basic framework
  • Bisimulations: Generalisation
  • Inheritance
  • The Proxy Revisited
  • An On-the-fly Algorithm
  • Conclusions
slide-41
SLIDE 41

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 41 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

The Proxy Revisited

Let ρ relate “similar” actions. Let =ρ be the smallest equiva- lence such that

  • drh() =ρ drp() and
  • dsh(h) =ρ dsp(h, a), for any (h, a)
  • ε =ρ τ

We can show that CPSys (=ρ,=ρ) DClient. Proxy server Actions

slide-42
SLIDE 42

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 42 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

The Proxy Revisited Again

Using the relative costs of different actions.

  • The internal actions and getting header information cost

almost nothing.

  • The costliest action is receiving the entire page from the

web-server. Let ≤ be the smallest preorder on actions, satisfying

  • drh(h) ≤ drp() and drp() ≤ drh(h), for any header

h

  • dsh(h) ≤ dsp(h, a), for any (h, a)
  • ε ≤ τ, and τ ≤ ε.

Then CPSys (≤,≤) DClient Proxy server Actions

slide-43
SLIDE 43

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 43 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Outline

  • Vanilla Bisimulations
  • Example
  • The basic framework
  • Bisimulations: Generalisation
  • Inheritance
  • The Proxy Revisited
  • An On-the-fly Algorithm
  • Conclusion
slide-44
SLIDE 44

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 44 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

An On-the-fly Algorithm

  • An adaptation of Fernandez and Mounier’s on-the-fly al-

gorithm for vanilla bisimulation

  • Uses the technique of a Partial depth-first search and runs

in O(n2|Act|) time to reduce backtracking.

  • The adaptation uses bit arrays to store information ob-

tained at each point about their relationship, assuming initially that they are related unless proven otherwise in the future. But requires twice the amount of information to be stored for ρ and σ.

  • Assuming that both ρ and σ are available as table lookups

and take no time to compute, our algorithm runs in O(n2|Act|2) time and has a space requirement of O(n + |Act|2).

slide-45
SLIDE 45

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 45 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Outline

  • Vanilla Bisimulations
  • Example
  • The basic framework
  • Bisimulations: Generalisation
  • Inheritance
  • The Proxy Revisited
  • An On-the-fly Algorithm
  • Conclusions
slide-46
SLIDE 46

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 46 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Conclusions

  • A smooth theory is obtained by parametrizing bisimula-

tions on actions.

  • Bisimulations inherit their relational algebraic properties

from properties of the underlying relation on actions.

  • Name equality does not necessarily capture “functional

similarity”.

  • There is a need to look at more generalized notions of

equivalence based on functional similarities in behaviour.

  • For open systems and for being able to prove properties

locally, more general notions may be required.

  • While adaptation of the on-the-fly algorithm was easy, the

same cannot be said of the partitioning algorithm of Paige and Tarjan, which requires an equivalence relation on ac- tions.

slide-47
SLIDE 47

Home Page Title Page ◭◭ ◮◮ ◭ ◮ Page 47 of 47 Go Back Full Screen Close Quit

  • First •Prev •Next •Last •Go Back •Full Screen •Close •Quit