GENERALIZED ALGEBRAIC THEORIES AND CONTEXTUAL CATEGORIES
GENERALIZED ALGEBRAIC THEORIES AND CONTEXTUAL CATEGORIES
复制标题
DOI:
10.1016/0168-0072(86)90053-9
复制
发表时间:
1986-11-01
影响因子:
0.8
通讯作者:
CARTMELL, J
中科院分区:
文献类型:
--
作者:
CARTMELL, J
The notion of generalised algebraic theory introduced in this paper has been abstracted from versions of Martin-L6f type theory [11, 12] and is a generalisation of the usual notion of a many-sorted algebraic or equational theory (as described, for example, by Goguen and Meseguer [6]). The theories are equal in descriptive power to the essentially algebraic theories of Freyd [5]. It is hoped that it will become clear that the new notion is a natural formalisation of a definite part of mathematical practice and that this formalisation is free from unnecessary codification. The extra generality of this new notion among previous notions of equational theory is achieved by the introduction of sort structures more general than those usually considered, in that sorts may denote sets as is usual or they may denote families of sets, families of families of sets, or the like. The generality of the sort structures is dealt with in the syntax by variable types (also known as dependent types) in a manner which follows closely to that of Martin-L0f. De Bruijn [2] also has the idea of types which vary. The possibility of variable types suits the theories to the description of the kind of structure that occurs in category theory. The basic example is of the theory of categories itself, in which Ob appears as a sort to be interpreted as a set, whereas Horn appears as a sort to be interpreted as a family of sets indexed by Ob x Ob. The expression Hom (x, y) appears in the syntax of this theory as a variable type. The algebraic structures that structurally correspond exactly to the syntactically defined theories are particularly structured categories to be called contextual categories. These are so called because we see that the objects of such a category can be thought of as contexts. The theory of contextual categories is seen as an algebraic description of the structure imposed on certain classes of term and type expressions by the operation of substitution of correctly typed terms for variables.