计算机科学 > 计算机科学中的逻辑
[提交于 2011年11月2日]
标题:A Lambda Term Representation Inspired by Linear Ordered Logic
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We introduce a new nameless representation of lambda terms inspired by ordered logic. At a lambda abstraction, number and relative position of all occurrences of the bound variable are stored, and application carries the additional information where to cut the variable context into function and argument part. This way, complete information about free variable occurrence is available at each subterm without requiring a traversal, and environments can be kept exact such that they only assign values to variables that actually occur in the associated term. Our approach avoids space leaks in interpreters that build function closures. In this article, we prove correctness of the new representation and present an experimental evaluation of its performance in a proof checker for the Edinburgh Logical Framework. Keywords: representation of binders, explicit substitutions, ordered contexts, space leaks, Logical Framework.
提交历史
来自:EPTCS[v1] 2011年11月2日 星期三 00:00:00 UTC