Results 1 - 10
of
26
Syntax and Semantics of Dependent Types
- Semantics and Logics of Computation
, 1997
"... ion is written as [x: oe]M instead of x: oe:M and application is written M(N) instead of App [x:oe] (M; N ). 1 Iterated abstractions and applications are written [x 1 : oe 1 ; : : : ; x n : oe n ]M and M(N 1 ; : : : ; N n ), respectively. The lacking type information can be inferred. The universe ..."
Abstract
-
Cited by 37 (4 self)
- Add to MetaCart
ion is written as [x: oe]M instead of x: oe:M and application is written M(N) instead of App [x:oe] (M; N ). 1 Iterated abstractions and applications are written [x 1 : oe 1 ; : : : ; x n : oe n ]M and M(N 1 ; : : : ; N n ), respectively. The lacking type information can be inferred. The universe is written Set instead of U . The El-operator is omitted. For example the \Pi-type is described by the following constant and equality declarations (understood in every valid context): ` \Pi : (oe: Set; : (oe)Set)Set ` App : (oe: Set; : (oe)Set; m: \Pi(oe; ); n: oe) (m) ` : (oe: Set; : (oe)Set; m: (x: oe) (x))\Pi(oe; ) oe: Set; : (oe)Set; m: (x: oe) (x); n: oe ` App(oe; ; (oe; ; m); n) = m(n) Notice, how terms with free variables are represented as framework abstractions (in the type of ) and how substitution is represented as framework application (in the type of App and in the equation). In this way the burden of dealing correctly with variables, substitution, and binding is s...
Internal Type Theory
- Lecture Notes in Computer Science
, 1996
"... . We introduce categories with families as a new notion of model for a basic framework of dependent types. This notion is close to ordinary syntax and yet has a clean categorical description. We also present categories with families as a generalized algebraic theory. Then we define categories with f ..."
Abstract
-
Cited by 33 (7 self)
- Add to MetaCart
. We introduce categories with families as a new notion of model for a basic framework of dependent types. This notion is close to ordinary syntax and yet has a clean categorical description. We also present categories with families as a generalized algebraic theory. Then we define categories with families formally in Martin-Lof's intensional intuitionistic type theory. Finally, we discuss the coherence problem for these internal categories with families. 1 Introduction In a previous paper [8] I introduced a general notion of simultaneous inductiverecursive definition in intuitionistic type theory. This notion subsumes various reflection principles and seems to pave the way for a natural development of what could be called "internal type theory", that is, the construction of models of (fragments of) type theory in type theory, and more generally, the formalization of the metatheory of type theory in type theory. The present paper is a first investigation of such an internal type theor...
Wellfounded Trees in Categories
, 1999
"... this paper, we give an abstract 2 categorical characterization of W-types. We calculate these W-types explicitly in some categories of presheaves and sheaves on a site, and in the gluing category or Freyd cover. (We also have an explicit description in the case of Hyland's realizability topos, whic ..."
Abstract
-
Cited by 33 (6 self)
- Add to MetaCart
this paper, we give an abstract 2 categorical characterization of W-types. We calculate these W-types explicitly in some categories of presheaves and sheaves on a site, and in the gluing category or Freyd cover. (We also have an explicit description in the case of Hyland's realizability topos, which will be presented in [17].) These explicit calculations can be formalized in a weak predicative metatheory, and lead to the result that if E is any suitably filtered pretopos with dependent products and W-types, then so is the category of internal sheaves on a site in E (Remark 5.9). Our paper is organized as follows. In Section 2 we review some standard definitions concerning pretoposes and dependent products. In Section 3 we present the categorical definition of the W-construction, and in Section 4 we prove some of its basic functoriality properties; e.g., that it turns coequalizers into equalizers. In Section 5, a construction is presented which to each map between (pre)sheaves of sets associates a sheaf of wellfounded trees, and it is proved that this is in fact the W-type in the category (pre)sheaves of sets (Theorem 5.6). In Section 6, we discuss the W-construction for the Freyd cover. Finally, in Section 7 it is shown how these categorical constructions are not only analogous to but explicitly related to Martin-Lof type theory. 2 Pretoposes and dependent products
Equilogical Spaces
, 1998
"... It is well known that one can build models of full higher-order dependent type theory (also called the calculus of constructions) using partial equivalence relations (PERs) and assemblies over a partial combinatory algebra (PCA). But the idea of categories of PERs and ERs (total equivalence relation ..."
Abstract
-
Cited by 24 (9 self)
- Add to MetaCart
It is well known that one can build models of full higher-order dependent type theory (also called the calculus of constructions) using partial equivalence relations (PERs) and assemblies over a partial combinatory algebra (PCA). But the idea of categories of PERs and ERs (total equivalence relations) can be applied to other structures as well. In particular, we can easily dene the category of ERs and equivalencepreserving continuous mappings over the standard category Top 0 of topological T 0 -spaces; we call these spaces (a topological space together with an ER) equilogical spaces and the resulting category Equ. We show that this category|in contradistinction to Top 0 |is a cartesian closed category. The direct proof outlined here uses the equivalence of the category Equ to the category PEqu of PERs over algebraic lattices (a full subcategory of Top 0 that is well known to be cartesian closed from domain theory). In another paper with Carboni and Rosolini (cited herein) a more abstract categorical generalization shows why many such categories are cartesian closed. The category Equ obviously contains Top 0 as a full subcategory, and it naturally contains many other well known subcategories. In particular, we show why, as a consequence of work of Ershov, Berger, and others, the Kleene-Kreisel hierarchy of countable functionals of nite types can be naturally constructed in Equ from the natural numbers object N by repeated use in Equ of exponentiation and binary products. We also develop for Equ notions of modest sets (a category equivalent to Equ) and assemblies to explain why a model of dependent type theory is obtained. We make some comparisons of this model to other, known models. 1
Wellfounded Trees and Dependent Polynomial Functors
- OF LECTURE NOTES IN COMPUTER SCIENCE
, 2004
"... We set out to study the consequences of the assumption of types of wellfounded trees in dependent type theories. We do so by investigating the categorical notion of wellfounded tree introduced in [16]. Our main result shows that wellfounded trees allow us to define initial algebras for a wide class ..."
Abstract
-
Cited by 20 (4 self)
- Add to MetaCart
We set out to study the consequences of the assumption of types of wellfounded trees in dependent type theories. We do so by investigating the categorical notion of wellfounded tree introduced in [16]. Our main result shows that wellfounded trees allow us to define initial algebras for a wide class of endofunctors on locally cartesian closed categories.
Developing Theories of Types and Computability via Realizability
, 2000
"... We investigate the development of theories of types and computability via realizability. ..."
Abstract
-
Cited by 18 (6 self)
- Add to MetaCart
We investigate the development of theories of types and computability via realizability.
Propositions as [Types]
, 2001
"... Image factorizations in regular categories are stable under pullbacks, so they model a natural modal operator in dependent type theory. This unary type constructor [A] has turned up previously in a syntactic form as a way of erasing computational content, and formalizing a notion of proof irrelevanc ..."
Abstract
-
Cited by 16 (0 self)
- Add to MetaCart
Image factorizations in regular categories are stable under pullbacks, so they model a natural modal operator in dependent type theory. This unary type constructor [A] has turned up previously in a syntactic form as a way of erasing computational content, and formalizing a notion of proof irrelevance. Indeed, semantically, the notion of a support is sometimes used as surrogate proposition asserting inhabitation of an indexed family. We give rules for bracket types in dependent type theory and provide complete semantics using regular categories. We show that dependent type theory with the unit type, strong extensional equality types, strong dependent sums, and bracket types is the internal type theory of regular categories, in the same way that the usual dependent type theory with dependent sums and products is the internal type theory of locally cartesian closed categories. We also show how to interpret rst-order logic in type theory with brackets, and we make use of the translation to compare type theory with logic. Specically, we show that the propositions-as-types interpretation is complete with respect to a certain fragment of intuitionistic rst-order logic. As a consequence, a modied double-negation translation into type theory (without bracket types) is complete for all of classical rst-order logic.
A Dependent Type Theory with Names and Binding
- In Proceedings of the 2004 Computer Science Logic Conference, number 3210 in Lecture notes in Computer Science
, 2004
"... We consider the problem of providing formal support for working with abstract syntax involving variable binders. Gabbay and Pitts have shown in their work on Fraenkel-Mostowski (FM) set theory how to address this through first-class names: in this paper we present a dependent type theory for prog ..."
Abstract
-
Cited by 15 (1 self)
- Add to MetaCart
We consider the problem of providing formal support for working with abstract syntax involving variable binders. Gabbay and Pitts have shown in their work on Fraenkel-Mostowski (FM) set theory how to address this through first-class names: in this paper we present a dependent type theory for programming and reasoning with such names. Our development is based on a categorical axiomatisation of names, with freshness as its central notion. An associated adjunction captures constructions known from FM theory: the freshness quantifier N , name-binding, and unique choice of fresh names. The Schanuel topos --- the category underlying FM set theory --- is an instance of this axiomatisation.
The identity type weak factorisation system
- U.U.D.M. REPORT 2008:20
, 2008
"... ... theory T with axioms for identity types admits a non-trivial weak factorisation system. After characterising this weak factorisation system explicitly, we relate it to the homotopy theory of groupoids. ..."
Abstract
-
Cited by 10 (2 self)
- Add to MetaCart
... theory T with axioms for identity types admits a non-trivial weak factorisation system. After characterising this weak factorisation system explicitly, we relate it to the homotopy theory of groupoids.

