arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1309.1258cs.LOcs.PL
收藏

按名调用中的共归纳与控制算子

Induction by Coinduction and Control Operators in Call-by-Name

Yoshihiko Kakutani, Daisuke Kimura

摘要:

本文研究了在带有控制算子的按名调用语言中通过共归纳来模拟归纳。由于已知具有控制算子的按名称调用程序设计语言不能具有一般的初始代数,因此归纳和控制算子的交互作用通常限于无效应函数。我们证明了一类这样的限制归纳类型可以从全共归纳类型的控制算子的权力。作为一个典型的例子,我们的结果,自然数的类型表示的类型的流。其基本思想是这样一个事实的对应,即一些共归纳类型可以用按名称调用的纯语言中的归纳类型来表达,而不会产生副作用。

英文摘要:

This paper studies emulation of induction by coinduction in a call-by-name language with control operators. Since it is known that call-by-name programming languages with control operators cannot have general initial algebras, interaction of induction and control operators is often restricted to effect-free functions. We show that some class of such restricted inductive types can be derived from full coinductive types by the power of control operators. As a typical example of our results, the type of natural numbers is represented by the type of streams. The underlying idea is a counterpart of the fact that some coinductive types can be expressed by inductive types in call-by-name pure language without side-effects.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