3 COMP 1 5 9 3 Algorithmic Verification Safety and Liveness, - - PowerPoint PPT Presentation

3 comp 1 5 9 3 algorithmic verification
SMART_READER_LITE
LIVE PREVIEW

3 COMP 1 5 9 3 Algorithmic Verification Safety and Liveness, - - PowerPoint PPT Presentation

<latexit


slide-1
SLIDE 1

Properties Fairness

COMP 3 9 1 5 3 Algorithmic Verification

<latexit sha1_base64="P4jUJHo6g1yopyZBD74hiv3LdI=">AIZHicjVRb9NIFD6kXEKW6l4QEhoCBalIa4JYJqVcTSF14QRaIFqanQ2D5xRpnYZjxpG6L8Cn7d/oH9EfvEmWPnRgy7juw5/ubMd75zif1Uq8w2m39fqKxcvHT5SvVq7Y9r12/cvLV6+yhLBibAwyDRifnsywy1ivHQKqvxc2pQ9n2Nn/zevtv/dIomU0n80Q5TPOnLKFYdFUhL0JfVyve2j5GKR1b1vqUqsAOD41o7TkI8zqy0WO8orfd8PcAH2826ULGySuoTsfHV2xSjtsVz63fyNeuM9t+/OxiPx38uMxgMmUD6ySkKo6KuFUln76tHVHqnhGqnOdUJRotU/mok7OfqXZLqHbLqSKDGJeJ0ruOqSw/r5xpiJqkMNWMhOW0Skha5STBUMZzeTmKVl0GAaZWxRGX6fzXdQqNPMubgmGEXIgydGeGuqoXqDeH7paiM4bWHNqa8Z5vFikJacWGV9/yGtNWkMq/dJQYZbt9FYgjNMJZO0Yhwvz9+XWerPR5EsG15hrENxHSrlTa0IYQEAhAHxBisGRrkJDR7xg8aEJK2AmMCDNkKd5HGEONzg7IC8lDEtqjZ0RvxwUa07vjzPh0QFE03YZOCnhc+IRkdxjNVxdfzPn+KsaIuZ3GIa1+wdkn1EKX0P86N/H8v+dcTpYUvuRcFOlMGXFZBgsZdWjV9G5Jv3sOyRPJCumUISsgTBOaIy6GoTWvq8u8y3W7Idk/S4Xd6oH3zj+xGeCaVp9ZjIUzeU9YE15rhLqdCal96yI7mrv8op4x50yhJ3Rvu0zBhzqOMyGsLXrH3K9gj1OmVFNdV8gnj+l28Xo8BYJ3cIFdMCKpFm7f5767majRvfyLaT+cVjPjPFz9keJ70IAW2f1p5IwrH5Bnh+5FBX3OVdHq5n6Zz2lxWZ7R0/VYsJ3MacgonoB97lfM/RAcyXkgc7jpzKvfWMoI4ZS7O2SdlnuC8Iw8M54ZzTmNWK/intf5H6JoR9NOxJ0dwgPKuUkdmuXsVM9nmnKlU45mp3WY/OeQJ6oLQtyd6SB7vtaLyvO6WZ7dfM4Rzum5B4/o7dFvlEw8c0SyJUlZyioM+yZFrfMTuSJTeM5mpgbuW+f9/GVbNo62G97zxvMP2+uv3xRfvSrcg4ewQfPyAl7DWziAQwgq/6Ilc2Vp1f+qV6rlXv5K6VC8WZNVi4qvd/AB3w9Tw=</latexit>

Safety and Liveness, Fairness

  • Dr. Liam O’Connor

CSE, UNSW (for now) Term 1 2020

1

slide-2
SLIDE 2

Properties Fairness

Behaviours

Recall The infinite traces of a Kripke structure are called behaviours. So they are infinite sequences of state labels ⊆ (2P)ω. How many behaviours for these automata?

slide-3
SLIDE 3

Properties Fairness

Behaviours

Recall The infinite traces of a Kripke structure are called behaviours. So they are infinite sequences of state labels ⊆ (2P)ω. How many behaviours for these automata?

slide-4
SLIDE 4

Properties Fairness

Behaviours

Recall The infinite traces of a Kripke structure are called behaviours. So they are infinite sequences of state labels ⊆ (2P)ω. How many behaviours for these automata?

  • 4
slide-5
SLIDE 5

Properties Fairness

