Yotam Dvir

Postdoctoral researcher in Ori Lahav’s lab, Tel Aviv University

This website does not track you, and functions with scripts blocked.

ResearchPublication

An Algebraic Theory for Shared-State Concurrency

Yotam Dvir, Ohad Kammar, and Ori Lahav

20th Asian Symposium on Programming Languages and Systems (APLAS 2022), SPLASH 2022

Awarded the Boaz Trakhtenbrot Centennial Scholarship

Materials

Abstract

We present a monadic denotational semantics for a higher-order programming language with shared-state concurrency, i.e. global-state in the presence of interleaving concurrency. Central to our approach is the use of Plotkin and Power’s algebraic effect methodology: designing an equational theory that captures the intended semantics, and proving a monadic representation theorem for it. We use Hyland et al.’s equational theory of resumptions that extends non-deterministic global-state with an operator for yielding to the environment. The representation is based on Brookes-style traces. Based on this representation we define a denotational semantics that is directionally adequate with respect to a standard operational semantics. We use this semantics to justify compiler transformations of interest: redundant access eliminations, each following from a mundane algebraic calculation; while structural transformations follow from reasoning over the monad’s interface.

Details

Published
Dec 2022