homset
In category theory, the Hom-set, denoted Hom_C(X,Y), is the set of all morphisms from an object X to an object Y in a category C. The notation Hom(X,Y) is common when the involved category is clear from context. For a fixed category, the Hom-sets vary with the pair of objects (X,Y).
The composition of morphisms endows the collection of Hom-sets with a rich structure: there is a function
From a functorial perspective, fixed Y yields the contravariant functor Hom(-,Y): C^op → Set, which assigns to
Examples help illuminate the concept. In the category of sets, Hom_Set(X,Y) is the set of all functions
Variants and generalizations include enriched category theory, where Hom-sets are replaced by hom-objects in a monoidal