...
首页> 外文期刊>Logical Methods in Computer Science >General recursion via coinductive types
【24h】

General recursion via coinductive types

机译:通过共归类型进行一般递归

获取原文

摘要

We consider the problem of formalizing general recursive functions in intensional type theory. The proposed solution exploit coinductive types to model infinite computations. Every type A is associated to a type of partial elements Partial(A), coinductively generated by two constructors: the first, return(a) just returns an element a: A; the second, step(x), adds a computation step to a recursive element x: Partial(A). We show how this simple device is sufficient to formalize all recursive functions between two given types.
机译:我们考虑在内涵类型理论中形式化一般递归函数的问题。所提出的解决方案利用共归类型对无限计算进行建模。每个类型A均与部分元素Partial(A)的类型相关联,部分元素由两个构造函数共同生成:第一个,return(a)仅返回元素a:A;第二个步骤step(x)将计算步骤添加到递归元素x:Partial(A)。我们展示了这个简单的设备如何足以形式化两个给定类型之间的所有递归函数。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号