arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.05706cs.LO
收藏

计算λ演算的交类型

Intersection Types for the Computational lambda-Calculus

Ugo de'Liguoro, Riccardo Treglia

摘要:

我们研究多态类型分配系统的非类型的的影响,基于Moggi的单子方法。从单子的抽象定义出发,我们引入了一个基于Wadler的变体的按值调用的计算型微积分,该变体具有单元和绑定组合子,并且没有let。我们定义了一个概念,减少演算,并证明它是合流的,我们也涉及到我们的演算的原始工作的莫吉表明,他的无类型的元语言可以解释和模拟在我们的演算。然后,我们介绍了一个交集型系统启发Barendregt,Coppo和Dezani系统的普通λ演算,建立转换下的类型不变性,并通过逆极限和过滤器模型的构造提供了演算的模型,并将它们联系起来。我们证明了类型系统的可靠性和完备性,以及主题缩减和扩展属性。最后,我们引入了一个收敛的概念,这是完全相关的减少,并通过其类型的收敛项的特征。

英文摘要:

We study polymorphic type assignment systems for untyped lambda-calculi with effects, based on Moggi's monadic approach. Moving from the abstract definition of monads, we introduce a version of the call-by-value computational lambda-calculus based on Wadler's variant with unit and bind combinators, and without let. We define a notion of reduction for the calculus and prove it confluent, and also we relate our calculus to the original work by Moggi showing that his untyped metalanguage can be interpreted and simulated in our calculus. We then introduce an intersection type system inspired to Barendregt, Coppo and Dezani system for ordinary untyped lambda-calculus, establishing type invariance under conversion, and provide models of the calculus via inverse limit and filter model constructions and relate them. We prove soundness and completeness of the type system, together with subject reduction and expansion properties. Finally, we introduce a notion of convergence, which is precisely related to reduction, and characterize convergent terms via their types.

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

↑