Cantor’s Uncountability Argument

Result It is impossible in general to enumerate the space of all behaviours. σ0 = σ1 = σ2 = σ3 = σ4 =

. . . . . . . . . . . . . . .

  • · · ·
  • · · ·
  • · · ·
  • · · ·
  • · · ·
slide-6
SLIDE 6

Properties Fairness

Cantor’s Uncountability Argument

Result It is impossible in general to enumerate the space of all behaviours. σ0 = σ1 = σ2 = σ3 = σ4 =

. . . . . . . . . . . . . . .

  • · · ·
  • · · ·
  • · · ·
  • · · ·
  • · · ·

σδ =

slide-7
SLIDE 7

Properties Fairness

Cantor’s Uncountability Argument

Result It is impossible in general to enumerate the space of all behaviours. σ0 = σ1 = σ2 = σ3 = σ4 =

. . . . . . . . . . . . . . .

  • · · ·
  • · · ·
  • · · ·
  • · · ·
  • · · ·

σδ = •

slide-8
SLIDE 8

Properties Fairness

Cantor’s Uncountability Argument

Result It is impossible in general to enumerate the space of all behaviours. σ0 = σ1 = σ2 = σ3 = σ4 =

. . . . . . . . . . . . . . .

  • · · ·
  • · · ·
  • · · ·
  • · · ·
  • · · ·

σδ = •

slide-9
SLIDE 9

Properties Fairness

Cantor’s Uncountability Argument

Result It is impossible in general to enumerate the space of all behaviours. σ0 = σ1 = σ2 = σ3 = σ4 =

. . . . . . . . . . . . . . .

  • · · ·
  • · · ·
  • · · ·
  • · · ·
  • · · ·

σδ = •

slide-10
SLIDE 10

Properties Fairness

Cantor’s Uncountability Argument

Result It is impossible in general to enumerate the space of all behaviours. σ0 = σ1 = σ2 = σ3 = σ4 =

. . . . . . . . . . . . . . .

  • · · ·
  • · · ·
  • · · ·
  • · · ·
  • · · ·

σδ = •

slide-11
SLIDE 11

Properties Fairness

Cantor’s Uncountability Argument

Result It is impossible in general to enumerate the space of all behaviours. σ0 = σ1 = σ2 = σ3 = σ4 =

. . . . . . . . . . . . . . .

  • · · ·
  • · · ·
  • · · ·
  • · · ·
  • · · ·

σδ = •

slide-12
SLIDE 12

Properties Fairness

Cantor’s Uncountability Argument

Result It is impossible in general to enumerate the space of all behaviours. σ0 = σ1 = σ2 = σ3 = σ4 =

. . . . . . . . . . . . . . .

  • · · ·
  • · · ·
  • · · ·
  • · · ·
  • · · ·

σδ = •

  • · · ·

Proof Suppose there ∃ a sequence σ0σ1σ2 . . . that enumerates all

  • behaviours. Then we

can construct a devilish sequence σδ that differs from any σi at the ith position, and thus is not in our sequence. Contradiction!

12

slide-13
SLIDE 13

Properties Fairness

Metric for Behaviours

We define the distance d(σ, ρ) ∈ R≥0 between two behaviours σ and ρ as follows: d(σ, ρ) = 2−sup{ i∈N | σ|i=ρ|i} (we say that 2−∞ = 0)

13

slide-14
SLIDE 14

Properties Fairness

Metric for Behaviours

We define the distance d(σ, ρ) ∈ R≥0 between two behaviours σ and ρ as follows: d(σ, ρ) = 2−sup{ i∈N | σ|i=ρ|i} (we say that 2−∞ = 0) Intuitively, we consider two behaviours to be close if there is a long prefix for which they agree.

14

slide-15
SLIDE 15

Properties Fairness

Metric for Behaviours

We define the distance d(σ, ρ) ∈ R≥0 between two behaviours σ and ρ as follows: d(σ, ρ) = 2−sup{ i∈N | σ|i=ρ|i} (we say that 2−∞ = 0) Intuitively, we consider two behaviours to be close if there is a long prefix for which they agree. Observations d(x, y) = 0 ⇔ x = y

15

slide-16
SLIDE 16

Properties Fairness

Metric for Behaviours

