Deriving Category Theory from Type Theory
نویسنده
چکیده
This work expounds the notion that (structured) categories are syntax free presentations of type theories, and shows some of the ideas involved in deriving categorical semantics for given type theories. It is intended for someone who has some knowledge of category theory and type theory, but who does not fully understand some of the intimate connections between the two topics. We begin by showing how the concept of a category can be derived from some simple and primitive mechanisms of monadic type theory. We then show how the notion of a category with finite products can model the most fundamental syntactical constructions of (algebraic) type theory. The idea of naturality is shown to capture, in a syntax free manner, the notion of substitution, and therefore provides a syntax free coding of a multiplicity of type theoretical constructs. Using these ideas we give a direct derivation of a cartesian closed category as a very general model of simply typed λ-calculus with binary products and a unit type. This article provides a new presentation of some old ideas. It is intended to be a tutorial paper aimed at audiences interested in elementary categorical type theory. Further details can be found in [Cro93].
منابع مشابه
Locating reaction with 2-categories
Groupoidal relative pushouts (GRPOs) have recently been proposed by the authors as a new foundation for Leifer and Milner’s approach to deriving labelled bisimulation congruences from reduction systems. In this paper, we develop the theory of GRPOs further, proving that well-known equivalences, other than bisimulation, are congruences. To demonstrate the type of category theoretic arguments whi...
متن کاملدانش، بینش و مدیریت
Model building is one of the most important characteristics of human beings. According to a classification, there are three kinds of models. The first type are omdels which are unique to every individual person and every body has his own models. Another kind of models are those which are general. Theories arise from this kind of models. The third kind are modols for model building and deals wit...
متن کاملFamilial, Social, and Environmental Factors Detecting Craving in Substance-Dependent Women in Tehran: A Grounded Theory Study
Objective: The present study aimed to explore the familial, social, and environmental factors detecting craving in substance-dependent women in Tehran. Method: The method of this research was qualitative of grounded theory type. The statistical population of the present study included substance-dependent women referring to Behboud Gostaran Hamgam Center in Tehran in 2018-2019. Among them, 40 pe...
متن کاملDeriving Bisimulation Congruences in the DPO Approach to Graph Rewriting
Motivated by recent work on the derivation of labelled transitions and bisimulation congruences from unlabelled reaction rules, we show how to solve this problem in the DPO (double-pushout) approach to graph rewriting. Unlike in previous approaches, we consider graphs as objects, instead of arrows, of the category under consideration. This allows us to present a very simple way of deriving labe...
متن کاملParameterized Type Definitions in Mathematica: Methods and Advantages
The theme of symbolic computation in algebraic categories has become of utmost importance in the last decade since it enables the automatic modeling of modern algebra theories. On this theoretical background, the present paper reveals the utility of the parameterized categorical approach by deriving a multivariate polynomial category (over various coefficient domains), which is used by our Math...
متن کامل