paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Locally Nameless Sets

局部无名集合
POPL 7(POPL)2023匹配度 2/10 · 该论文属于形式语义与语法表示理论(局部无名语法、范畴论、名义技术),与用户核心关注的 PL→AI、AI→PL、浮点程序分析、贝叶斯程序分析均无直接关联;仅在形式化基础设施层面可能有间接参考价值。引用 6 inbox
Andrew M. Pitts
crossref: 2026-09-10

AI 速览

一句话:用范畴论与名义技术为局部无名语法表示建立等式公理与初始代数语义,并证明其范畴等价于有限支撑 M-集拓扑斯。

本文为带绑定子的语法局部无名表示提供新的数学基础,并借鉴名义技术。作者对“变量打开”和“变量关闭”给出等式公理化,证明许多局部无名基础设施可语法无关地定义,包括名称绑定的“移位”函子。该函子作用于对象称为局部无名集合的范畴;移位与和、积组合所得函子的初始代数,在有限情形恢复通常的局部无名语法表示。作者对 Plotkin 绑定签名的每个实例一致构造初始局部无名集合,并举例说明移位函子也适用于语义型局部无名集合。最后证明局部无名集合范畴同构于有限支撑 M-集的已知拓扑斯,其中 M 为可数无限集上的全变换幺半群,并推出文献中若干变量重命名模型范畴彼此等价。

问题
现有局部无名语法表示缺乏与名义技术结合的范畴论与代数基础,尤其是变量打开、关闭和名称绑定的统一语义。
方法
用等式公理化刻画变量打开与关闭,在局部无名集合范畴上定义移位函子,并通过初始代数恢复绑定签名的语法表示。
评估
对 Plotkin 绑定签名一致构造初始代数,举例说明语义应用,并证明该范畴同构于有限支撑 M-集拓扑斯及多个重命名模型范畴等价。
原文摘要(Abstract)

This paper provides a new mathematical foundation for the locally nameless representation of syntax with binders, one informed by nominal techniques. It gives an equational axiomatization of two key locally nameless operations, "variable opening" and "variable closing" and shows that a lot of the locally nameless infrastructure can be defined from that in a syntax-independent way, including crucially a "shift" functor for name binding. That functor operates on a category whose objects we call locally nameless sets . Functors combining shift with sums and products have initial algebras that recover the usual locally nameless representation of syntax with binders in the finitary case. We demonstrate this by uniformly constructing such an initial locally nameless set for each instance of Plotkin's notion of binding signature. We also show by example that the shift functor is useful for locally nameless sets of a semantic rather than a syntactic character. The category of locally nameless sets is proved to be isomorphic to a known topos of finitely supported M-sets, where M is the full transformation monoid on a countably infinite set. A corollary of the proof is that several categories that have been used in the literature to model variable renaming operations on syntax with binders are all equivalent to each other and to the category of locally nameless sets.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot2069,
  title = {Locally Nameless Sets},
  author = {Andrew M. Pitts},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {POPL},
  year = {2023},
  doi = {10.1145/3571210}
}