Content deleted Content added
m Dating maintenance tags: {{Mergeto}} |
m fix layout |
||
Line 4:
==Weak fairness / justice==
This declares conditions such as all processes are executing infinitely often. If you consider the processes to be P<sub>i</sub>, then the condition becomes:
:<math>\bigwedge GFP_{i}</math> ==Strong fairness / compassion==
Here, if a process is requesting a resource infinitely often (R), it should be allowed to get the resource (C) infinitely often:
:<math>\bigwedge( GFR \longrightarrow GFC)</math> ==Model checking for fair CTL==
If you consider a Kripke Model, the fair Kripke Model has a set of States F. A path <math>\pi = so, s1 \dots</math> is considered a fair path, if and
only if the path includes all members of F infinitely often. <br/>
Fair CTL model checking restricts the checks to only fair paths. There are two kinds:
1. M<sub>f</sub>,s<sub>i</sub> |= A<math>\phi</math> if and only if <math>\phi</math> holds in ALL fair paths. <br/>▼
2. M<sub>f</sub>,s<sub>i</sub> |= E<math>\phi</math> if and only if <math>\phi</math> holds in one ore more fair paths. <br/>▼
▲:1. M<sub>f</sub>,s<sub>i</sub> |= A<math>\phi</math> if and only if <math>\phi</math> holds in ALL fair paths.
A fair state is one from which at least one fair path originates. The is translatable to, M<sub>f</sub>,s |= EGtrue <br />▼
▲: 2. M<sub>f</sub>,s<sub>i</sub> |= E<math>\phi</math> if and only if <math>\phi</math> holds in one ore more fair paths.
▲A fair state is one from which at least one fair path originates. The is translatable to, M<sub>f</sub>,s |= EGtrue
==SCC-based approach==
Line 22 ⟶ 28:
To check for fair EG for any formula,
# Compute what is called the ''denotation'' of the formula. Basically all the states such that M, s |= formula.
# restrict the model to the denotation.
|