Hom functor

Last updated

In mathematics, specifically in category theory, hom-sets (i.e. sets of morphisms between objects) give rise to important functors to the category of sets. These functors are called hom-functors and have numerous applications in category theory and other branches of mathematics.

Contents

Formal definition

Let C be a locally small category (i.e. a category for which hom-classes are actually sets and not proper classes).

For all objects A and B in C we define two functors to the category of sets as follows:

Hom(A, ) : CSetHom(, B) : CSet [1]
This is a covariant functor given by:
  • Hom(A, ) maps each object X in C to the set of morphisms, Hom(A, X)
  • Hom(A, ) maps each morphism f : XY to the function
    Hom(A, f) : Hom(A, X) → Hom(A, Y) given by
    for each g in Hom(A, X).
This is a contravariant functor given by:
  • Hom(, B) maps each object X in C to the set of morphisms, Hom(X, B)
  • Hom(, B) maps each morphism h : XY to the function
    Hom(h, B) : Hom(Y, B) → Hom(X, B) given by
    for each g in Hom(Y, B).

The functor Hom(, B) is also called the functor of points of the object B.

Note that fixing the first argument of Hom naturally gives rise to a covariant functor and fixing the second argument naturally gives a contravariant functor. This is an artifact of the way in which one must compose the morphisms.

The pair of functors Hom(A, ) and Hom(, B) are related in a natural manner. For any pair of morphisms f : BB and h : AA the following diagram commutes:

Hom functor.svg

Both paths send g : AB to fgh : A′ → B′.

The commutativity of the above diagram implies that Hom(, ) is a bifunctor from C × C to Set which is contravariant in the first argument and covariant in the second. Equivalently, we may say that Hom(, ) is a bifunctor

Hom(, ) : Cop×CSet

where Cop is the opposite category to C. The notation HomC(, ) is sometimes used for Hom(, ) in order to emphasize the category forming the domain.

Yoneda's lemma

Referring to the above commutative diagram, one observes that every morphism

h : AA

gives rise to a natural transformation

Hom(h, ) : Hom(A, ) Hom(A, )

and every morphism

f : BB

gives rise to a natural transformation

Hom(, f) : Hom(, B) Hom(, B)

Yoneda's lemma implies that every natural transformation between Hom functors is of this form. In other words, the Hom functors give rise to a full and faithful embedding of the category C into the functor category SetCop (covariant or contravariant depending on which Hom functor is used).

Internal Hom functor

Some categories may possess a functor that behaves like a Hom functor, but takes values in the category C itself, rather than Set. Such a functor is referred to as the internal Hom functor, and is often written as

to emphasize its product-like nature, or as

to emphasize its functorial nature, or sometimes merely in lower-case:

For examples, see Category of relations.

Categories that possess an internal Hom functor are referred to as closed categories. One has that

,

where I is the unit object of the closed category. For the case of a closed monoidal category, this extends to the notion of currying, namely, that

where is a bifunctor, the internal product functor defining a monoidal category. The isomorphism is natural in both X and Z. In other words, in a closed monoidal category, the internal Hom functor is an adjoint functor to the internal product functor. The object is called the internal Hom. When is the Cartesian product , the object is called the exponential object, and is often written as .

Internal Homs, when chained together, form a language, called the internal language of the category. The most famous of these are simply typed lambda calculus, which is the internal language of Cartesian closed categories, and the linear type system, which is the internal language of closed symmetric monoidal categories.

Properties

Note that a functor of the form

Hom(, A) : CopSet

is a presheaf; likewise, Hom(A, ) is a copresheaf.

A functor F : CSet that is naturally isomorphic to Hom(A, ) for some A in C is called a representable functor (or representable copresheaf); likewise, a contravariant functor equivalent to Hom(, A) might be called corepresentable.

Note that Hom(, ) : Cop×CSet is a profunctor, and, specifically, it is the identity profunctor .

The internal hom functor preserves limits; that is, sends limits to limits, while sends limits in , that is colimits in , into limits. In a certain sense, this can be taken as the definition of a limit or colimit.

The endofunctor Hom(E, ) : SetSet can be given the structure of a monad; this monad is called the environment (or reader) monad.

Other properties

If A is an abelian category and A is an object of A, then HomA(A, ) is a covariant left-exact functor from A to the category Ab of abelian groups. It is exact if and only if A is projective. [2]

Let R be a ring and M a left R-module. The functor HomR(M, ): Mod-RAb[ clarification needed ] is adjoint to the tensor product functor RM: AbMod-R.

See also

Notes

  1. Also commonly denoted CopSet, where Cop denotes the opposite category, and this encodes the arrow-reversing behaviour of Hom(, B).
  2. Jacobson (2009), p. 149, Prop. 3.9.

Related Research Articles

In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects are associated to topological spaces, and maps between these algebraic objects are associated to continuous maps between spaces. Nowadays, functors are used throughout modern mathematics to relate various categories. Thus, functors are important in all areas within mathematics to which category theory is applied.

