scholarly journals Categorical Models for Intuitionistic and Linear Type Theory

Author(s):  
Maria Emilia Maietti ◽  
Valeria de Paiva ◽  
Eike Ritter
2009 ◽  
Vol 20 (1) ◽  
pp. 19-50 ◽  
Author(s):  
SIMON J. GAY ◽  
VASCO T. VASCONCELOS

AbstractSession types support a type-theoretic formulation of structured patterns of communication, so that the communication behaviour of agents in a distributed system can be verified by static typechecking. Applications include network protocols, business processes and operating system services. In this paper we define a multithreaded functional language with session types, which unifies, simplifies and extends previous work. There are four main contributions. First is an operational semantics with buffered channels, instead of the synchronous communication of previous work. Second, we prove that the session type of a channel gives an upper bound on the necessary size of the buffer. Third, session types are manipulated by means of the standard structures of a linear type theory, rather than by means of new forms of typing judgement. Fourth, a notion of subtyping, including the standard subtyping relation for session types (imported into the functional setting), and a novel form of subtyping between standard and linear function types, which allows the typechecker to handle linear types conveniently. Our new approach significantly simplifies session types in the functional setting, clarifies their essential features and provides a secure foundation for language developments such as polymorphism and object-orientation.


Author(s):  
Martin E. Bidlingmaier

Abstract Locally cartesian closed (lcc) categories are natural categorical models of extensional dependent type theory. This paper introduces the “gros” semantics in the category of lcc categories: Instead of constructing an interpretation in a given individual lcc category, we show that also the category of all lcc categories can be endowed with the structure of a model of dependent type theory. The original interpretation in an individual lcc category can then be recovered by slicing. As in the original interpretation, we face the issue of coherence: Categorical structure is usually preserved by functors only up to isomorphism, whereas syntactic substitution commutes strictly with all type-theoretic structures. Our solution involves a suitable presentation of the higher category of lcc categories as model category. To that end, we construct a model category of lcc sketches, from which we obtain by the formalism of algebraically (co)fibrant objects model categories of strict lcc categories and then algebraically cofibrant strict lcc categories. The latter is our model of dependent type theory.


2009 ◽  
Vol 19 (2) ◽  
pp. 417-434 ◽  
Author(s):  
BENNO VAN DEN BERG

We compare three categorical models of type theory with extensional constructs: setoids over extensional type theory; setoids over intensional type theory and a certain free exact category (the free ‘ΠW-pretopos’). By studying the amount of choice available in these categories, we are able show that they are distinct.


Author(s):  
Rob Nederpelt ◽  
Herman Geuvers
Keyword(s):  

Sign in / Sign up

Export Citation Format

Share Document