[Paper Review] Putting Strong Linearizability in Context: Preserving Hyperproperties in Programs that Use Concurrent Objects.
This paper introduces strong observational refinement as a generalized framework that preserves hyperproperties—such as security properties and probability distributions—when verifying concurrent programs using concrete objects. It proves that strong observational refinement is equivalent to forward simulation and generalizes strong linearizability, enabling both vertical and horizontal composition of strongly linearizable implementations.
It has been observed that linearizability, the prevalent consistency condition for implementing concurrent objects, does not preserve some probability distributions. A stronger condition, called strong linearizability has been proposed, but its study has been somewhat ad-hoc. This paper investigates strong linearizability by casting it in the context of observational refinement of objects. We present a strengthening of observational refinement, which generalizes strong linearizability, obtaining several important implications. When a concrete concurrent object refining another, more abstract object - often sequential - the correctness of a program employing the concrete object can be verified by considering its behaviors when using the more abstract object. This means that trace properties of a program using the concrete object can be proved by considering the program with the abstract object. This, however, does not hold for hyperproperties, including many security properties and probability distributions of events. We define strong observational refinement, a strengthening of refinement that preserves hyperproperties, and prove that it is equivalent to the existence of forward simulations. We show that strong observational refinement generalizes strong linearizability. This implies that strong linearizability is also equivalent to forward simulation, and shows that strongly linearizable implementations can be composed both horizontally (i.e., locality) and vertically (i.e., with instantiation). For situations where strongly linearizable implementations do not exist (or are less efficient), we argue that reasoning about hyperproperties of programs can be simplified by strong observational refinement of abstract objects that are not necessarily sequential.
Motivation & Objective
- To address the limitation of linearizability in preserving hyperproperties like probability distributions and security properties in concurrent programs.
- To formalize a stronger refinement relation that ensures correctness of hyperproperties when replacing abstract objects with concrete concurrent implementations.
- To generalize strong linearizability within a broader theoretical framework based on observational refinement.
- To establish conditions under which hyperproperties are preserved during program verification using concrete concurrent objects.
- To enable compositional reasoning—both vertically (via instantiation) and horizontally (via locality)—for strongly linearizable implementations.
Proposed method
- Introduce strong observational refinement as a strengthening of observational refinement that preserves hyperproperties.
- Define forward simulations as a characterization of strong observational refinement, proving their equivalence.
- Generalize strong linearizability by embedding it within the framework of strong observational refinement.
- Show that strong observational refinement implies preservation of trace properties and hyperproperties, including probabilistic and security-related ones.
- Demonstrate that strong observational refinement supports both vertical composition (e.g., instantiation of abstract objects) and horizontal composition (e.g., modular construction of concurrent systems).
- Argue that even when strongly linearizable implementations are unavailable or inefficient, reasoning about hyperproperties can be simplified via strong observational refinement of non-sequential abstract objects.
Experimental results
Research questions
- RQ1Can linearizability be extended to preserve hyperproperties such as probability distributions and security properties in concurrent programs?
- RQ2Is there a formal refinement relation stronger than observational refinement that preserves hyperproperties in concurrent object implementations?
- RQ3How does strong observational refinement relate to forward simulations, and can this equivalence be formally established?
- RQ4Can strong linearizability be generalized within a broader theoretical framework that supports compositional reasoning?
- RQ5Under what conditions can hyperproperties be preserved when using non-sequential abstract objects in program verification?
Key findings
- Strong observational refinement is equivalent to the existence of forward simulations, providing a formal and operational characterization of the refinement relation.
- Strong linearizability is subsumed by strong observational refinement, meaning it is a special case within a more general framework.
- Strong observational refinement enables both vertical and horizontal composition of strongly linearizable implementations, supporting modular and scalable verification.
- The framework allows verification of hyperproperties in programs using concrete concurrent objects by reasoning about their abstract counterparts, even when those abstractions are non-sequential.
- When strongly linearizable implementations are impractical, strong observational refinement of abstract objects still enables simplified reasoning about hyperproperties in concurrent programs.
- The results establish that hyperproperties—such as probabilistic behavior and security policies—are preserved under strong observational refinement, addressing a key limitation of standard linearizability.
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.