首页> 外文OA文献 >Interactive Programs and Weakly Final Coalgebras in Dependent Type Theory (Extended Version)
【2h】

Interactive Programs and Weakly Final Coalgebras in Dependent Type Theory (Extended Version)

机译:依赖型理论中的交互式程序和弱最终余代数(扩展版)

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。
获取外文期刊封面目录资料

摘要

We reconsider the representation of interactive programs in dependent type theory that the authors proposed in earlier papers. Whereas in previous versions the type of interactive programs was introduced in an ad hoc way, it is here defined as a weakly final coalgebra for a general form of polynomial functor. The are two versions: in the first the interface with the real world is fixed, while in the second the potential interactions can depend on the history of previous interactions. The second version may be appropriate for working with specifications of interactive programs. We focus on command-response interfaces, and consider both client and server programs, that run on opposite sides such an interface. We give formation/introduction/elimination/equality rules for these coalgebras. These are explored in two dimensions: coiterative versus corecursive, and monadic versus non-monadic. We also comment upon the relationship of the corresponding rules with guarded induction. It turns out that the introduction rules are nothing but a slightly restricted form of guarded induction. However, the form in which we write guarded induction is not recursive equations (which would break normalisation -- we show that type checking becomes undecidable), but instead involves an elimination operator in a crucial way.
机译:我们重新考虑了作者在较早论文中提出的依赖类型理论中交互式程序的表示形式。在以前的版本中,交互程序的类型是以特殊方式引入的,但在这里,它被定义为多项式函子的一般形式的弱最终结余。有两个版本:第一个版本与现实世界的接口是固定的,而第二个版本中,潜在的交互可能取决于先前交互的历史。第二版本可能适用于使用交互式程序的规范。我们专注于命令响应接口,并考虑在此类接口的相反侧运行的客户端和服务器程序。我们给出这些代数的形成/引入/消除/相等规则。这些问题在两个维度上进行了探讨:凝聚性与共性递归,单子与非单子。我们还评论了相应规则与谨慎归纳的关系。事实证明,引入规则不过是受保护的归纳的一种稍微受限制的形式。但是,我们编写保护归纳的形式不是递归方程式(这会破坏规范化-我们证明类型检查变得不确定),而是以一种关键方式涉及消除运算符。

著录项

  • 作者

    Setzer Anton; Hancock Peter;

  • 作者单位
  • 年度 2005
  • 总页数
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号