arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.17480cs.LO
收藏

有向类型论,有其独特之处

Directed type theory, with a twist

Utrecht University(乌得勒支大学)

Fernando Rafael Chu Rivera, Paige Randall North

AI总结:

本文提出Twisted Type Theory,通过引入扭曲操作和依赖双侧纤维化,实现对范畴的推理,证明Yoneda引理。

摘要:

近年来,同调类型论(HoTT)在数学基础和作为内部语言来研究∞-群oids(即空间)方面取得了巨大成功。然而,在数学和计算机科学的许多领域中,往往更关注的是范畴,而不是群oids。因此,提出了多种有向类型论,即其语义基于范畴的理论。在本文中,我们介绍了一种新的此类类型论,即Twisted Type Theory(TTT)。它引入了一种新的“扭曲”操作:给定一个同时反变和协变依赖于某些变量的类型,其扭曲是一种仅协变依赖于相同变量的新类型。为了提供这种操作的语义,我们引入了依赖的双侧纤维化(D2SFibs)的概念,这扩展了Street的双侧纤维化的概念。我们开发了D2SFibs的基本理论,并通过直化-直化定理来表征它们。借助这些结果,我们引入了新的Hom类型消除规则。我们认为我们的语法和语义满足允许以HoTT风格进行推理的关键特性,使我们能够模仿该设置的证明技术。最后,我们通过示例说明这一点,并使用TTT来推理关于范畴,给出Yoneda引理的语法证明。

英文摘要:

In recent years, Homotopy Type Theory (HoTT) has had great success both as a foundation of mathematics and as internal language to reason about $\infty$-groupoids (a.k.a. spaces). However, in many areas of mathematics and computer science, it is often the case that it is categories, not groupoids, which are the more important structures to consider. For this reason, multiple directed type theories have been proposed, i.e., theories whose semantics are based on categories. In this paper, we present a new such type theory, Twisted Type Theory (TTT). It features a novel ``twisting'' operation on types: given a type that depends both contravariantly and covariantly on some variables, its twist is a new type that depends only covariantly on the same variables. To provide the semantics of this operation, we introduce the notion of dependent 2-sided fibrations (D2SFibs), which generalize Street's notion of 2-sided fibrations. We develop the basic theory of D2SFibs, as well as characterize them through a straightening-unstraightening theorem. With these results in hand, we introduce a new elimination rule for Hom-types. We argue that our syntax and semantics satisfy key features that allow reasoning in a HoTT-like style, which allows us to mimic the proof techniques of that setting. We end the paper by exemplifying this, and use TTT to reason about categories, giving a syntactic proof of Yoneda's lemma.

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

↑