【24h】

Tridirectional typechecking

机译:三向打孔

获取原文

摘要

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 subterms 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号