Chapter 1. Categories, Functors, and Natural Transformations (pp. 1–48)

FC03 — Riehl, Category Theory in Context.

This chapter contains 27 definitions, 2 theorems, 2 propositions, 18 lemmas, 4 corollaries, 26 examples, 9 constructions, 9 remarks, 6 conventions, 1 criterion and 3 other statements.

Nobody has checked this chapter against Lean yet, so the statements below say nothing about whether they are formalized.

Definition: Category

FC03-C01-U001 · §1.1, pp. 3–8; L295

Category: objects and arrows with specified domains/codomains, identity arrows, and associative unital composition.

Remark: Objects are recoverable from identity arrows

FC03-C01-U002 · §1.1, pp. 3–8; L325 · after FC03-C01-U001

Objects are recoverable from identity arrows; equivalently a category may be specified by its arrows, partial composition, and identities.

Example: Concrete categories

FC03-C01-U003 · §1.1, pp. 3–8; L329 · after FC03-C01-U001

Concrete categories: Set, Top and pointed variants, Group/Ring/Field, Mod_R/Vect_k/Ab, Graph/DirGraph, Man, Meas, Poset, Ch_R, and Model_T, with their standard structure-preserving maps.

Example: Abstract examples

FC03-C01-U004 · §1.1, pp. 3–8; L355 · after FC03-C01-U001

Abstract examples: Mat_R; one-object categories BG of monoids/groups; preorders/posets and ordinal categories; discrete categories; Htpy; and Measure.

Definition: A category is small when its collection of arrows is a set.

FC03-C01-U005 · §1.1, pp. 3–8; L397 · after FC03-C01-U001

A category is small when its collection of arrows is a set.

Convention/notation

FC03-C01-U006 · §1.1, pp. 3–8; L399 · after FC03-C01-U005

For a small category C, write ob C and mor C for its sets of objects and morphisms; domain, codomain, and identity are set maps.

Definition: A category is locally small when each collection of morphisms between a…

FC03-C01-U007 · §1.1, pp. 3–8; L407 · after FC03-C01-U001

A category is locally small when each collection of morphisms between a fixed pair of objects is a set.

Convention/notation

FC03-C01-U008 · §1.1, pp. 3–8; L409 · after FC03-C01-U007

For locally small C, the hom-set from X to Y is C(X,Y), also written Hom(X,Y).

Definition: An isomorphism f:X→Y has a two-sided inverse

FC03-C01-U009 · §1.1, pp. 3–8; L419 · after FC03-C01-U001

An isomorphism f:X→Y has a two-sided inverse; write X≅Y.

Definition/notation

FC03-C01-U010 · §1.1, pp. 3–8; L421 · after FC03-C01-U009

An endomorphism has equal domain and codomain; an automorphism is an invertible endomorphism.

Example: Isomorphisms specialize to bijections in Set, bijective algebraic…

FC03-C01-U011 · §1.1, pp. 3–8; L423 · after FC03-C01-U009, FC03-C01-U003

Isomorphisms specialize to bijections in Set, bijective algebraic homomorphisms, homeomorphisms in Top, homotopy equivalences in Htpy, and only identities in posets.

Definition: A groupoid is a category in which every morphism is an isomorphism.

FC03-C01-U012 · §1.1, pp. 3–8; L437 · after FC03-C01-U009

A groupoid is a category in which every morphism is an isomorphism.

Example: A group is a one-object groupoid

FC03-C01-U013 · §1.1, pp. 3–8; L437 · after FC03-C01-U012, FC03-C01-U004

A group is a one-object groupoid; the fundamental groupoid Π₁(X) has points of X as objects and endpoint-preserving homotopy classes of paths as morphisms.

Definition: A subcategory has selected objects and morphisms closed under identities and…

FC03-C01-U014 · §1.1, pp. 3–8; L443 · after FC03-C01-U001

A subcategory has selected objects and morphisms closed under identities and composition; e.g. CRing ⊂ Ring ⊂ Rng.

Lemma: Every category has a maximal subgroupoid

