Skip to content
cat-three-homes logo

Cat# Three Homes Skill

cat-three-homes

The double category of polynomial comonads where:

plurigrid/asi0installs67stars

SKILL.md

Full skill instructions

Cat# Three Homes Skill

"All Concepts are Cat#" — Spivak (ACT 2023)

Trit: 0 (ERGODIC)
Color: #49EE54
Source: Spivak, Lynch, Shapiro - "All concepts are Cat#" ACT 2023

Core Definition

Cat# = Comod(Poly, y, ◁)

The double category of polynomial comonads where:

  • Poly = free completely distributive category on one object
  • y = identity polynomial
  • ◁ = composition (substitution) of polynomials

The Three Homes

Home 1: Polynomial Comonads (Objects of Cat#)

Categories ARE the objects of Cat#.

A category C becomes polynomial: Σ_{A:Ob(C)} y^{C[A]}
where C[A] = Σ_{B:Ob(C)} C(A,B) = "maps out of A"

• Counit ε: c → y supplies identities
• Comult δ: c → c◁c supplies codomains and composition

Skill mapping: gay-mcp (+1) — inject deterministic state

Home 2: Monads in Span (Linear restriction)

Comod(Set, 1, ×) ≅ Span
Mod(Span) ≅ Prof(Cat)

Linear polynomials only: c = Cy (just a set of objects) Bicomodules: Cy ◁──Py──▷ Dy (spans of sets)

Categories = monads in Span

Skill mapping: acsets (0) — schema as span

Home 3: Path Algebras (Most familiar)

Graph category G = (• ⇉ •) with polynomial g = y³ + y
g-Set ≅ Grph (category of graphs)

path: g◁ ──→ ◁g is a monad (prafunctor Grph → Grph)

Categories = path-algebras = path-complete graphs

Skill mapping: bisimulation-game (-1) — validate path equivalence

GF(3) Triad

bisimulation-game (-1) ⊗ cat-three-homes (0) ⊗ gay-mcp (+1) = 0 ✓
TritHomeSkillRole
-1Path Algebrasbisimulation-gameValidate equivalences
0Span/​Profacsets, cat-three-homesSchema bridge
+1Poly Comonadsgay-mcpState injection

Key Structures

Bicomodules (Horizontal morphisms in Cat#)

c ◁ p ◁ d  with maps satisfying laws w.r.t. ε, δ

These are precisely prafunctors d-Set → c-Set (data migrations).

The Mod Construction

If D has nice local coequalizers → Mod(D)
If P has nice local equalizers → Comod(P)

Poly has ◁-preserved local equalizers: e → p ⟹ q
So we can form Comod(Poly) = Cat#

Org (Dynamic Arrangements)

Org ↪ Cat#  (fully faithful)

Objects: p : Poly → cofree comonoid 𝔠_p
Horizontals: [p,q]-coalgebras (dynamic arrangements)

Models neural networks, prediction markets, rewiring diagrams.

Multivariate Extension

For any category E with pullbacks:

Poly_E embeds into Cat#
by sending I : E to slice category A/​I

Discrete categories in Cat# ≅ multivariate polynomials in Set.

Commands

# Query homes
bb cat-three-homes.bb --home 1  # Polynomial comonads
bb cat-three-homes.bb --home 2  # Span/​Prof
bb cat-three-homes.bb --home 3  # Path algebras

# Dispatch concept to home
bb cat-three-homes.bb --dispatch "functor"

# Show all triads
bb cat-three-homes.bb --triads

DuckDB Schema

CREATE TABLE cat_homes (
    home_id INT PRIMARY KEY,
    name VARCHAR,
    structure VARCHAR,
    skill VARCHAR,
    trit TINYINT
);

INSERT INTO cat_homes VALUES
(1, 'Polynomial Comonads', 'Comod(Poly,y,◁)', 'gay-mcp', 1),
(2, 'Monads in Span', 'Mod(Span)≅Prof', 'acsets', 0),
(3, 'Path Algebras', 'path-complete graphs', 'bisimulation-game', -1);

Related Skills

SkillTritRelation
catsharp0Core Cat# skill
kan-extensions0Universal property source
infinity-operads+1Higher categorical extension
topos-catcolab0CatColab double theories
polynomial-functors0Poly foundation

References

  1. Spivak, Lynch, Shapiro - "All concepts are Cat#" (ACT 2023)
  2. Niu & Spivak - "Polynomial Functors" (Cambridge 2024)
  3. Shulman - "Framed Bicategories and Monoidal Fibrations"
  4. Ahman-Uustalu - Polynomial comonads are categories
  5. Garner - Prafunctors (HoTTEST video)

2-Torial Integration

Concepts from Topos 2-torials map to homes:

2-TorialConceptHome
Doctrinal Adjunctionsdoctrine, laxHome 2 (Span)
Instances of Modelsdouble category, modelHome 1 (Poly)
Coalgebraic-Modalcoalgebra, monadHome 3 (Path)

Autopoietic Marginalia

The interaction IS the skill improving itself.

Every use of this skill is an opportunity for worlding:

  • MEMORY (-1): Record what was learned
  • REMEMBERING (0): Connect patterns to other skills
  • WORLDING (+1): Evolve the skill based on use

Add Interaction Exemplars here as the skill is used.

More skills from plurigrid

cargo logo
plurigrid/asi

cargo

Rust package manager (36 subcommands).

67 0
View

Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma...

67 0
View

**Status**: 🌳 Production Ready (upstream in StringZilla v3+) **Type**: High-Performance String Operations / SIMD-Accelerated Text Processing **Principle**: Zero-copy views, SIMD/SWAR acceleration, deterministic hashing **Frame**: Cross-language interoperability (C, C++, Python, Rust, Go, Swift, ...

67 0
View
conformal-ga logo
plurigrid/asi

conformal-ga

Conformal Geometric Algebra (CGA) for circles, spheres, and Möbius transformations

67 0
View

Verifies code implements exactly what documentation specifies for blockchain audits. Use when comparing code against whitepapers, finding gaps between specs and implementation, or performing compliance checks for protocol implementations.

67 0
View
zig-systems logo
plurigrid/asi

zig-systems

Systems programming and performance optimization using Zig. Provides low-level abstractions, memory-safe compiled code, and performance benchmarking. Use for system-level operations, optimization, and interoperability with C/POSIX APIs.

67 0
View
paypal-mcp logo
plurigrid/asi

paypal-mcp

PayPal MCP server integration for invoices, payments, subscriptions, disputes, and transaction reporting via @paypal/mcp.

67 0
View
unison logo
plurigrid/asi

unison

Unison language - content-addressed functional programming with abilities for effects, distributed computing, and structural types. Use for pure functional code, effect management, distributed systems, and refactoring-safe codebases.

67 0
View
tasks-acset logo
plurigrid/asi

tasks-acset

Google Tasks management via TasksACSet. Transforms task operations into GF(3)-typed Interactions, routes to triadic queues, detects saturation for task-zero-as-condensed-state.

67 0
View
c logo
plurigrid/asi

c

World C Skill

67 0
View
syrup logo
plurigrid/asi

syrup

Syrup binary serialization for OCapN/CapTP wire format. Canonical encoding for capability messages.

67 0
View
skill-installer logo
plurigrid/asi

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

67 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View