...
首页> 外文期刊>Journal of symbolic computation >External and internal syntax of the λ-calculus
【24h】

External and internal syntax of the λ-calculus

机译:λ演算的外部和内部语法

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

摘要

It is well known that formally defining and reasoning about languages with binding (such as logics and λ-calculii) is problematic. There are many approaches to deal with the problem, with much work over recent years stimulated by the desire to formally reason about programming languages and program logics. The various approaches have their own strengths and drawbacks, but no fully satisfactory approach has appeared.rnWe present an approach based on two levels of syntax: an internal syntax which is convenient for machine manipulation, and an external syntax which is the usual informal syntax used in many articles and textbooks. Throughout the paper we use pure λ-calculus as an example, but the technique extends to many languages with binding.rnOur internal syntax is canonical: one representative of every α-equivalence class. It is formalized in Isabelle/HOL, and its properties are mechanically proved. It is also proved to be isomorphic with a nominal representation of λ-calculus in Isabelle/HOL.rnOur conventional, human friendly external syntax is naturally related to the internal syntax by a semantic function. We do not define notions directly on the external syntax, since that would require the usual care about α-renaming, but introduce them indirectly from the canonical internal syntax via the semantic function.
机译:众所周知,正式定义和推理具有约束力的语言(例如逻辑和λ计算)是有问题的。解决问题的方法有很多,近年来,由于要正式推理编程语言和程序逻辑,因此需要进行大量工作。各种方法各有优缺点,但还没有出现令人满意的方法。我们提出了一种基于两个语法级别的方法:一种内部语法便于机器操作,一种外部语法是通常使用的非正式语法。在许多文章和教科书中。在整篇文章中,我们以纯λ微积分为例,但是该技术扩展到了许多具有绑定的语言。我们的内部语法是规范的:每个α-等价类的代表。它已在Isabelle / HOL中正式化,并通过机械方法证明了其性能。它也被证明是同构的,在Isabelle / HOL中具有λ演算的名义表示。我们传统的,人类友好的外部语法通过语义函数自然与内部语法相关。我们不直接在外部语法上定义概念,因为这将需要通常对α重命名的关注,而是通过语义函数从规范内部语法间接地引入它们。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号