通过凝聚性的参数性
Parametricity via Cohesion
AI总结:
本文提出参数性本质上是模态的,与凝聚性相关,并为此开发了范畴语义和依赖类型理论公理,在Agda中实现并验证了参数性定理,用于管理高维一致性复杂性。
摘要:
参数性是类型系统的一个关键元理论性质,它蕴含了拥有该性质的系统内类型结构的强均匀性与模块性。近年来,出现了各种依赖类型理论系统,旨在其内部逻辑中表达这种参数推理,以解决类型理论中高维一致性条件的复杂性所带来的各种问题。本文迈出了统一、简化并扩展这些内化参数性方法的第一步。具体而言,我认为参数性本质上具有模态性,这与范畴论中的凝聚性概念密切相关。在此基础上,我描述了模态参数性的一般范畴语义,在依赖类型理论中开发了一套相应的公理框架(具有计算解释),可用于内部表示和推理此类参数性,并通过在Agda中实现这些公理并验证其中的参数性定理来展示其实践应用。随后,我通过推导高阶归纳类型的归纳原理,展示了这些公理在管理高维一致性复杂性方面的效用,并在结尾勾勒了一个更一般的合成参数性理论的轮廓,其应用领域涵盖从同伦类型理论到程序模块分析。
英文摘要:
Parametricity is a key metatheoretic property of type systems, which implies strong uniformity & modularity properties of the structure of types within systems possessing it. In recent years, various systems of dependent type theory have emerged with the aim of expressing such parametric reasoning in their internal logic, toward the end of solving various problems arising from the complexity of higher-dimensional coherence conditions in type theory. This paper presents a first step toward the unification, simplification, and extension of these various methods for internalizing parametricity. Specifically, I argue that there is an essentially modal aspect of parametricity, which is intimately connected with the category-theoretic concept of cohesion. On this basis, I describe a general categorical semantics for modal parametricity, develop a corresponding framework of axioms (with computational interpretations) in dependent type theory that can be used to internally represent and reason about such parametricity, and show this in practice by implementing these axioms in Agda and using them to verify parametricity theorems therein. I then demonstrate the utility of these axioms in managing the complexity of higher-dimensional coherence by deriving induction principles for higher inductive types, and in closing, I sketch the outlines of a more general synthetic theory of parametricity, with applications in domains ranging from homotopy type theory to the analysis of program modules.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。