...
【24h】

The Safe Lambda Calculus

机译:安全Lambda演算

获取原文
   

获取外文期刊封面封底 >>

       

摘要

Safety is a syntactic condition of higher-order grammars that constrainsoccurrences of variables in the production rules according to theirtype-theoretic order. In this paper, we introduce the safe lambda calculus,which is obtained by transposing (and generalizing) the safety condition to thesetting of the simply-typed lambda calculus. In contrast to the originaldefinition of safety, our calculus does not constrain types (to behomogeneous). We show that in the safe lambda calculus, there is no need torename bound variables when performing substitution, as variable capture isguaranteed not to happen. We also propose an adequate notion of beta-reductionthat preserves safety. In the same vein as Schwichtenberg's 1976characterization of the simply-typed lambda calculus, we show that the numericfunctions representable in the safe lambda calculus are exactly themultivariate polynomials; thus conditional is not definable. We also give acharacterization of representable word functions. We then study the complexityof deciding beta-eta equality of two safe simply-typed terms and show that thisproblem is PSPACE-hard. Finally we give a game-semantic analysis of safety: Weshow that safe terms are denoted by `P-incrementally justified strategies'.Consequently pointers in the game semantics of safe lambda-terms are onlynecessary from order 4 onwards.
机译:安全性是高阶语法的句法条件,它根据类型-理论顺序来约束生产规则中变量的出现。在本文中,我们介绍了安全lambda演算,它是通过将安全条件转换(并推广)到简单类型的lambda演算的设置而获得的。与最初的安全性定义相反,我们的演算不限制类型(同质)。我们表明,在安全的lambda演算中,执行替换时无需重命名绑定的变量,因为可以确保不会发生变量捕获。我们还提出了适当的降低β值的概念,以保持安全性。与Schwichtenberg 1976年对简单型Lambda演算的刻画一样,我们证明了安全Lambda演算中可表示的数值函数正是多元多项式。因此条件是不确定的。我们还给出了可表示的单词功能的特征。然后,我们研究了确定两个安全的简单类型项的beta-eta相等性的复杂性,并证明此问题是PSPACE难题。最后,我们对安全性进行了博弈语义分析:我们证明了安全术语用``P增量合理策略''表示。因此,安全lambda术语的游戏语义中的指针仅从第4阶起才是必需的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号