In mathematics, the Yoneda lemma is a fundamental result in category theory. It is an abstract result on functors of the type morphisms into a fixed object. It is a vast generalisation of Cayley's theorem from group theory. It allows the embedding of any locally small category into a category of functors defined on that category. It also clarifies how the embedded category, of representable functors and their natural transformations, relates to the other objects in the larger functor category. It is an important tool that underlies several modern developments in algebraic geometry and representation theory. It is named after Nobuo Yoneda.

In category theory, a branch of mathematics, the abstract notion of a limit captures the essential properties of universal constructions such as products, pullbacks and inverse limits. The dual notion of a colimit generalizes constructions such as disjoint unions, direct sums, coproducts, pushouts and direct limits.

In category theory, a branch of mathematics, a natural transformation provides a way of transforming one functor into another while respecting the internal structure of the categories involved. Hence, a natural transformation can be considered to be a "morphism of functors". Informally, the notion of a natural transformation states that a particular map between functors can be done consistently over an entire category.

In mathematics, specifically in category theory, a pre-abelian category is an additive category that has all kernels and cokernels.

<span class="mw-page-title-main">Homological algebra</span> Branch of mathematics

Homological algebra is the branch of mathematics that studies homology in a general algebraic setting. It is a relatively young discipline, whose origins can be traced to investigations in combinatorial topology and abstract algebra at the end of the 19th century, chiefly by Henri Poincaré and David Hilbert.

In category theory, a branch of mathematics, an enriched category generalizes the idea of a category by replacing hom-sets with objects from a general monoidal category. It is motivated by the observation that, in many practical applications, the hom-set often has additional structure that should be respected, e.g., that of being a vector space of morphisms, or a topological space of morphisms. In an enriched category, the set of morphisms associated with every pair of objects is replaced by an object in some fixed monoidal category of "hom-objects". In order to emulate the (associative) composition of morphisms in an ordinary category, the hom-category must have a means of composing hom-objects in an associative manner: that is, there must be a binary operation on objects giving us at least the structure of a monoidal category, though in some contexts the operation may also need to be commutative and perhaps also to have a right adjoint.

In category theory, the coproduct, or categorical sum, is a construction which includes as examples the disjoint union of sets and of topological spaces, the free product of groups, and the direct sum of modules and vector spaces. The coproduct of a family of objects is essentially the "least specific" object to which each object in the family admits a morphism. It is the category-theoretic dual notion to the categorical product, which means the definition is the same as the product but with all arrows reversed. Despite this seemingly innocuous change in the name and notation, coproducts can be and typically are dramatically different from products.

In mathematics, certain functors may be derived to obtain other functors closely related to the original ones. This operation, while fairly abstract, unifies a number of constructions throughout mathematics.

In mathematics, particularly category theory, a representable functor is a certain functor from an arbitrary category into the category of sets. Such functors give representations of an abstract category in terms of known structures allowing one to utilize, as much as possible, knowledge about the category of sets in other settings.

In mathematics, the simplex category is the category of non-empty finite ordinals and order-preserving maps. It is used to define simplicial and cosimplicial objects.

In mathematics, especially in category theory, a closed monoidal category is a category that is both a monoidal category and a closed category in such a way that the structures are compatible.

This is a glossary of properties and concepts in category theory in mathematics.

In mathematics, a *-autonomous category C is a symmetric monoidal closed category equipped with a dualizing object . The concept is also referred to as Grothendieck—Verdier category in view of its relation to the notion of Verdier duality.

In category theory, monoidal functors are functors between monoidal categories which preserve the monoidal structure. More specifically, a monoidal functor between two monoidal categories consists of a functor between the categories, along with two coherence maps—a natural transformation and a morphism that preserve monoidal multiplication and unit, respectively. Mathematicians require these coherence maps to satisfy additional properties depending on how strictly they want to preserve the monoidal structure; each of these properties gives rise to a slightly different definition of monoidal functors

In category theory, a monoidal monad is a monad on a monoidal category such that the functor is a lax monoidal functor and the natural transformations and are monoidal natural transformations. In other words, is equipped with coherence maps and satisfying certain properties, and the unit and multiplication are monoidal natural transformations. By monoidality of , the morphisms and are necessarily equal.

<span class="mw-page-title-main">Category of relations</span>

In mathematics, the category Rel has the class of sets as objects and binary relations as morphisms.

In category theory, a branch of mathematics, dagger compact categories first appeared in 1989 in the work of Sergio Doplicher and John E. Roberts on the reconstruction of compact topological groups from their category of finite-dimensional continuous unitary representations. They also appeared in the work of John Baez and James Dolan as an instance of semistrict k-tuply monoidal n-categories, which describe general topological quantum field theories, for n = 1 and k = 3. They are a fundamental structure in Samson Abramsky and Bob Coecke's categorical quantum mechanics.

In mathematics, the tensor-hom adjunction is that the tensor product and hom-functor form an adjoint pair:

In category theory, a branch of mathematics, a rigid category is a monoidal category where every object is rigid, that is, has a dual X* and a morphism 1XX* satisfying natural conditions. The category is called right rigid or left rigid according to whether it has right duals or left duals. They were first defined by Neantro Saavedra Rivano in his thesis on Tannakian categories.

References