What Monads Can and Cannot Do with a Bit of Extra Time

被引:0
作者
Mogelberg, Rasmus Ejlers [1 ]
Zwart, Maaike Annebet [1 ]
机构
[1] IT Univ Copenhagen, Copenhagen, Denmark
来源
32ND EACSL ANNUAL CONFERENCE ON COMPUTER SCIENCE LOGIC, CSL 2024 | 2024年 / 288卷
关键词
Delay Monad; Monad Compositions; Distributive Laws; Guarded Recursion; Type Theory; SEMANTICS;
D O I
10.4230/LIPIcs.CSL.2024.39
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The delay monad provides a way to introduce general recursion in type theory. To write programs that use a wide range of computational effects directly in type theory, we need to combine the delay monad with the monads of these effects. Here we present a first systematic study of such combinations. We study both the coinductive delay monad and its guarded recursive cousin, giving concrete examples of combining these with well-known computational effects. We also provide general theorems stating which algebraic effects distribute over the delay monad, and which do not. Lastly, we salvage some of the impossible cases by considering distributive laws up to weak bisimilarity.
引用
收藏
页数:18
相关论文
共 3 条
  • [1] What we can do
    Ritchie, Katherine
    PHILOSOPHICAL STUDIES, 2020, 177 (04) : 865 - 882
  • [2] What we can do
    Katherine Ritchie
    Philosophical Studies, 2020, 177 : 865 - 882
  • [3] What Physical Layer Security Can Do for 6G Security
    Mitev, Miroslav
    Chorti, Arsenia
    Poor, H. Vincent
    Fettweis, Gerhard P.
    IEEE OPEN JOURNAL OF VEHICULAR TECHNOLOGY, 2023, 4 : 375 - 388