We define the distance d(σ, ρ) ∈ R≥0 between two behaviours σ and ρ as follows: d(σ, ρ) = 2−sup{ i∈N | σ|i=ρ|i} (we say that 2−∞ = 0) Intuitively, we consider two behaviours to be close if there is a long prefix for which they agree. Observations d(x, y) = 0 ⇔ x = y d(x, y) = d(y, x)

16

slide-17
SLIDE 17

Properties Fairness

Metric for Behaviours

We define the distance d(σ, ρ) ∈ R≥0 between two behaviours σ and ρ as follows: d(σ, ρ) = 2−sup{ i∈N | σ|i=ρ|i} (we say that 2−∞ = 0) Intuitively, we consider two behaviours to be close if there is a long prefix for which they agree. Observations d(x, y) = 0 ⇔ x = y d(x, y) = d(y, x) d(x, z) ≤ d(x, y) + d(y, z)

17

slide-18
SLIDE 18

Properties Fairness

Metric for Behaviours

We define the distance d(σ, ρ) ∈ R≥0 between two behaviours σ and ρ as follows: d(σ, ρ) = 2−sup{ i∈N | σ|i=ρ|i} (we say that 2−∞ = 0) Intuitively, we consider two behaviours to be close if there is a long prefix for which they agree. Observations d(x, y) = 0 ⇔ x = y d(x, y) = d(y, x) d(x, z) ≤ d(x, y) + d(y, z) This forms a metric space and thus a topology on behaviours.

18

slide-19
SLIDE 19

Properties Fairness

Topology

Definition A set S of subsets of U is called a topology if it contains ∅ and U, and is closed under union and finite intersection. Elements of S are called open and complements of open sets are called closed.

19

slide-20
SLIDE 20

Properties Fairness

Topology

Definition A set S of subsets of U is called a topology if it contains ∅ and U, and is closed under union and finite intersection. Elements of S are called open and complements of open sets are called closed. Example (Sierpi´ nski Space) Let U = {0, 1} and S = {∅, {1}, U}.

20

slide-21
SLIDE 21

Properties Fairness

Topology

Definition A set S of subsets of U is called a topology if it contains ∅ and U, and is closed under union and finite intersection. Elements of S are called open and complements of open sets are called closed. Example (Sierpi´ nski Space) Let U = {0, 1} and S = {∅, {1}, U}. Questions What are the closed sets of the Sierpi´ nski space?

21

slide-22
SLIDE 22

Properties Fairness

Topology

Definition A set S of subsets of U is called a topology if it contains ∅ and U, and is closed under union and finite intersection. Elements of S are called open and complements of open sets are called closed. Example (Sierpi´ nski Space) Let U = {0, 1} and S = {∅, {1}, U}. Questions What are the closed sets of the Sierpi´ nski space? Can a set be clopen i.e. both open and closed?

22

slide-23
SLIDE 23

Properties Fairness

Topology for Metric Spaces

Our metric space can be viewed as a topology by defining our open sets as (unions of) open balls: B(σ, r) = { ρ | d(σ, ρ) < r } This is analogous to open and closed ranges of numbers.

23

slide-24
SLIDE 24

Properties Fairness

Topology for Metric Spaces

Our metric space can be viewed as a topology by defining our open sets as (unions of) open balls: B(σ, r) = { ρ | d(σ, ρ) < r } This is analogous to open and closed ranges of numbers. Why do we care? Viewing behaviours as part of a metric space gives us notions of limits, convergence, density and many other mathematical tools.

24

slide-25
SLIDE 25

Properties Fairness

Limits and Boundaries

Consider a sequence of behaviours σ0σ1σ2 . . . .

25

slide-26
SLIDE 26

Properties Fairness

Limits and Boundaries

Consider a sequence of behaviours σ0σ1σ2 . . . . The behaviour σω is called a limit of this sequence if the sequence converges to σω

26

slide-27
SLIDE 27

Properties Fairness

Limits and Boundaries

Consider a sequence of behaviours σ0σ1σ2 . . . . The behaviour σω is called a limit of this sequence if the sequence converges to σω, i.e. for any positive ε: ∃n. ∀i ≥ n. d(σi, σω) < ε

27

slide-28
SLIDE 28

Properties Fairness

Limits and Boundaries

Consider a sequence of behaviours σ0σ1σ2 . . . . The behaviour σω is called a limit of this sequence if the sequence converges to σω, i.e. for any positive ε: ∃n. ∀i ≥ n. d(σi, σω) < ε The limit-closure or closure of a set A, written A, is the set of all the limits of sequences in A.

