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

基于依赖归纳和共归纳类型的类型论

Type Theory based on Dependent Inductive and Coinductive Types

Henning Basold, Herman Geuvers

摘要:

我们开发了一个依赖的类型论,纯粹基于归纳和共归纳类型,以及相应的递归和共递归原则。这就产生了一个只有少量规则集的类型论,同时仍然具有相当的表达能力。例如,所有众所周知的基本类型和类型的形式,需要使用这个类型论作为一个逻辑是可定义的:命题连接词,如虚假,合取,析取,和功能空间,依赖功能空间,存在量化,平等,自然数,向量等。众所周知的类型的归约关系由此产生。为了进一步支持这个新的类型论的引入,我们还证明了它的项演算的基本性质。最重要的是,我们证明了主题减少和强规范化的减少关系,这使得计算意义的条款。所提出的类型论是基于第一作者以前研究过的分类逻辑的思想,它将Hagino的分类数据类型扩展到依赖类型化的设置。通过将类型论建立在范畴论的概念上,我们保持了归纳类型和上归纳类型之间的对偶性,并且它允许我们将函数空间描述为上归纳类型。

英文摘要:

We develop a dependent type theory that is based purely on inductive and coinductive types, and the corresponding recursion and corecursion principles. This results in a type theory with a small set of rules, while still being fairly expressive. For example, all well-known basic types and type formers that are needed for using this type theory as a logic are definable: propositional connectives, like falsity, conjunction, disjunction, and function space, dependent function space, existential quantification, equality, natural numbers, vectors etc. The reduction relation on terms consists solely of a rule for recursion and a rule for corecursion. The reduction relations for well-known types arise from that. To further support the introduction of this new type theory, we also prove fundamental properties of its term calculus. Most importantly, we prove subject reduction and strong normalisation of the reduction relation, which gives computational meaning to the terms. The presented type theory is based on ideas from categorical logic that have been investigated before by the first author, and it extends Hagino's categorical data types to a dependently typed setting. By basing the type theory on concepts from category theory we maintain the duality between inductive and coinductive types, and it allows us to describe, for example, the function space as a coinductive type.

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

↑