[Paper Review] Hyperproperty-Preserving Register Specifications
This paper introduces two non-atomic shared-memory register specifications—WSR (Write Strong Register) and DR (Decisive Register)—that enable formal reasoning about hyperproperties in concurrent programs using non-strongly linearizable register implementations. By proving forward simulations from write strongly-linearizable and decisively linearizable implementations to these specifications, the authors establish that hyperproperties like probabilistic noninterference are preserved, even for widely used implementations like ABD that are not strongly linearizable.
Reasoning about hyperproperties of concurrent implementations, such as the guarantees these implementations provide to randomized client programs, has been a long-standing challenge. Standard linearizability enables the use of atomic specifications for reasoning about standard properties, but not about hyperproperties. A stronger correctness criterion, called strong linearizability, enables such reasoning, but is rarely achievable, leaving various useful implementations with no means for reasoning about their hyperproperties. In this paper, we focus on registers and devise non-atomic specifications that capture a wide-range of well-studied register implementations and enable reasoning about their hyperproperties. First, we consider the class of write strong-linearizable implementations, a recently proposed useful weakening of strong linearizability, which allows more implementations, such as the well-studied single-writer ABD distributed implementation. We introduce a simple shared-memory register specification that can be used for reasoning about hyperproperties of programs that use write strongly-linearizable implementations. Second, we introduce a new linearizability class, which we call decisive linearizability, that is weaker than write strong-linearizability and includes multi-writer ABD, and develop a second shared-memory register specification for reasoning about hyperproperties of programs that use register implementations of this class. These results shed light on the hyperproperties guaranteed when simulating shared memory in a crash-resilient message-passing system.
Motivation & Objective
- To address the lack of formal reasoning mechanisms for hyperproperties in non-strongly linearizable concurrent register implementations.
- To identify and characterize weaker linearizability criteria that still preserve hyperproperties.
- To develop simple, non-atomic register specifications (WSR and DR) that serve as complete abstractions for entire classes of implementations.
- To enable verification of hyperproperties—such as noninterference and probabilistic outcome guarantees—using forward simulation to these abstractions.
- To demonstrate that well-known implementations like single-writer and multi-writer ABD are amenable to hyperproperty reasoning via these new specifications.
Proposed method
- Propose WSR—a non-atomic shared-memory register specification—for reasoning about programs using write strongly-linearizable implementations.
- Prove that every write strongly-linearizable implementation admits a forward simulation to WSR, enabling strong observational refinement and hyperproperty preservation.
- Introduce decisive linearizability as a weaker correctness criterion than write strong-linearizability, applicable to multi-writer ABD.
- Define DR—a second non-atomic register specification—complete for the class of decisively linearizable implementations.
- Use forward simulation to establish that both WSR and DR are complete abstractions: every implementation in their respective classes simulates to them.
- Leverage the correspondence between forward simulation and strong observational refinement to transfer hyperproperty guarantees from implementations to their abstractions.
Experimental results
Research questions
- RQ1Can hyperproperties be formally reasoned about in concurrent programs using register implementations that are not strongly linearizable?
- RQ2What weaker correctness criterion than strong linearizability still enables preservation of hyperproperties in register implementations?
- RQ3Is there a complete, non-atomic specification for the class of write strongly-linearizable register implementations?
- RQ4Can the ABD algorithm for shared-memory simulation be formally verified for hyperproperties using a simpler abstraction?
- RQ5What is the role of forward simulation in enabling hyperproperty-preserving reasoning for non-atomic, non-strongly linearizable implementations?
Key findings
- The WSR specification is complete for the class of write strongly-linearizable register implementations, meaning every such implementation has a forward simulation to WSR.
- The DR specification is complete for the class of decisively linearizable implementations, which includes multi-writer ABD.
- Forward simulation from an implementation to WSR or DR ensures that all hyperproperties preserved by the atomic specification are also preserved by the implementation.
- The ABD algorithm for shared-memory simulation in crash-resilient message-passing systems is shown to be decisively linearizable via a forward simulation to DR.
- The paper establishes that hyperproperties such as probabilistic noninterference and outcome distribution guarantees can be formally reasoned about using these non-atomic abstractions.
- The results demonstrate that strong linearizability is not necessary for hyperproperty preservation, and weaker criteria like write strong-linearizability and decisive linearizability suffice when paired with appropriate abstractions.
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.