在类型论中构造范畴和setoids的setoid
Constructing categories and setoids of setoids in type theory
摘要:
在本文中,我们考虑的问题,建立丰富的范畴setoids,在标准的内涵马丁-洛夫类型理论(MLTT),特别是如何处理的问题,平等的对象在这种情况下。任何(证明不相关的)类集簇F在类集簇A上产生一个类集簇C(A,F),其对象为A。我们可以把族F看作是setoid的setoid,本文的一个关键问题是构造足够丰富或足够大的这样的族。根据F的闭条件,范畴C(A,F)有相应的范畴结构。我们用有限的界限来描述它。由Aczel在类型论中对CZF的模型构造可以得到一个很大的族F。证明了这样得到的范畴同构于该模型中集合的内部集范畴。因此,集合论可以建立C(A,F)的(范畴)性质,这些性质可以用于类型论。我们还表明,Aczel的模型建设可以扩展到包括任何setoid的原子或urelements的元素。作为副产品,我们获得了CZF的自然扩张,增加了原子。通过扩展模型验证了该扩展CZFU的有效性。本文的主要定理在基于MLTT的辅助证明工具Coq中得到了验证。这一发展的一个可能的应用是整合集理论和类型理论的推理证明助手。
英文摘要:
In this paper we consider the problem of building rich categories of setoids, in standard intensional Martin-Löf type theory (MLTT), and in particular how to handle the problem of equality on objects in this context. Any (proof-irrelevant) family F of setoids over a setoid A gives rise to a category C(A, F) of setoids with objects A. We may regard the family F as a setoid of setoids, and a crucial issue in this article is to construct rich or large enough such families. Depending on closure conditions of F, the category C(A, F) has corresponding categorical constructions. We exemplify this with finite limits. A very large family F may be obtained from Aczel's model construction of CZF in type theory. It is proved that the category so obtained is isomorphic to the internal category of sets in this model. Set theory can thus establish (categorical) properties of C(A, F) which may be used in type theory. We also show that Aczel's model construction may be extended to include the elements of any setoid as atoms or urelements. As a byproduct we obtain a natural extension of CZF, adding atoms. This extension, CZFU, is validated by the extended model. The main theorems of the paper have been checked in the proof assistant Coq which is based on MLTT. A possible application of this development is to integrate set-theoretic and type-theoretic reasoning in proof assistants.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。