首页> 外文期刊>The bulletin of symbolic logic >Foundations of nominal techniques: Logic and semantics of variables in abstract syntax
【24h】

Foundations of nominal techniques: Logic and semantics of variables in abstract syntax

机译:标称技术的基础:抽象语法中变量的逻辑和语义

获取原文
       

摘要

We are used to the idea that computers operate on numbers, yet another kind of data is equally important: the syntax of formal languages, with variables, binding, and alpha-equivalence. The original application of nominal techniques, and the one with greatest prominence in this paper, is to reasoning on formal syntax with variables and binding. Variables can be modelled in many ways: for instance as numbers (since we usually take countably many of them); as links (since they may 'point' to a binding site in the term, where they are bound); or as functions (since they often, though not always, represent 'an unknown'). None of these models is perfect. In every case for the models above, problems arise when trying to use them as a basis for a fully formal mechanical treatment of formal language. The problems are practical-but their underlying cause may be mathematical. The issue is not whether formal syntax exists, since clearly it does, so much as what kind of mathematical structure it is. To illustrate this point by a parody, logical derivations can be modelled using a Godel encoding (i.e., injected into the natural numbers). It would be false to conclude from this that proof-theory is a branch of number theory and can be understood in terms of, say, Peano's axioms. Similarly, as it turns out, it is false to conclude from the fact that variables can be encoded e.g., as numbers, that the theory of syntax-with-binding can be understood in terms of the theory of syntax-without-binding, plus the theory of numbers (or, taking this to a logical extreme, purely in terms of the theory of numbers). It cannot; something else is going on. What that something else is, has not yet been fully understood. In nominal techniques, variables are an instance of names, and names are data. We model names using urelemente with properties that, pleasingly enough, turn out to have been investigated by Fraenkel and Mostowski in the first half of the 20th century for a completely different purpose than modelling formal language. What makes this model really interesting is that it gives names distinctive properties which can be related to useful logic and programming principles for formal syntax. Since the initial publications, advances in the mathematics and presentation have been introduced piecemeal in the literature. This paper provides in a single accessible document an updated development of the foundations of nominal techniques. This gives the reader easy access to updated results and new proofs which they would otherwise have to search across two or more papers to find, and full proofs that in other publications may have been elided. We also include some new material not appearing elsewhere.
机译:我们已经习惯了计算机对数字进行操作的想法,但是另一种数据同样重要:具有变量,绑定和字母等价性的形式语言的语法。标称技术的最初应用以及本文中最引人注目的一种应用是对带有变量和绑定的形式语法进行推理。变量可以通过多种方式建模:例如,作为数字(因为我们通常会使用很多)。作为链接(因为它们可能在术语中“指向”绑定站点,即绑定位置);或作为函数(因为它们经常(尽管并非总是)表示“未知数”)。这些模型都不是完美的。在上述模型的每种情况下,尝试将它们用作对正式语言进行完全正式机械处理的基础时,都会出现问题。这些问题是实际的,但其根本原因可能是数学上的。问题不在于形式语法是否存在,因为它显然存在,与其存在何种数学结构一样重要。为了通过模仿来说明这一点,可以使用戈德尔编码(即,注入自然数)对逻辑推导建模。由此得出结论,证明理论是数论的一个分支,并且可以用例如皮亚诺的公理来理解,这是错误的。类似地,事实证明,从以下事实得出结论是错误的:可以将变量编码为例如数字,就可以根据不带绑定的语法理论来理解带绑定的语法理论,再加上数论(或纯粹从数论的角度讲)。这不可以;发生了其他事情。还有什么还没有被完全理解。在名义技术中,变量是名称的实例,名称是数据。我们使用具有良好特性的urelemente来建模名称,令人愉悦的是,事实证明Fraenkel和Mostowski在20世纪上半叶对其进行了研究,其目的与建模正式语言的目的完全不同。使该模型真正有趣的是,它赋予名称独特的属性,这些属性可以与形式语法的有用逻辑和编程原理相关。自从最初的出版物发表以来,数学和表述方面的进步已被零星地引入文献中。本文在一个可访问的文档中提供了标称技术基础的更新发展。这使读者可以轻松访问更新的结果和新的证明,否则他们将不得不在两篇或多篇论文中进行搜索才能找到,以及其他出版物中可能已被删除的完整证明。我们还包括一些其他地方未出现的新材料。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号