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.y.2016/2017 Prof. Anna Labella 4/5/2019

2 see dens.pdf 4/5/2019

3 4/5/2019

4 4/5/2019

5 4/5/2019

6 4/5/2019 4/5/2019 6

7 4/5/2019 4/5/2019 7

8 4/5/2019 4/5/2019 8

9 4/5/2019 4/5/2019 9

10  fi()  g Proof  f()  f2()  f3()…..........  fi()
f ( fi() =  fi+1() Given another fixpoint g, we have the constant chain  g  g  g…  g = g greater than the first one step by step, hence  fi()  g 4/5/2019 4/5/2019 10

11 We could start from the maximum and compute the
maximal fixpoint using the duality of order We can use minimum/ maximum fixed point to solve recursive equations like Ex: x=ax+b If we do not have inverse operations, we have to use approximation. 4/5/2019 4/5/2019 11

12 Fixed point theorem: an example
A fixed point x for a function f:(S)(S) is an element of (S) such that f(x) = x We will give an interpretation of CTL operators using fixed points 4/5/2019

13 Fixed point theorem: an example
Let S be a set (of states) and f:(S)(S) a monotonic function w.r.t.  , then f has a minimal and a maximal fixpoint nfn(Ø) and nfn(S), respectively 4/5/2019

14 Fixed point theorem (Tarski)
Let S be a set (of states) and f:(S)(S) a monotonic function w.r.t.  , The maximal fixpoint of f S f(S) f2(S) nfn(S) 4/5/2019

15 Looking for a semantic for CTL
i.e. find the set of states satisfying a formula. This will be done through the notion of minimal/maximal fixpoint of an operator. 4/5/2019

16 Recursively defined operators
4/5/2019

17

18 4/5/2019

19 4/5/2019

20 4/5/2019

21 4/5/2019

22

23

24

25

26 Fixed point theorem (Tarski)
We want to define the set of states where EGp is the greatest solution of the recursive equation x = p∧ EX (x) i.e. as the maximal fixpoint of the operator p∧ EX : (S)(S) We start from the greatest subset S 4/5/2019

27

28

29

30

31

32

33

34

35


Download ppt "Formal methods in software development"

Similar presentations


Ads by Google