Chapter 2 - CTL Model Checking Flashcards
What does it mean TS ⊨ φ mean?
TS satisfies psi
Extended LTS with atomic propositions
is an LTS = (S, Σ, T, I, AP, L)
- AP is the set of atomic propositions
- L: S -> 2^AP is a labeling function that labels each state with a set of atomic propositions that are true in this state.
What are action labels of Transitions in a LTS used for?
are mainly used to model the possibility of interactions of parts of a system.
They are needed to build the parallel composition(handshaking), where it needs to be defined which actions of concurrent processes must be carried out synchronously.
Kripke Structure KS(TS)
is the Kripke Structure of a LTS TS.
A KS over a set of atomic propositions AP is a tuple M=(S, S0, R, L)
- S finite, non empty set of States
- S0 ⊆ S is a set of initial states
- R ⊆ SxS a transition relation that must be left-total
- L: S -> 2^AP a labeling function that labels each state with a set of atomic propositions that are true in this state.
Left-totality def…
For all states s in S, there exists a state s’ in S such that there exists a transition from s to s’.
R is left-total iff ∀s ∈ S ∃s′∈S such that (s, s′)∈R.
Left-totality means..
- there are no deadlock states
- all executions are infinite
CTL
Computation Tree Logic
is a logic for specifying properties of computation trees.
How is a computation tree formed?
it is formed from a KS by picking an initial state and unwinding the possible paths into a tree structure.
CTL Formulas
…consist of <b>path quantifiers</b> and <b>temporal operators</b>, combined with predicates over atomic propositions
Path quantifiers
<b>A</b> (for all paths)
<b>E</b> (for some path)
Temporal operators
<b>X</b> (next)
<b>F</b> (eventually, in the future)
<b>G</b> (always)
<b>U</b> (until)
CTL syntax definition
- <i>true</i> and <i>false</i> are CTL formulas
- if a ∈ AP an atomic proposition, then a is a CTL formula
- if φ and ψ are CTL formulas, so are
¬φ, φ ∧ ψ, φ ∨ ψ
AX φ, EXφ
AGφ, EGφ
AFφ, EFφ
A[φ U ψ], E[ φ U ψ]
Equivalences of CTL Formulas
AX φ
AX φ ≡ ¬EX(¬φ)
Equivalences of CTL Formulas
AF φ
AF φ ≡ ¬EG(¬φ)
Equivalences of CTL Formulas
AG φ
AG φ ≡ ¬EF(¬φ)