Claude Code Plugins

Community-maintained marketplace

Feedback

Expert-level category theory knowledge for rigorous mathematical reasoning. Use when working with categorical structures, functors, natural transformations, adjunctions, limits, toposes, monoidal categories, enriched categories, higher categories, operads, or any formal categorical construction. Ideal for proofs, diagram chases, universal properties, coherence conditions, and foundational mathematical abstractions.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name category-master
description Expert-level category theory knowledge for rigorous mathematical reasoning. Use when working with categorical structures, functors, natural transformations, adjunctions, limits, toposes, monoidal categories, enriched categories, higher categories, operads, or any formal categorical construction. Ideal for proofs, diagram chases, universal properties, coherence conditions, and foundational mathematical abstractions.

Category Master

Expert guidance for rigorous categorical reasoning, proofs, and constructions in pure mathematics.

Core Principles

Set-Theoretic Foundations

Size distinctions (essential for avoiding paradoxes):

  • Small set: Element of a fixed Grothendieck universe 𝒰
  • Small category: Ob(π’ž) and all Hom-sets are small (elements of 𝒰)
  • Locally small category: Each Hom(A,B) is small, but Ob(π’ž) may be a proper class
  • Large category: Even some Hom-sets may be proper classes

Grothendieck universes: Sets closed under standard operations (pairing, power set, unions), satisfying axioms that enable treating "all small sets" as a category without Russell-type paradoxes.

Practical implications:

  • The category Set of all sets is not small; working in Set requires 𝒰
  • Yoneda embedding π’ž β†’ [π’ž^op, Set] requires π’ž locally small
  • Functor categories [π’ž, π’Ÿ]: if π’ž small and π’Ÿ locally small, then [π’ž, π’Ÿ] is locally small
  • Adjunctions F ⊣ G: natural bijection Hom(F(A), B) β‰… Hom(A, G(B)) requires local smallness