FC03-C01-U015 · §1.1, pp. 3–8; L445 · after FC03-C01-U009, FC03-C01-U012

Every category has a maximal subgroupoid: all objects and exactly the isomorphisms.

Definition: The opposite category C^op has the same objects and reversed arrows, with…

FC03-C01-U016 · §1.2, pp. 9–12; L489 · after FC03-C01-U001

The opposite category C^op has the same objects and reversed arrows, with reversed composition.

Construction/comparison

FC03-C01-U017 · §1.2, pp. 9–12; L509 · after FC03-C01-U016

Passing to C^op is involutive information-wise and exhibits the syntactic self-duality of the category axioms.

Example: Opposites of MatR reverse matrix handedness

FC03-C01-U018 · §1.2, pp. 9–12; L511 · after FC03-C01-U016, FC03-C01-U004

Opposites of Mat_R reverse matrix handedness; opposite preorders reverse order; (BG)op≅B(Gop), with G^op governing right actions.

Convention/principle

FC03-C01-U019 · §1.2, pp. 9–12; L525 · after FC03-C01-U016, FC03-C01-U017

Duality principle: a theorem universally quantified over categories yields a dual theorem by reversing every arrow.

Lemma: For f:x→y, the following are equivalent

FC03-C01-U020 · §1.2, pp. 9–12; L529 · after FC03-C01-U009, FC03-C01-U008

For f:x→y, the following are equivalent: f is an isomorphism; postcomposition C(c,x)→C(c,y) is bijective for every c; precomposition C(y,c)→C(x,c) is bijective for every c.

Remark: In a locally small category, isomorphisms are detected representably by…

FC03-C01-U021 · §1.2, pp. 9–12; L545 · after FC03-C01-U020, FC03-C01-U007

In a locally small category, isomorphisms are detected representably by isomorphisms of all postcomposition (equivalently precomposition) hom-set maps.

Definition: A monomorphism is left-cancellable and an epimorphism is right-cancellable

FC03-C01-U022 · §1.2, pp. 9–12; L585 · after FC03-C01-U001, FC03-C01-U019

A monomorphism is left-cancellable and an epimorphism is right-cancellable; the notions are dual.

Comparison

FC03-C01-U023 · §1.2, pp. 9–12; L593 · after FC03-C01-U022, FC03-C01-U008

Equivalently, f is monic iff every postcomposition map on hom-sets is injective; f is epic iff every precomposition map is injective.

Example: In Set, monomorphisms are exactly injections and epimorphisms exactly…

FC03-C01-U024 · §1.2, pp. 9–12; L599 · after FC03-C01-U022, FC03-C01-U003

In Set, monomorphisms are exactly injections and epimorphisms exactly surjections.

Example: If rs=1, then s is a section/split mono, r a retraction/split epi, and x is…

FC03-C01-U025 · §1.2, pp. 9–12; L605 · after FC03-C01-U022

If rs=1, then s is a section/split mono, r a retraction/split epi, and x is a retract of y.

Example: Every isomorphism is monic and epic, but the converse fails

FC03-C01-U026 · §1.2, pp. 9–12; L609 · after FC03-C01-U009, FC03-C01-U022, FC03-C01-U025

Every isomorphism is monic and epic, but the converse fails: Z→Q is monic and epic in Ring without being an isomorphism.

Lemma: Composites of monos are mono and monicity of gf implies monicity of f

FC03-C01-U027 · §1.2, pp. 9–12; L613 · after FC03-C01-U022, FC03-C01-U019

Composites of monos are mono and monicity of gf implies monicity of f; dually composites of epis are epi and epicity of gf implies epicity of g.

Definition: A functor F:C→D assigns objects and morphisms preserving domains/codomains,…

FC03-C01-U028 · §1.3, pp. 13–22; L657 · after FC03-C01-U001

A functor F:C→D assigns objects and morphisms preserving domains/codomains, identities, and composition.

Example: Functor examples include covariant power set/direct image, forgetful and…

