Factorisation Systems for Logical Relations and Monadic Lifting in Type-and-effect System Semantics
Factorisation Systems for Logical Relations and Monadic Lifting in Type-and-effect System Semantics
复制标题
类型与效果系统语义中逻辑关系和单子提升的因式分解系统
DOI:
10.1016/j.entcs.2018.11.012
复制
发表时间:
2018
影响因子:
--
通讯作者:
Kammar O
中科院分区:
文献类型:
--
作者:
Kammar O
Type-and-effect systems incorporate information about the computational effects, e.g., state mutation, probabilistic choice, or I/O, a program phrase may invoke alongside its return value. A semantics for type-and-effect systems involves a parameterised family of monads whose size is exponential in the number of effects. We derive such refined semantics from a single monad over a category, a choice of algebraic operations for this monad, and a suitable factorisation system over this category. We relate the derived semantics to the original semantics using fibrations for logical relations. Our proof uses a folklore technique for lifting monads with operations.