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

高阶归纳-归纳类型的签名与归纳原理

Signatures and Induction Principles for Higher Inductive-Inductive Types

Ambrus Kaposi, András Kovács

AI总结:

本文提出一种基于签名理论的高阶归纳-归纳类型(HIITs)通用定义,支持多排序和等式构造子,并通过语法翻译计算归纳与递归原理,已在Agda中形式化并提供Haskell实现。

摘要:

高阶归纳-归纳类型(HIITs)以两种方式推广了依赖类型理论中的归纳类型。一方面,它们允许同时定义多个可相互索引的排序。另一方面,它们支持等式构造子,从而推广了同伦类型理论中的高阶归纳类型。同时利用这两个特性的例子包括柯西实数以及类型理论的良类型语法,其中转换规则被作为等式构造子给出。在本文中,我们提出了一种使用小型类型理论(称为签名理论)来定义HIITs的一般方法。该理论中的上下文通过列出构造子来编码一个HIIT。我们还通过使用语法逻辑关系翻译的变体,为HIITs计算了归纳和递归的概念。构建完整的范畴语义并构造初始代数留待未来工作。HIIT签名的理论已在Agda中形式化,并附有语法翻译。我们还提供了一个Haskell实现,该实现将签名作为输入,并输出翻译结果作为有效的Agda代码。

英文摘要:

Higher inductive-inductive types (HIITs) generalize inductive types of dependent type theories in two ways. On the one hand they allow the simultaneous definition of multiple sorts that can be indexed over each other. On the other hand they support equality constructors, thus generalizing higher inductive types of homotopy type theory. Examples that make use of both features are the Cauchy real numbers and the well-typed syntax of type theory where conversion rules are given as equality constructors. In this paper we propose a general definition of HIITs using a small type theory, named the theory of signatures. A context in this theory encodes a HIIT by listing the constructors. We also compute notions of induction and recursion for HIITs, by using variants of syntactic logical relation translations. Building full categorical semantics and constructing initial algebras is left for future work. The theory of HIIT signatures was formalised in Agda together with the syntactic translations. We also provide a Haskell implementation, which takes signatures as input and outputs translation results as valid Agda code.

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

↑