paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Impredicative Observational Equality

非直谓观测等价
POPL 7(POPL)2023匹配度 2/10 · 论文属于依赖类型论与证明助手理论基础,讨论非直谓性、UIP与conversion可判定性,与用户关注的静态分析/Agentic程序、LLM与静态分析交叉、浮点程序分析、贝叶斯程序分析均无直接关系;仅在“形式化验证基础”层面有间接关联。引用 13 inbox
Loïc Pujet, Nicolas Tabareau
crossref: 2026-09-10

AI 速览

一句话:扩展观测类型理论,引入证明无关的非直谓宇宙,证明 conversion 可判定且理论在 MLTT 中可归一化,兼容 UIP 与非直谓性。

在依赖类型理论中,非直谓性允许命题量化任意大的类型,但与定义性 UIP 的兼容性存在障碍:Abel 和 Coquand 表明,在 Coq/Lean 的非直谓命题上加入定义性 UIP 会破坏归一化与类型检查。本文研究 UIP 与非直谓性是否根本不相容。作者将观测类型理论 TTobs 扩展为带有定义性证明无关类型的非直谓宇宙,得到系统 CCobs。其关键思路是利用证明无关性避免对非直谓证明项做计算,从而证明 conversion 可判定,并在纯 Martin-Löf 类型论中证明 CCobs 可归一化,说明加入证明无关的非直谓性不增加理论的计算内容。

问题
非直谓性为依赖类型理论带来逻辑强度与灵活性,但与定义性 UIP 不兼容:已有工作显示在 Coq/Lean 中加入 UIP 会破坏归一化和类型检查;本文追问二者是否本质上不相容。
方法
将观测类型理论 TTobs 扩展为带定义性证明无关类型的非直谓宇宙,构造系统 CCobs;利用 proof-irrelevance 避免计算非直谓证明项,并给出 conversion 判定算法与归一化证明。
评估
证明 CCobs 的 conversion 可判定,并在纯 Martin-Löf 类型论中证明其可归一化,从而表明加入证明无关的非直谓性不增加计算内容。
原文摘要(Abstract)

In dependent type theory, impredicativity is a powerful logical principle that allows the definition of propositions that quantify over arbitrarily large types, potentially resulting in self-referential propositions. Impredicativity can provide a system with increased logical strength and flexibility, but in counterpart it comes with multiple incompatibility results. In particular, Abel and Coquand showed that adding definitional uniqueness of identity proofs (UIP) to the main proof assistants that support impredicative propositions (Coq and Lean) breaks the normalization procedure, and thus the type-checking algorithm. However, it was not known whether this stems from a fundamental incompatibility between UIP and impredicativity or if a more suitable algorithm could decide type-checking for a type theory that supports both. In this paper, we design a theory that handles both UIP and impredicativity by extending the recently introduced observational type theory TTobs with an impredicative universe of definitionally proof-irrelevant types, as initially proposed in the seminal work on observational equality of Altenkirch et al. We prove decidability of conversion for the resulting system, that we call CCobs, by harnessing proof-irrelevance to avoid computing with impredicative proof terms. Additionally, we prove normalization for CCobs in plain Martin-Löf type theory, thereby showing that adding proof-irrelevant impredicativity does not increase the computational content of the theory.

链接与引用

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

BibTeX
@article{paperbot2050,
  title = {Impredicative Observational Equality},
  author = {Loïc Pujet and Nicolas Tabareau},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {POPL},
  year = {2023},
  doi = {10.1145/3571739}
}