28

slide-29
SLIDE 29

Properties Fairness

Limits and Boundaries

Consider a sequence of behaviours σ0σ1σ2 . . . . The behaviour σω is called a limit of this sequence if the sequence converges to σω, i.e. for any positive ε: ∃n. ∀i ≥ n. d(σi, σω) < ε The limit-closure or closure of a set A, written A, is the set of all the limits of sequences in A. Question Is A ⊆ A?

29

slide-30
SLIDE 30

Properties Fairness

Limits and Boundaries

Consider a sequence of behaviours σ0σ1σ2 . . . . The behaviour σω is called a limit of this sequence if the sequence converges to σω, i.e. for any positive ε: ∃n. ∀i ≥ n. d(σi, σω) < ε The limit-closure or closure of a set A, written A, is the set of all the limits of sequences in A. Question Is A ⊆ A? A set A is called limit-closed if A = A. It is easy (but not relevant) to prove that limit-closed sets and closed sets are the same.

30

slide-31
SLIDE 31

Properties Fairness

Limits and Boundaries

Consider a sequence of behaviours σ0σ1σ2 . . . . The behaviour σω is called a limit of this sequence if the sequence converges to σω, i.e. for any positive ε: ∃n. ∀i ≥ n. d(σi, σω) < ε The limit-closure or closure of a set A, written A, is the set of all the limits of sequences in A. Question Is A ⊆ A? A set A is called limit-closed if A = A. It is easy (but not relevant) to prove that limit-closed sets and closed sets are the same. A set A is called dense if A = (2P)ω i.e. the closure is the space of all behaviours.

31

slide-32
SLIDE 32

Properties Fairness

Properties

Recall A linear temporal property is a set of behaviours.

32

slide-33
SLIDE 33

Properties Fairness

Properties

Recall A linear temporal property is a set of behaviours.

1

A safety property states that something bad does not happen. For example: I will never run out of money. These are properties that may be violated by a finite prefix of a behaviour.

33

slide-34
SLIDE 34

Properties Fairness

Properties

Recall A linear temporal property is a set of behaviours.

1

A safety property states that something bad does not happen. For example: I will never run out of money. These are properties that may be violated by a finite prefix of a behaviour.

2

A liveness property states that something good will happen. For example: If I start drinking now, eventually I will be smashed. These are properties that can always be satisfied eventually.

34

slide-35
SLIDE 35

Properties Fairness

Properties Examples

Try to express these in LTL. Are they safety or liveness? When I come home, there must be beer in the fridge

35

slide-36
SLIDE 36

Properties Fairness

Properties Examples

Try to express these in LTL. Are they safety or liveness? When I come home, there must be beer in the fridge – Safety When I come home, I’ll drop on the couch and drink a beer

36

slide-37
SLIDE 37

Properties Fairness

Properties Examples

Try to express these in LTL. Are they safety or liveness? When I come home, there must be beer in the fridge – Safety When I come home, I’ll drop on the couch and drink a beer – Liveness I’ll be home later – Liveness The program never allocates more than 100MB of memory

37

slide-38
SLIDE 38

Properties Fairness

Properties Examples

Try to express these in LTL. Are they safety or liveness? When I come home, there must be beer in the fridge – Safety When I come home, I’ll drop on the couch and drink a beer – Liveness I’ll be home later – Liveness The program never allocates more than 100MB of memory — Safety The program will allocate at least 100MB of memory

38

slide-39
SLIDE 39

Properties Fairness

Properties Examples

Try to express these in LTL. Are they safety or liveness? When I come home, there must be beer in the fridge – Safety When I come home, I’ll drop on the couch and drink a beer – Liveness I’ll be home later – Liveness The program never allocates more than 100MB of memory — Safety The program will allocate at least 100MB of memory – Liveness No two processes are simultaneously in their critical section

39

slide-40
SLIDE 40

Properties Fairness

Properties Examples

Try to express these in LTL. Are they safety or liveness? When I come home, there must be beer in the fridge – Safety When I come home, I’ll drop on the couch and drink a beer – Liveness I’ll be home later – Liveness The program never allocates more than 100MB of memory — Safety The program will allocate at least 100MB of memory – Liveness No two processes are simultaneously in their critical section — Safety If a process wishes to enter its critical section, it will eventually be allowed to do so

40

slide-41
SLIDE 41

Properties Fairness

Properties Examples

