APLAS 2023
Sun 26 - Wed 29 November 2023 Taipei, Taiwan
Sun 26 Nov 2023 14:30 - 15:00 at Room 106 & 107, IIS - NIER Session 1 Chair(s): Shin-Cheng Mu

Compositionality is at the core of programming languages research and has become an important goal toward scalable verification of large systems. Despite that, there is no compositional account of linearizability, the gold standard of correctness for concurrent objects.

In this paper, we develop a compositional semantics for linearizable concurrent objects. We start by showcasing a common issue, which is independent of linearizability, in the construction of compositional models of concurrent computation: interaction with the neutral element for composition can lead to emergent behaviors, a hindrance to compositionality. Category theory provides a solution for the issue in the form of the Karoubi envelope. Surprisingly, and this is the main discovery of our work, this abstract construction is deeply related to linearizability and leads to a novel formulation of it. Notably, this new formulation neither relies on atomicity nor directly upon happens-before ordering and is only possible because of compositionality, revealing that linearizability and compositionality are intrinsically related to each other.

We use this new, and compositional, understanding of linearizability to revisit much of the theory of linearizability, providing novel, simple, algebraic proofs of the locality property and of an analogue of the equivalence with observational refinement. We show our techniques can be used in practice by connecting our semantics with a simple program logic that is nonetheless sound concerning this generalized linearizability.

Sun 26 Nov

Displayed time zone: Beijing, Chongqing, Hong Kong, Urumqi change

13:30 - 15:00
NIER Session 1APLAS NIER at Room 106 & 107, IIS
Chair(s): Shin-Cheng Mu Academia Sinica, Taiwan
13:30
30m
Talk
Counterfactual Explanations for Sequential Models through Computational Complexity
APLAS NIER
Anthony Widjaja Lin TU Kaiserslautern; MPI-SWS
14:00
30m
Talk
A Neural-Network-Guided Approach to Program Verification and Synthesis
APLAS NIER
Naoki Kobayashi University of Tokyo
14:30
30m
Talk
A Compositional Theory of Linearizability
APLAS NIER
Zhong Shao Yale University