Agent Skillsparcadei/Continuous-Claude-v3 › categories-functors

categories-functors

GitHub

提供范畴论中函子的解题策略,涵盖范畴公理验证、函子性质检查及类型分类。指导使用Lean 4与Mathlib进行形式化证明和编译器验证,辅助数学理论研究与形式化方法实现。

.claude/skills/math/category-theory/categories-functors/SKILL.md parcadei/Continuous-Claude-v3

Trigger Scenarios

需要验证范畴或函子的数学性质 使用Lean 4进行范畴论的形式化证明

Install

npx skills add parcadei/Continuous-Claude-v3 --skill categories-functors -g -y
More Options

Non-standard path

npx skills add https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/math/category-theory/categories-functors -g -y

Use without installing

npx skills use parcadei/Continuous-Claude-v3@categories-functors

指定 Agent (Claude Code)

npx skills add parcadei/Continuous-Claude-v3 --skill categories-functors -a claude-code -g -y

安装 repo 全部 skill

npx skills add parcadei/Continuous-Claude-v3 --all -g -y

预览 repo 内 skill

npx skills add parcadei/Continuous-Claude-v3 --list

SKILL.md

Frontmatter
{
    "name": "categories-functors",
    "description": "Problem-solving strategies for categories functors in category theory",
    "allowed-tools": [
        "Bash",
        "Read"
    ]
}

Categories Functors

When to Use

Use this skill when working on categories-functors problems in category theory.

Decision Tree

  1. Verify Category Axioms

    • Objects and morphisms (arrows) defined?
    • Identity morphism for each object: id_A: A -> A
    • Composition associative: (f . g) . h = f . (g . h)
    • Write Lean 4: theorem assoc : (f ≫ g) ≫ h = f ≫ (g ≫ h) := Category.assoc
  2. Check Functor Properties

    • F: C -> D maps objects to objects, arrows to arrows
    • Preserves identity: F(id_A) = id_{F(A)}
    • Preserves composition: F(g . f) = F(g) . F(f)
    • Write Lean 4: theorem comp : F.map (g ≫ f) = F.map g ≫ F.map f := F.map_comp
  3. Functor Types

    • Covariant: preserves arrow direction
    • Contravariant: reverses arrow direction
    • Faithful/Full: injective/surjective on Hom-sets
    • Equivalence: full, faithful, essentially surjective
  4. Common Functors

    • Forgetful functor: forgets structure (e.g., Grp -> Set)
    • Free functor: left adjoint to forgetful
    • Hom functor: Hom(A, -) or Hom(-, B)
    • Power set functor: Set -> Set via X |-> P(X)
  5. Verify with Lean 4

    • Compiler-in-the-loop: write proof, lake build checks
    • Mathlib has full category theory library
    • See: .claude/skills/lean4-functors/SKILL.md for exact syntax

Tool Commands

Lean4_Category

# Lean 4 with Mathlib: import CategoryTheory.Category.Basic

Lean4_Functor

# Lean 4: theorem map_comp (F : C ⥤ D) : F.map (g ≫ f) = F.map g ≫ F.map f := F.map_comp

Lean4_Build

lake build  # Compiler-in-the-loop verification

Cognitive Tools Reference

See .claude/skills/math-mode/SKILL.md for full tool documentation.

Version History

  • d07ff4b Current 2026-08-20 12:47

Same Skill Collection

.claude/plugins/braintrust-tracing/skills/trace-claude-code/SKILL.md
.claude/skills/agentica-claude-proxy/SKILL.md
.claude/skills/agentica-infrastructure/SKILL.md
.claude/skills/agentica-prompts/SKILL.md
.claude/skills/agentica-sdk/SKILL.md
.claude/skills/agentica-server/SKILL.md
.claude/skills/archive/leann-search/SKILL.md
.claude/skills/ast-grep-find/SKILL.md
.claude/skills/braintrust-tracing/SKILL.md
.claude/skills/cli-reference/SKILL.md
.claude/skills/commit/SKILL.md
.claude/skills/compound-learnings/SKILL.md
.claude/skills/continuity_ledger/SKILL.md
.claude/skills/create_handoff/SKILL.md
.claude/skills/dead-code/SKILL.md
.claude/skills/debug-hooks/SKILL.md
.claude/skills/debug/SKILL.md
.claude/skills/describe_pr/SKILL.md
.claude/skills/discovery-interview/SKILL.md
.claude/skills/explore/SKILL.md
.claude/skills/firecrawl-scrape/SKILL.md
.claude/skills/fix/SKILL.md
.claude/skills/github-search/SKILL.md
.claude/skills/help/SKILL.md
.claude/skills/hook-developer/SKILL.md
.claude/skills/implement_plan_micro/SKILL.md
.claude/skills/implement_plan/SKILL.md
.claude/skills/implement_task/SKILL.md
.claude/skills/loogle-search/SKILL.md
.claude/skills/math-help/SKILL.md
.claude/skills/math-router/SKILL.md
.claude/skills/math-unified/SKILL.md
.claude/skills/math/abstract-algebra/fields/SKILL.md
.claude/skills/math/abstract-algebra/groups/SKILL.md
.claude/skills/math/abstract-algebra/rings/SKILL.md
.claude/skills/math/category-theory/limits-colimits/SKILL.md
.claude/skills/math/category-theory/natural-transformations/SKILL.md
.claude/skills/math/complex-analysis/analytic-functions/SKILL.md
.claude/skills/math/complex-analysis/contour-integrals/SKILL.md
.claude/skills/math/complex-analysis/residues/SKILL.md
.claude/skills/math/functional-analysis/banach-spaces/SKILL.md
.claude/skills/math/functional-analysis/hilbert-spaces/SKILL.md
.claude/skills/math/functional-analysis/operator-theory/SKILL.md
.claude/skills/math/graph-number-theory/graph-algorithms/SKILL.md
.claude/skills/math/graph-number-theory/modular-arithmetic/SKILL.md
.claude/skills/math/graph-number-theory/prime-numbers/SKILL.md
.claude/skills/math/information-theory/channel-capacity/SKILL.md
.claude/skills/math/information-theory/entropy/SKILL.md
.claude/skills/math/information-theory/source-coding/SKILL.md

Metadata

Files
0
Version
d07ff4b
Hash
be2ae6a0
Indexed
2026-08-20 12:47

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 05:37
浙ICP备14020137号-1 $Гость$