Try to express these in LTL. Are they safety or liveness? When I come home, there must be beer in the fridge – Safety When I come home, I’ll drop on the couch and drink a beer – Liveness I’ll be home later – Liveness The program never allocates more than 100MB of memory — Safety The program will allocate at least 100MB of memory – Liveness No two processes are simultaneously in their critical section — Safety If a process wishes to enter its critical section, it will eventually be allowed to do so – Liveness

41

slide-42
SLIDE 42

Properties Fairness

Safety Properties are Limit Closed

Let P be a safety property.

42

slide-43
SLIDE 43

Properties Fairness

Safety Properties are Limit Closed

Let P be a safety property. Assume that there exists a sequence of behaviours σ0σ1σ2 . . . such that every σi ∈ P but their limit σω / ∈ P.

43

slide-44
SLIDE 44

Properties Fairness

Safety Properties are Limit Closed

Let P be a safety property. Assume that there exists a sequence of behaviours σ0σ1σ2 . . . such that every σi ∈ P but their limit σω / ∈ P. For σω to violate the safety property P, there must be a specific state in σω where shit hit the fan.

44

slide-45
SLIDE 45

Properties Fairness

Safety Properties are Limit Closed

Let P be a safety property. Assume that there exists a sequence of behaviours σ0σ1σ2 . . . such that every σi ∈ P but their limit σω / ∈ P. For σω to violate the safety property P, there must be a specific state in σω where shit hit the fan.That is, there must be a specific k such that any behaviour with the prefix σω|k is not in P.

45

slide-46
SLIDE 46

Properties Fairness

Safety Properties are Limit Closed

Let P be a safety property. Assume that there exists a sequence of behaviours σ0σ1σ2 . . . such that every σi ∈ P but their limit σω / ∈ P. For σω to violate the safety property P, there must be a specific state in σω where shit hit the fan.That is, there must be a specific k such that any behaviour with the prefix σω|k is not in P. For σω to be the limit of our sequence, however, that means there is a particular point in our sequence i after which all σj for j ≥ i agree with σω for the first k + 1 states.

46

slide-47
SLIDE 47

Properties Fairness

Safety Properties are Limit Closed

Let P be a safety property. Assume that there exists a sequence of behaviours σ0σ1σ2 . . . such that every σi ∈ P but their limit σω / ∈ P. For σω to violate the safety property P, there must be a specific state in σω where shit hit the fan.That is, there must be a specific k such that any behaviour with the prefix σω|k is not in P. For σω to be the limit of our sequence, however, that means there is a particular point in our sequence i after which all σj for j ≥ i agree with σω for the first k + 1 states. According to the above point, however, those σj cannot be in P.

47

slide-48
SLIDE 48

Properties Fairness

Safety Properties are Limit Closed

Let P be a safety property. Assume that there exists a sequence of behaviours σ0σ1σ2 . . . such that every σi ∈ P but their limit σω / ∈ P. For σω to violate the safety property P, there must be a specific state in σω where shit hit the fan.That is, there must be a specific k such that any behaviour with the prefix σω|k is not in P. For σω to be the limit of our sequence, however, that means there is a particular point in our sequence i after which all σj for j ≥ i agree with σω for the first k + 1 states. According to the above point, however, those σj cannot be in P. Contradiction.

48

slide-49
SLIDE 49

Properties Fairness

Liveness Properties are Dense

Let P be a liveness property. We want to show that P contains all behaviours, that is, that any behaviour σ is the limit of some sequence of behaviours in P.

49

slide-50
SLIDE 50

Properties Fairness

Liveness Properties are Dense

Let P be a liveness property. We want to show that P contains all behaviours, that is, that any behaviour σ is the limit of some sequence of behaviours in P. If σ ∈ P,

50

slide-51
SLIDE 51

Properties Fairness

Liveness Properties are Dense

Let P be a liveness property. We want to show that P contains all behaviours, that is, that any behaviour σ is the limit of some sequence of behaviours in P. If σ ∈ P, then just pick the sequence σσσ . . . which trivially converges to σ. If σ / ∈ P:

It must not “do the right thing eventually”, i.e. no finite prefix

  • f σ ever fulfills the promise of the liveness property.

51

slide-52
SLIDE 52

Properties Fairness

Liveness Properties are Dense

Let P be a liveness property. We want to show that P contains all behaviours, that is, that any behaviour σ is the limit of some sequence of behaviours in P. If σ ∈ P, then just pick the sequence σσσ . . . which trivially converges to σ. If σ / ∈ P:

