PlanetMath (more info)
 Math for the people, by the people.
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: No information on entry rating
precategory (Definition)

A precategory $ \mathcal{B}$ consists of the following

  1. a class of objects, called objects of $ \mathcal{B}$, written $ Ob(\mathcal{B})$
  2. a set of elements, called arrows or morphisms, for each ordered pair $ (A,B)$ of objects in $ \mathcal{B}$, usually written $ \hom(A,B)$. For any arrow $ f\in\hom(A,B)$, $ A$ is called the domain of $ f$ and $ B$ is the codomain of $ f$. It is required that $ \hom(A,B)\cap\hom(C,D)=\varnothing$ if $ (A,B)\neq(C,D)$.

If $ Ob(\mathcal{B})$ is a set, then we say that $ \mathcal{B}$ is small. A small precategory is just a directed pseudograph (a digraph allowing multiple edges between pairs of vertices), indeed, for the collection of all arrows in $ \mathcal{B}$ is a set, written $ Mor(\mathcal{B})$. In addition, there are two functions

$\displaystyle \operatorname{dom},\operatorname{codom}:Mor(\mathcal{B})\to Obj(\mathcal{B})$
such that $ \operatorname{dom}(f)$ is the domain of $ f$ and $ \operatorname{codom}(f)$ is the codomain of $ f$. Note that both $ \operatorname{dom}$ and $ \operatorname{codom}$ are well-defined functions because if $ f\in \hom(A,B)\cap \hom(C,D)$, then $ A=B$ and $ C=D$, so that both $ \operatorname{dom}$ and $ \operatorname{codom}$ map $ f$ to unique objects $ A$ and $ B$ respectively.

With the realization that a precategory is essentially a directed graph, we may use the language of graph theory to define concepts such as paths and loops in a precategory. This will allow us to enlarge any precategory to a category. We will carry out the construction below.

Paths Defined

Let $ \mathcal{B}$ be a precategory. A path $ p$ (in $ \mathcal{B}$) is a finite sequence of arrows $ f_1,\ldots,f_n$ such that the codomain of $ f_i$ is the domain of $ f_{i+1}$. Note that the definition here does not parallel the one given for a graph (as in graph theory), since we allow vertices (domains and codomains), as well as edges (arrows or morphisms) to coincide. The length of a path $ p=(p_1,\ldots,p_n)$ is defined to be the non-negative integer $ n$.

Given a path $ p = (f_1,\ldots, f_n)$, we may set the domain of $ p$, written $ \operatorname{dom}(p)$, to be $ \operatorname{dom}(f_1)$, and codomain of $ p$, written $ \operatorname{codom}(p)$, to be $ \operatorname{codom}(f_n)$. A loop is a path $ p$ where $ \operatorname{dom}(p)=\operatorname{codom}(p)$.

Next, for each ordered pair of objects $ (A,B)$ in a precategory $ \mathcal{B}$, the collection of paths with with domain $ A$ and codomain $ B$ is a set, and we denote it by $ \operatorname{Hom}(A,B)$.

Composition of Paths Defined

Now, let $ f\in \operatorname{Hom}(A,B)$ and $ g\in \operatorname{Hom}(B,C)$. So $ f=(f_1,\ldots,f_n)$ and $ g=(g_1,\ldots,g_m)$. Since $ \operatorname{codom}(f_n)=B=\operatorname{dom}(g_1)$, we can “concatenate” the two paths and form a new path
$\displaystyle (f_1,\ldots,f_n,g_1,\ldots,g_m),$
and we write $ g\circ f$ for this new path. It is clear that $ g\circ f\in \operatorname{Hom}(A,C)$. It is also easy to see that $ \circ$ is a function from $ \operatorname{Hom}(A,B)\times \operatorname{Hom}(B,C)$ to $ \operatorname{Hom}(A,C)$, if we set $ \circ(f,g):= g\circ f$. As the “concatenation” operation is evidently associative, $ (h\circ g)\circ f=h\circ (g\circ f)$.

Empty Paths Defined

Finally, for each object $ A$ in $ Ob(\mathcal{B})$, we can artificially associate an empty path $ 1_A$ with $ A$, with the following properties
  • $ 1_A$ is a path with length 0
  • $ \operatorname{dom}(1_A)=\operatorname{codom}(1_A):=A$; in other words, $ 1_A\in \operatorname{Hom}(A,A)$
  • for any $ f\in\operatorname{Hom}(A,B)$ and $ g\in\operatorname{Hom}(C,A)$, $ f\circ 1_A:=f$ and $ 1_A\circ g:=g$.
The class of all paths, including every empty path for each object, in $ \mathcal{B}$ is written $ Path(\mathcal{B})$.

Precategory Enlarged to a Category

So if we start out with a precategory $ \mathcal{B}$, we end up with a category $ \mathcal{\overline{B}}$ such that
  1. $ Ob(\mathcal{\overline{B}})=Ob(\mathcal{B})$
  2. $ Mor(\mathcal{\overline{B}})=Path(\mathcal{B})$, such that
    • domain and codomain of each morphism are defined to be the domain and codomain of the underlying path
    • for each ordered pair $ (A,B)$ of objects in $ \mathcal{\overline{B}}$, the collection of morphisms with domain $ A$ and codomain $ B$ is a set, and is denoted by $ \operatorname{Hom}(A,B)$
    • for every triple of objects $ A,B,C$, a function $ \circ$ is defined to be the “concatenation” of a path from $ A$ to $ B$ and a path from $ B$ to $ C$
    • the identity morphism $ 1_A$ each object $ A$ is just the empty path associated with $ A$.
We may embed $ \mathcal{B}$ in $ \mathcal{\overline{B}}$ so that $ \mathcal{B}$ is just a diagram of $ \mathcal{\overline{B}}$. Because of this, $ \mathcal{B}$ is also known as a diagram scheme. $ \mathcal{\overline{B}}$, also written $ F(\mathcal{B})$, is known as the free category freely generated by $ \mathcal{B}$.



"precategory" is owned by CWoo.
(view preamble | get metadata)

View style:

See Also: category

Other names:  diagram scheme
Also defines:  free category
Log in to rate this entry.
(view current ratings)

Cross-references: freely generated, diagram, identity, properties, associate, associative, operation, clear, integer, length, graph, parallel, finite sequence, category, loops, paths, graph theory, language, well-defined, functions, addition, collection, vertices, edges, multiple, digraph, pseudograph, codomain, domain, arrow, ordered pair, morphisms, objects, class
There are 2 references to this entry.

This is version 3 of precategory, born on 2006-09-21, modified 2008-09-30.
Object id is 8389, canonical name is Precategory.
Accessed 1510 times total.

Classification:
AMS MSC18A10 (Category theory; homological algebra :: General theory of categories and functors :: Graphs, diagram schemes, precategories)

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add derivation | add example | add (any)