paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Algorithmic Conversion with Surjective Pairing: A Syntactic and Untyped Approach

带满射配对的算法转换:一种语法且无类型的方法
POPL 10(POPL)2026匹配度 2/10 · 该论文属于依赖类型论与机械化定理证明,研究满射配对下的类型转换可判定性,与用户关注的静态分析、浮点程序分析、贝叶斯程序分析及 LLM/Agent 交叉方向均无直接关联;虽涉及形式化验证,但并未使用或改进 LLM/Agent 来增强验证。引用 2 inbox
Yiyun Liu, Stephanie Weirich
crossref: 2026-09-10

AI 速览

一句话:通过语法方法恢复满射配对下类型转换的可判定性,并用 Rocq 机械化验证。

在依赖类型论中,若等式理论为 β-等价,无类型归约的合流性与终止性可直接用于证明类型转换可判定:只需比较输入的 β-正规形是否相等。然而加入满射配对(即对的 η 律)后,βη-归约不再合流,这一经典技术失效。本文采用已有的语法技术解决由满射配对导致的合流性问题,从而恢复基于合流的类型转换可判定性证明。与依赖 Kripke 式逻辑关系等语义工具的已有证明开发不同,该证明模块化地组合了无类型规范化的最小语义证明与可判定性的语法证明,且无需修改最小语义证明。作者已在 Rocq 定理证明器中完全机械化所有结果。

问题
在带满射配对的依赖类型论中,βη-归约不合流,导致无法沿用“比较 β-正规形”这一基于合流的类型转换可判定性证明技术。
方法
采用语法技术处理满射配对引发的合流性问题,并模块化地组合无类型规范化的最小语义证明与类型转换可判定性的语法证明。
评估
在 Rocq 定理证明器中完整机械化所提出的证明,并与依赖 Kripke 式逻辑关系等语义工具的已有证明开发形成对比,展示其模块化优势。
原文摘要(Abstract)

In a dependent type theory with β -equivalence as its equational theory, the confluence of untyped reduction and termination immediately give us a proof of the decidability of type conversion, where the decision procedure for convertibility simply checks the equality of the β -normal forms of its inputs. This technique is not available in the presence of surjective pairing (i.e. the η -law for pairs) because β η -reduction is not confluent. In this work, we show that by adopting established syntactic techniques, we can resolve the issue with confluence caused by surjective pairing, and recover a confluence-based proof of decidability of type conversion. Compared to existing proof developments, which rely on semantic tools such as Kripke-style logical relations, our proof modularly composes a minimal semantic proof of untyped normalization and a syntactic proof of decidability. This modularity enables us to explore algorithmic conversion through syntactic methods without modifying the minimal semantic proof. We have fully mechanized our results using the Rocq theorem prover.

链接与引用

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

BibTeX
@article{LiuW26,
  title = {Algorithmic Conversion with Surjective Pairing: A Syntactic and Untyped Approach},
  author = {Yiyun Liu and Stephanie Weirich},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {POPL},
  year = {2026},
  doi = {10.1145/3776672}
}