Presentation is loading. Please wait.

Presentation is loading. Please wait.

Formal Methods in software development

Similar presentations


Presentation on theme: "Formal Methods in software development"— Presentation transcript:

1 Formal Methods in software development
a.a.2017/2018 Prof.Anna Labella 1/2/2019

2 Proving Equivalences The bisimulation proof method:
To establish P  Q: Identify a relation S such that P S Q Prove that S is a weak bisimulation relation This is the canonical method There are other methods for process verification: Modal logic specification/proof (see later) Equational reasoning (rewriting method: see later) 1/2/2019

3 Bisimilarity as a maximal fixed point
Let us take Q  Q to start with, then calculate F(Q  Q) ={ (q1,q2) | q1  q1’ implies q2  q2’ and viceversa}. By iterating the procedure, we obtain a decreasing chain …F4(Q  Q)  F3(Q  Q)  F2(Q  Q)  F(Q  Q) We can apply Tarski’s theorem and obtain a maximal fixed point S  Q  Q. The relation S is a strong bisimulation. The same holds for weak bisimulation relation defining F(Q  Q) ={ (q1,q2) | q1  q1’ implies q2  q2’ and viceversa} 1/2/2019

4 1/2/2019

5 1/2/2019

6 1/2/2019

7 1/2/2019

8 1/2/2019

9 We will give a language, the so-called
Hennessy-Milner logic, which describes observations/experiments on LTSs 1/2/2019

10 HennessyMilnerLogic.pdf 1/2/2019

11 1/2/2019

12 1/2/2019

13 1/2/2019

14 1/2/2019

15 1/2/2019

16 1/2/2019

17 1/2/2019

18 1/2/2019

19 1/2/2019


Download ppt "Formal Methods in software development"

Similar presentations


Ads by Google