FC03-C01-U029 · §1.3, pp. 13–22; L671 · after FC03-C01-U028, FC03-C01-U003, FC03-C01-U013

Functor examples include covariant power set/direct image, forgetful and inclusion functors, homotopy quotients, π₁ and Π₁, cycle/boundary/homology, free groups, the derivative/Jacobian, and the Fin_* construction attached to a commutative monoid.

Theorem: Brouwer fixed point theorem

FC03-C01-U030 · §1.3, pp. 13–22; L699 · after FC03-C01-U028, FC03-C01-U029, FC03-C01-U025

Brouwer fixed point theorem: every continuous endomorphism of D² has a fixed point.

Example: Clustering as functorial data

FC03-C01-U031 · §1.3, pp. 13–22; L719 · after FC03-C01-U028

Clustering as functorial data: FinMetric→Cluster admits only trivial scale-invariant clusterings under the stated conditions; persistent clusters form PCluster, supporting a distinguished persistent-clustering functor.

Definition: A contravariant functor C→D is a covariant functor C^op→D; it reverses…

FC03-C01-U032 · §1.3, pp. 13–22; L731 · after FC03-C01-U016, FC03-C01-U028

A contravariant functor C→D is a covariant functor C^op→D; it reverses arrows and the order of composition.

Convention/notation

FC03-C01-U033 · §1.3, pp. 13–22; L743 · after FC03-C01-U032

For contravariant functors, arrows are drawn in the original direction in C and their images in the reversed direction; composites retain the usual C-order.

Example: Contravariant examples

FC03-C01-U034 · §1.3, pp. 13–22; L751 · after FC03-C01-U032, FC03-C01-U033

Contravariant examples: inverse-image power set, vector-space dual, open/closed-subset functors, Spec on commutative rings, presheaves, and simplicial sets.

Lemma: Functors preserve isomorphisms.

FC03-C01-U035 · §1.3, pp. 13–22; L769 · after FC03-C01-U028, FC03-C01-U009

Functors preserve isomorphisms.

Example: A functor BG→C is a left G-action on an object of C; BG^op→C is a right action

FC03-C01-U036 · §1.3, pp. 13–22; L779 · after FC03-C01-U028, FC03-C01-U004, FC03-C01-U018

A functor BG→C is a left G-action on an object of C; BG^op→C is a right action. In Set, Vect_k, Top these are G-sets, representations, and G-spaces.

Corollary: A functorial G-action acts by automorphisms and (g){-1}=(g{-1}).

FC03-C01-U037 · §1.3, pp. 13–22; L793 · after FC03-C01-U036, FC03-C01-U035

A functorial G-action acts by automorphisms and (g_*){-1}=(g{-1})_*.

Lemma/construction

FC03-C01-U038 · §1.3, pp. 13–22; L795 · after FC03-C01-U028, FC03-C01-U025

Every functor preserves split monomorphisms and split epimorphisms.

Definition: For locally small C and c∈C, C(c,-):C→Set and C(-,c):C^op→Set are the…

FC03-C01-U039 · §1.3, pp. 13–22; L797 · after FC03-C01-U007, FC03-C01-U020, FC03-C01-U032

For locally small C and c∈C, C(c,-):C→Set and C(-,c):C^op→Set are the covariant and contravariant functors represented by c, acting by post- and precomposition.

Terminology

FC03-C01-U040 · §1.3, pp. 13–22; L809 · after FC03-C01-U028

A bifunctor is a functor of two variables.

Definition: The product category C×D has object and morphism pairs, with identities and…

FC03-C01-U041 · §1.3, pp. 13–22; L811 · after FC03-C01-U001

The product category C×D has object and morphism pairs, with identities and composition componentwise.

Definition: For locally small C, the two-sided represented bifunctor C(-,-):C^op×C→Set…

FC03-C01-U042 · §1.3, pp. 13–22; L819 · after FC03-C01-U039, FC03-C01-U041

For locally small C, the two-sided represented bifunctor C(-,-):C^op×C→Set sends (f,h) to g↦hgf.

Convention/notation

