Comment on Anybody?

<- View Parent
kogasa@programming.dev ⁨1⁩ ⁨week⁩ ago

🍕(–, B) : C -> Set denotes the contravariant hom functor, normally written Hom(–, B).

In this case, C is a category, and B is a fixed object in that category. For any given object X in C, the hom-set Hom(X, C) is the set of morphisms X -> B in C. For a morphism f : X -> Y in C, the Set morphism Hom(f, B) : Hom(Y, B) -> Hom(X, B) is defined by sending each g : Y -> B to gf : X -> B. This is the mapping C -> Set defined by Hom(–, C), and it’s a (contravariant) functor because it respects composition: if h : X -> Y and f : Y -> Z then fh : X -> Z and Hom(fh, C) = Hom(h, C)Hom(f, C) sends g : Z -> B to gfh.

source
Sort:hotnewtop