首页> 外文期刊>RAIRO Theoretical Informatics and Applications >DENOTATIONAL ASPECTS OF UNTYPED NORMALIZATION BY EVALUATION
【24h】

DENOTATIONAL ASPECTS OF UNTYPED NORMALIZATION BY EVALUATION

机译:通过评估进行无类型归一化的牙本质方面

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

摘要

We show that the standard normalization-by-evaluation construction for the simply-typed λ_(βη)-calculus has a natural counterpart for the untyped λ_β-calculus, with the central type-indexed logical relation replaced by a "recursively defined" invariant relation, in the style of Pitts. In fact, the construction can be seen as generalizing a computational-adequacy argument for an untyped, call-by-name language to normalization instead of evaluation.In the untyped setting, not all terms have normal forms, so the normalization function is necessarily partial. We establish its correctness in the senses of soundness (the output term, if any, is in normal form and β-equivalent to the input term); identification (β-equivalent terms are mapped to the same result); and completeness (the function is defined for all terms that do have normal forms). We also show how the semantic construction enables a simple yet formal correctness proof for the normalization algorithm, expressed as a functional program in an ML-like, call-by-value language. Finally, we generalize the construction to produce an infini-tary variant of normal forms, namely Boehm trees. We show that the three-part characterization of correctness, as well as the proofs, extend naturally to this generalization.
机译:我们表明,简单类型的λ_(βη)-演算的标准评估归一化构造与未类型的λ_β-演算具有自然的对应关系,其中中心类型索引逻辑关系被“递归定义”的不变性关系取代,采用Pitts风格。实际上,该构造可以看作是将非类型化,按名称调用的语言的计算能力参数泛化为规范化而不是求值化。在非类型化设置中,并非所有术语都具有范式,因此规范化功能必定是局部的。我们从稳健性的角度确定其正确性(输出项(如果有的话)是正常形式并且与输入项等效);识别(将β等效项映射到相同结果);和完整性(该功能是为所有具有正常形式的术语定义的)。我们还展示了语义构造如何为归一化算法提供一个简单但形式正确的证明,并以类似ML的按值调用语言表示为功能程序。最后,我们对构造进行了概括,以产生正常形式的无限变体,即Boehm树。我们表明正确性的三部分表征以及证明自然地延伸到了这种概括。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号