TY - GEN
T1 - From Partial to Monadic
T2 - 10th International Conference on Formal Structures for Computation and Deduction, FSCD 2025
AU - Cohen, Liron
AU - Grunfeld, Ariel
AU - Kirst, Dominik
AU - Miquey, Étienne
N1 - Publisher Copyright:
© Liron Cohen, Ariel Grunfeld, Dominik Kirst, and Étienne Miquey;
PY - 2025/7/7
Y1 - 2025/7/7
N2 - Partial Combinatory Algebras (PCAs) provide a foundational model of the untyped λ-calculus and serve as the basis for many notions of computability, such as realizability theory. However, PCAs support a very limited notion of computation by only incorporating non-termination as a computational effect. To provide a framework that better internalizes a wide range of computational effects, this paper puts forward the notion of Monadic Combinatory Algebras (MCAs). MCAs generalize the notion of PCAs by structuring the combinatory algebra over an underlying computational effect, embodied by a monad. We show that MCAs can support various side effects through the underlying monad, such as non-determinism, stateful computation and continuations. We further obtain a categorical characterization of MCAs within Freyd Categories, following a similar connection for PCAs. Moreover, we explore the application of MCAs in realizability theory, presenting constructions of effectful realizability triposes and assemblies derived through evidenced frames, thereby generalizing traditional PCA-based realizability semantics. The monadic generalization of the foundational notion of PCAs provides a comprehensive and powerful framework for internally reasoning about effectful computations, paving the path to a more encompassing study of computation and its relationship with realizability models and programming languages.
AB - Partial Combinatory Algebras (PCAs) provide a foundational model of the untyped λ-calculus and serve as the basis for many notions of computability, such as realizability theory. However, PCAs support a very limited notion of computation by only incorporating non-termination as a computational effect. To provide a framework that better internalizes a wide range of computational effects, this paper puts forward the notion of Monadic Combinatory Algebras (MCAs). MCAs generalize the notion of PCAs by structuring the combinatory algebra over an underlying computational effect, embodied by a monad. We show that MCAs can support various side effects through the underlying monad, such as non-determinism, stateful computation and continuations. We further obtain a categorical characterization of MCAs within Freyd Categories, following a similar connection for PCAs. Moreover, we explore the application of MCAs in realizability theory, presenting constructions of effectful realizability triposes and assemblies derived through evidenced frames, thereby generalizing traditional PCA-based realizability semantics. The monadic generalization of the foundational notion of PCAs provides a comprehensive and powerful framework for internally reasoning about effectful computations, paving the path to a more encompassing study of computation and its relationship with realizability models and programming languages.
KW - Combinatory algebras
KW - Effects
KW - Evidenced frames
KW - Monads
KW - Realizability
UR - https://www.scopus.com/pages/publications/105010683981
U2 - 10.4230/LIPIcs.FSCD.2025.14
DO - 10.4230/LIPIcs.FSCD.2025.14
M3 - Conference contribution
AN - SCOPUS:105010683981
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 10th International Conference on Formal Structures for Computation and Deduction, FSCD 2025
A2 - Fernandez, Maribel
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Y2 - 14 July 2025 through 20 July 2025
ER -