Independence of clones criterion: Difference between revisions
No edit summary |
en>Textorus m use who for people |
||
Line 1: | Line 1: | ||
{{expert-subject|date=February 2012}} | |||
'''Probabilistic Computation Tree Logic''' (PCTL) is an extension of [[computation tree logic]] (CTL) which allows for probabilistic quantification of described properties. It has been defined in the paper by Hansson and Jonsson.<ref>http://citeseer.ist.psu.edu/hansson94logic.html</ref> | |||
PCTL is a useful [[logic]] for stating soft deadline properties, e.g. "after a request for a service, there is at least a 98% probability that the service will be carried out within 2 seconds". Akin CTL suitability for model-checking PCTL extension is widely used as a property specification language for probabilistic model checkers. | |||
== PCTL syntax == | |||
One of the possible syntax of PCTL is defined as follows: | |||
<center> | |||
<math> | |||
\phi ::= p | \neg p | \phi \lor \phi | \phi \land \phi | \mathcal{P}_{\sim\lambda}(\phi \mathcal{U} \phi) | | |||
\mathcal{P}_{\sim\lambda}(\square\phi) | |||
</math> | |||
</center> | |||
Therein, <math>\sim \in \{ <, \leq, \geq, > \}</math> is comparison operator and <math>\lambda</math> is a probability threshold. | |||
<br> | |||
Formulas of PCTL are interpreted over discrete [[Markov chains]]. An interpretation structure | |||
is a quadruple <math>K = \langle S, s^i, \mathcal{T}, L \rangle</math>, where | |||
*<math>S</math> is a finite set of states, | |||
*<math>s^i \in S</math> is an initial state, | |||
*<math>\mathcal{T}</math> is a transition probability function, <math>\mathcal{T} : S \times S \to [0,1] </math>, such that for all <math>s \in S</math> we have <math>\sum_{s'\in S} \mathcal{T}(s,s')=1</math>, and | |||
*<math>L</math> is a labeling function, <math>L:S\to2^A</math>, assigning atomic propositions to states. | |||
<br> | |||
A path <math>\sigma</math> from a state <math>s_0</math> is an infinite sequence of states | |||
<math>s_0 \to s_1 \to \dots \to s_n \to \dots </math>. The n-th state of the path is denoted as <math>\sigma[n]</math> | |||
and the prefix of <math>\sigma</math> of length <math>n</math> is denoted as <math>\sigma\uparrow n</math>. | |||
== Probability measure == | |||
A probability measure <math>\mu_m</math> of the set of path with the common prefix of length <math>n</math> is equal to the product of transitions probabilitites along the prefix of the path: | |||
<center><math> | |||
\mu_m(\{\sigma \in X : \sigma\uparrow n = s_0 \to \dots \to s_n \}) = \mathcal{T}(s_0,s_1) \times\dots\times\mathcal{T}(s_{n-1},s_n) | |||
</math></center> | |||
For <math>n = 0</math> the probability measure is equal to <math>\mu_m(\{\sigma \in X : \sigma\uparrow 0 = s_0 \}) = 1</math>. | |||
== Satisfaction relations == | |||
Satisfaction relations <math>s \models_K f</math>, <math>\sigma \models_K f</math> are inductively defined as follows: | |||
* <math>s \models_K a</math> if and only if <math>a \in L(s)</math>, | |||
* <math>s \models_K \neg f</math> if and only if not <math>s \models_K f</math>, | |||
* <math>s \models_K f_1 \lor f_2</math> if and only if <math>s \models_K f_1</math> or <math>s \models_K f_2</math>, | |||
* <math>s \models_K f_1 \land f_2</math> if and only if <math>s \models_K f_1</math> and <math>s \models_K f_2</math>, | |||
* <math>s \models_K \mathcal{P}_{\sim\lambda}(f_1 \mathcal{U} f_2)</math> if and only if <math>\mu_m(\{\sigma : \sigma[0] = s \land (\exists i)\sigma[i] \models_K f_2 \land (\forall 0 \leq j < i) \sigma[j] \models_K f_1\}) \sim \lambda</math>, and | |||
* <math>s \models_K \mathcal{P}_{\sim\lambda}(\square f)</math> if and only if <math>\mu_m(\{\sigma : \sigma[0] = s \land (\forall i \geq 0)\sigma[i] \models_K f\}) \sim \lambda</math>. | |||
==References== | |||
<references /> | |||
[[Category:Temporal logic]] |
Revision as of 18:25, 20 July 2013
Probabilistic Computation Tree Logic (PCTL) is an extension of computation tree logic (CTL) which allows for probabilistic quantification of described properties. It has been defined in the paper by Hansson and Jonsson.[1]
PCTL is a useful logic for stating soft deadline properties, e.g. "after a request for a service, there is at least a 98% probability that the service will be carried out within 2 seconds". Akin CTL suitability for model-checking PCTL extension is widely used as a property specification language for probabilistic model checkers.
PCTL syntax
One of the possible syntax of PCTL is defined as follows:
Therein, is comparison operator and is a probability threshold.
Formulas of PCTL are interpreted over discrete Markov chains. An interpretation structure
is a quadruple , where
- is a finite set of states,
- is an initial state,
- is a transition probability function, , such that for all we have , and
- is a labeling function, , assigning atomic propositions to states.
A path from a state is an infinite sequence of states
. The n-th state of the path is denoted as
and the prefix of of length is denoted as .
Probability measure
A probability measure of the set of path with the common prefix of length is equal to the product of transitions probabilitites along the prefix of the path:
For the probability measure is equal to .
Satisfaction relations
Satisfaction relations , are inductively defined as follows:
- if and only if ,
- if and only if not ,
- if and only if or ,
- if and only if and ,
- if and only if , and
- if and only if .