首页> 外文期刊>Information and computation >Typing termination in a higher-order concurrent imperative language
【24h】

Typing termination in a higher-order concurrent imperative language

机译:以高阶并发命令式语言键入终止

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

摘要

We propose means to predict termination in a higher-order imperative and concurrent language a la ML. We follow and adapt the classical method for proving termination in typed formalisms, namely the readability technique. There is a specific difficulty with higher-order state, which is that one cannot define a readability interpretation simply by induction on types, because applying a function may have side-effects at types not smaller than the type of the function. Moreover, such higher-order side-effects may give rise to computations that diverge without resorting to explicit recursion. We overcome these difficulties by introducing a type and effect system for our language that enforces a stratification of the memory. The stratification prevents the circularities in the memory that may cause divergence, and allows us to define a realizability interpretation of the types and effects, which we then use to establish that typable sequential programs in our system are guaranteed to terminate, unless they use explicit recursion in a divergent way. We actually prove a more general fairness property, that is, any typable thread yields the scheduler after some finite computation. Our realizability interpretation also copes with dynamic thread creation.
机译:我们提出了一种方法,以预测高阶命令式和并发语言la ML的终止。我们遵循并采用经典方法来证明类型化形式主义中的终止,即可读性技术。高阶状态存在一个特殊的困难,即不能仅通过对类型的归纳来定义可读性解释,因为在不小于函数类型的情况下应用函数可能会产生副作用。而且,这种更高阶的副作用可能导致计算的差异而无需求助于显式递归。我们通过为我们的语言引入类型和效果系统来对记忆进行分层来克服这些困难。分层防止了内存中可能导致差异的圆度,并允许我们定义类型和效果的可实现性解释,然后使用该解释来确定系统中可键入的顺序程序可以保证终止,除非它们使用显式递归以不同的方式实际上,我们证明了更一般的公平属性,即,任何可键入的线程在进行有限的计算后都会产生调度程序。我们的可实现性解释还应对动态线程创建。

著录项

  • 来源
    《Information and computation》 |2010年第6期|P.716-736|共21页
  • 作者

    Gerard Boudol;

  • 作者单位

    INRIA Sophia Antipolis, BP 93, 06902 Sophia Antipolis Cedex, France;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号