首页> 外文期刊>Journal of Automated Reasoning >Effect Polymorphism in Higher-Order Logic (Proof Pearl)
【24h】

Effect Polymorphism in Higher-Order Logic (Proof Pearl)

机译:在高阶逻辑中实现多态性(证明珍珠)

获取原文
获取原文并翻译 | 示例

摘要

The notion of a monad cannot be expressed within higher-order logic (HOL) due to type system restrictions. I show that if a monad is restricted to values of a fixed type, this notion can be formalised in HOL. Based on this idea, I develop a library of effect specifications and implementations of monads and monad transformers. Hence, I can abstract over the concrete monad in HOL definitions and thus use the same definition for different (combinations of) effects. I illustrate the usefulness of effect polymorphism with a monadic interpreter.
机译:由于类型系统限制,Monad的概念不能在高阶逻辑(HOL)中表示。我表明,如果Monad限制为固定类型的值,则可以在HOL中正式化。基于这一想法,我开发了一台效果规范和Monad和Monad变压器的实施图书馆。因此,我可以摘要在HOL定义中的混凝土MONAD上,因此使用相同的定义(不同)效应的不同(组合)。我说明了与Monadic翻译的效果多态性的有用性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号