44
Mobile Calculi Prof. Diletta Romana Cacciagrano

Prof. Diletta Romana Cacciagrano. (red-cong) :

Embed Size (px)

Citation preview

Page 1: Prof. Diletta Romana Cacciagrano. (red-cong) :

Mobile Calculi

Prof. Diletta Romana Cacciagrano

Page 2: Prof. Diletta Romana Cacciagrano. (red-cong) :

Operational Semantics based on reduction

Page 3: Prof. Diletta Romana Cacciagrano. (red-cong) :

Reduction semantics

Page 4: Prof. Diletta Romana Cacciagrano. (red-cong) :

Reduction semantics

(red-cong)

:

Page 5: Prof. Diletta Romana Cacciagrano. (red-cong) :

Alpha-conversion

Page 6: Prof. Diletta Romana Cacciagrano. (red-cong) :

Structural congruence

Page 7: Prof. Diletta Romana Cacciagrano. (red-cong) :

Structural congruence

Page 8: Prof. Diletta Romana Cacciagrano. (red-cong) :

Operational Semantics based on labels

Page 9: Prof. Diletta Romana Cacciagrano. (red-cong) :

Labeled semantics (Late operational

semantics)

Page 10: Prof. Diletta Romana Cacciagrano. (red-cong) :

Labeled semantics (Late operational) semantics+alpha conv

Page 11: Prof. Diletta Romana Cacciagrano. (red-cong) :

Labeled semantics (Late operational semantics+alpha conv

+struct cong)

α

αCONG

Page 12: Prof. Diletta Romana Cacciagrano. (red-cong) :

Labeled semantics (Early operational

semantics)

Page 13: Prof. Diletta Romana Cacciagrano. (red-cong) :

Labeled semantics (Early operational semantics+alpha conv)

Page 14: Prof. Diletta Romana Cacciagrano. (red-cong) :

Labeled semantics (Early operational semantics+alpha conv

+struct cong)

α

αCONG

Page 15: Prof. Diletta Romana Cacciagrano. (red-cong) :

Labeled semantics

Page 16: Prof. Diletta Romana Cacciagrano. (red-cong) :

Labeled semantics

Page 17: Prof. Diletta Romana Cacciagrano. (red-cong) :

Labeled semantics

Early and late LTSs

Page 18: Prof. Diletta Romana Cacciagrano. (red-cong) :

Reduction and Labeled semantics

Page 19: Prof. Diletta Romana Cacciagrano. (red-cong) :

Operational Equivalencesbased on labels

Page 20: Prof. Diletta Romana Cacciagrano. (red-cong) :

Bisimulation

Page 21: Prof. Diletta Romana Cacciagrano. (red-cong) :

Bisimulation on Pi-calculus

Page 22: Prof. Diletta Romana Cacciagrano. (red-cong) :

Strong late bisimulation

L

Page 23: Prof. Diletta Romana Cacciagrano. (red-cong) :

Strong late bisimulation

L

Page 24: Prof. Diletta Romana Cacciagrano. (red-cong) :

Late Instantiation

Page 25: Prof. Diletta Romana Cacciagrano. (red-cong) :

Strong early bisimulation(finer than late)

Page 26: Prof. Diletta Romana Cacciagrano. (red-cong) :

Early Instantiation

Page 27: Prof. Diletta Romana Cacciagrano. (red-cong) :

Input

L

Page 28: Prof. Diletta Romana Cacciagrano. (red-cong) :

Congruence

Page 29: Prof. Diletta Romana Cacciagrano. (red-cong) :

Congruence w.r.t. parallel(proof for early. Similarly for late)

Theorem:

Page 30: Prof. Diletta Romana Cacciagrano. (red-cong) :

Congruence w.r.t. parallel

(proof for early. Similarly for late)

Page 31: Prof. Diletta Romana Cacciagrano. (red-cong) :

Congruence w.r.t. parallel (proof for early. Similarly for late)

Page 32: Prof. Diletta Romana Cacciagrano. (red-cong) :

Substitution preservation

Page 33: Prof. Diletta Romana Cacciagrano. (red-cong) :

Strong bisimilarity is not a congruence(proof for early. Similarly for late))

Page 34: Prof. Diletta Romana Cacciagrano. (red-cong) :

Open bisimulation(Bisimulation for Pi)

Name instantation is moved inside the definition of bisimulation.

The open bisimilarity, written , is the largest open bisimulation.

Page 35: Prof. Diletta Romana Cacciagrano. (red-cong) :

Open bisimilarity (Full bisimilarity)

Page 36: Prof. Diletta Romana Cacciagrano. (red-cong) :

Operational Equivalencesbased on reduction:Testing Preorders

Page 37: Prof. Diletta Romana Cacciagrano. (red-cong) :

Testing machinery

A set of processes to be test.

A set of tests or observers. These are obtained by extending the syntax of processes to generate processes which can perform a particular action (omega) reporting success.

A way to exercise a process on a given test: it is done by letting the process and the test to run in parallel and by looking at the computations which the embedded process can perform. These computations can be successful or failing, depending on whether or not they allow the execution of omega.

A general criterion (semantics) for interpreting the results of these exercises.

Page 38: Prof. Diletta Romana Cacciagrano. (red-cong) :

Testing machinery

Observer (Tests)

Experiments

Page 39: Prof. Diletta Romana Cacciagrano. (red-cong) :

Maximal computations

Page 40: Prof. Diletta Romana Cacciagrano. (red-cong) :

May Testing

Page 41: Prof. Diletta Romana Cacciagrano. (red-cong) :

Must Testing

Page 42: Prof. Diletta Romana Cacciagrano. (red-cong) :

Fair Testing

Page 43: Prof. Diletta Romana Cacciagrano. (red-cong) :

Testing preorders

Page 44: Prof. Diletta Romana Cacciagrano. (red-cong) :

Testing and Bisimulation equivalences

Bisimulation equivalences are usually rather strict: they depend on the whole branching structure of processes which, in some cases, are not relevant.

Weak bisimulation incorporates a particular notion of fairness: it abstracts from the tau-loops (i.e infinite sequences of tau-moves): the “normal” behavior can be resumed each time after a finite sequence of tau-moves.

Must testing semantics is based on the interpretation of tau-loops as divergences, making them quasi-observable as a chaotic or under-specified behavior. For this, it has been defined fair-testing semantics.

The standard testing equivalences are coarser than weak bisimulation in the case of divergence-free processes, and they are incomparable in general.