[Paper Review] Justness: A Completeness Criterion for Capturing Liveness Properties
This paper introduces justness as a completeness criterion for modeling liveness properties in distributed systems, offering a middle ground between progress (too weak) and fairness (too strong). It formalizes justness via an asymmetric concurrency relation in CCS and its extensions, ensuring liveness properties like 'eventually eating a croissant' are correctly captured by ruling out incomplete runs while allowing environment-dependent blocking transitions.
This paper poses that transition systems constitute a good model of distributed systems only in combination with a criterion telling which paths model complete runs of the represented systems. Among such criteria, progress is too weak to capture relevant liveness properties, and fairness is often too strong; for typical applications we advocate the intermediate criterion of justness. Previously, we proposed a definition of justness in terms of an asymmetric concurrency relation between transitions. Here we define such a concurrency relation for the transition systems associated to the process algebra CCS as well as its extensions with broadcast communication and signals, thereby making these process algebras suitable for capturing liveness properties requiring justness.
Motivation & Objective
- To address the inadequacy of progress and fairness as completeness criteria for modeling liveness in distributed systems.
- To propose justness as a refined criterion that captures relevant liveness properties without over-constraining system behavior.
- To formalize justness using an asymmetric concurrency relation in the context of process algebras like CCS, broadcast CCS, and signal-passing CCS.
- To ensure feasibility of justness by proving conditions under which finite paths can be extended into complete just paths.
- To provide a foundation for verifying liveness properties in reactive systems with blocking and non-blocking transitions.
Proposed method
- Defines justness via an asymmetric concurrency relation $\mathrel{\mbox{$\smile\hspace{-1.5pt}\raisebox{2.5pt}{$\scriptscriptstyle\bullet$}$}}$ between transitions, where $t \mathrel{\mbox{$\smile\hspace{-1.5pt}\raisebox{2.5pt}{$\scriptscriptstyle\bullet$}$}} u$ means $t$ interferes with $u$.
- Introduces the notion of $B$-justness, where $B$ is a set of blocking actions, and a path is $B$-just if no non-blocking transition is indefinitely delayed by interfering transitions.
- Uses the closure property (2): if $t \in \text{Tr}^\bullet$, $v$ is a transition with $\text{source}(t) = \text{source}(v)$, and $\text{npc}(t) \cap \text{afc}(v) = \emptyset$, then there exists $u \in \text{Tr}^\bullet$ with $\text{source}(u) = \text{target}(v)$, $\ell(u) = \ell(t)$, and $\text{npc}(u) = \text{npc}(t)$.
- Proposes an algorithm to extend any finite path into a $B$-just path by maintaining a priority-like matrix of enabled transitions and crossing out interfering ones.
- Establishes feasibility of $B$-justness under the condition that only countably many non-blocking transitions are enabled per state.
- Applies the framework to CCS, broadcast CCS, and signal-passing CCS, showing how these formalisms can now correctly model liveness under justness.
Experimental results
Research questions
- RQ1How can liveness properties be correctly captured in distributed systems where fairness is too strong and progress too weak?
- RQ2What is a suitable completeness criterion that distinguishes blocking and non-blocking transitions in reactive systems?
- RQ3How can justness be formally defined and implemented in process algebras like CCS and its extensions?
- RQ4Under what conditions is the $B$-justness criterion feasible, i.e., can every finite path be extended into a complete $B$-just path?
- RQ5What closure properties are necessary and sufficient to ensure the consistency and correctness of the justness criterion?
Key findings
- Justness is proposed as a completeness criterion that strikes a balance between progress and fairness, correctly modeling liveness in reactive systems with blocking and non-blocking transitions.
- The asymmetric concurrency relation $\mathrel{\mbox{$\smile\hspace{-1.5pt}\raisebox{2.5pt}{$\scriptscriptstyle\bullet$}$}}$ enables precise modeling of interference between transitions.
- The closure property (2) is identified as the weakest condition that supports the feasibility of $B$-justness and ensures the correctness of the extension algorithm.
- A constructive algorithm is provided that extends any finite path into a $B$-just path, assuming only countably many non-blocking transitions are enabled per state.
- The framework is successfully applied to CCS, broadcast CCS, and signal-passing CCS, enabling these formalisms to correctly capture liveness properties under justness.
- Feasibility of $B$-justness is proven under the condition that only countably many non-blocking transitions are enabled in each state, ensuring practical applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.