Universe hierarchy (for categories of categories):

  • When working with Cat, need 𝒰 ∈ 𝒰' ∈ 𝒰'' ...
  • Cat(𝒰) = category of 𝒰-small categories (lives in 𝒰')
  • Enables discussing functors between Cat and other 2-categories

Foundation conventions: Unless stated otherwise, assume locally small categories and work within a fixed universe 𝒰 for small sets.

Precision and Rigor

  • Always state precise mathematical definitions using proper notation
  • Verify universal properties and coherence conditions explicitly
  • Check commutative diagrams for all naturality and functoriality requirements
  • Cite theorem names and formalize all proof steps
  • Be explicit about componentwise vs functor-level operations

Categorical Thinking

  • Identify universal constructions (limits, colimits, adjunctions) as primary tools
  • Reason arrow-theoretically: prioritize morphisms over internal structure
  • Seek canonical isomorphisms and natural transformations
  • Apply duality systematically (op-categories, contravariant functors)

Abstraction Levels

Level 0 (Sets): Objects as sets, morphisms as functions
Level 1 (Categories): Objects in categories, morphisms between them, functors between categories
Level 2 (2-Categories): Natural transformations as 2-cells, 2-functors
Level n (Higher): n-cells and coherence at all dimensions

Foundational Structures

1. Categories and Functors

Category Definition: A category π’ž consists of:

  • Class of objects Ob(π’ž)
  • For each A,B ∈ Ob(π’ž), a set of morphisms Hom(A,B)
  • Composition: ∘ : Hom(B,C) Γ— Hom(A,B) β†’ Hom(A,C) satisfying associativity
  • Identity morphisms id_A ∈ Hom(A,A) satisfying left/right identity laws

Size distinctions:

  • Small category: Both Ob(π’ž) and all Hom-sets are small (sets, not proper classes)
  • Locally small category: Hom(A,B) is a set for all A,B (even if Ob(π’ž) is a proper class)
  • Most categories in practice are locally small (e.g., Set, Grp, Top)
  • Size matters for avoiding set-theoretic paradoxes and for functor categories

Functor Definition: F: π’ž β†’ π’Ÿ maps objects to objects, morphisms to morphisms, preserving:

  • Identities: F(id_A) = id_{F(A)}
  • Composition: F(g ∘ f) = F(g) ∘ F(f)

Size note: For small π’ž and locally small π’Ÿ, the functor category [π’ž, π’Ÿ] is well-defined and locally small.

Verification Template:

To prove F is a functor:
1. Define F on objects: F(A) = ...
2. Define F on morphisms: F(f: A β†’ B) = ...
3. Check identity: F(id_A) = ... = id_{F(A)} βœ“
4. Check composition: F(g ∘ f) = ... = F(g) ∘ F(f) βœ“

2. Natural Transformations

Definition: Ξ±: F β‡’ G between functors F,G: π’ž β†’ π’Ÿ assigns to each A ∈ π’ž a morphism Ξ±_A: F(A) β†’ G(A) such that for all f: A β†’ B:

F(A) --Ξ±_A--> G(A)
 |             |
F(f)         G(f)
 |             |
 v             v
F(B) --Ξ±_B--> G(B)

This diagram commutes: G(f) ∘ α_A = α_B ∘ F(f) (naturality square)

Verification Template:

To prove Ξ± is natural:
1. Define components: Ξ±_A: F(A) β†’ G(A) for each A
2. For each morphism f: A β†’ B, verify:
   G(f) ∘ α_A = α_B ∘ F(f)
3. Compute both paths and confirm equality

3. Adjunctions

Definition: F: π’ž ⇄ π’Ÿ : G form an adjunction F ⊣ G if there exist natural transformations:

  • Ξ·: id_π’ž β‡’ GF (unit)
  • Ξ΅: FG β‡’ id_π’Ÿ (counit)

Triangle Identities (⚠️ COMPONENTWISE - Critical Notation):

For each object A ∈ π’ž:

Ρ_{F(A)} ∘ F(η_A) = id_{F(A)}  (left triangle)

For each object B ∈ π’Ÿ:

G(Ρ_B) ∘ η_{G(B)} = id_{G(B)}  (right triangle)

⚠️ CRITICAL NOTATION WARNING: ❌ INCORRECT: Writing "(Ρ_F ∘ F(η)) = id_F" treats natural transformations as if they were functors
βœ“ CORRECT: For each A ∈ π’ž: Ξ΅_{F(A)} ∘ F(Ξ·_A) = id_{F(A)}
βœ“ CORRECT: For each B ∈ π’Ÿ: G(Ξ΅_B) ∘ Ξ·_{G(B)} = id_{G(B)}

These are equations between morphisms in π’Ÿ and π’ž respectively, NOT equations between functors. The subscripts index components of natural transformations. Each component must be verified individually. Sloppy notation conflates natural transformations with functors, obscures the componentwise structure, and causes errors in Beck's monadicity theorem and size considerations in large categories.

Equivalent characterization: Natural bijection

Ο†_{A,B}: Hom_π’Ÿ(F(A), B) β‰… Hom_π’ž(A, G(B))

natural in both A and B, with Ο† and φ⁻¹ inverse bijections.

Relationship between characterizations:

  • Given unit/counit: Ο†(f: F(A) β†’ B) = G(f) ∘ Ξ·_A
  • Given hom-bijection: Ξ·_A = φ⁻¹(id_{G(F(A))}), Ξ΅_B = Ο†(id_{F(G(B))})

Size considerations: The hom-bijection requires π’ž, π’Ÿ locally small (otherwise Hom-sets are proper classes). This is essential for:

  • Yoneda lemma applications (representability)
  • Beck's monadicity theorem (requires local smallness)
  • Kan extensions as adjoints

Monadicity context: If U: π’Ÿ β†’ π’ž creates coequalizers of U-split pairs and has a left adjoint F, then π’Ÿ ≃ π’ž^T where T = UF is the induced monad (Beck's theorem). Verifying componentwise triangle identities is essential for proving monadicity in practice.

Verification Template:

To prove F ⊣ G:
Method 1 (unit-counit):
1. Define Ξ·_A: A β†’ GF(A) for all A ∈ π’ž
2. Define Ξ΅_B: FG(B) β†’ B for all B ∈ π’Ÿ
3. Verify naturality of Ξ·: for f: A β†’ A', G(F(f)) ∘ Ξ·_A = Ξ·_A' ∘ f
4. Verify naturality of Ξ΅: for g: B β†’ B', g ∘ Ξ΅_B = Ξ΅_B' ∘ F(G(g))
5. Check left triangle: for each A, Ρ_{F(A)} ∘ F(η_A) = id_{F(A)}
6. Check right triangle: for each B, G(Ρ_B) ∘ η_{G(B)} = id_{G(B)}

Method 2 (hom-isomorphism):
1. Define Ο†: Hom_π’Ÿ(F(A), B) β†’ Hom_π’ž(A, G(B))
2. Define φ⁻¹: Hom_π’ž(A, G(B)) β†’ Hom_π’Ÿ(F(A), B)
3. Verify Ο† ∘ φ⁻¹ = id and φ⁻¹ ∘ Ο† = id
4. Verify naturality in A: for f: A' β†’ A, Ο†_{A,B}(h ∘ F(f)) = Ο†_{A',B}(h) ∘ f
5. Verify naturality in B: for g: B β†’ B', Ο†_{A,B'}(g ∘ h) = G(g) ∘ Ο†_{A,B}(h)

