Category

A category, π’ž, consists of these components:

  • collection of objects, Obj(π’ž), merely the anchors for the arrows

  • collection of arrows, Arr(π’ž), the true elements of a category

  • binary operation of composition of arrows, ∘

  • axiom of identity, id element wrt composition, each object has id arrow

  • axiom of associativity wrt the arrow composition

  • axiom of transitive closure

Components

Objects

  • all objects in a category π’ž are denoted by π’ͺ𝒷𝒿(π’ž)

  • an arbitrary object in a category π’ž may be denoted by A ∈ π’ͺ𝒷𝒿(π’ž)

  • a predicate formula mat refer to objects, βˆ€A ∈ π’ͺ𝒷𝒿(π’ž)

Arrows

  • all arrows in a category π’ž are denoted by π’œπ“‡π“‡(π’ž)

  • an arbitrary arrow in a category π’ž may be denoted by f ∈ π’œπ“‡π“‡(π’ž)

Objects are very simple elements in a category; they are just anchors for the various arrows in a category. Arrows are the main element sof interest; they are the elements with structure that follows from their most elementary role, to relate different objects by connecting them. So in order to fulfill its basic role, there must be at least one object acting as an anchor for an arrow. Arrows depend on objects, that is, the condition for an arrow to exist is the existence of an (at least) one object which then acts as its both source and target anchor.

The axioms

  1. The axiom of identity: each object A (in a category π’ž) must have an identity arrow, denoted by 1α΄€ or idₐ, typed by 1α΄€ : A -> A or 1α΄€ = π’ž(A,A)

  2. The axiom of associativity: composition of arrows must be associative, h ∘ g ∘ f = (h ∘ g) ∘ f = h ∘ (g ∘ f)

  3. The axiom of transitive closure: If there's an arrow f : a -> b and an arrow g : b -> c then there must be an arrow g ∘ f: a -> c which is their composition.

βˆ€A ∈ Obj(π’ž). βˆƒ1α΄€. 1α΄€ ∈ Arr(π’ž) ∧ 1α΄€ = π’ž(A,A) i.e. 1α΄€: A -> A

idα΄€ = 1α΄€ = idₐ βˆ€A ∈ Obj(π’ž) 1α΄€ ∈ Arr(π’ž) 1α΄€ ∈ π’ž(A,A) 1α΄€: A -> A

The identity axiom usually ensures that the attached binary operation (here composition of arrows) has a unit. However, the same category may have many objects, so there will be an identity arrow for each object. This means there is no single identity element (arrow as an element) that is a unit wrt to the binary operation of composition. At least, not with composition as a whole i.e. wrt composition as the operation that acts on the entire category.

Normally, a unit, or identity or neutral element, leaves the other operand unaffected when combined with other elements in a particular operation.

Here, the elements are arrows in a category, so there are as much of identity arrows as there are objects in a category.

This is not really how thing work with set-carried algebraic structures - these have only one identity wrt to their binary operation. The id element is a unique element in the underlying set, and it acts as a neutral element when combined (via the binop) with other elements (members of the underlying carrier set). However, with a category, there are multiple identity elements i.e. arrows, one for each object in the category.

Does a category, as a whole, have an identity element (arrow or something). Sure! But it's not an arrow but a functor, the identity functor.

the identity element of the binary operation, which is composition of arrows.

every time there is an arrow f: a -> b and an arrow g: b -> c, then there must be an arrow g ∘ f: a -> c, i.e. their composition. Formally,

βˆ€fg ∈ π’ž . (f: a -> b ∧ g: b -> c) => g ∘ f: a -> c

A category is a collection of objects, arrows that go between the objects, the binary operation of arrow composition, and the two axioms that need to be respected: the axiom of identity and the axiom of associativity. These two axioms need to be satisfied by objects and arrows of a category with respect to the composition operation, ∘.

Categories are directed multigraphs with a composition and identity structure.

As a mathematical algebraic structure, a category has abstract objects as a elements, although they are really just anchors for the arrows, which are the real elements, together with a binary operation of composition of arrows, which is associative and has an identity element (id element is an arrow, not an object).

In abstract algebra, group-like algebraic structure include structures with a set, called carrier set, and a binary operation over the set's elements, with a set of axioms upheld. The hierarchy of group-like structures begins with magma, which only respects the axioms of closure, meaning that the combination of any two elements of the carrier set, yields a result that is also in the set. A magma, whose binary operation is additionally associative, is a semigroup. A semigroup whose binop has the identity element (a memeber of the carrier set) is a monoid. And a monoid whose binop supports invertability is a group. Finally, a group that is commutative (with respect to its binop) is an Abelian group. A category as an algebraic structure is the most similar to a monoid, but without the closure requirement, only associativity and identity of its binary operation i.e. composition wrt to the arrows in a category.

The essence of a category are primarily the arrows that relate one object to another, as well as all the ways the arrows are composed. Arrows reveal relations between objects, they show us how an object is related to other objects in a category and in that way we can gather info about it.

Category theory emphasizes the arrow-orientated view, rather than an object-orientated view into categories. Objects are just abstractions necessary to anchor the arrows, but objects themselves hardly provide any information. It is from its network of connections that we obtain info about a category. So any object is determined only by its connections to other objects, related by the arrows (an object is the company it keeps).

Beginning CT, it is instructional to consider π—¦π—²π˜ category first, after all, categories are generalization of sets, and sets reveal a lot of info about their structure, a task that is not so easy (but it is still achievable) from a categorical perspective, i.e. when we examine π—¦π—²π˜ category and the sets within. We just have to be careful not to conflate functions with arrows in general because arrows are much more general and sometimes don't even resamble functions. That said, in many categories, however, arrows are indeed functions.

Last updated