In the literature, I have only found a formal definition for safety properties in LTL. This, essentially, boils down to the following: "every trace that violates the property has a finite prefix attesting this violation". This, indeed, works nicely for LTL, which is based on traces. What about CTL?
For properties that can be equivalently expressed in LTL and in CTL, the definition safety in CTL can be given by transposing that from LTL. What about the ones that are not expressible in LTL?
For instance, AG p
is clearly a safety property, when p
is a state predicate. What about AG EF p
? If the property is violated, then there exists a finite trace ending in a state, from which no state satisfying p
is reachable.
Also, assuming there is a definition of safety in CTL, is there a syntactic characterisation of such properties?
G
andW
(weak until) and negation is only used on state predicates, then I would expect the formula to be a safety one. Is this true? Is there a weaker characterisation? $\endgroup$AF AG p
. If there were an LTL equivalent, it would have to beF G p
. However, this latter is not expressible in CTL. (Btw, I think these two last comments are more relevant to the other question I asked, i.e. cstheory.stackexchange.com/questions/36626/…) $\endgroup$