Common adjunctions:

  • Free-forgetful: F: Set ⇄ Grp : U (free group ⊣ underlying set)
  • Tensor-hom: -βŠ—A ⊣ Hom(A,-) in monoidal closed categories
  • Direct/inverse image: f* ⊣ f_* for continuous f: X β†’ Y (sheaf theory)
  • Quantifiers: βˆƒ_f ⊣ f* ⊣ βˆ€_f in categorical logic

4. Limits and Colimits

Limit: Given diagram D: π’₯ β†’ π’ž, a limit is a terminal cone to D

  • Cone: object L with morphisms Ο€_j: L β†’ D(j) making all diagrams commute
  • Universal property: for any other cone (K, ψ_j), βˆƒ! u: K β†’ L factoring through Ο€_j

Common Examples:

  • Terminal object (limit of empty diagram)
  • Products A Γ— B (limit of discrete diagram {A, B})
  • Equalizers (limit of parallel pair f,g: A ⇉ B)
  • Pullbacks (limit of cospan A β†’ C ← B)

Colimit: Dual notion (initial cocone from D)

Verification Template:

To verify L is a limit of D:
1. Specify cone morphisms Ο€_j: L β†’ D(j)
2. Check commutativity: for all Ξ±: j β†’ k in π’₯,
   D(Ξ±) ∘ Ο€_j = Ο€_k
3. Universal property: given any cone (K, ψ_j),
   construct unique u: K β†’ L such that Ο€_j ∘ u = ψ_j
4. Verify uniqueness of u

5. Monoidal Categories

Definition: (π’ž, βŠ—, I) consists of:

  • Bifunctor βŠ—: π’ž Γ— π’ž β†’ π’ž (tensor product)
  • Unit object I
  • Natural isomorphisms:
    • Ξ±: (A βŠ— B) βŠ— C β†’ A βŠ— (B βŠ— C) (associator)
    • Ξ»: I βŠ— A β†’ A (left unitor)
    • ρ: A βŠ— I β†’ A (right unitor)

Satisfying pentagon (Mac Lane coherence) and triangle axioms.

Pentagon Axiom: For A,B,C,D composable, this diagram commutes:

((AβŠ—B)βŠ—C)βŠ—D --Ξ±--> (AβŠ—B)βŠ—(CβŠ—D)
     |                     |
     Ξ±                     Ξ±
     |                     |
     v                     v
(AβŠ—(BβŠ—C))βŠ—D          AβŠ—(BβŠ—(CβŠ—D))
     |                     |
    Ξ±βŠ—id                 idβŠ—Ξ±
     |                     |
     v                     v
AβŠ—((BβŠ—C)βŠ—D) ----Ξ±----> AβŠ—(BβŠ—(CβŠ—D))

Triangle Axiom: For A,B, relates α, λ, ρ

Symmetric monoidal: Add braiding Ξ²: A βŠ— B β†’ B βŠ— A satisfying hexagon axioms

Closed monoidal: Add internal hom [A, B] with natural isomorphism:

Hom(A βŠ— B, C) β‰… Hom(A, [B, C])

String diagrams: Graphical calculus for monoidal categories

  • Objects β†’ Wires (vertical lines)
  • Morphisms β†’ Boxes/nodes
  • Composition β†’ Vertical stacking
  • Monoidal product β†’ Horizontal juxtaposition
  • Topology determines equality (isotopy invariance)

6. Enriched Categories

Definition: π’ž enriched over monoidal category (𝒱, βŠ—, I) has:

  • Hom-objects Hom(A,B) ∈ Ob(𝒱) (not sets!)
  • Composition morphism: Hom(B,C) βŠ— Hom(A,B) β†’ Hom(A,C) in 𝒱
  • Identity morphism: I β†’ Hom(A,A) in 𝒱

Satisfying associativity and identity coherence in 𝒱.

Common enrichments:

  • Poset-enriched: Hom(A,B) ∈ {βŠ₯, ⊀} (preorders)
  • Ab-enriched: Hom(A,B) are abelian groups (preadditive categories)
  • Cat-enriched: Hom(A,B) are small categories (2-categories)

7. Elementary Toposes

❌ INCORRECT DEFINITION (common error): "Cartesian closed category with finite colimits"

βœ“ CORRECT DEFINITION: An elementary topos 𝓔 is a category with:

  1. All finite limits

    • Terminal object 1
    • Binary products A Γ— B
    • Equalizers of parallel pairs f,g: A ⇉ B
  2. Exponentials (cartesian closedness)

    • For all A,B ∈ 𝓔, exists B^A with evaluation ev: B^A Γ— A β†’ B
    • Universal property: For any f: C Γ— A β†’ B, unique Ξ»(f): C β†’ B^A with f = ev ∘ (Ξ»(f) Γ— id_A)
  3. Subobject Classifier Ξ©

    • Distinguished object Ξ© with morphism true: 1 β†’ Ξ©
    • Universal property: For every monic m: S β†ͺ A, exists unique Ο‡_m: A β†’ Ξ© (characteristic morphism of m) making:
    S --------!-------> 1
    |                   |
    m                  true
    |                   |
    v                   v
    A ------Ο‡_m-------> Ξ©
    

    a pullback square.

    • Conversely: Every such pullback defines a monic
    • Establishes bijection: {monics into A} ↔ {morphisms A β†’ Ξ©}

