Grounding Game Semantics in Categorical Algebra

11/03/2022
by   Jérémie Koenig, et al.
0

I present a formal connection between algebraic effects and game semantics, two important lines of work in programming languages semantics with applications in compositional software verification. Specifically, the algebraic signature enumerating the possible side-effects of a computation can be read as a game, and strategies for this game constitute the free algebra for the signature in a category of complete partial orders (cpos). Hence, strategies provide a convenient model of computations with uninterpreted side-effects. In particular, the operational flavor of game semantics carries over to the algebraic context, in the form of the coincidence between the initial algebras and the terminal coalgebras of cpo endofunctors. Conversely, the algebraic point of view sheds new light on the strategy constructions underlying game semantics. Strategy models can be reformulated as ideal completions of partial strategy trees (free dcpos on the term algebra). Extending the framework to multi-sorted signatures would make this construction available for a large class of games.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/29/2017

What's in a game? A theory of game models

Game semantics is a rich and successful class of denotational models for...
research
12/15/2022

Bi-invariance for Uniform Strategies on Event Structures

A recurring problem in game semantics is to enforce uniformity in strate...
research
07/16/2018

What is algebraic about algebraic effects and handlers?

This note recapitulates and expands the contents of a tutorial on the ma...
research
04/06/2022

An Algebraic Approach to Learning and Grounding

We consider the problem of learning the semantics of composite algebraic...
research
10/16/2018

Simple game semantics and Day convolution

Game semantics has provided adequate models for a variety of programming...
research
08/25/2021

Latent Effects for Reusable Language Components: Extended Version

The development of programming languages can be quite complicated and co...
research
06/11/2021

Time Warps, from Algebra to Algorithms

Graded modalities have been proposed in recent work on programming langu...

Please sign up or login with your details

Forgot password? Click here to reset