In category theory in mathematics a family of generators (or family of separators) of a category is a collection of objects, indexed by some set I, such that for any two morphisms in , if then there is some i∈I and morphism , such that the compositions . If the family consists of a single object G, we say it is a generator (or separator).