@inproceedings{24929fc938944ca19d8461dec97c4258,
title = "Two-sorted algebraic decompositions of Brookes{\textquoteright}s shared-state denotational semantics",
abstract = "We define a two sorted equational theory of algebraic effects that models concurrent shared state with preemptive interleaving, recovering Brookes{\textquoteright}s seminal 1996 trace-based model precisely. The decomposition allows us to analyse Brookes{\textquoteright}s model algebraically in terms of separate but interacting components. The multiple sorts partition terms into layers. We use two sorts: a “hold” sort for layers that disallow interleaving of environment memory accesses, analogous to holding a global lock on the memory; and a “cede” sort for the opposite. The algebraic signature comprises of independent interlocking components: two new operators that switch between these sorts, delimiting the atomic layers, thought of as acquiring and releasing the global lock; non-deterministic choice; and state-accessing operators. The axioms similarly divide cleanly: the delimiters behave as a closure pair; all operators are strict, and distribute over non-empty non-deterministic choice; and non-deterministic global state obeys Plotkin and Power{\textquoteright}s presentation of global state. Our representation theorem expresses the free algebras over a two-sorted family of variables as sets of traces with suitable closure conditions. When the held sort has no variables, we recover Brookes{\textquoteright}s trace semantics. We define several other single-and two-sorted theories to elucidate the connection to Brookes{\textquoteright}s model via translation embeddings and equivalences.",
keywords = "algebraic effects, closure pairs, concurrency, denotational semantics, equational theory, global state, join semilattices, mnemoids, monads, multi-sorted algebra, representability, shared state, trace semantics",
author = "Yotam Dvir and Ohad Kammar and Ori Lahav and Gordon Plotkin",
note = "Publisher Copyright: {\textcopyright} The Author(s) 2025.; 28th International Conference on Foundations of Software Science and Computation Structures, FOSSACS 2025, held as part of the International Joint Conferences on Theory and Practice of Software, ETAPS 2025 ; Conference date: 03-05-2025 Through 08-05-2025",
year = "2025",
doi = "10.1007/978-3-031-90897-2_18",
language = "الإنجليزيّة",
isbn = "9783031908965",
series = "Lecture Notes in Computer Science",
publisher = "Springer Science and Business Media Deutschland GmbH",
pages = "377--398",
editor = "Abdulla, {Parosh Aziz} and Delia Kesner",
booktitle = "Foundations of Software Science and Computation Structures - 28th International Conference, FoSSaCS 2025, Held as Part of the International Joint Conferences on Theory and Practice of Software, ETAPS 2025, Proceedings",
address = "ألمانيا",
}