category-master
БесплатноБез исполняемых скриптовНе проверенExpert-level category theory knowledge for rigorous mathematical reasoning. Use when working with categorical structures, functors, natural transformations…
Об этом скилле
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 i
Установить category-master в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл category-master?
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?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл category-master запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic