Abstract
This paper establishes the first formal characterization of safety and liveness properties for fully probabilistic systems. By defining properties over probabilistic trees rather than execution paths, the authors provide a topological framework where safety corresponds to closed sets and liveness to dense sets. They identify syntactic fragments of Probabilistic CTL (PCTL) for these categories and present a linear-time decomposition algorithm to split any flat PCTL formula into its safety and liveness components.
Introduction
In formal verification, system requirements are traditionally categorized into two fundamental classes: safety and liveness. Safety properties ensure that "something bad will never happen," such as a system never entering an error state. Liveness properties ensure that "something good will eventually happen," such as a request being eventually granted. This taxonomy, established by Lamport and Alpern/Schneider, is vital because safety and liveness require distinct proof techniques—invariants for safety and well-founded induction for liveness.
While this distinction is well-defined for classical systems described by Linear Temporal Logic (LTL) or Computation Tree Logic (CTL), it remained informal for probabilistic systems like Markov Chains. This paper addresses this gap by providing a systematic framework to classify and decompose Probabilistic CTL (PCTL) formulas.
Probabilistic Trees and Topological Definitions
The authors move beyond simple execution paths, which are insufficient for capturing the branching nature of PCTL. Instead, they define properties over Probabilistic Trees (PTs). A PT represents the possible evolutions of a Markov Chain, where each node is labeled with atomic propositions and edges represent transition probabilities.
Following the classical topological approach, the authors define these categories as follows:
- Safety properties are characterized as "closed" sets of trees. A property is a safety property if any violation can be detected within a finite amount of time (a finite prefix of the tree).
- Liveness properties are "dense" sets. Regardless of the system's past behavior (any finite prefix), it remains possible to extend the execution in a way that satisfies the property.
Syntactic Fragments of PCTL
A major contribution of the paper is the identification of specific syntactic subsets of PCTL that correspond to these topological classes:
- $PCTL_{safe}$: The authors identify a fragment that is both sound (every formula in it is a safety property) and complete (every safety property expressible in PCTL has an equivalent formula in this fragment).
- $PCTL_{live}$: Characterizing liveness syntactically proves more challenging. The authors provide sound and complete fragments but note that a perfectly "tight" syntactic characterization is inherently linked to the PCTL satisfiability problem—a notoriously difficult open problem in computer science.
Key Insights: The Satisfiability Wall and Absolute Liveness
The research highlights several nuanced differences between classical and probabilistic properties. One key insight is the Finite Counterexample Rule: in the probabilistic domain, a safety violation occurs when a finite tree reaches a probability threshold for a "bad" outcome that cannot be reversed by future transitions.
Furthermore, the authors identify Absolute Liveness, a property that, once satisfied, remains satisfied regardless of future transitions. They demonstrate that absolute liveness is logically equivalent to "almost sure reachability," expressed in PCTL as $[\diamond \Phi]_{>0}$.
Results and Comparative Analysis
The authors prove a Decomposition Theorem, showing that any probabilistic tree property $P$ can be represented as the intersection of a safety property $S$ and a liveness property $L$ ($P = S \cap L$). They also provide a linear-time algorithm to perform this decomposition for "flat" PCTL formulas (those without nested probabilistic operators).
The paper also links these properties to strong simulation. They demonstrate that safety properties are preserved under simulation, which is a critical result for model abstraction—allowing researchers to verify properties on a simpler, simulated model and guarantee they hold on the original.
Finally, the paper compares these probabilistic results with existing branching-time taxonomies, such as those by Manolios and Trefler. As shown in the table below, while some qualitative PCTL formulas align with their CTL counterparts, others diverge, particularly regarding how they handle existential and universal quantifiers in a probabilistic context.
Conclusion and Future Work
This work provides a rigorous foundation for the safety-liveness taxonomy in probabilistic systems, enabling the development of specialized abstraction and monitoring techniques. Future research directions include extending this framework to Markov Decision Processes (MDPs) to account for non-deterministic choices, handling deeply nested probabilistic operators, and integrating fairness constraints into the taxonomy.
Summary updated