[论文解读] Non-Derivability Results in Polymorphic Dependent Type Theory
本文给出反例模型,显示在多态依赖型理论中,归纳、共归纳与商类型不可导,并分析哪些扩展是真正需要的。
In the pure Calculus of Constructions (CC) one can define data types and function over these, and there is a powerful higher order logic to reason over these functions and data types. This is due to the combination of impredicativity and dependent types, and most of these features can already be observed in polymorphic (second order) dependent type theory $λ$P2. The impredicative encoding of data types (in $λ$P2 or CC) is powerful but not fully satisfactory: for example, the induction principle is not provable. As a matter of fact, it can be shown that induction is not provable for whatever possible representation of data types. In a recent paper, Awodey, Frey and Speight show that in an extension of $λ$P2 with Sigma-types, identity types with uniqueness of identity proofs and function extensionality, it is possible to define data types for which the induction principle is provable. More recently it has been shown that in this extension of $λ$P2, also quotient types can be defined with the proper induction principle, and, using quotient types, coinductive types can be defined with the proper coinduction principle. This leaves various questions open: Are quotient types with induction principle not definable in the original $λ$P2? And how about coinductive types, is it impossible to get a strong coinduction principle in $λ$P2? Looking at it from the other side: which of the extensions used are really needed to make induction and coinduction work? In this paper, we contribute partial answers to these questions: parametric quotient types are not definable in $λ$P2 and the well-known definable stream type does not have a coinduction principle. For the latter question we show that, if we just extend $λ$P2 with Sigma-types and identity types with uniqueness of identity proofs, we still cannot prove an induction principle for the natural numbers. So function extensionality is crucial in making induction provable. We show these results by studying models of $λ$P2 where the types representing these principles are empty, so these models act as counter models to the derivability of the principles.
研究动机与目标
- 在第二阶依赖型理论 (lambda P2) 中,无论数据编码策略如何,都要动机化并形式化为何无法导出归纳。
- 调查在 lambda P2 内是否可以定义具有归纳与商的商类型,还是需要扩展。
- 评估实现归纳或共归纳原理实际需要哪些扩展(Sigma 型、具有 UIP 的等同性类型、函数扩张性)。
- 提供能够强制纯粹的 lambda P2 或其温和扩展中不可导这类原理的反例模型。
提出的方法
- 构造语法性反例模型(基于 WECA 的实现性模型)以证明所指定原理的不可导性。
- 在 lambda P2 内定义并分析参数化与非参数化的商,并证明它们在基理论中不存在。
- 展示一个可定义的流类型,但它不是最终共代数,从而表明缺乏共归纳原理。
- 考察扩展(Sigma 型、UIP、FunExt)并表明在没有 FunExt 的情况下,自然数的归纳仍然不可证明,强调其必要性。
实验结果
研究问题
- RQ1在 lambda P2 中可以定义参数化的商型吗?
- RQ2在 lambda P2 的标准编码下,归纳原理是否可证明?
- RQ3在 lambda P2 中是否可以定义商类型和共归纳类型,还是需要扩展如 FunExt、UIP 或 Sigma 型?
- RQ4要在这个框架中恢复归纳原理,所需的最小扩展是什么?
- RQ5在基于 lambda P2 的模型中,知名的可定义流是否满足最终共代数或共归纳原理?
主要发现
- 纯 lambda P2 中不存在参数化商类型,这一点通过反例构造得出。
- 标准可定义的流类型不是最终共代数,因此不满足共归纳原理。
- 即使将 lambda P2 扩展为 Sigma 型和带 UIP 的等同性类型,在没有函数扩张性(FunExt)的情况下,对自然数的归纳仍然不可证明,强调了 FunExt 的必要性。
- 函数扩张性在所考虑的扩展中对获得归纳至关重要。
- 反例模型是语法性的(基于 WECA),与通常在扩展模型中归纳和共归纳成立的扩展参数模型不同。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。