首页> 外文会议>Computer Science Logic >Type-Based Termination with Sized Products
【24h】

Type-Based Termination with Sized Products

机译:尺寸产品的基于类型的端接

获取原文
获取原文并翻译 | 示例

摘要

Type-based termination is a semantically intuitive method that ensures termination of recursive definitions by tracking the size of datatype elements, and by checking that recursive calls operate on smaller arguments. However, many systems using type-based termination rely on a semantical anomaly to guarantee strong normalization; namely, they impose that non-recursive elements of a datatype, e.g. the empty list, have size 1 instead of 0. This semantical anomaly also prevents functions such as quicksort to be given a precise typing. The main contribution of this paper is a type system that remedies this anomaly, and still ensures termination. In addition, our type system features prenex stage polymorphism, a weakening of existential quantification over stages, and is precise enough to type quicksort as a non-size increasing function. Moreover, our system accomodate stage addition with all positive inductive types.
机译:基于类型的终止是一种语义直观的方法,可通过跟踪数据类型元素的大小并检查递归调用对较小的参数进行操作来确保递归定义的终止。但是,许多使用基于类型的终止的系统都依赖于语义异常来保证强大的规范化。也就是说,它们强加数据类型的非递归元素,例如空列表的大小为1而不是0。这种语义上的异常也阻止了诸如quicksort之类的函数得到精确的输入。本文的主要贡献是一种类型系统,该类型系统可以纠正此异常并仍然确保终止。另外,我们的类型系统具有prenex阶段多态性,弱化阶段中存在量化的功能,并且足够精确,可以将quicksort键入为非大小增加函数。此外,我们的系统可适应所有正电感类型的级数增加。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号