Idea
- : the free category on a directed graph (a set of arrows) is the category, with
- objects: vertices of the graph
- morphisms: are tuples of composable edges
- morphisms are freely generated from directed edges
- 5.1.2.33 Category Theory for the Sciences:
- free categories are also called path categories
- morphisms can be thought of paths in the directed graph
- formally, there is a forgetful functor
- from 1-category of small strict categories
- to that of directed graphs
- …
Free category on a graph
- , the free category generated by graph
- for any two vertices and , the hom-set is the set of paths in from to
- identity elements are given by the trivial paths
- composition formula is given by concatenation of paths
- a graph homomorphism induces a functor
- we can say that we have a functor
- called the free category functor
Universal Property
- for the free category generated by
- functors from a free category are uniquely defined by their image on the signature, i.e by a morphism of signatures for the forgetful functor
- since is “free”, it does not really have “structure” on its morphisms. the morphism composition is generated. so the mapping of signature (constituents) is enough to tell us the what maps to things in
- functors from a free category are uniquely defined by their image on the signature, i.e by a morphism of signatures for the forgetful functor