Skip to content
Back to skills

Limits Colimits

ASecurity

Problem-solving strategies for limits colimits in category theory

  • 3,935 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 7, 2026
ai-agentspythongobashdocumentation

Works with

  • terminal

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add parcadei/Continuous-Claude-v3 --skill limits-colimits --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Limits Colimits?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Limits Colimits
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/parcadei-limits-colimits/badge)](https://www.skillsdirectory.com/skills/parcadei-limits-colimits)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: limits-colimits
description: "Problem-solving strategies for limits colimits in category theory"
allowed-tools: [Bash, Read]
---

# Limits Colimits

## When to Use

Use this skill when working on limits-colimits problems in category theory.

## Decision Tree


1. **Identify Limit Type**
   - Product: limit of discrete diagram
   - Equalizer: limit of parallel pair f, g: A -> B
   - Pullback: limit of A -> C <- B
   - Terminal object: limit of empty diagram
   - Lean 4: `CategoryTheory.Limits` namespace

2. **Verify Universal Property**
   - Cone from L with projections pi_i: L -> D_i
   - For any cone from X, unique morphism u: X -> L
   - Triangles commute: pi_i . u = cone_i
   - Lean 4: `IsLimit.lift` gives the unique morphism

3. **Colimit (Dual)**
   - Coproduct: colimit of discrete diagram
   - Coequalizer: colimit of parallel pair
   - Pushout: colimit of A <- C -> B
   - Initial object: colimit of empty diagram

4. **Compute Limits Concretely**
   - In Set: product = Cartesian product
   - Equalizer = {x | f(x) = g(x)}
   - Pullback = {(a,b) | f(a) = g(b)}
   - `sympy_compute.py solve "f(a) == g(b)"`

5. **Preservation**
   - Right adjoint preserves limits
   - Left adjoint preserves colimits
   - Representable functors preserve limits
   - Lean 4: `Adjunction.rightAdjointPreservesLimits`
   - See: `.claude/skills/lean4-limits/SKILL.md` for exact syntax


## Tool Commands

### Lean4_Limit
```bash
# Lean 4: import CategoryTheory.Limits.Shapes.Products
```

### Lean4_Universal
```bash
# Lean 4: IsLimit.lift cone -- unique morphism from universal property
```

### Sympy_Pullback
```bash
uv run python -m runtime.harness scripts/sympy_compute.py solve "f(a) == g(b)"
```

### Lean4_Build
```bash
lake build  # Compiler-in-the-loop verification
```

## Cognitive Tools Reference

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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…