Nominal unification

被引:119
|
作者
Urban, C
Pitts, AM
Gabbay, MJ
机构
[1] Univ Cambridge, Marconi Lab, Cambridge CB3 0FD, England
[2] INRIA, Paris, France
关键词
abstract syntax; alpha-conversion; binding operations; unification;
D O I
10.1016/j.tcs.2004.06.016
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present a generalisation of first-order unification to the practically important case of equations between terms involving binding operations. A substitution of terms for variables solves such an equation if it makes the equated terms alpha-equivalent, i.e. equal up to renaming bound names. For the applications we have in mind, we must consider the simple, textual form of substitution in which names occurring in terms may be captured within the scope of binders upon substitution. We are able to take a "nominal" approach to binding in which bound entities are explicitly named (rather than using nameless, de Bruijn-style representations) and yet get a version of this form of substitution that respects alpha-equivalence and possesses good algorithmic properties. We achieve this by adapting two existing ideas. The first one is terms involving explicit substitutions of names for names, except that here we only use explicit permutations (bijective substitutions). The second one is that the unification algorithm should solve not only equational problems, but also problems about the freshness of names for terms. There is a simple generalisation of classical first-order unification problems to this setting which retains the latter's pleasant properties: unification problems involving alpha-equivalence and freshness are decidable; and solvable problems possess most general solutions. (C) 2004 Elsevier B.V. All rights reserved.
引用
收藏
页码:473 / 497
页数:25
相关论文
共 50 条