Category¶
Core Idea¶
A category is a structure of objects and arrows (morphisms) with an associative composition operation and an identity arrow on each object. The load-bearing commitment is describe a system by what its relationships do, not by what its objects are: an object's interior is treated as opaque, and what is reasoned about is the pattern of arrows and the algebra by which they compose.
How would you explain it like I'm…
Dots And Arrows Map
Relationships, Not Things
Composition-First Structure
Broad Use¶
- Mathematics: the categories Set, Vect, and Grp; homological algebra, topos theory, and transferring constructions along functors.
- Programming-language theory: types as objects and functions as arrows; functors as type-level mappings; monads as a composition pattern over arrows.
- Database design: tables as objects and foreign-key relations as arrows; schema migrations as functors that preserve referential structure.
- Workflow modelling: states as objects and transitions as arrows, the composition of transitions being the workflow's algebra.
- Logic: propositions as objects and proofs as arrows (Curry–Howard), proof composition as arrow composition.
- Systems biology: signalling pathways as compositions of transformations, a molecule's role given by what produces and consumes it.
Clarity¶
It forces a clean separation — state the objects, state the arrows, check associativity and identities — and converts a vague claim that two systems are "similar" into the checkable question of whether a structure-preserving functor exists between them.
Manages Complexity¶
By treating objects as opaque it compresses internal detail away and refactors a system into its patterns of relationship, concentrating complexity into a small, checkable, reusable composition table.
Abstract Reasoning¶
It supplies the Yoneda move (an object is characterised by the totality of arrows into it), universal construction (products and limits defined by a mapping property, independent of substrate), and functoriality (correctness requirements like "preserve the schema's referential integrity" are functoriality conditions in disguise).
Knowledge Transfer¶
- Across architecture, data, processes: the "what's the arrow, not the object" reframing surfaces implicit handoffs and dependencies that a static object list hides.
- As a discipline of preservation: "is this mapping a functor?" replaces "are we preserving the structure?" for schema migration, ontology alignment, model translation, and protocol bridging, with the structural question held constant.
Example¶
A database schema migration read as a functor between schema-categories: every foreign-key path in the source must map to a corresponding path in the target (referential integrity preserved), and wherever no relation-preserving image exists, the gap surfaces as a conscious architectural decision before it becomes a runtime defect.
Relationships to Other Abstractions¶
Current abstraction Category Prime
Parents (2) — outgoing typed relations
-
Category includes Associativity Prime
A Category strictly contains Associativity as the law making every finite chain of arrows independent of how its binary compositions are grouped.
-
Category includes Closure Prime
A Category strictly contains closure of its morphisms under the partially defined operation that composes every endpoint-compatible pair.
Children (40) — abstractions linked here by typed relations
-
2-Category Domain-specific is a kind of Category
A strict 2-category extends its underlying ordinary category with hom-categories and compatible 2-cell composition.
-
AB5 category Domain-specific is a kind of Category
The identity is an axiom class for abelian categories.
-
Categorical quotient Domain-specific is a kind of Category
The quotient is defined entirely by a categorical universal property.
-
Category of Manifolds Domain-specific is a kind of Category
Category of Manifolds is a strict kind of Category: its objects are manifolds and its morphisms are composable differentiability-class maps.
-
Category of metric spaces Domain-specific is a kind of Category
It remains its own entry because its identity is fixed by the object universe, metric-space convention, morphism inequality, identities and composition, equality of arrows, isomorphisms, monomorphisms and epimorphisms and categorical constructions.
- Category of representations Domain-specific is a kind of Category
What makes it its own entry: the domain-specific identity determined by the represented structure and coefficient setting are fixed and objects, morphisms, identities, and composition all preserve the declared action.
- Category of Small Categories Domain-specific is a kind of Category
Category of Small Categories is a domain-specific kind of category under its frozen identity and differentia. Complete-catalog comparison found the corresponding live broader identity.
- Codensity monad Domain-specific is a kind of Category
It remains its own entry because its identity is fixed by the categories and size universe, functor, right Kan extension and existence conditions, end or limit formula if used, natural transformation, unit, multiplication and monad laws.
- Coherent category Domain-specific is a kind of Category
A coherent category is literally a category—objects and composable arrows—equipped with additional exactness and subobject-union structure.
- Complete category Domain-specific is a kind of Category
Completeness is a global property of a category's universal constructions.
- Double category Domain-specific is a kind of Category
It iterates categorical composition across two directions.
- Fibred Category Domain-specific is a kind of Category
**Category** is the strict parent.
- Filtered category Domain-specific is a kind of Category
The candidate literally instantiates prime:category.
- Frobenioid Domain-specific is a kind of Category
What makes it its own entry: the domain-specific identity determined by the category carries the declared Frobenius-degree and monoid data and satisfies the selected elementary or general Frobenioid axioms rather than merely resembling a monoid category.
- Functor Category Domain-specific is a kind of Category
**`prime:category`** is the broader abstraction this entry instantiates.
- Fundamental Groupoid Domain-specific is a kind of Category
**Category** is the broader abstraction this entry instantiates: \\(\Pi_1(X)\\) has objects, morphisms, identities, and associative composition, with the additional condition that every morphism is invertible.
- Fusion Category Domain-specific is a kind of Category
**Category** is the strict parent by specialization.
- Homotopy Category Domain-specific is a kind of Category
**prime:category** is the broader abstraction this entry instantiates.
- Kan extension Domain-specific is a kind of Category
It is a universal construction in functor categories.
- Monoidal Category Domain-specific is a kind of Category
Every monoidal category is a category endowed with extra tensor and coherence structure.
- Paraphonemic sound Domain-specific is a kind of Category
The candidate literally instantiates prime:category; What makes it its own entry: A speech-like sound conventionally used for expressive, mimetic or interactional purposes but excluded from a language's ordinary lexical phoneme inventory.
- Pullback (category theory) Domain-specific is a kind of Category
It remains its own entry because its identity is fixed by the category and objects, two morphisms and common codomain, proposed object and projections, commutative square, arbitrary cone, unique mediator and uniqueness up to isomorphism.
- Pushout (category theory) Domain-specific is a kind of Category
It is a categorical universal construction defined by an initial cocone.
- Reedy category Domain-specific is a kind of Category
Reedy category is a domain-specific kind of category under its frozen identity and differentia. Complete-catalog comparison found the corresponding live broader identity.
- Regular Category Domain-specific is a kind of Category
Regular Category strictly **specializes Category**.
- Ringed topos Domain-specific is a kind of Category
Every topos is literally a category organized by objects, arrows, limits, exponentials, and subobject classification; the internal ring and geometric-morphism compatibility provide the autonomous ringed-topos residual.
- Simplex category Domain-specific is a kind of Category
It is a category with finite ordinals and monotone maps.
- Skeleton (category theory) Domain-specific is a kind of Category
Skeleton (category theory) is a domain-specific kind of category under its frozen identity and differentia. Complete-catalog comparison found the corresponding live broader identity.
- Stack (Mathematics) Domain-specific is a kind of Category
**Category** is the strict prime parent because a stack is a category over a site with additional fibred and descent structure.
- Tetracategory Domain-specific is a kind of Category
The candidate literally instantiates prime:category.
- Tilting theory Domain-specific is a kind of Category
Tilting theory literally organizes module and derived categories through morphisms, endomorphism objects, functors, adjunctions, and equivalences; homological tilting axioms provide the mathematical specialization.
- Topological category (enriched category theory) Domain-specific is a kind of Category
It is a category enriched by additional structure on morphisms.
- Topos Domain-specific is a kind of Category
Every elementary topos is a category, with additional finite-limit, exponential and subobject-classifier structure.
- Triangulated category Domain-specific is a kind of Category
The candidate literally instantiates prime:category.
- Twisted diagonal (category theory) Domain-specific is a kind of Category
It remains its own entry because its identity is fixed by the source category, object-as-arrow construction, source and target maps in a twisted morphism, commutative-square equation, identity and composition, category-of-elements formulation and simplicial or nerve generalization.
- Weak n-category Domain-specific is a kind of Category
The candidate literally generalizes categorical objects, arrows, identities, and composition; dimensionally iterated cells and coherent weakening provide its autonomous higher-categorical specialization.
- Yetter–Drinfeld category Domain-specific is a kind of Category
The identity is a braided monoidal category with structured objects and morphisms.
- Algebraic stack Domain-specific presupposes Category
The accepted reference-grade review places Algebraic stack under Category because the child instantiates or depends on the parent's broader structure while retaining its own constitutive identity.
- Functor Domain-specific presupposes Category
A Functor requires source and target Categories because its entire content is preserving their objects, arrows, identities, and composition.
- Universal property Domain-specific presupposes Category
A Universal Property requires a Category because its defining quantification, commuting diagram, and unique mediating arrow are all categorical objects.
Hierarchy paths (3) — routes to 3 parentless roots
- Category → includes Associativity → is a kind of Invariance
- Category → includes Closure
- Category → includes Associativity → is a kind of Symmetry
Not to Be Confused With¶
- Category is not Classification because a category is arrow-centric and composition-driven (objects opaque), whereas classification is object-centric and property-driven, sorting entities by what they are.
- Category is not Ontology because a category is the substance-blind algebra with object meaning suppressed, whereas an ontology specifies entity types and relations as meaningful content (and can be read as a category).
- Category is not Isomorphism because a category is the whole framework in which functors and universal constructions live, whereas isomorphism is a single relation — an invertible structure-preserving map — that lives inside it.