FC03-C01-U043 · §1.3, pp. 13–22; L837 · after FC03-C01-U005, FC03-C01-U007, FC03-C01-U028

Cat is the locally small category of small categories and functors; CAT has locally small categories and functors as objects, with Cat↪CAT.

Definition: An isomorphism of categories is a pair of strictly inverse functors.

FC03-C01-U044 · §1.3, pp. 13–22; L841 · after FC03-C01-U043, FC03-C01-U009

An isomorphism of categories is a pair of strictly inverse functors.

Example: Canonical category isomorphisms

FC03-C01-U045 · §1.3, pp. 13–22; L843 · after FC03-C01-U044, FC03-C01-U016, FC03-C01-U012

Canonical category isomorphisms: C↦C^op; BG≅BG^op via inversion; any groupoid≅its opposite; left R-modules≅right R^op-modules; opens≅closed^op by complement; Mat_R≅Mat_R^op by transpose.

Example: For a finite Galois extension E/F with G=Aut(E/F), the fixed-field functor…

FC03-C01-U046 · §1.3, pp. 13–22; L859 · after FC03-C01-U044, FC03-C01-U032

For a finite Galois extension E/F with G=Aut(E/F), the fixed-field functor yields an isomorphism O_Gop≅Field_FE (categorical fundamental theorem of Galois theory).

Construction: Set^∂ has sets as objects and partially defined functions as morphisms, with…

FC03-C01-U047 · §1.3, pp. 13–22; L867 · after FC03-C01-U001

Set^∂ has sets as objects and partially defined functions as morphisms, with composition on the maximal compatible domain.

Construction/comparison

FC03-C01-U048 · §1.3, pp. 13–22; L869 · after FC03-C01-U047, FC03-C01-U028

Adding a disjoint basepoint defines (-)*+:Set^∂→Set**; deleting the basepoint defines U:Set_*→Set^∂; U(-)_+ is strictly identity while (U-)₊ is only objectwise isomorphic to identity.

Definition: A natural transformation α:F⇒G consists of components αc:Fc→Gc satisfying…

FC03-C01-U049 · §1.4, pp. 23–28; L947 · after FC03-C01-U028, FC03-C01-U009

A natural transformation α:F⇒G consists of components α_c:Fc→Gc satisfying the naturality square for every f:c→c′; it is a natural isomorphism when every component is invertible.

Example: Examples/comparisons

FC03-C01-U050 · §1.4, pp. 23–28; L967 · after FC03-C01-U049, FC03-C01-U034, FC03-C01-U036, FC03-C01-U045

Examples/comparisons: V→V** by evaluation is natural; V≅V* in finite dimension is not; singleton inclusion 1_Set⇒P; natural maps between BG-actions are equivariant maps; opens and closed sets are naturally isomorphic by complement; G≅G^op naturally by inversion; only the zero natural map V→V⊗V exists.

Proposition: The splittings A≅TA⊕(A/TA) for finitely generated abelian groups cannot be…

FC03-C01-U051 · §1.4, pp. 23–28; L997 · after FC03-C01-U049

The splittings A≅TA⊕(A/TA) for finitely generated abelian groups cannot be chosen naturally in A.

Example: Riesz representation is the natural isomorphism Σ⇒C on compact Hausdorff…

FC03-C01-U052 · §1.4, pp. 23–28; L1017 · after FC03-C01-U049

Riesz representation is the natural isomorphism Σ⇒C* on compact Hausdorff spaces, sending a signed Baire measure μ to integration g↦∫g dμ.

Example: Precomposition and postcomposition on hom-sets commute

FC03-C01-U053 · §1.4, pp. 23–28; L1033 · after FC03-C01-U039, FC03-C01-U049

Precomposition and postcomposition on hom-sets commute; h induces h_:C(-,y)⇒C(-,z), and f induces f:C(x,-)⇒C(w,-).

Example: Categorification of N: cartesian product, disjoint union, and exponentiation…

FC03-C01-U054 · §1.4, pp. 23–28; L1057 · after FC03-C01-U049, FC03-C01-U042