Key Consequences:

  • Power objects exist: Ξ©^A β‰… Sub(A) (subobjects of A)
  • Finite colimits are derivable (via internal logic, NOT axioms!)
    • Initial object, coproducts, coequalizers constructed from limits, exponentials, and Ξ©
  • Internal logic is intuitionistic (Mitchell-BΓ©nabou language)
    • Ξ© acts as "truth values" object
    • Logical operations: ∧, ∨, β†’, βŠ₯, ⊀ are morphisms in 𝓔
    • NOT Boolean in general (Law of excluded middle fails)

Examples:

  1. Set (prototypical topos)

    • Ξ© = {0, 1} or {false, true}
    • true: {*} β†’ {0,1} sends * ↦ 1
    • Ο‡_S: A β†’ {0,1} is indicator function: Ο‡_S(a) = 1 iff a ∈ S
  2. Sh(X) (sheaves on topological space X)

    • Ξ© = "sheaf of truth values" (open sets with restrictions)
    • Ξ©(U) = {opens V βŠ† U}
    • Realizes topological intuition: "truth varies by location"
  3. Set^{π’ž^op} (presheaves on category π’ž)

    • Ξ©(C) = {sieves on C} (right-closed subfunctors of Hom(βˆ’, C))
    • Basis for Grothendieck topology

❌ NON-EXAMPLE (Counterexample):

FinSet (category of finite sets):

  • βœ“ Has finite limits (products, equalizers)
  • βœ“ Is cartesian closed (exponentials exist: B^A is set of functions)
  • βœ“ Has finite colimits (unions, coproducts)
  • βœ— Does NOT have subobject classifier

Why FinSet fails:

  • Would need Ξ© such that {subsets of A} ↔ {functions A β†’ Ξ©}
  • For infinite A, this requires Ξ© to have size |P(A)|
  • But FinSet requires Ξ© to be finite!
  • Contradiction: Cannot represent arbitrary subsets of infinite sets with finite Ξ©

This counterexample proves that "cartesian closed + finite colimits" is insufficient for a topos. The subobject classifier Ξ© is essential and cannot be derived from other axioms.

Grothendieck Toposes (Related but distinct):

A Grothendieck topos is a category equivalent to Sh(π’ž, J) (sheaves on site):

  • Site = (π’ž, J) where J is Grothendieck topology (coverage)
  • J assigns to each C a collection of covering sieves
  • Sheaf condition: Gluing axiom for covers

Relationship:

  • Every Grothendieck topos is an elementary topos
  • NOT conversely: Elementary toposes need not come from sites
  • Grothendieck version emphasizes sheaf theory, sites, descent
  • Elementary version emphasizes logic, power objects, internal language

Internal logic applications:

  • Topos structure enables intuitionistic logic via Ξ© (propositions as subobjects of 1)
  • Mitchell-BΓ©nabou language for higher-order reasoning
  • Kripke-Joyal semantics for forcing (truth relative to objects as "stages")

Applications:

  • Algebraic geometry (Γ©tale topos)
  • Categorical logic (intuitionistic type theory)
  • Forcing and independence results
  • Synthetic differential geometry

8. Higher Categories

2-Category (strict): Categories with 2-cells (natural transformations)

  • Objects, 1-cells (functors), 2-cells (natural transformations)
  • Horizontal composition (Ξ± βˆ— Ξ²) and vertical composition (Ξ± Β· Ξ²)
  • Interchange law: (Ξ±' Β· Ξ±) βˆ— (Ξ²' Β· Ξ²) = (Ξ±' βˆ— Ξ²') Β· (Ξ± βˆ— Ξ²)
  • Pasting diagrams: All compositions of 2-cells commute when boundaries match
  • String diagrams: Graphical calculus where topology determines equality

