Skip to content

2-Category

A strict higher category with objects, arrows between objects, and arrows between parallel arrows, composed by compatible vertical and horizontal laws.

Version
v1 · 2026-10-03 · History
Domain-specific #
12963
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomains
Category Theory, Higher Category Theory → Mathematics
Aliases
Strict 2-category

Core Idea

A strict 2-category has objects, arrows between objects, and arrows between parallel arrows. Its 1-cells and 2-cells between each object pair form a hom-category. A 2-cell can compose vertically with another 2-cell in the same hom-category; a horizontal composition functor combines 1-cells and 2-cells across composable object boundaries. The functoriality of horizontal composition makes the two composition directions obey interchange. Associativity and units for the 1-cell composition hold exactly, not merely up to a coherent isomorphism.[1]

That strictness distinguishes the entry from a bicategory, which permits specified coherent associator and unitor isomorphisms. The “2” counts the highest nontrivial morphism dimension, not the number of objects. The general strict form is not the same as Cat, its best-known instance, nor is it a 2-functor that maps such structures.[2]

How would you explain it like I'm…

Arrows Between Arrows

Imagine dots, arrows going from one dot to another, and then special arrows that turn one arrow into a different arrow between the same two dots. You can chain arrows end to end, and you can chain those special arrows too. A 2-Category is a set of rules that makes all this chaining fit together neatly.

Arrows Between Arrows

A 2-Category has three kinds of things: objects (like dots), arrows between objects, and 'arrows between arrows' that connect two arrows starting and ending at the same objects. You can join arrows end to end, like taking one bus and then another. You can stack the arrows-between-arrows on top of each other, or put them side by side along a chain of arrows. The rules promise that whichever order you do the stacking and the side-by-side joining, you get the same answer. In a strict 2-Category, joining arrows follows exact rules with no wiggle room.

Strict Two-Level Composition

A strict 2-Category has objects, 1-cells (arrows between objects), and 2-cells (arrows between two parallel 1-cells, meaning ones with the same start and end). For any two objects, the 1-cells and 2-cells between them form their own small category, where 2-cells compose 'vertically'. Across a chain A to B to C, you can also compose 'horizontally', joining both the 1-cells and matching 2-cells. The interchange law says that composing vertically first and then horizontally gives the same result as the reverse order. 'Strict' means the usual identity and associativity laws hold as exact equalities, unlike a bicategory, where they only hold up to specified invertible 2-cells.

 

A strict 2-Category is a structure with 0-cells (objects), 1-cells between objects, and 2-cells between parallel 1-cells. For each pair of objects A and B, the 1-cells A→B together with the 2-cells between them form a hom-category, in which 2-cells compose vertically. Composition across A→B→C is given by a functor from the product of the hom-categories Hom(A,B) and Hom(B,C) to Hom(A,C); it composes 1-cells and composes 2-cells horizontally. Because this composition is a functor, the interchange law holds: (β'∘β) * (α'∘α) = (β'*α')∘(β*α) whenever the cells are typed so both sides make sense. Strictness means 1-cell composition is associative and unital as an equality, with corresponding strict laws for horizontal 2-cell composition. A bicategory (weak 2-category) shares the dimensional vocabulary but replaces those equalities with specified coherent invertible 2-cells, so it is a different axiom system. Related notions such as 2-functors or (2,1)-categories are separate concepts, not synonyms.

Scope of Application

In Cat, categories are objects, functors are 1-cells, and natural transformations between functors are 2-cells. Their vertical componentwise composition and horizontal whiskering satisfy the strict laws, with a size convention for the class of categories. In Groupoids, the same construction is restricted to groupoids and their functors; each natural transformation is invertible, so this is also a narrower (2,1)-category.[3][1] The concept transfers literally to other mathematical settings only when hom-categories, horizontal functors and exact composition laws are specified.

Clarity

The typing separates a functor \(F:A\to B\) from a natural transformation \(\alpha:F\Rightarrow G\). It also distinguishes composing transformations in a single hom-category from composing them across a chain of objects. Calling a weak bicategory “strict” would conceal whether two bracketed composites are literally equal or only coherently isomorphic.

Manages Complexity

Instead of treating every transformation diagram separately, verify five things: typed 0/1-cells, hom-categories of 2-cells, vertical composition, horizontal composition as a functor, and strict identities/associativity. Interchange is then encoded by functoriality. This reduces repetitive diagram chasing without erasing source/target or size obligations.

Abstract Reasoning

Given a proposed example, list its objects and arrows, then construct the category of arrows and transformations for each object pair. Test identities and vertical composition inside each hom. Check that horizontal composition preserves those operations and then test strict associativity and units. A failure of strict equality may suggest a bicategory, but a mere collection of higher arrows without hom-category or interchange structure is not enough even for that diagnosis.[1][2]

Knowledge Transfer

The strict 2-category test travels within higher mathematics—from Cat to Groupoids and to one-object cases corresponding to strict monoidal categories. The portable lower-level skeleton is the live Category prime: objects and composable arrows. The full named entry remains domain-specific because “relations between relations” in an unrelated field does not by itself provide 2-cells, hom-categories, composition functors and interchange.[4]

Relationships to Other Abstractions

Local relationship map for 2-CategoryParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.2-CategoryDOMAINPrime abstraction: Category — is a kind ofCategoryPRIME

Current abstraction 2-Category Domain-specific

Parents (1) — outgoing typed relations

  • 2-Category is a kind of Category Prime

    A strict 2-category extends its underlying ordinary category with hom-categories and compatible 2-cell composition.

Hierarchy paths (3) — routes to 3 parentless roots

Neighborhood in Abstraction Space

2-Category sits in a sparse region of the domain-specific corpus (71st percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Categories, Sheaves & Homotopy (24 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] The Stacks Project, Categories, §4.29 “2-categories”. registry ↩a ↩b ↩c

[2] John C. Baez, Week 35, strict versus weak 2-categories. registry ↩a ↩b

[3] The Stacks Project, Categories, §4.28 “Formal properties”. registry ↩

[4] John C. Baez, Week 83, one-object strict 2-categories. registry ↩