The notion of category may be defined in a form which only involves morphisms and does not
mention objects. This definition shows that categories are a generalization of semigroups in which
the closure axiom has been weakened; rather than requiring that the product of two arbitrary
elements of the system be defined as an element of the system, we only require the product to be
defined in certain cases.
We define a category to be a set
M (whose elements we shall term morphisms) and a function ∘ (which we shall term
composition) from a subset D of M × M to M which satisfies the following properties:
- 1. If a,b,c,d are elements of M such that (a,c) ∈ D and (a,d) ∈ D and (b,c) ∈ D,
then (b,d) ∈ D.
- 2 If a,b,c are elements of M such that (a,b) ∈ D and (b,c) ∈ D, then (a ∘ b,c) ∈ D
and (a,b ∘ c) ∈ D and (a ∘ b) ∘ c = a ∘ (b ∘ c)
- 3a For every a ∈ M, there exists an element e ∈ M such that
- (e,e) ∈ D and e ∘ e = e
- (a,e) ∈ D and a ∘ e = a
- For all x ∈ M such that (x,e) ∈ D, we have x ∘ e = x.
- 3a For every a ∈ M, there exists an element e ∈ M such that
- (e,e) ∈ D and e ∘ e = e
- (e,a) ∈ D and e ∘ a = a
- For all x ∈ M such that (x,e) ∈ D, we have e ∘ a = x.
This definition may also be stated in terms of predicate calculus. Defining the three place
predicate P by P(a,b,c) if and only if (a,b) ∈ D and a ∘ b = c, our axioms look as follows:
- 0. (∀a,b,c,d) P(a,b,c) ∧ P(a,b,d) ⇒ c = d.
- 1.
(∀a,b,c,d) ((∃e) P(a,c,e)) ∧ ((∃e) P(a,d,e)) ∧ ((∃e) P(b,c,e))z ⇒ ((∃e) P(b,d,e))
- 2. (∀a,b,c,d,e) P(a,b,d) ∧ P(b,c,e) ⇒ (∃f) P(d,c,f) ∧ P(a,e,f)
- 3a. (∀a)(∃b) P(b,b,b) ∧ P(b,a,a) ∧ ((∀c,d) P(b,c,d) ⇒ c = d)
- 3b. (∀a)(∃b) P(b,b,b) ∧ P(a,b,a) ∧ ((∀c,d) P(c,b,d) ⇒ c = d)
That a category defined in the usual way satisfies these properties is easily enough established.
Given two morphisms f and g, the composition f ∘ g is only defined if f ∈ Hom(B,C) and
g ∈ Hom(A,B) for suitable objects A,B,C, i.e if the final object of f equals the initial object of g.
The three hypotheses of axiom 1 state that the initial object of a equals the final objects of c
and d and that the initial object of b also equals the final object of c; hence the initial
object of b equals the final object of d so we may compose b with d. Axiom 2 states
associativity of composition whilst axioms 3a and 3b follow from existence of identity
elements.
To show that the new definition implies the old one is not so easy because we must first recover the
objects of the category somehow. The observation which makes this possible is that to each
object A we may associate two sets: the set L of morphisms which have A as initial
object, L = ∪B∈ObHom(A,B), and the set R of morphisms which have A as final object,
R = ∪B∈ObHom(B,A). Moreover, this pair of sets (L,R) determines A uniquely. In order for this
observation to be useful for our purposes, we must somehow characterize these pairs of sets
without reference to objects, which may be done by the further observation that, if we have two
sets L and R of morphisms such that x ∈ L if and only if x ∘ y is defined for all y ∈ R and
x ∈ R if and only if y ∘ x is defined for all y ∈ L, then there exists an object A which
gives rise to L and R as above. This fact may be demonstrated easily enough from
the usual definition of category. We will now reverse the procedure, using our axioms
to show that such pairs behave as objects should, justifying defining objects as such
pairs.
Returning to our new definition, let us now define ℓ: M →𝒫(M), r: m →𝒫(M), ℒ⊆𝒫(M), and
ℛ⊆𝒫(M) as follows:
| ℓ(a) | = {b ∈ M∣(b,a) ∈ D} | |
|
| r(a) | = {b ∈ M∣(a,b) ∈ D} | |
|
| ℒ | = {ℓ(a)∣a ∈ M} | |
|
| ℛ | = {r(a)∣a ∈ M} | | |
We now show that, if U,V ∈ℒ then either U ∩ V = ∅ or U = V . Suppose that U,V ∈ℒ and
U ∩V ≠∅. Then there exists a morphism a such that a ∈ U and a ∈ V . By the definition of ℒ, there
exist morphisms b and c such that U = ℓ(b) and V = ℓ(c). By definition of ℓ, we have (a,b) ∈ D
and (a,c) ∈ D. If d ∈ U, then (d,b) ∈ D so, by axiom 1, (d,c) ∈ D, i.e. d ∈ ℓ(c) = V .
Likewise, switching the roles of U and V we conclude that, if d ∈ V , then d ∈ U. Hence
U = V .
Making an argument similar to that of last paragraph, but with r instead of ℓ and ℛ instead of ℒ,
we also conclude that, if U,V ∈ℛ then either U ∩ V = ∅ or U = V . Because of axiom 3a, we
know that, for every a ∈ M, there exists b ∈ M such that a ∈ ℓ(b) and, by axiom 3b,
there exists c ∈ M such that a ∈ r(c). Hence, the sets ℒ and ℛ are each partitions of
M.
Next, we show that, if S ∈ℒ and a,b ∈ S, then r(a) = r(b). By definition, there exists a morphism
c such that S = ℓ(c), so (a,c) ∈ D and (b,c) ∈ D. Now suppose that d ∈ r(a). This means that
(a,d) ∈ D. By axiom 1, we conclude that (b,d) ∈ D, so d ∈ r(b). Likewise, switching the roles of a
and b in the foregoing argument, we conclude that, if d ∈ r(b), then d ∈ r(a). Thus,
r(a) = r(b).
By a similar argument to that of the last paragraph, we may also show that, if S ∈ℛ and
a,b ∈ S, then ℓ(a) = ℓ(b). Taken together, these results tell us that there is a one-to-one
correspondence between of ℒ and ℛ — to each S ∈ℒ, there exists exactly one T ∈ℛ such that
S × T ∈ D and vice-versa. In Light of this fact, we shall define and object of our category
to be a pair (P,Q) of subsets of M such that x ∈ P if and only if (x,y) ∈ D for all
y ∈ Q and y ∈ Q if and only if (x,y) ∈ D for all x ∈ Q. Given two objects A = (P,Q)
and B = (R,S), we define Hom(A,B) = P ∩ S. We now will verify that, with these
definitions, our axioms reproduce the defining properties of the standard definition of
category.
Suppose that A = (P,Q) and B = (R,S) and C = (U,V ) are objects according to the above
definition and that f ∈ Hom(A,B) and g ∈ Hom(B,C). Then f ∈ S and g ∈ R. By the way
we defined our pairs, (g,f) ∈ D, so g ∘ f is defined. Let h be any element of Q. Since
f ∈ P, it follows that (f,h) ∈ D. Since (g,f) ∈ D as well, it follows from axiom 2 that
(g ⋅ f,h) ∈ D, so g ∘ f ∈ P. Let k be any element of U. Since g ∈ V , it follows that
(k,g) ∈ D. Since (g,f) ∈ D as well, it follows from axiom 2 that (k,g ∘ f) ∈ D, so
g ∘ f ∈ V . Hence, g ∘ f ∈ P ∩ V = Hom(A,C). Thus, ∘ is defined as a function from
Hom(A,B) × Hom(B,C) → Hom(A,C).
Next, suppose that A = (P,Q) and B = (R,S) are distinct objects. By the properties described
earlier, P ∩ R = ∅ and Q ∩ S = ∅. Let E and F be two objects. Since Hom(A,E) ⊂ P and
Hom(B,F) ⊂ R, it follows that Hom(A,E) ∩ Hom(B,F) = ∅. Likewise, since Hom(E,A) ⊂ Q
and Hom(F,B) ⊂ S, it follows that Hom(E.A) ∩ Hom(F,B) = ∅. Hence, it follows that,
given four objects A,B,E,F, we have Hom(A,E) ∩ Hom(B,F) = ∅ unless A = B and
E = F.
[more to come]