Categorification of N: cartesian product, disjoint union, and exponentiation of sets satisfy natural distributive/exponential isomorphisms; cardinality on Fin_iso decategorifies them to arithmetic identities.

Lemma: Natural transformations F⇒G are in bijection with functors H:C×2→D…

FC03-C01-U055 · §1.5, pp. 29–35; L1121 · after FC03-C01-U049, FC03-C01-U041

Natural transformations F⇒G are in bijection with functors H:C×2→D restricting to F and G at the two endpoints.

Construction/terminology

FC03-C01-U056 · §1.5, pp. 29–35; L1141 · after FC03-C01-U055, FC03-C01-U012

2 is the walking/free arrow; the two-object groupoid I with one arrow in each hom-set is the walking/free isomorphism, and C×I encodes natural isomorphisms.

Definition: An equivalence C≃D consists of F:C→D, G:D→C and natural isomorphisms 1C≅GF…

FC03-C01-U057 · §1.5, pp. 29–35; L1145 · after FC03-C01-U049

An equivalence C≃D consists of F:C→D, G:D→C and natural isomorphisms 1_C≅GF and FG≅1_D.

Lemma: Equivalence of categories is an equivalence relation.

FC03-C01-U058 · §1.5, pp. 29–35; L1149 · after FC03-C01-U057

Equivalence of categories is an equivalence relation.

Example: Set and Set^∂ are equivalent via adding/removing a basepoint

FC03-C01-U059 · §1.5, pp. 29–35; L1153 · after FC03-C01-U057, FC03-C01-U048

Set_* and Set^∂ are equivalent via adding/removing a basepoint; one composite is identity and the other naturally isomorphic to identity.

Construction/comparison

FC03-C01-U060 · §1.5, pp. 29–35; L1161 · after FC03-C01-U028

Mat_k→Vect_kbasis→Vect_kfd and chosen quasi-inverses compare matrix, based-vector-space, and abstract finite-dimensional linear algebra.

Definition: A functor is full when each hom-map is surjective, faithful when each is…

FC03-C01-U061 · §1.5, pp. 29–35; L1177 · after FC03-C01-U028, FC03-C01-U008

A functor is full when each hom-map is surjective, faithful when each is injective, and essentially surjective when every target object is isomorphic to some image object.

Remark: Fullness/faithfulness are local hom-set conditions

FC03-C01-U062 · §1.5, pp. 29–35; L1185 · after FC03-C01-U061

Fullness/faithfulness are local hom-set conditions. A faithful functor injective on objects is an embedding; full+faithful is fully faithful; with object-injectivity it is a full embedding.

Theorem: Equivalences are full, faithful, and essentially surjective

FC03-C01-U063 · §1.5, pp. 29–35; L1187 · after FC03-C01-U057, FC03-C01-U061

Equivalences are full, faithful, and essentially surjective; assuming choice, every functor with those three properties is an equivalence.

Lemma: A morphism a→b and fixed isomorphisms a≅a′, b≅b′ determine a unique…

FC03-C01-U064 · §1.5, pp. 29–35; L1191 · after FC03-C01-U009

A morphism a→b and fixed isomorphisms a≅a′, b≅b′ determine a unique transported morphism a′→b′ making the comparison square commute.

Corollary: For every field k, Matk≃Vectk^fd.

FC03-C01-U065 · §1.5, pp. 29–35; L1243 · after FC03-C01-U063, FC03-C01-U060

For every field k, Mat_k≃Vect_k^fd.

Definition: A category is connected when any two objects are joined by a finite zig-zag…

FC03-C01-U066 · §1.5, pp. 29–35; L1253 · after FC03-C01-U001

A category is connected when any two objects are joined by a finite zig-zag of morphisms.

Proposition: Any connected groupoid is equivalent to the automorphism group of any chosen…

FC03-C01-U067 · §1.5, pp. 29–35; L1255 · after FC03-C01-U066, FC03-C01-U012, FC03-C01-U063, FC03-C01-U010

Any connected groupoid is equivalent to the automorphism group of any chosen object, viewed as a one-object category.

