Subfunctor
In category theory, a branch of mathematics, a subfunctor is a special type of functor that is an analogue of a subset.
Definition
Let be a category, and let be a contravariant functor from to the category of sets Set. A contravariant functor from to Set is a subfunctor of F if- For all objects c of,, and
- For all arrows of, is the restriction of to.
For example, let 1 be the category with a single object and a single arrow. A functor F: 1 → Set maps the unique object of 1 to some set S and the unique identity arrow of 1 to the identity function 1S on S. A subfunctor G of F maps the unique object of 1 to a subset T of S and maps the unique identity arrow to the identity function 1T on T. Notice that 1T is the restriction of 1S to T. Consequently, subfunctors of F correspond to subsets of S.
Remarks
Subfunctors in general are like global versions of subsets. For example, if one imagines the objects of some category C to be analogous to the open sets of a topological space, then a contravariant functor from C to the category of sets gives a set-valued presheaf on C, that is, it associates sets to the objects of C in a way that is compatible with the arrows of C. A subfunctor then associates a subset to each set, again in a compatible way.The most important examples of subfunctors are subfunctors of the Hom functor. Let c be an object of the category C, and consider the functor. This functor takes an object ' of C' and gives back all of the morphisms '' → c. A subfunctor of gives back only some of the morphisms. Such a subfunctor is called a sieve, and it is usually used when defining Grothendieck topologies.