arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.17068cs.LOmath.CT
收藏

一种面向半严格高范畴的类型论方法

A type-theoretic approach to semistrict higher categories

Alex Rice

AI总结:

本研究提出向弱∞范畴对应的$\textsf{Catt}$类型论添加定义性相等的通用框架,构造两个半严格高范畴类型论实例,证明其类型检查可判定并实现了带双向类型检查的高效工具。

摘要:

弱∞范畴的表达能力强于严格∞范畴,但由于这类范畴中的构造需要处理显式的融贯数据,其使用难度更高。这推动了研究者对半严格∞范畴定义的探索,这类范畴中部分(而非全部)运算已被严格化。\n我们提出一个通用框架,用于为类型论$\textsf{Catt}$添加定义性相等。$\textsf{Catt}$是由Finster和Mimram提出的类型论,其模型对应球状弱∞范畴。向该理论中添加相等性会使其模型呈现半严格行为,即部分运算被平凡化,其余运算仍保持弱特性。该框架是$\textsf{Catt}$的推广,扩展了由任意相等规则集$\textsf{R}$生成的相等关系,我们将其命名为$\textsf{Catt}_{\textsf{R}}$。我们详细研究了该框架,在证明助手Agda中形式化了其大部分元理论,并分析了$\textsf{Catt}$的某些运算在定义性相等存在下的行为。\n我们利用该框架提出了两个类型论$\textsf{Catt}_{\textsf{su}}$和$\textsf{Catt}_{\textsf{sua}}$,二者均属于该通用框架的实例。此外,我们给出了生成这两个系统相等性的终止且合流的归约系统,由此证明了这两个理论的相等性(进而类型检查)是可判定的。基于此我们实现了这些类型论,该实现采用受求值归约启发的方法,可高效求得项的范式。我们还提出了该实现使用的双向类型检查算法,允许以便捷的语法定义项,其中许多参数可隐式给出。

英文摘要:

Weak $\infty$-categories are known to be more expressive than their strict counterparts, but are more difficult to work with, as constructions in such a category involve the manipulation of explicit coherence data. This motivates the search for definitions of semistrict $\infty$-categories, where some, but not all, of the operations have been strictified. We introduce a general framework for adding definitional equality to the type theory $\mathsf{Catt}$, a type theory whose models correspond to globular weak $\infty$-categories, which was introduced by Finster and Mimram. Adding equality to this theory causes the models to exhibit semistrict behaviour, trivialising some operations while leaving others weak. The framework consists of a generalisation of $\mathsf{Catt}$ extended with an equality relation generated by an arbitrary set of equality rules $\mathcal{R}$, which we name $\mathsf{Catt}_{\mathcal{R}}$. We study this framework in detail, formalising much of its metatheory in the proof assistant Agda, and studying how certain operations of $\mathsf{Catt}$ behave in the presence of definitional equality. We use this framework to introduce two type theories, $\mathsf{Catt}_{\mathsf{su}}$ and $\mathsf{Catt}_{\mathsf{sua}}$, which are instances of this general framework. Further, we provide terminating and confluent reduction systems that generate the equality of both systems. We therefore prove that the equality, and hence typechecking, of both theories is decidable. This is used to give an implementation of these type theories, which uses an approach inspired by normalisation by evaluation to efficiently find normal forms for terms. We further introduce a bidirectional typechecking algorithm used by the implementation which allows for terms to be defined in a convenient syntax where many arguments can be left implicit.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