...
首页> 外文期刊>Electronic Notes in Theoretical Computer Science >Towards Effects in Mathematical Operational Semantics
【24h】

Towards Effects in Mathematical Operational Semantics

机译:走向数学操作语义学的影响

获取原文
           

摘要

In this paper, we study extensions of mathematical operational semantics with algebraic effects. Our starting point is an effect-free coalgebraic operational semantics, given by a natural transformation of syntax over behaviour. The operational semantics of the extended language arises by distributing program syntax over effects, again inducing a coalgebraic operational semantics, but this time in the Kleisli category for the monad derived from the algebraic effects. The final coalgebra in this Kleisli category then serves as the denotational model. For it to exist, we ensure that the the Kleisli category is enriched over CPOs by considering the monad of possibly infinite terms, extended with a bottom element.Unlike the effectless setting, not all operational specifications give rise to adequate and compositional semantics. We give a proof of adequacy and compositionality provided the specifications can be described by evaluation-in-context. We illustrate our techniques with a simple extension of (stateless) while programs with global store, i.e. variable lookup.
机译:在本文中,我们研究具有代数效应的数学操作语义的扩展。我们的出发点是一种无效果的联合运算语义,该语义是通过行为上的自然语法转换给出的。扩展语言的操作语义是通过在效果上分配程序语法而产生的,再次引发了合数操作语义,但是这一次在Kleisli类别中是从代数效果派生的monad。然后,此Kleisli类别中的最终结余数将成为定名模型。为了使其存在,我们通过考虑可能无限的词单并扩展到底部元素来确保Kleisli类别比CPO更加丰富。与无效的设置不同,并非所有的操作规范都能产生足够的组成语义。如果规范可以通过上下文评估来描述,我们将给出适当性和组成性的证明。我们通过简单扩展(无状态)来说明我们的技术,而程序具有全局存储,即变量查找。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号