Corollary: For path-connected X, all fundamental groups π₁(X,x) obtained from different…

FC03-C01-U068 · §1.5, pp. 29–35; L1261 · after FC03-C01-U067, FC03-C01-U013

For path-connected X, all fundamental groups π₁(X,x) obtained from different basepoints are isomorphic.

Remark: The inclusion π₁(X,x)→Π₁(X) is a natural equivalence in based path-connected…

FC03-C01-U069 · §1.5, pp. 29–35; L1271 · after FC03-C01-U068, FC03-C01-U049

The inclusion π₁(X,x)→Π₁(X) is a natural equivalence in based path-connected spaces, while inverse equivalences require path choices and need not assemble naturally.

Definition: A category is skeletal when it has one object per isomorphism class

FC03-C01-U070 · §1.5, pp. 29–35; L1281 · after FC03-C01-U057, FC03-C01-U009

A category is skeletal when it has one object per isomorphism class; a skeleton sk C is a skeletal category equivalent to C, unique up to isomorphism.

Remark: A skeleton is obtained by a full subcategory on chosen representatives

FC03-C01-U071 · §1.5, pp. 29–35; L1283 · after FC03-C01-U070, FC03-C01-U063, FC03-C01-U062

A skeleton is obtained by a full subcategory on chosen representatives; inclusion is an equivalence, but skeleton choices are not strictly functorial. Equivalence between skeletal categories is isomorphism.

Example: Skeletons

FC03-C01-U072 · §1.5, pp. 29–35; L1287 · after FC03-C01-U070, FC03-C01-U067, FC03-C01-U065

Skeletons: a connected groupoid gives an automorphism group; a preorder gives a poset; Vect_k^fd gives Mat_k; Fin_iso gives objects n with automorphism groups Σ_n.

Example: The translation groupoid TG X categorifies orbit-stabilizer

FC03-C01-U073 · §1.5, pp. 29–35; L1297 · after FC03-C01-U036, FC03-C01-U012, FC03-C01-U070

The translation groupoid T_G X categorifies orbit-stabilizer: components are G-orbits, object automorphism groups are stabilizers, and |G|=|O_x||G_x| when finite.

