一个具有letrec、case、构造函数和非确定性的λ演算
A Lambda-Calculus with letrec, case, constructors and non-determinism
摘要:
研究了一个基于重写规则的非确定性按需调用λ演算\calc,该演算包含case、构造函数、letrec和一个(非确定性的)不规则选择.标准归约被定义为最左最外归约的变体。语义由表达式的上下文等价而不是使用$αβ(η)$ -等价来定义。它表明,几个程序转换是正确的,例如所有(确定性)的规则的演算,以及除了规则的垃圾回收,消除间接和唯一的副本。这表明,上下文引理和元重写的组合约简使用完整的交换集(分叉,分别)。图是用于提供函数式程序设计语言的语义和证明程序变换的正确性的有用且成功的方法。
英文摘要:
A non-deterministic call-by-need lambda-calculus \calc with case, constructors, letrec and a (non-deterministic) erratic choice, based on rewriting rules is investigated. A standard reduction is defined as a variant of left-most outermost reduction. The semantics is defined by contextual equivalence of expressions instead of using $αβ(η)$-equivalence. It is shown that several program transformations are correct, for example all (deterministic) rules of the calculus, and in addition the rules for garbage collection, removing indirections and unique copy. This shows that the combination of a context lemma and a meta-rewriting on reductions using complete sets of commuting (forking, resp.) diagrams is a useful and successful method for providing a semantics of a functional programming language and proving correctness of program transformations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。