paperbot · PL 论文追踪

全部论文 待读 收藏

P2 On Decidable and Undecidable Extensions of Simply Typed Lambda Calculus

论简单类型 lambda 演算的可判定与不可判定扩展
POPL 9(POPL)2025匹配度 3/10 · 该论文属于 PL/形式验证理论基础,讨论 finitary PCF 扩展的可判定性与类型系统,与静态分析/验证工具有间接关联。但它不涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,也不是 AI 与 PL 的交叉研究,因此与当前研究画像核心方向匹配度较低。引用 3 inbox
Naoki Kobayashi
crossref: 2026-09-10

AI 速览

一句话:给出 finitary PCF 四种扩展不可判定性的简单证明,并用类型系统刻画含引用单元的可判定片段。

finitary PCF 的可达性问题一直是函数式程序全自动验证工具的理论基础,但一旦加入异常、代数效应、引用等副作用,该问题往往变得不可判定,从而阻碍这类验证工具支持带副作用的函数式程序。本文首先为 finitary PCF 的四种扩展给出简洁的不可判定性证明,以帮助理解不可判定性的来源;随后聚焦于带引用单元的扩展,通过设计类型系统界定出一个可判定片段。据作者所知,这是首个包含引用单元且支持高阶递归函数的非平凡可判定片段。

问题
finitary PCF 的可达性判定在加入异常、代数效应、引用等副作用后通常不可判定,限制了基于该判定的函数式程序验证工具向带副作用程序的扩展。
方法
为四种 finitary PCF 扩展给出简洁的不可判定性证明,并针对带引用单元的扩展设计类型系统,以刻画其可判定片段。
评估
以理论证明为主,包括不可判定性证明和基于类型系统的可判定性论证;摘要未提及实现或实验评估。
原文摘要(Abstract)

The decidability of the reachability problem for finitary PCF has been used as a theoretical basis for fully automated verification tools for functional programs. The reachability problem, however, often becomes undecidable for a slight extension of finitary PCF with side effects, such as exceptions, algebraic effects, and references, which hindered the extension of the above verification tools for supporting functional programs with side effects. In this paper, we first give simple proofs of the undecidability of four extensions of finitary PCF, which would help us understand and analyze the source of undecidability. We then focus on an extension with references, and give a decidable fragment using a type system. To our knowledge, this is the first non-trivial decidable fragment that features higher-order recursive functions containing reference cells.

链接与引用

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

BibTeX
@article{Kobayashi25,
  title = {On Decidable and Undecidable Extensions of Simply Typed Lambda Calculus},
  author = {Naoki Kobayashi},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {POPL},
  year = {2025},
  doi = {10.1145/3704875}
}