Free category

In mathematics, the free category or path category generated by a directed graph or quiver is the category that results from freely concatenating arrows together, whenever the target of one arrow is the source of the next.

More precisely, the objects of the category are the vertices of the quiver, and the morphisms are paths between objects. Here, a path is defined as a finite sequence

V 0 → E 0 V 1 → E 1 ⋯ → E n − 1 V n {\displaystyle V_{0}{\xrightarrow {\;\;E_{0}\;\;}}V_{1}{\xrightarrow {\;\;E_{1}\;\;}}\cdots {\xrightarrow {E_{n-1}}}V_{n}}

where  V k {\displaystyle V_{k}} is a vertex of the quiver,  E k {\displaystyle E_{k}} is an edge of the quiver, and n ranges over the non-negative integers. For every vertex  V {\displaystyle V} of the quiver, there is an "empty path" which constitutes the identity morphisms of the category.

The composition operation is concatenation of paths. Given paths

V 0 → E 0 ⋯ → E n − 1 V n , V n → F 0 W 0 → F 1 ⋯ → F m W m , {\displaystyle V_{0}\xrightarrow {E_{0}} \cdots \xrightarrow {E_{n-1}} V_{n},\quad V_{n}\xrightarrow {F_{0}} W_{0}\xrightarrow {F_{1}} \cdots \xrightarrow {F_{m}} W_{m},}

their composition is

( V n → F 0 W 0 → F 1 ⋯ → F m W m ) ∘ ( V 0 → E 0 ⋯ → E n − 1 V n ) := V 0 → E 0 ⋯ → E n − 1 V n → F 0 W 0 → F 1 ⋯ → F m W m {\displaystyle \left(V_{n}\xrightarrow {F_{0}} W_{0}\xrightarrow {F_{1}} \cdots \xrightarrow {F_{m}} W_{m}\right)\circ \left(V_{0}\xrightarrow {E_{0}} \cdots \xrightarrow {E_{n-1}} V_{n}\right):=V_{0}\xrightarrow {E_{0}} \cdots \xrightarrow {E_{n-1}} V_{n}\xrightarrow {F_{0}} W_{0}\xrightarrow {F_{1}} \cdots \xrightarrow {F_{m}} W_{m}} .[1][2]

Note that the result of the composition starts with the right operand of the composition, and ends with its left operand.

## Examples

[edit]

* If Q is the quiver with one vertex and one edge f from that object to itself, then the free category on Q has as arrows 1, f, f∘f,f∘f∘f, etc.[2]
* Let Q be the quiver with two vertices a, b and two edges e, f from a to b and b to a, respectively. Then the free category on Q has two identity arrows and an arrow for every finite sequence of alternating es and fs, including: e, f, e∘f, f∘e, f∘e∘f, e∘f∘e, etc.[1]
* If Q is the quiver  a → f b → g c {\displaystyle a{\xrightarrow {f}}b{\xrightarrow {g}}c} , then the free category on Q has (in addition to three identity arrows), arrows f, g, and g∘f.
* If a quiver Q has only one vertex, then the free category on Q has only one object, and corresponds to the free monoid on the edges of Q.[1]

## Properties

[edit]

The category of small categories Cat has a forgetful functor U into the quiver category Quiv:

U : Cat → Quiv

which takes objects to vertices and morphisms to arrows. Intuitively, U "[forgets] which arrows are composites and which are identities".[2] This forgetful functor is right adjoint to the functor sending a quiver to the corresponding free category.

### Universal property

[edit]

The free category on a quiver can be described up to isomorphism by a universal property. Let C : Quiv → Cat be the functor that takes a quiver to the free category on that quiver (as described above), let U be the forgetful functor defined above, and let G be any quiver. Then there is a graph homomorphism I : G → U(C(G)) and given any category D and any graph homomorphism F : G → U(D), there is a unique functor F' : C(G) → D such that U(F')∘I=F, i.e. the following diagram commutes:

The functor C is left adjoint to the forgetful functor U.[1][2][3]

## See also

[edit]

* Mathematics portal

* Free strict monoidal category
* Free object
* Adjoint functors

## References

[edit]

1. ^ a b c d Awodey, Steve (2010). Category theory (2nd ed.). Oxford: Oxford University Press. pp. 20–24\. ISBN 978-0199237180. OCLC 740446073.
2. ^ a b c d Mac Lane, Saunders (1978). Categories for the Working Mathematician (Second ed.). New York, NY: Springer New York. pp. 49–51\. ISBN 1441931236. OCLC 851741862.
3. ^ free category at the nLab

* v
* t
* e

Category theory

Key concepts

| Key concepts|

* Category
* Abelian
* Additive
* Concrete
* Pre-abelian
* Preadditive
* Bicategory
* Adjoint functors
* CCC
* Commutative diagram
* End
* Exponential
* Functor
* Kan extension
* Morphism
* Natural transformation
* Universal property
* Yoneda lemma

|

Universal constructions|

| Limits|

* Terminal objects
* Products
* Equalizers
* Kernels
* Pullbacks
* Inverse limit

|

Colimits|

* Initial objects
* Coproducts
* Coequalizers
* Cokernels and quotients
* Pushout
* Direct limit

Algebraic categories|

* Sets
* Relations
* Magmas
* Groups
* Abelian groups
* Rings (Fields)
* Modules (Vector spaces)

Constructions on categories|

* Free category
* Functor category
* Kleisli category
* Opposite category
* Quotient category
* Product category
* Comma category
* Subcategory

Higher category theory

| Key concepts|

* Categorification
* Enriched category
* Higher-dimensional algebra
* Homotopy hypothesis
* Model category
* Simplex category
* String diagram
* Topos

|

n-categories|

| Weak n-categories|

* Bicategory (pseudofunctor)
* Tricategory
* Tetracategory
* Kan complex
* ∞-groupoid
* ∞-topos

|

Strict n-categories|

* 2-category (2-functor)
* 3-category

Categorified concepts|

* 2-group
* 2-ring
* En-ring
* (Traced)(Symmetric) monoidal category
* n-group
* n-monoid

* Category
* Outline
* Glossary

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template