Definition: Essentially small means equivalent to a small category (equivalently, small…

FC03-C01-U074 · §1.5, pp. 29–35; L1309 · after FC03-C01-U057, FC03-C01-U070, FC03-C01-U005

Essentially small means equivalent to a small category (equivalently, small skeleton); essentially discrete means equivalent to a discrete category.

Comparison

FC03-C01-U075 · §1.5, pp. 29–35; L1311 · after FC03-C01-U057, FC03-C01-U007, FC03-C01-U012, FC03-C01-U016, FC03-C01-U041

Local smallness, being a groupoid, taking opposites/products, and isomorphism detection are invariant under equivalence of categories.

Construction: A full and faithful F:C→D is an equivalence onto its essential image, the…

FC03-C01-U076 · §1.5, pp. 29–35; L1323 · after FC03-C01-U061, FC03-C01-U063

A full and faithful F:C→D is an equivalence onto its essential image, the full subcategory on objects isomorphic to some Fc.

Convention/definition

FC03-C01-U077 · §1.6, pp. 36–43; L1369 · after FC03-C01-U001

A displayed directed graph in a category is commutative when any two composable paths with common source and target have equal composites.

Definition: A monoid is M∈Set with multiplication μ:M×M→M and unit η:1→M satisfying…

FC03-C01-U078 · §1.6, pp. 36–43; L1377 · after FC03-C01-U041, FC03-C01-U077

A monoid is M∈Set with multiplication μ:M×M→M and unit η:1→M satisfying associativity and left/right unit diagrams.

Definition: A topological monoid is the same multiplication/unit diagram internal to…

FC03-C01-U079 · §1.6, pp. 36–43; L1383 · after FC03-C01-U078, FC03-C01-U003

A topological monoid is the same multiplication/unit diagram internal to Top, so multiplication is continuous.

Construction/comparison

FC03-C01-U080 · §1.6, pp. 36–43; L1387 · after FC03-C01-U078

A unital ring is an abelian group R with μ:R⊗_Z R→R and η:Z→R satisfying the same associative/unit diagrams.

Construction/comparison

FC03-C01-U081 · §1.6, pp. 36–43; L1393 · after FC03-C01-U078

A k-algebra is V∈Vect_k with μ:V⊗_kV→V and η:k→V satisfying the same diagrams.

Definition: A diagram in C is a functor F:J→C with small indexing category J.

FC03-C01-U082 · §1.6, pp. 36–43; L1407 · after FC03-C01-U028, FC03-C01-U005

A diagram in C is a functor F:J→C with small indexing category J.

Lemma: Functors preserve commutative diagrams.

FC03-C01-U083 · §1.6, pp. 36–43; L1411 · after FC03-C01-U082, FC03-C01-U028

Functors preserve commutative diagrams.

Example: The indexing category 2×2 encodes a commutative square

FC03-C01-U084 · §1.6, pp. 36–43; L1417 · after FC03-C01-U082, FC03-C01-U041, FC03-C01-U077

The indexing category 2×2 encodes a commutative square; its diagonal is the common composite of the two edge paths.

Remark: An indexing category may be presented by a directed graph plus specified…

FC03-C01-U085 · §1.6, pp. 36–43; L1423 · after FC03-C01-U082

An indexing category may be presented by a directed graph plus specified composition/commutativity relations; a functor is determined by images of generators satisfying those relations.

Example: The ordinal 4 indexes three composable arrows together with all composites

FC03-C01-U086 · §1.6, pp. 36–43; L1433 · after FC03-C01-U082, FC03-C01-U004

The ordinal 4 indexes three composable arrows together with all composites; its triangular faces commute.

Example: 2×3 indexes a commutative rectangle

FC03-C01-U087 · §1.6, pp. 36–43; L1443 · after FC03-C01-U082, FC03-C01-U084

2×3 indexes a commutative rectangle: the two adjacent squares and outer rectangle share the induced composition relations.

Lemma: Path substitution

FC03-C01-U088 · §1.6, pp. 36–43; L1457 · after FC03-C01-U001

Path substitution: replacing a contiguous composable subpath by any equal composite leaves the total composite unchanged.

Criterion

FC03-C01-U089 · §1.6, pp. 36–43; L1465 · after FC03-C01-U088, FC03-C01-U085

For simple acyclic diagrams presented as posets, commutativity is checked on minimal subdiagrams/relations.

Lemma: A commuting triangle remains commuting after transporting across an isomorphism

FC03-C01-U090 · §1.6, pp. 36–43; L1473 · after FC03-C01-U009, FC03-C01-U088

A commuting triangle remains commuting after transporting across an isomorphism; equivalently one can cancel/insert an invertible edge.

Lemma: In a commutative square of isomorphisms, the inverse arrows form a…

FC03-C01-U091 · §1.6, pp. 36–43; L1485 · after FC03-C01-U090

In a commutative square of isomorphisms, the inverse arrows form a commutative square.

Definition: Initial i has a unique arrow i→c to every object

FC03-C01-U092 · §1.6, pp. 36–43; L1491 · after FC03-C01-U001, FC03-C01-U019

Initial i has a unique arrow i→c to every object; terminal t has a unique arrow c→t from every object.

Example: Initial/terminal examples in Set, Top, Set, ModR, Group, Ring/Rng, Field,…

FC03-C01-U093 · §1.6, pp. 36–43; L1493 · after FC03-C01-U092, FC03-C01-U003

Initial/terminal examples in Set, Top, Set_*, Mod_R, Group, Ring/Rng, Field, Cat, and preorders.

Lemma: Any two parallel composites agree if their common source is initial or their…

FC03-C01-U094 · §1.6, pp. 36–43; L1511 · after FC03-C01-U092

Any two parallel composites agree if their common source is initial or their common target is terminal.

Definition: A concrete category is a category C equipped with a faithful functor U:C→Set.

FC03-C01-U095 · §1.6, pp. 36–43; L1517 · after FC03-C01-U061, FC03-C01-U028

A concrete category is a category C equipped with a faithful functor U:C→Set.

Example: The familiar concrete categories admit faithful underlying-set functors

FC03-C01-U096 · §1.6, pp. 36–43; L1521 · after FC03-C01-U095, FC03-C01-U029

The familiar concrete categories admit faithful underlying-set functors; for Graph the combined vertex-plus-edge functor V⊔E is faithful whereas V or E alone is not.

Lemma: A faithful functor reflects commutative diagrams

FC03-C01-U097 · §1.6, pp. 36–43; L1525 · after FC03-C01-U095, FC03-C01-U082

A faithful functor reflects commutative diagrams; hence commutativity in a concrete category can be checked on underlying elements.

Remark: Cancellation in pasted diagrams requires cancellable outer edges

FC03-C01-U098 · §1.6, pp. 36–43; L1539 · after FC03-C01-U022, FC03-C01-U087

Cancellation in pasted diagrams requires cancellable outer edges: a right outer map must be mono and a left outer map epi to cancel them from a composite equality.

Lemma: If an outer rectangle commutes, then the missing inner square commutes when…

FC03-C01-U099 · §1.6, pp. 36–43; L1553 · after FC03-C01-U098

If an outer rectangle commutes, then the missing inner square commutes when the other inner square does and the common outer edge is respectively monic (right) or epic (left).

Construction: For fixed C,D, functors C→D are objects and natural transformations are…

FC03-C01-U100 · §1.7, pp. 44–48; L1587 · after FC03-C01-U049

For fixed C,D, functors C→D are objects and natural transformations are morphisms of a functor category D^C; identity components are identities.

Lemma: Vertical composition of α:F⇒G and β:G⇒H is componentwise

FC03-C01-U101 · §1.7, pp. 44–48; L1589 · after FC03-C01-U049

Vertical composition of α:F⇒G and β:G⇒H is componentwise: (β·α)_c=β_cα_c.

Corollary: Functors C→D and natural transformations form the category D^C under…

FC03-C01-U102 · §1.7, pp. 44–48; L1603 · after FC03-C01-U100, FC03-C01-U101

Functors C→D and natural transformations form the category D^C under vertical composition.

Remark: Functor-category size

FC03-C01-U103 · §1.7, pp. 44–48; L1607 · after FC03-C01-U102, FC03-C01-U005, FC03-C01-U007

Functor-category size: D^C is locally small when C is small and D locally small; in particular (-)^(-) gives Cat^op×Cat→Cat and Cat^op×CAT→CAT in the stated regimes.

Lemma: Horizontal composition βα:HF⇒KG has component β{Gc}∘Hαc = Kαc∘β{Fc}.

FC03-C01-U104 · §1.7, pp. 44–48; L1619 · after FC03-C01-U049, FC03-C01-U083

Horizontal composition β*α:HF⇒KG has component β_{Gc}∘Hα_c = Kα_c∘β_{Fc}.

Remark: Whiskering composes a natural transformation on either side with a functor,…

FC03-C01-U105 · §1.7, pp. 44–48; L1637 · after FC03-C01-U104

Whiskering composes a natural transformation on either side with a functor, producing Hα,Kα,βF,βG as used in horizontal composition.

Lemma: Middle-four interchange

FC03-C01-U106 · §1.7, pp. 44–48; L1651 · after FC03-C01-U101, FC03-C01-U104

Middle-four interchange: vertical-then-horizontal composition of a rectangular array of natural transformations equals horizontal-then-vertical composition.

Definition: A 2-category has objects, 1-morphisms, and 2-morphisms

FC03-C01-U107 · §1.7, pp. 44–48; L1663 · after FC03-C01-U101, FC03-C01-U104, FC03-C01-U106

A 2-category has objects, 1-morphisms, and 2-morphisms; 1-morphisms compose categorically, 2-morphisms compose vertically and horizontally, and middle-four interchange holds.