On Complete Categorical Semantics for Effect Handlers

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autor principal: Kura, Satoshi
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908808167555072
author Kura, Satoshi
author_facet Kura, Satoshi
contents Soundness and completeness with respect to equational theories for programming languages are fundamental properties in the study of categorical semantics. However, completeness results have not been established for programming languages with algebraic effects and handlers, which raises a question of whether the commonly used models in the literature, i.e., free model monads generated from algebraic theories, are the only valid semantic models for effect handlers. In this paper, we show that this is not the case. We identify the precise characterizations of categorical models of effect handlers that allow us to establish soundness and completeness results with respect to a certain equational theory for effect handling constructs. Notably, this allows us to capture not only free monad models but also the CPS semantics for effect handlers as models of the calculus.
format Preprint
id arxiv_https___arxiv_org_abs_2602_03275
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle On Complete Categorical Semantics for Effect Handlers
Kura, Satoshi
Logic in Computer Science
Soundness and completeness with respect to equational theories for programming languages are fundamental properties in the study of categorical semantics. However, completeness results have not been established for programming languages with algebraic effects and handlers, which raises a question of whether the commonly used models in the literature, i.e., free model monads generated from algebraic theories, are the only valid semantic models for effect handlers. In this paper, we show that this is not the case. We identify the precise characterizations of categorical models of effect handlers that allow us to establish soundness and completeness results with respect to a certain equational theory for effect handling constructs. Notably, this allows us to capture not only free monad models but also the CPS semantics for effect handlers as models of the calculus.
title On Complete Categorical Semantics for Effect Handlers
topic Logic in Computer Science
url https://arxiv.org/abs/2602.03275