Probabilistic CTL

From testwiki
Jump to navigation Jump to search

Template:More footnotes Probabilistic Computation Tree Logic (PCTL) is an extension of computation tree logic (CTL) that 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

A possible syntax of PCTL can be defined as follows:

ϕ::=p¬ϕϕϕϕϕ𝒫λ(ϕ𝒰ϕ)𝒫λ(ϕ)

Therein, {<,,,>} is a comparison operator and λ is a probability threshold.
Formulas of PCTL are interpreted over discrete Markov chains. An interpretation structure is a quadruple K=S,si,𝒯,L, where

  • S is a finite set of states,
  • siS is an initial state,
  • 𝒯 is a transition probability function, 𝒯:S×S[0,1], such that for all sS we have sS𝒯(s,s)=1, and
  • L is a labeling function, L:S2A, assigning atomic propositions to states.


A path σ from a state s0 is an infinite sequence of states s0s1sn. The n-th state of the path is denoted as σ[n] and the prefix of σ of length n is denoted as σn.

Probability measure

A probability measure μm on the set of paths with a common prefix of length n is given by the product of transition probabilities along the prefix of the path:

μm({σX:σn=s0sn})=𝒯(s0,s1)××𝒯(sn1,sn)

For n=0 the probability measure is equal to μm({σX:σ0=s0})=1.

Satisfaction relation

The satisfaction relation sKf is inductively defined as follows:

  • sKa if and only if aL(s),
  • sK¬f if and only if not sKf,
  • sKf1f2 if and only if sKf1 or sKf2,
  • sKf1f2 if and only if sKf1 and sKf2,
  • sK𝒫λ(f1𝒰f2) if and only if μm({σ:σ[0]=s(i)σ[i]Kf2(0j<i)σ[j]Kf1})λ, and
  • sK𝒫λ(f) if and only if μm({σ:σ[0]=s(i0)σ[i]Kf})λ.

See also

References

  1. Hansson, Hans, and Bengt Jonsson. "A logic for reasoning about time and reliability." Formal aspects of computing 6.5 (1994): 512-535.