GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

cartesian closed category

In category theory, a category is Cartesian closed if, roughly speaking, any morphism defined on a product of two objects can be naturally identified with a morphism defined on one of the factors. These categories are particularly important in mathematical logic and the theory of programming, in that their internal language is the simply typed lambda calculus. They are generalized by closed monoidal categories, whose internal language, linear type systems, are suitable for both quantum and classical computation. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In category theory, a category is Cartesian closed if, roughly speaking, any morphism defined on a product of two objects can be naturally identified with a morphism defined on one of the factors. These categories are particularly important in mathematical logic and the theory of programming, in that their internal language is the simply typed lambda calculus. They are generalized by closed monoidal categories, whose internal language, linear type systems, are suitable for both quantum and classical computation. ==Etymology== Named after René Descartes (1596–1650), French philosopher, mathematician, and scientist, whose formulation of analytic geometry gave rise to the concept of Cartesian product, which was later generalized to the notion of categorical product. \mathrm{Hom}(X\times Y,Z) \cong \mathrm{Hom}(X,Z^Y) which is natural in X, Y, and Z. Take care to note that a Cartesian closed category need not have finite limits; only finite products are guaranteed. If a category has the property that all its slice categories are Cartesian closed, then it is called locally cartesian closed. Note that if C is locally Cartesian closed, it need not actually be Cartesian closed; that happens if and only if C has a terminal object. \mathrm{ev}_{Y,Z} : Z^Y \times Y \to Z called the (internal) evaluation map. More generally, we can construct the partial application map as the composite \mathrm{papply}_{X,Y,Z} : Z^{X \times Y} \times X \cong (Z^Y)^{X} \times X \,\xrightarrow\overset{}{\mathrm{ev}_{X, Z^Y}}\, Z^Y. In the particular case of the category Set, these reduce to the ordinary operations: \mathrm{ev}_{Y,Z}(f,y) = f(y). \begin{align} p^Z : X^Z \to Y^Z,\\ Z^p &: Z^Y \to Z^X, \end{align} corresponding to the operation of composition with p. Alternate notations for the operation p Z include p * and p∘-. Alternate notations for the operation Z p include p * and -∘p. Evaluation maps can be chained as Z^Y \times Y^X \times X \,\xrightarrow{\mathrm{id} \times \mathrm{ev}_{X,Y}}\, Z^Y \times Y \,\xrightarrow{\mathrm{ev}_{Y,Z}}\, Z the corresponding arrow under the exponential adjunction c_{X,Y,Z} : Z^Y \times Y^X \to Z^X is called the (internal) composition map. In the particular case of the category Set, this is the ordinary composition operation: c_{X,Y,Z}(g,f) = g \circ f. \begin{array}{ccc} \Gamma_Y(p) &\to& X^Y \\ \downarrow & & \downarrow \\ 1 &\to& Y^Y \end{array} where the arrow on the right is p Y and the arrow on the bottom corresponds to the identity on Y. Then Γ Y (p) is called the object of sections of p. It is often abbreviated as Γ Y (X). If Γ Y (p) exists for every morphism p with codomain Y, then it can be assembled into a functor Γ Y : C/Y → C on the slice category, which is right adjoint to a variant of the product functor: \hom_{C/Y}(X \times Y \,\xrightarrow\overset{}{\pi_2}\, Y, Z \,\xrightarrow\overset{}{p}\, Y) \cong \hom_C(X, \Gamma_Y(p)). The exponential by Y can be expressed in terms of sections: Z^Y \cong \Gamma_Y(Z \times Y \,\xrightarrow\overset{}{\pi_2}\, Y). The category Set of all sets, with functions as morphisms, is Cartesian closed. The product X×Y is the Cartesian product of X and Y, and Z Y is the set of all functions from Y to Z. The adjointness is expressed by the following fact: the function f : X×Y → Z is naturally identified with the curried function g : X → Z Y defined by g(x)(y) = f(x,y) for all x in X and y in Y. The subcategory of finite sets, with functions as morphisms, is also Cartesian closed for the same reason. If G is a group, then the category of all G-sets is Cartesian closed. If Y and Z are two G-sets, then Z Y is the set of all functions from Y to Z with G action defined by (g.F)(y) = g.F(g −1 .y) for all g in G, F:Y → Z and y in Y. The subcategory of finite G-sets is also Cartesian closed. The category Cat of all small categories (with functors as morphisms) is Cartesian closed; the exponential C D is given by the functor category consisting of all functors from D to C, with natural transformations as morphisms. If C is a small category, then the functor category Set C consisting of all covariant functors from C into the category of sets, with natural transformations as morphisms, is Cartesian closed. If F and G are two functors from C to Set, then the exponential F G is the functor whose value on the object X of C is given by the set of all natural transformations from to F. The earlier example of G-sets can be seen as a special case of functor categories: every group can be considered as a one-object category, and G-sets are nothing but functors from this category to Set The category of all directed graphs is Cartesian closed; this is a functor category as explained under functor category. In particular, the category of simplicial sets (which are functors X : Δ op → Set) is Cartesian closed. Even more generally, every elementary topos is Cartesian closed. In algebraic topology, Cartesian closed categories are particularly easy to work with. Neither the category of topological spaces with continuous maps nor the category of smooth manifolds with smooth maps is Cartesian closed. Substitute categories have therefore been considered: the category of compactly generated Hausdorff spaces is Cartesian closed, as is the category of Frölicher spaces. In order theory, complete partial orders (cpos) have a natural topology, the Scott topology, whose continuous maps do form a Cartesian closed category (that is, the objects are the cpos, and the morphisms are the Scott continuous maps). Both currying and apply are continuous functions in the Scott topology, and currying, together with apply, provide the adjoint. A Heyting algebra is a Cartesian closed (bounded) lattice. An important example arises from topological spaces. If X is a topological space, then the open sets in X form the objects of a category O(X) for which there is a unique morphism from U to V if U is a subset of V and no morphism otherwise. This poset is a Cartesian closed category: the "product" of U and V is the intersection of U and V and the exponential U V is the interior of . A category with a zero object is Cartesian closed if and only if it is equivalent to a category with only one object and one identity morphism. Indeed, if 0 is an initial object and 1 is a final object and we have 0 \cong 1 , then \mathrm{Hom}(X, Y) \cong \mathrm{Hom}(1, Y^X) \cong \mathrm{Hom}(0, Y^X) \cong 1 which has only one element. In particular, any non-trivial category with a zero object, such as an abelian category, is not Cartesian closed. So the category of modules over a ring is not Cartesian closed. However, the functor tensor product -\otimes M with a fixed module does have a right adjoint. The tensor product is not a categorical product, so this does not contradict the above. We obtain instead that the category of modules is monoidal closed. Examples of locally Cartesian closed categories include: Every elementary topos is locally Cartesian closed. This example includes Set, FinSet, G-sets for a group G, as well as Set C for small categories C. The category LH whose objects are topological spaces and whose morphisms are local homeomorphisms is locally Cartesian closed, since LH/X is equivalent to the category of sheaves . However, LH does not have a terminal object, and thus is not Cartesian closed. If C has pullbacks and for every arrow p : X → Y, the functor p * : C/Y → C/X given by taking pullbacks has a right adjoint, then C is locally Cartesian closed. If C is locally Cartesian closed, then all of its slice categories C/X are also locally Cartesian closed. Non-examples of locally Cartesian closed categories include: Cat is not locally Cartesian closed. (x^y)^z = (x^z)^y. One may ask what other such equations are valid in all Cartesian closed categories. It turns out that all of them follow logically from the following axioms (where 1 denotes the terminal object of C : the product is associative: x\times(y\times z) = (x\times y)\times z the product is commutative: x\times y = y\times x the terminal object is the product identity: x\times 1 = x the terminal object is the (algebraic) left zero for exponentiation: 1^x = 1 the terminal object is the right identity for exponentiation: x^1 = x exponentiation distributes on the right over products: (x\times y)^z = x^z\times y^z currying: (x^y)^z = x^{y\times z} ===Bicartesian closed categories=== Bicartesian closed categories extend Cartesian closed categories with binary coproducts and an initial object, with products distributing over coproducts. Their equational theory is extended with the following axioms, yielding something similar to Tarski's high school axioms but with a zero: coproducts are commutative: x + y = y + x coproducts are associative: (x + y) + z = x + (y + z) products distribute over coproducts: x\times(y + z) = x\times y + x\times z exponentiation by coproducts is the same as a product of exponents: x^{y + z} = x^y\times x^z the initial object is the coproduct identity: 0 + x = x the initial object is the product zero: x\times 0 = 0 exponentiation by the initial object is the terminal object: x^0 = 1 Note however that the above list is not complete; type isomorphism in the free BCCC is not finitely axiomatizable, and its decidability is still an open problem. ==References== ==External links==

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"cartesian closed category". 1786532081. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1369029729

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·