Bicategory (weak 2-category): Composition and identities hold up to coherent isomorphisms

  • Associator: Ξ±_{f,g,h}: (h∘g)∘f β‡’ h∘(g∘f) (invertible 2-cell, not identity)
  • Left/right unitors: Ξ»_f: id_B ∘ f β‡’ f and ρ_f: f ∘ id_A β‡’ f
  • Pentagon coherence: For composable f,g,h,k, the pentagon of associators commutes:
    ((k∘h)∘g)∘f ---α---> (k∘h)∘(g∘f)
         |                     |
         Ξ±                     Ξ±
         |                     |
         v                     v
    (k∘(h∘g))∘f           k∘(h∘(g∘f))
         |                     |
        α∘id                 id∘α
         |                     |
         v                     v
    k∘((h∘g)∘f) ----α----> k∘(h∘(g∘f))
    
  • Triangle coherence: For f,g, the triangle identity diagram commutes:
    (f∘id)∘g ----α----> f∘(id∘g)
        \                 |
         \                |
       ρ∘id           id∘λ
           \              |
            \             v
             ----===----> f∘g
    
  • Strictification: Every bicategory is biequivalent to a strict 2-category (Mac Lane-ParΓ© coherence)

Pasting Diagrams (computational tool for 2-categories):

    A --f--> B --g--> C
    |        |        |
    h        k        l
    |   Ξ±    |   Ξ²    |
    v        v        v
    D --m--> E --n--> F

Composition rules:

  • Vertical (∘): Compose along objects (Ξ±;Ξ² when target of Ξ± = source of Ξ²)
  • Horizontal (βŠ—): Compose along 1-morphisms (Ξ±βŠ—Ξ² in parallel)
  • Interchange: (Ξ±βŠ—Ξ²);(Ξ³βŠ—Ξ΄) = (Ξ±;Ξ³)βŠ—(Ξ²;Ξ΄) when composable

Gray-categories (semi-strict 3-categories): Composition strictly associative, but interchange laws hold up to isomorphism

  • Intermediate between strict and weak 3-categories
  • Gray tensor product: Monoidal structure on 2-Cat encoding "lax composition"

