infinity-operads
БесплатноБез исполняемых скриптовНе проверен∞-Operads for pairwise/tritwise Cat# interactions with lazy ACSet materialization unifying effective, realizability, and Grothendieck topoi via dendroidal…
от plurigrid★ 73 звезды на GitHubОб этом скилле
∞-Operads Skill (ERGODIC 0)
"The dendroidal nerve carries operads to ∞-operads exactly as the simplicial nerve carries categories to ∞-categories." — Cisinski-Moerdijk
Trit: 0 (ERGODIC)
Color: #26D826 (Green)
Role: Coordinator/Transporter
XIP: Dendroidal (Ω-set) → Cat# horizontal morphism
Core Insight: Pairwise = Bicomodule, Tritwise = Equipment Tensor
| Interaction Type | Cat# Structure | Operad View | Lazy ACSet |
|---|---|---|---|
| Pairwise | Bicomodule composition in Prof | Binary operation | JOIN on demand |
| Tritwise | Equipment tensor ⊗ (GF(3) balanced) | Ternary tree grafting | Materialized view |
| N-ary | ∞-operad algebra evaluation | Dendroidal composition | Recursive CTE |
1. Dendroidal Sets and ∞-Operads
Ω-Category (Tree Category)
Objects: Finite rooted trees T with labelled edges Morphisms: Face/degeneracy maps (like Δ for simplicial sets)
r
/|\
e1 e2 e3 ∈ Ω (corolla with 3 inputs)
Dendroidal Set
Functor X: Ω^op → Set
X(T)= set of T-shaped operations- Face maps = composition
- Degeneracy maps = identity insertion
∞-Operad as Dendroidal Segal Space
A dendroidal set satisfying:
- Segal condition: Inner horn fillers (composition exists)
- Completeness: Isomorphisms ≃ homotopies (for Rezk-completion)
Nerve: Operads → dSet
N_dO(T) = Hom_Operad(Ω(T), O)
2. Cat# Equipment ↔ ∞-Operads
Horizontal Morphisms as Pairwise Interactions
In Cat# = Comod(P):
- Objects = polynomial comonads (skills with trit)
- Horizontal morphisms = bicomodules = pra-functors
Pairwise interaction = bicomodule M: C ↛ D:
M: C^op × D → Set
Equipment Tensor as Tritwise Interactions
The equipment structure provides:
⊗: Prof(C, D) × Prof(D, E) → Prof(C, E)
Tritwise interaction = tensor of three bicomodules:
M ⊗ N ⊗ P: C ↛ E where GF(3)(M, N, P) = 0
∞-Operad Algebra = N-ary Interaction
For ∞-operad O and category C:
Alg_O(C) = Fun^⊗(O, C)
N-ary skill interaction = O-algebra evaluation:
eval: O(n) × C^n → C
3. Lazy ACSet Materialization
Schema: Lazy Geometric Morphisms
@present SchLazyTopos(FreeSchema) begin
# Objects
Topos::Ob
Site::Ob
Functor::Ob
# Types of topoi
is_grothendieck::Attr(Topos, Bool)
is_effective::Attr(Topos, Bool)
is_realizability::Attr(Topos, Bool)
# Geometric morphism = adjoint pair (f^*, f_*)
GeomMorph::Ob
source::Hom(GeomMorph, Topos)
target::Hom(GeomMorph, Topos)
# Lazy parts (computed on demand)
inverse_image::Hom(GeomMorph, Functor) # f^* (left adjoint)
direct_image::Hom(GeomMorph, Functor) # f_* (right adjoint)
# Category of elements for on-demand computation
∫::Hom(Functor, Site)
end
Lazy Evaluation via Category of Elements
Instead of materializing all parts:
# Don't compute: X(ob) for all ob ∈ C
# Instead: ∫X = category of elements, evaluate locally
function lazy_parts(X::ACSet, query::Query)
# Only materialize parts matching query
∫X = category_of_elements(X)
return filter(∫X, query)
end
DuckDB Lazy Views
-- Lazy view: pairwise interactions as bicomodules
CREATE OR REPLACE VIEW v_pairwise_bicomodule AS
SELECT
s1.skill_id AS source,
s2.skill_id AS target,
s1.trit + s2.trit AS gf3_partial,
CASE
WHEN s1.trit = -1 THEN 'Ran_K → Adj'
WHEN s1.trit = 0 THEN 'Adj → ?'
WHEN s1.trit = 1 THEN 'Lan_K → ?'
END AS migration_type,
s1.color || ' → ' || s2.color AS color_flow
FROM catsharp_skills s1
CROSS JOIN catsharp_skills s2
WHERE s1.skill_id != s2.skill_id
-- Lazy: only materialize on query with specific source/target
;
-- Lazy view: tritwise GF(3) balanced interactions
CREATE OR REPLACE VIEW v_tritwise_equipment AS
SELECT
s1.skill_id AS minus_skill,
s2.skill_id AS zero_skill,
s3.skill_id AS plus_skill,
(s1.trit + s2.trit + s3.trit) AS gf3_sum,
CASE (s1.trit + s2.trit + s3.trit) % 3
WHEN 0 THEN '✓ BALANCED'
ELSE '✗ VIOLATION'
END AS status,
-- Equipment tensor structure
s1.kan_role || ' ⊗ ' || s2.kan_role || ' ⊗ ' || s3.kan_role AS equipment_tensor,
-- Color flow
s1.color || ' ⊗ ' || s2.color || ' ⊗ ' || s3.color AS color_tensor
FROM catsharp_skills s1
CROSS JOIN catsharp_skills s2
CROSS JOIN catsharp_skills s3
WHERE s1.trit = -1 AND s2.trit = 0 AND s3.trit = 1
-- Lazy: exponentially many rows, query with constraints
;
-- Lazy view: geometric morphisms between skill-topoi
CREATE OR REPLACE VIEW v_geometric_morphism AS
SELECT
source.skill_id AS source_topos,
target.skill_id AS target_topos,
source.home AS source_home,
target.home AS target_home,
-- Adjoint pair: inverse_image ⊣ direct_image
source.kan_role AS inverse_image, -- Left adjoint
target.kan_role AS direct_image, -- Right adjoint
Установить infinity-operads в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл infinity-operads?
∞-Operads for pairwise/tritwise Cat# interactions with lazy ACSet materialization unifying effective, realizability, and Grothendieck topoi via dendroidal Segal spaces.
Как установить скилл infinity-operads?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл infinity-operads запускает скрипты?
Нет, скилл состоит только из инструкций (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