Affiliation:
1. CNRS, France / University of Paris Diderot, France
Abstract
Game semantics is the art of interpreting types as games and programs as strategies interacting in space and time with their environment. In order to reflect the interactive behavior of programs, strategies are required to follow specific scheduling policies. Typically, in the case of a purely sequential programming language, the program (Player) and its environment (Opponent) will play one after the other, in a strictly alternating way. On the other hand, in the case of a concurrent language, Player and Opponent will be allowed to play several moves in a row, in a non-alternating way. In both cases, the scheduling policy is designed very carefully in order to ensure that the strategies synchronize properly and compose well when plugged together. A longstanding conceptual problem has been to understand when and why a given scheduling policy works and is compositional in that sense. In this paper, we exhibit a number of simple and fundamental combinatorial structures which ensure that a given scheduling policy encoded as synchronization template defines a symmetric monoidal closed (and in fact star-autonomous) bicategory of games, strategies and simulations. To that purpose, we choose to work at a very general level, and illustrate our method by constructing two template game models of linear logic with different flavors (alternating and non-alternating) using the same categorical combinatorics, performed in the category of small categories. As a whole, the paper may be seen as a hymn in praise of synchronization, building on the notion of synchronization algebra in process calculi and adapting it smoothly to programming language semantics, using a combination of ideas at the converging point of game semantics and of categorical algebra.
Funder
European Research Council
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Reference20 articles.
1. Full Abstraction for PCF
2. Fibered categories and the foundations of naive category theory
3. Simon Castellan and Nobuko Yoshida. 2019. The two sides of the same coin: Session Types and Game Semantics. In Accepted for publication at POPL’19. 10.1145/3290340 Simon Castellan and Nobuko Yoshida. 2019. The two sides of the same coin: Session Types and Game Semantics. In Accepted for publication at POPL’19. 10.1145/3290340
4. The cartesian closed bicategory of generalised species of structures
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The Cartesian Closed Bicategory of Thin Spans of Groupoids;2023 38th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS);2023-06-26
2. A Compositional Theory of Linearizability;Proceedings of the ACM on Programming Languages;2023-01-09
3. Grounding Game Semantics in Categorical Algebra;Electronic Proceedings in Theoretical Computer Science;2022-11-03
4. Asynchronous Template Games and the Gray Tensor Product of 2-Categories;2021 36th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS);2021-06-29
5. Concurrent Separation Logic Meets Template Games;Proceedings of the 35th Annual ACM/IEEE Symposium on Logic in Computer Science;2020-07-08