Tricategories (weak 3-categories):

  • Objects, 1-cells, 2-cells, 3-cells (modifications)
  • Pentagonator: 3-cell witnessing coherence of four associators (Mac Lane's pentagon one dimension up)
  • Every tricategory is triequivalent to a Gray-category (Power's coherence theorem)

n-Categories: Generalizes to n levels of cells

  • Strict n-category: All compositions strictly associative, identities strict, interchange laws hold as equalities
  • Weak n-category: Associativity/identity up to (k-1)-cells for k ≀ n, with coherence axioms at each level
  • Semistrict: Some structure strict, some weak (e.g., composition strict but identity weak)

∞-Categories (models for homotopy-coherent mathematics):

  • Quasi-categories (Joyal-Lurie): Simplicial sets with inner horn fillers (Λᡏₙ β†’ X extends to Δⁿ β†’ X for 0 < k < n)
    • 0-simplices: objects
    • 1-simplices: morphisms
    • 2-simplices: homotopies/commutative triangles
    • n-simplices: higher coherence data
    • Models (∞,1)-categories (all nβ‰₯2 morphisms are equivalences)
  • Complete Segal spaces (Rezk): Simplicial spaces satisfying Segal and completeness conditions
  • Simplicially enriched categories: Categories enriched over sSet (Dwyer-Kan model)
  • All models equivalent via Quillen equivalences of model structures

Orientals: Simplicial sets O[n] encoding pasting schemes

  • O[0] = point
  • O[1] = arrow
  • O[2] = commutative triangle
  • O[n] = coherent n-fold composition

Strictification Theorems and Limitations:

  • n ≀ 1: All weak categories equivalent to strict (posets, groupoids)
  • n = 2: Bicategories ≃ strict 2-categories (Mac Lane-ParΓ©)
  • n = 3: Tricategories ≃ Gray-categories (Power), partial strictification
  • n β‰₯ 4: ❌ Simpson's conjecture disproven (Lack et al.) - weak n-categories strictly richer than strict ones; full strictification IMPOSSIBLE
  • ∞-categories: Inherently weak, no global strictification possible

Coherence Theorems: In weak n-categories, all pasting diagrams of canonical cells commute up to canonical higher cells. This allows proof simplification by "assuming strictness locally."

Mac Lane Coherence Theorem (Monoidal Categories):

  • In monoidal category, "all diagrams of canonical isomorphisms commute"
  • Precise statement: Every diagram built from Ξ±, Ξ», ρ (associator, unitors) commutes
  • Equivalently: Free monoidal category on one object is poset

9. Operads

Non-Symmetric Operads (Basic Definition):

A non-symmetric operad π“ž in symmetric monoidal category (𝒱,βŠ—,I) consists of:

  1. Objects: π“ž(n) ∈ 𝒱 for each arity n β‰₯ 0

    • π“ž(n) represents "n-ary operations"
  2. Composition: Multilinear maps Ξ³: π“ž(k) βŠ— π“ž(n₁) βŠ— ... βŠ— π“ž(nβ‚–) β†’ π“ž(n₁ + ... + nβ‚–)

    Intuition: Given k-ary operation and operations for each input, compose to get (n₁+...+nβ‚–)-ary operation

  3. Unit: Element id ∈ π“ž(1) (identity operation)

Axioms:

  1. Associativity: Iterated compositions associative
  2. Unit: Composing with id doesn't change operation

Examples (non-symmetric):

  • Associative operad 𝓐ss: 𝓐ss(n) = πŸ™ (single n-ary operation)
    • Encodes associative (non-commutative) algebras
  • Endomorphism operad: End_X(n) = Hom(X^βŠ—n, X)
    • Operations are actual morphisms in 𝒱

Symmetric Operads (With Permutations):

A symmetric operad has additional structure:

  1. Symmetric group actions: Right action of Ξ£_n on π“ž(n)

    • Οƒ ∈ Ξ£_n acts on π“ž(n)
    • Intuition: Permute inputs of n-ary operations
  2. Equivariance: Composition respects permutations

Examples (symmetric):

  • Commutative operad 𝓒om: 𝓒om(n) = πŸ™ with Ξ£_n acting trivially
    • Encodes commutative algebras
  • E_∞ operad: Contractible Ξ£_n-spaces
    • "Maximally commutative" up to homotopy

Key Distinction:

Non-symmetric: Order of inputs matters (e.g., matrix multiplication)
Symmetric: Can permute inputs (e.g., addition is commutative)

When to Use Which:

  • Non-symmetric: Sufficient for associative structures, loop spaces, A_∞-algebras in homotopy theory
  • Symmetric: Required for commutative structures, recognition principle (May 1972), E_∞-ring spectra

Algebras over an Operad:

An algebra over operad π“ž is:

  • Object A ∈ 𝒱
  • Structure maps: π“ž(n) βŠ— A^βŠ—n β†’ A for each n
  • Satisfying associativity, unit, equivariance (if symmetric)

Examples:

  • Algebra over 𝓐ss = associative algebra (non-commutative)
  • Algebra over 𝓒om = commutative algebra
  • Algebra over E_∞ = E_∞-algebra (homotopy commutative)

Operad Variants:

  1. Colored (Multi-Sorted) Operads:

    • Operations typed: π“ž(c₁,...,cβ‚™;d) for colors c₁,...,cβ‚™,d
    • Composition respects typing
    • Example: Categories as colored operads (objects = colors)
  2. Cyclic Operads:

    • Additional cyclic Cβ‚™-action on π“ž(n)
    • Captures "trace" or "inner product" operations
    • Example: Modular operads in string topology
  3. ∞-Operads (Homotopy-Coherent):

    • Weak/higher versions (Lurie, Cisinski-Moerdijk)
    • Operad structure up to coherent homotopy
    • Model ∞-categories as ∞-operads
  4. PROPs (Products and Permutations):

    • Generalize operads: π“Ÿ(m,n) (m outputs, n inputs)
    • Capture operations like tensor product (2 outputs)
    • Wiring diagrams for composition

Connection to monads: Operads in Set correspond to certain finitary monads on Set (via free algebra construction)

Applications:

  • Algebra: Universal algebra, Lie algebras, Poisson algebras
  • Topology: Recognition principle (May), loop spaces, iterated loop spaces
  • Homotopy Theory: A_∞, E_∞ structures in stable homotopy theory
  • Geometry: Moduli spaces (Deligne-Mumford, Kontsevich)
  • Physics: Feynman diagrams, BV quantization

Historical Note:

  • Non-symmetric operads: Foundational, sufficient for many classical examples
  • Symmetric operads: Enable commutativity, Eckmann-Hilton argument
  • Recognition principle requires symmetric structure (May, 1972)

Proof Techniques

Diagram Chasing

  1. Identify the diagram and what needs to be proven
  2. Label all objects and morphisms explicitly
  3. Use commutativity systematically
  4. Apply universal properties to construct/identify morphisms
  5. Verify uniqueness conditions

Universal Property Arguments

Pattern:

Given: Universal object U with property P
To show: U satisfies Q
Proof:
1. Assume X also satisfies P
2. By universality, βˆƒ! u: U β†’ X
3. Show u demonstrates Q
4. Uniqueness ensures Q is canonical

Yoneda Lemma Applications

Yoneda Lemma: Nat(Hom(A, -), F) β‰… F(A) naturally

Use to:

  • Prove isomorphisms by checking on representables
  • Show functors are isomorphic by showing hom-sets are
  • Construct morphisms via natural transformations

Coherence Theorems

For monoidal/enriched categories, all diagrams of canonical isomorphisms commute.

Verification approach:

  1. Reduce to checking Mac Lane's pentagon and triangle
  2. All other coherences follow automatically
  3. Apply coherence theorem to simplify proofs

Common Constructions

Comma Categories

Given functors F: π’ž β†’ β„°, G: π’Ÿ β†’ β„°, the comma category (F ↓ G) has:

  • Objects: triples (C, D, f: F(C) β†’ G(D))
  • Morphisms: pairs (u: C β†’ C', v: D β†’ D') making the obvious square commute

Special cases:

  • Slice category π’ž/A when G = const_A
  • Coslice category A/π’ž when F = const_A

Kan Extensions

Given F: π’ž β†’ π’Ÿ and K: π’ž β†’ β„°:

  • Left Kan extension Lan_K F is left adjoint to precomposition with K
  • Right Kan extension Ran_K F is right adjoint to precomposition with K

Formula: (Lan_K F)(E) = colim_{K(C) β†’ E} F(C)

Monadicity

A functor U: π’Ÿ β†’ π’ž is monadic if π’Ÿ ≃ π’ž^T for some monad T on π’ž.

Beck's monadicity theorem provides conditions (U creates coequalizers of U-split pairs, etc.)

Working with This Skill

For Proving Theorems

  1. State theorem precisely with all hypotheses (including size conditions)
  2. Identify relevant universal properties and their variance
  3. Draw all necessary commutative diagrams with explicit objects/morphisms
  4. Apply proof techniques systematically (diagram chasing, Yoneda, coherence)
  5. Verify all coherence conditions and naturality squares componentwise
  6. Check triangle identities for adjunctions object-by-object

For Constructing Categorical Frameworks

  1. Define objects and morphisms explicitly with size specifications
  2. Verify category axioms (associativity, identity, size closure)
  3. Identify universal constructions (limits, adjunctions) and prove universality
  4. Check functoriality: preserve identities and composition
  5. Verify naturality: all relevant squares commute
  6. Establish coherence for higher structures (pentagon, triangle axioms)
  7. Address set-theoretic foundations (universes, local smallness)

For Technical Verification

Always verify componentwise:

  • Natural transformations: check Ξ±_A for each object A, then naturality square for each morphism
  • Adjunction triangles: verify Ξ΅_{F(A)} ∘ F(Ξ·_A) = id_{F(A)} for each A individually
  • Unit/counit naturality: check commutativity for each morphism explicitly

Size considerations checklist:

  • Are all categories locally small (Hom-sets are sets)?
  • For functor categories [π’ž,π’Ÿ], is π’ž small?
  • Do colimits/limits stay within the universe?
  • Are representables well-defined (local smallness ensures this)?

Coherence verification:

  • Monoidal categories: verify pentagon and triangle, invoke Mac Lane coherence for rest
  • Symmetric monoidal: add hexagon axioms for braiding
  • Bicategories: verify pentagon for associator, triangles for unitors
  • Higher categories: check coherence at each dimension

Common pitfalls to avoid:

  • Confusing functor-level notation with componentwise structure in adjunctions
  • Assuming all weak n-categories strictify (false for n β‰₯ 4)
  • Omitting size checks (causes subtle paradoxes)
  • Claiming "Cartesian closed + colimits = topos" (need subobject classifier!)
  • Assuming all operads are symmetric (non-symmetric variants exist and are fundamental)
  • Forgetting to verify naturality in addition to defining components

Reasoning Strategies

Universal property pattern:

Goal: Show object U satisfies property P
1. Assume X also satisfies P
2. By universality of U, βˆƒ! u: U β†’ X (or X β†’ U depending on variance)
3. Show this unique morphism demonstrates P
4. Uniqueness ensures canonicity

Yoneda lemma applications:

  • To prove F β‰… G, show Hom(A, F(-)) β‰… Hom(A, G(-)) for all A
  • To construct morphism A β†’ B, construct natural transformation Hom(-,A) β‡’ Hom(-,B)
  • Representable functors are limits (products, equalizers, pullbacks)

Duality exploitation:

  • Every statement about limits has dual about colimits
  • Left adjoints are colimit-preserving; right adjoints are limit-preserving
  • Work in π’ž^op to dualize proofs systematically

References and Further Study

Foundational Texts

  • Mac Lane, S. Categories for the Working Mathematician (1971, 2nd ed. 1998) - Standard reference for basic category theory, Mac Lane coherence, limits/colimits, adjunctions, Yoneda
  • Borceux, F. Handbook of Categorical Algebra (3 volumes, 1994) - Comprehensive treatment: Vol 1 (basic theory), Vol 2 (abelian categories), Vol 3 (categories of sheaves)
  • Awodey, S. Category Theory (2010, 2nd ed.) - Modern accessible introduction with emphasis on logic and foundations
  • Leinster, T. Basic Category Theory (2014) - Concise modern treatment, excellent for quick reference
  • Riehl, E. Category Theory in Context (2016) - Modern pedagogical approach with emphasis on universal properties

Elementary Toposes and Logic

  • Johnstone, P.T. Topos Theory (1977) - Classic introduction to elementary toposes
  • Johnstone, P.T. Sketches of an Elephant: A Topos Theory Compendium (2002) - Encyclopedic treatment of Grothendieck toposes, sites, geometric logic
  • Mac Lane, S. & Moerdijk, I. Sheaves in Geometry and Logic (1992) - Toposes for geometers and logicians, Mitchell-BΓ©nabou language, Kripke-Joyal semantics
  • Goldblatt, R. Topoi: The Categorial Analysis of Logic (1984) - Elementary introduction with focus on internal logic

Enriched Categories

  • Kelly, G.M. Basic Concepts of Enriched Category Theory (1982, Cambridge LNM 64) - Definitive treatment of V-categories, tensored/cotensored categories, enriched Yoneda
  • Borceux, F. & Dejean, D. "Cauchy completion in category theory" (1986) - Enrichment and completion

Higher Categories

  • Lurie, J. Higher Topos Theory (2009) - ∞-categories via quasi-categories, fundamental work in homotopy theory
  • Lurie, J. Higher Algebra (2017) - ∞-operads, monoidal ∞-categories, algebras
  • Leinster, T. Higher Operads, Higher Categories (2004, LMS 298) - Operads, n-categories, comparison of models
  • Riehl, E. & Verity, D. Elements of ∞-Category Theory (2022) - Modern foundations using ∞-cosmoi, model-independent approach

Homological Algebra and Derived Categories

  • Weibel, C. An Introduction to Homological Algebra (1994) - Standard text for chain complexes, derived functors, spectral sequences
  • Gelfand, S. & Manin, Y. Methods of Homological Algebra (2003) - Derived categories, triangulated categories, applications to algebraic geometry
  • Kashiwara, M. & Schapira, P. Categories and Sheaves (2006) - Advanced treatment of derived categories and sheaves

Model Categories and Homotopy Theory

  • Hovey, M. Model Categories (1999, AMS 63) - Definitive introduction to Quillen model structures
  • Hirschhorn, P. Model Categories and Their Localizations (2003) - Advanced topics in model categories
  • Dwyer, W. & Spalinski, J. "Homotopy theories and model categories" (1995, Handbook of Algebraic Topology) - Accessible introduction

Monoidal and Symmetric Monoidal Categories

  • Joyal, A. & Street, R. "Braided tensor categories" Advances in Mathematics 102 (1993) - Coherence for symmetric monoidal categories, braiding
  • Selinger, P. "A survey of graphical languages for monoidal categories" (2011) - String diagrams, graphical calculus
  • Etingof, P. et al. Tensor Categories (2015) - Advanced treatment with applications to representation theory

Bicategories and Coherence

  • BΓ©nabou, J. "Introduction to bicategories" (1967, LNM 47) - Original definition of bicategories
  • Mac Lane, S. & ParΓ©, R. "Coherence for bicategories and indexed categories" (1985) - Strictification theorem
  • Lack, S. "A coherent approach to pseudomonads" Advances in Mathematics 152 (2000) - Coherence for bicategories
  • Power, J. "A general coherence result" Journal of Pure and Applied Algebra 57 (1989) - Tricategory coherence

Operads

  • May, J.P. The Geometry of Iterated Loop Spaces (1972, LNM 271) - Original operadic approach to loop spaces, recognition principle
  • Loday, J.-L. & Vallette, B. Algebraic Operads (2012) - Modern comprehensive treatment of operads
  • Boardman, J.M. & Vogt, R.M. Homotopy Invariant Algebraic Structures on Topological Spaces (1973, LNM 347) - Operads and homotopy theory

Accessible and Locally Presentable Categories

  • AdΓ‘mek, J. & RosickΓ½, J. Locally Presentable and Accessible Categories (1994, Cambridge LMS 189) - Size issues, colimits, applications
  • Makkai, M. & ParΓ©, R. Accessible Categories: The Foundations of Categorical Model Theory (1989, AMS 104) - Model-theoretic approach

Kan Extensions and Representability

  • Mac Lane, S. (1971) Chapters VII-X - Kan extensions, pointwise formulas, representable functors
  • Riehl, E. Categorical Homotopy Theory (2014, Cambridge) - Kan extensions in homotopy contexts

Foundations and Universes

  • Grothendieck, A. "Univers" in SGA 4 (1972) - Original development of Grothendieck universes
  • Shulman, M. "Set theory for category theory" (2008, arXiv:0810.1279) - Modern treatment of size issues, including alternatives to universes
  • Voevodsky, V. "Univalent Foundations" (ongoing) - Homotopy type theory approach to foundations