CS780 Discrete-State Models Instructor: Peter Kemper R 006, phone - - PowerPoint PPT Presentation

cs780 discrete state models
SMART_READER_LITE
LIVE PREVIEW

CS780 Discrete-State Models Instructor: Peter Kemper R 006, phone - - PowerPoint PPT Presentation

CS780 Discrete-State Models Instructor: Peter Kemper R 006, phone 221-3462, email:kemper@cs.wm.edu Office hours: Mon,Wed 3-5 pm Today: Milners Calculus of Communicating Systems Strong & Weak Bisimulation Observational Congruence Quick


slide-1
SLIDE 1

1

CS780 Discrete-State Models

Today: Milner‘s Calculus of Communicating Systems Strong & Weak Bisimulation Observational Congruence Quick Reference:

Robin Milner, A Calculus of Communicating Systems, Springer, LNCS 92, 1980. Robin Miner, Communication and Concurrency, Prentice Hall, 1989.

Instructor: Peter Kemper

R 006, phone 221-3462, email:kemper@cs.wm.edu Office hours: Mon,Wed 3-5 pm

slide-2
SLIDE 2

2

Outline Origin of Process Algebras: Calculus of Communicating Systems (CCS) Trace Equivalence Bisimulation

 Strong  Weak

Observational Congruence Credits:

 Slides from Noll, Katoen, RWTH Aachen, Germany, 2007/08

slide-3
SLIDE 3

3

slide-4
SLIDE 4

4

slide-5
SLIDE 5

5

Meaning of CCS Operators

slide-6
SLIDE 6

6

Notational Conventions

slide-7
SLIDE 7

7

Labelled Transition System

slide-8
SLIDE 8

8

Semantics of CCS

slide-9
SLIDE 9

9

Semantics of CCS

slide-10
SLIDE 10

10

Semantics of CCS

slide-11
SLIDE 11

11

Semantics of CCS

slide-12
SLIDE 12

12

Recursion

slide-13
SLIDE 13

13

Equivalence

slide-14
SLIDE 14

14

Equivalence of CCS Processes

slide-15
SLIDE 15

15

Desired Properties of Equivalence

slide-16
SLIDE 16

16

Congruence

slide-17
SLIDE 17

17

Trace Equivalence

slide-18
SLIDE 18

18

Trace Equivalence

slide-19
SLIDE 19

19

Congruence

slide-20
SLIDE 20

20

Trace Equivalence

slide-21
SLIDE 21

21

Trace Equivalence

slide-22
SLIDE 22

22

Deadlock

slide-23
SLIDE 23

23

Deadlock

slide-24
SLIDE 24

24

Desired Properties of Equivalence

slide-25
SLIDE 25

25

Strong Bisimulation

slide-26
SLIDE 26

26

Strong Bisimulation

slide-27
SLIDE 27

27

Strong Bisimulation

slide-28
SLIDE 28

28

Strong Bisimulation How to prove this?

slide-29
SLIDE 29

29

Strong Bisimulation How to prove this?

slide-30
SLIDE 30

30

Properties of Strong Bisimulation

slide-31
SLIDE 31

31

Strong Bisimulation => Trace Equivalence

slide-32
SLIDE 32

32

Congruence Property Makes use of following Lemma

slide-33
SLIDE 33

33

Congruence

slide-34
SLIDE 34

34

Deadlock

slide-35
SLIDE 35

35

Summary

slide-36
SLIDE 36

36

Traces and Deadlocks

slide-37
SLIDE 37

37

Computing Equivalences

Basic Algorithm:

 Paige, Tarjan: Three partition refinement algoriths, SIAM J. Computing,

16, 1987.

Multiple variants and refinements, in particular wrt stochastic models

 P. Buchholz. Exact and ordinary lumpability in finite Markov chains.

Journal of Applied Probability, 31:59–75, 1994.

 S. Derisavi, H. Hermanns, and W. H. Sanders. Optimal State-Space

Lumping in Markov Chains, Information Proc. Letters, 87, 6, 2003

slide-38
SLIDE 38

38

Partition Refinement Algorithm

slide-39
SLIDE 39

39

Strong Simulation

slide-40
SLIDE 40

40

Strong Simulation and Bisimulation

slide-41
SLIDE 41

41

Strong Bisimulation is not an ideal solution!

slide-42
SLIDE 42

42

Weak Bisimulation

slide-43
SLIDE 43

43

Weak Bisimulation

slide-44
SLIDE 44

44

Weak Bisimulation

slide-45
SLIDE 45

45

Weak Bisimulation

slide-46
SLIDE 46

46

Weak Bisimulation

slide-47
SLIDE 47

47

Weak Bisimulation

slide-48
SLIDE 48

48

Weak Bisimulation

slide-49
SLIDE 49

49

Properties of Weak Bisimulation

slide-50
SLIDE 50

50

Properties of Weak Bisimulation

slide-51
SLIDE 51

51

Observation Congruence

slide-52
SLIDE 52

52

Observation Congruence

slide-53
SLIDE 53

53

Observation Congruence

slide-54
SLIDE 54

54

Observation Congruence

slide-55
SLIDE 55

55

Observation Congruence

slide-56
SLIDE 56

56

Observation Congruence

slide-57
SLIDE 57

57

Observation Congruence

slide-58
SLIDE 58

58

Observation Congruence

slide-59
SLIDE 59

59

Summary

Origin of Process Algebras: Calculus of Communicating Systems (CCS) Trace Equivalence

 Insensitive to deadlocks!

Bisimulation

 Strong Bisimulation:

too restrictive to be used for an equivalence between an abstract specification and a detailed implementation model, we need to abstract from internal operations

 Weak Bisimulation:

no congruence wrt to choice, problem is an initial Tau step

Observational Congruence

 Compromise between strong and week bisimulation  Yields congruence wrt CCS operations

Equivalence classes can be determined with algorithms based on partition refinement