Category :: Definition

A category ๐’ž consists of 3 components:

  • a set of objects Obj(๐’ž)

  • a set of arrows Arr(๐’ž)

  • a set of axioms

Axioms (structural conditions):

  1. Identity

    All objects must have an identity arrow.

each object A in category C must have an identity arrow, 1แด€

for all objects A there exists an identity morphism 1แด€ such that for all morphisms f : A โ†’ B we have f โ—ฆ 1แด€ = f = 1ส™ โ—ฆ f

โˆ€X. X โˆˆ Obj(๐’ž). f โ—ฆ 1แด€ = f = 1ส™ โ—ฆ f

  • Morphisms are closed under composition: if there is a morphism f : A โ†’ B and a morphism g : B โ†’ C, then there must be a morphism obtained by the composition, g โ—ฆ f : A โ†’ C.

  • Composition is associative: f โ—ฆ (g โ—ฆ h) = (f โ—ฆ g) โ—ฆ h

Common notation

  • generic category : ๐’ž ๐’Ÿ

  • concrete category : ๐—ฆ๐—ฒ๐˜ ๐—š๐—ฟ๐—ฝ ๐—›๐—ฎ๐˜€๐—ธ

  • generic objects : A B C

  • generic arrows : f g h

  • generic functors : F G

  • an arrow from A to B: Arr(A, B), F : A -> B

  • identity arrow (object-subscripted): idแด€ 1แด€ id๊œฐโ‚แตฆโ‚Ž id๊œฐแด€

  • all object in a category C: โˆ€X. X โˆˆ Obj(C)

  • all arrows in a category C: โˆ€f. f โˆˆ Arr(C)

  • Functor F, ๐“•, G

  • f โ—ฆ 1แด€ = f

  • f โ—ฆ 1แด€ = f = 1ส™ โ—ฆ f

  • โ—ฆ =

Definition 2

A category C is given by

  • a collection Cโ‚€ of objects

  • a collection Cโ‚ of arrows

    which have the following structure:

  • each arrow has an object as source and target, f: A -> B

  • identity: each object has identity arrow, 1โ‚ or Iโ‚

  • transitivity axiom: if there is an arrow a -> b and an arrow b -> c then there must be an arrow a -> c

Definition 3

A category C is an algebraic structure consisting of a class of objects (denoted by A, B, C, etc.), and a class of arrows (denoted by f, g, h, etc.), together with three total and one partial operation.

The first two total operations are called target and source; both assign an object to an arrow. We write f : A <- B (pronounced "f has type A from B") to indicate that the target of the arrow f is A and the source is B.

The third total operation takes an object A to an arrow idแด€ : A <- A, called the identity arrow on A.

The partial operation is called composition and takes two arrows to another one. The composition f โˆ˜ g (read "f after g") is defined iff f : A <- B and g : B <- C for some objects A, B, C, in which case f โˆ˜ g : A <- C. In other words, if the source of f is the target of g, then f โˆ˜ g is an arrow whose target is the target of f and whose source is the source of g.

Composition is required to be associative and to have identity arrows as units:

โˆ€fgh. (f: A <- B) โˆง (g: B <- C) โˆง (h: C <- D) . f โˆ˜ (g โˆ˜ h) = (f โˆ˜ g) โˆ˜ h = f โˆ˜ g โˆ˜ h

โˆ€f. f: A <- B . idแด€ โˆ˜ f = f = f โˆ˜ idส™

Definition 4

A category ๐’ž consists of:

  • objects, โˆ€A โˆˆ Obj(๐’ž)

  • arrows, โˆ€f โˆˆ Arr(๐’ž)

An arrow f from an object A to B is denoted f : A -> B and

  • the source object (domain) : dom(f) = A

  • the target object (codomain): cod(f) = B

  • For each object ๐‘Ž, an identity arrow id๐‘Ž โˆถ ๐‘Ž โ†’ ๐‘Ž

  • For each pair of arrows ๐‘“ โˆถ ๐‘Ž โ†’ ๐‘ and ๐‘” โˆถ ๐‘ โ†’ ๐‘, a composite arrow ๐‘” โˆ˜ ๐‘“ โˆถ ๐‘Ž โ†’ ๐‘. That is, for each pair of arrows ๐‘“ and ๐‘” with cod(๐‘“) = dom(๐‘”), a composite arrow ๐‘” โˆ˜ ๐‘“ โˆถ dom(๐‘“) โ†’ cod(๐‘”)

Last updated

Was this helpful?