It must not “do the right thing eventually”, i.e. no finite prefix

  • f σ ever fulfills the promise of the liveness property.

However, every finite prefix σ|i of σ could be extended differently with some ρi such that σ|iρi is in P again.

52

slide-53
SLIDE 53

Properties Fairness

Liveness Properties are Dense

Let P be a liveness property. We want to show that P contains all behaviours, that is, that any behaviour σ is the limit of some sequence of behaviours in P. If σ ∈ P, then just pick the sequence σσσ . . . which trivially converges to σ. If σ / ∈ P:

It must not “do the right thing eventually”, i.e. no finite prefix

  • f σ ever fulfills the promise of the liveness property.

However, every finite prefix σ|i of σ could be extended differently with some ρi such that σ|iρi is in P again. Then, limi→∞(σ|iρi) = σ and thus σ is the limit of a sequence in P.

53

slide-54
SLIDE 54

Properties Fairness

The Big Result

Alpern and Schneider’s Theorem Every property is the intersection of a safety and a liveness property

54

slide-55
SLIDE 55

Properties Fairness

The Big Result

Alpern and Schneider’s Theorem Every property is the intersection of a safety and a liveness property P = P ∩ (2P)ω \ (P \ P)

dense closed

55

slide-56
SLIDE 56

Properties Fairness

The Big Result

Alpern and Schneider’s Theorem Every property is the intersection of a safety and a liveness property P = P ∩ (2P)ω \ (P \ P)

dense closed

Why are these two components closed and dense? Also, let’s do the set theory reasoning to show this equality holds.

56

slide-57
SLIDE 57

Properties Fairness

The Big Result

Alpern and Schneider’s Theorem Every property is the intersection of a safety and a liveness property P = P ∩ (2P)ω \ (P \ P)

dense closed

Why are these two components closed and dense? Also, let’s do the set theory reasoning to show this equality holds. If there’s time: Let’s also prove that every property is the intersection of two liveness properties.

57

slide-58
SLIDE 58

Properties Fairness

Decomposing Safety and Liveness

Let’s break these up into their safety and liveness components. The program will allocate exactly 100MB of memory.

58

slide-59
SLIDE 59

Properties Fairness

Decomposing Safety and Liveness

Let’s break these up into their safety and liveness components. The program will allocate exactly 100MB of memory. If given an invalid input, the program will return the value -1.

59

slide-60
SLIDE 60

Properties Fairness

Decomposing Safety and Liveness

Let’s break these up into their safety and liveness components. The program will allocate exactly 100MB of memory. If given an invalid input, the program will return the value -1. The program will sort the input list.

60

slide-61
SLIDE 61

Properties Fairness

Critical Sections

  • lock!

unlock!

  • lock!

unlock! free locked lock? unlock? Does the product satisfy G(• ⇒ F • ) (eventual entry)?

slide-62
SLIDE 62

Properties Fairness

Critical Sections

  • lock!

unlock!

  • lock!

unlock! free locked lock? unlock? Does the product satisfy G(• ⇒ F • ) (eventual entry)?

62

slide-63
SLIDE 63

Properties Fairness

Fairness

Definition Fairness is a scheduling constraint that ensures that if a process is ready to move, it will eventually be allowed to move.

63

slide-64
SLIDE 64

Properties Fairness

Fairness

Definition Fairness is a scheduling constraint that ensures that if a process is ready to move, it will eventually be allowed to move. Two types of fairness: Weak Fairness — If a process is continuously ready, it will eventually be scheduled: G(G Ready ⇒ F Scheduled)

64

slide-65
SLIDE 65

Properties Fairness

Fairness

Definition Fairness is a scheduling constraint that ensures that if a process is ready to move, it will eventually be allowed to move. Two types of fairness: Weak Fairness — If a process is continuously ready, it will eventually be scheduled: G(G Ready ⇒ F Scheduled) Strong Fairness — If a process is ready infinitely often, it will eventually be scheduled. G(GF Ready ⇒ F Scheduled)

65

slide-66
SLIDE 66

Properties Fairness

Bibliography

Baier/Katoen: Principles of Model Checking, Section 3.3 (parts), 3.4 (parts), 3.5 Bowen Alpern and Fred B. Schneider: Defining Liveness, Information Processing Letters 21(4):181-185, October 1985.

66