module Cat.Diagram.Image where
module _ {o ℓ} (C : Precategory o ℓ) where
open Cat.Reasoning C
open Initial
open ↓Obj
open ↓Hom
open /-Obj
open /-Hom
private variable
: Ob
a b : Level ℓ'
Images🔗
Let be an ordinary function between sets (or, indeed, arbitrary types). Its image can be computed as the subset but this description does not carry over to more general categories: More abstractly, we can say that the image embeds into and admits a map from (in material set theory, this is itself — structurally, it is called the corestriction of Furthermore, these two maps factor in that:
While these are indeed two necessary properties of an image, they fail to accurately represent the set-theoretic construction: Observe that, e.g. for we could take taking itself and This factoring clearly recovers as But by taking this as the image, we’ve lost the information that lands in the evens!
We can refine the abstract definition by saying that, for a mono to be the image of it must be the smallest subobject of through which factors — given any other factoring of we must have in the proset of subobjects of i.e. there exists some such that
In general categories, monomorphisms of may be the wrong notion of “subobject” to use. For example, in topology, we’d rather talk about the image which admits a subspace inclusion onto We may expand the definition above to work for an arbitrary subclass of the monomorphisms of by requiring that the of be the smallest through which factors.
Since keeping track of all the factorisations by hand would be fiddly, we formalise the idea of image here using comma categories, namely the idea of universal morphisms as in the construction of adjoints. Fix a morphism and consider it as an object of the slice category
For a given subclass of monomorphisms there is a full subcategory of spanned by those maps in — let us call it — admitting an evident fully faithful inclusion An of is a universal morphism from to