【24h】

Tridirectional Typechecking

机译:Tridirectional TypeCrecking

获取原文

摘要

In prior work we introduced a pure type assignment system that encompasses a rich set of property types, including intersections, unions, and universally and existentially quantified dependent types. This system was shown sound with respect to a call-by-value operational semantics with effects, yet is inherently undecidable. In this paper we provide a decidable formulation for this system based on bidirectional checking, combining type synthesis and analysis following logical principles. The presence of unions and existential quantification requires the additional ability to visit sub-terms in evaluation position before the context in which they occur, leading to a tridirectional type system. While soundness with respect to the type assignment system is immediate, completeness requires the novel concept of contextual type annotations, introducing a notion from the study of principal typings into the source program.
机译:在事先工作中,我们介绍了一个纯类型的分配系统,包括丰富的属性类型,包括交叉口,工会和普遍和存在量化的依赖类型。对于逐个呼叫的运行语义而言,该系统显示出具有效果的呼叫操作语义,但本质上是未定定的。在本文中,我们为该系统提供了一种基于双向检查,组合合成和分析后的该系统的可判定配方。联合的存在和存在量化需要额外的能力在它们发生的上下文之前访问评估位置的额外能力,导致串向型系统。虽然对类型分配系统的声音是立即的,但是完整性需要上下文类型注释的新颖概念,从主体打字的研究中引入源程序中的概念。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号