计算机科学 > 程序设计语言
[提交于 2008年3月18日 (v1),最后修订于 2008年3月18日 (此版本, v2)]
标题:Generative Unbinding of Names
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper is concerned with the form of typed name binding used by the FreshML family of languages. Its characteristic feature is that a name binding is represented by an abstract (name,value)-pair that may only be deconstructed via the generation of fresh bound names. The paper proves a new result about what operations on names can co-exist with this construct. In FreshML the only observation one can make of names is to test whether or not they are equal. This restricted amount of observation was thought necessary to ensure that there is no observable difference between alpha-equivalent name binders. Yet from an algorithmic point of view it would be desirable to allow other operations and relations on names, such as a total ordering. This paper shows that, contrary to expectations, one may add not just ordering, but almost any relation or numerical function on names without disturbing the fundamental correctness result about this form of typed name binding (that object-level alpha-equivalence precisely corresponds to contextual equivalence at the programming meta-level), so long as one takes the state of dynamically created names into account.
提交历史
来自:Andrew Pitts[v2] 2008年3月18日 星期二 18:23:41 UTC