【24h】

Deriving an Abstract Machine for Strong Call by Need

机译:通过需求推导出抽象机器进行强烈呼叫

获取原文

摘要

Strong call by need is a reduction strategy for computing strong normal forms in the lambda calculus, where terms are fully normalized inside the bodies of lambda abstractions and open terms are allowed. As typical for a call-by-need strategy, the arguments of a function call are evaluated at most once, only when they are needed. This strategy has been introduced recently by Balabonski et al., who proved it complete with respect to full beta-reduction and conservative over weak call by need. We show a novel reduction semantics and the first abstract machine for the strong call-by-need strategy. The reduction semantics incorporates syntactic distinction between strict and non-strict let constructs and is geared towards an efficient implementation. It has been defined within the framework of generalized refocusing, i.e., a generic method that allows to go from a reduction semantics instrumented with context kinds to the corresponding abstract machine; the machine is thus correct by construction. The format of the semantics that we use makes it explicit that strong call by need is an example of a hybrid strategy with an infinite number of substrategies.
机译:需要强烈的呼叫是一种减少用于计算Lambda微积分中的强正常形式的缩减策略,其中术语在Lambda抽象的体内完全归一化,允许打开的术语。正如呼叫呼叫策略的典型版本,函数调用的参数最多只在需要时评估一次。 Balabonski等人最近介绍了这一战略,并通过需求通过弱呼吁进行全面的β还减少和保守。我们展示了一种新颖的减少语义和第一个抽象机器,用于逐个需要策略。减少语义在严格和无严格的允许建筑物之间融合了句法区别,并朝着有效的实施而削弱。它已经在广义重组的框架内定义,即,一种通用方法,该方法允许从仪表中的减少语义,以上与上下文种类进行相应的抽象机器;因此,机器通过施工来正确。我们使用的语义的格式使其明确的是需要的强烈呼叫是具有无限数量的亚替换策略的混合策略的示例。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号