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