Higher category theory via simplicial sets, Kan complexes, (∞,1)-categories, Segal spaces, ∞-cosmos, and straightening-unstraightening
Scanned 9/6/2026
Install to Claude Code
npx -y skills add plurigrid/asi --skill infinity-categories --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Infinity Categories?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/plurigrid-infinity-categories)More formats (shields.io, HTML) on the badges page.
---
name: infinity-categories
description: Higher category theory via simplicial sets, Kan complexes, (∞,1)-categories, Segal spaces, ∞-cosmos, and straightening-unstraightening
version: 1.0.0
---
# Infinity Categories Skill: Higher Category Theory for BCI
**Status**: Production Ready
**Trit**: +1 (PLUS - generator)
**Color**: #D826A0 (Magenta)
**Principle**: ∞-categories are the universal framework in which all homotopy-coherent algebra lives
**Frame**: ∞-cosmos of BCI signal worlds with Kan complexes as mapping spaces
---
## Overview
**Infinity Categories** provide the universal framework for the entire BCI pipeline. All previous layers (1-22) embed naturally into the ∞-categorical setting. Implements:
1. **Simplicial sets**: X_0 (objects), X_1 (morphisms), X_2 (homotopies), ... with face/degeneracy maps
2. **Kan complexes**: All horns fillable (∞-groupoids)
3. **Quasi-categories**: Inner horns fillable ((∞,1)-categories)
4. **Segal spaces**: Segal condition X_n ~ X_1 ×_{X_0} ... ×_{X_0} X_1
5. **Complete Segal spaces**: X_equiv ~ X_0 (equivalences = objects up to homotopy)
6. **∞-Cosmos** (Riehl-Verity): Model-independent framework with mapping Kan complexes
7. **∞-Functors**: Maps of simplicial sets preserving structure
8. **∞-Adjunctions**: L ⊣ R with unit/counit up to coherent homotopy
9. **∞-Limits/colimits**: Homotopy coherent universal constructions
10. **Straightening-unstraightening**: Grothendieck construction (∞-Yoneda)
**Correct by construction**: GF(3) triadic structure maps to (Cof, W, Fib) in the underlying model structure.
## Core Formulae
```
Simplicial set X : Δ^op → Set
Face maps d_i : X_n → X_{n-1} (0 ≤ i ≤ n)
Degeneracy maps s_i : X_n → X_{n+1} (0 ≤ i ≤ n)
Simplicial identities: d_i d_j = d_{j-1} d_i for i < j
Kan complex (∞-groupoid):
Every horn Λ^n_k → X extends to Δ^n → X (all 0 ≤ k ≤ n)
Quasi-category ((∞,1)-category):
Every inner horn Λ^n_k → X extends to Δ^n → X (0 < k < n)
Segal condition:
X_n → X_1 ×_{X_0} X_1 ×_{X_0} ... ×_{X_0} X_1 is a weak equivalence
∞-Cosmos K (Riehl-Verity):
Objects: ∞-categories
Mapping spaces: Map_K(A, B) are Kan complexes
Isofibrations: p : E ↠ B with RLP w.r.t. inner horn inclusions
Comma objects: slice constructions A/f
∞-Adjunction L ⊣ R : A ↔ B:
Unit η : id_A ⇒ RL
Counit ε : LR ⇒ id_B
Triangle identities: (ε∘L)(L∘η) ~ id_L, (R∘ε)(η∘R) ~ id_R
Straightening-Unstraightening:
Left fibrations over B ≃ ∞-functors B → Spaces
(∞-categorical Grothendieck construction / Yoneda lemma)
```
## Gadgets
### 1. SimplicialSet
Build simplicial sets from BCI signal chains:
```clojure
(defn world-to-simplicial [world-tag signals]
(let [n (count signals)
x0 n, x1 (dec n), x2 (max 0 (- n 2)), x3 (max 0 (- n 3))]
{:dims [x0 x1 x2 x3]
:euler (reduce + (map-indexed (fn [i d] (* (if (even? i) 1 -1) d)) [x0 x1 x2 x3]))}))
```
### 2. HornFilling
Check Kan and quasi-category conditions:
```clojure
(defn horn-filling-check [simplicial-set]
;; Inner horn filler ratio based on signal regularity
;; Outer horn filler = 0.7 × inner
{:quasi-category? (every? :inner-fillable? checks)
:kan-complex? (every? #(and (:inner-fillable? %) (:outer-fillable? %)) checks)})
```
### 3. InfinityFunctor
Maps between ∞-categories preserving simplicial structure:
```clojure
(defn infinity-functor [w-source w-target transform-fn]
;; Check functoriality: preserves composition (differences map consistently)
{:functorial? (< variance-of-diff-ratios 0.5)})
```
### 4. StraighteningUnstraightening
Grothendieck construction:
```clojure
(defn straightening [world-base worlds-fiber]
;; Left fibration → functor B → Spaces
;; For each vertex b in B, compute fiber F_b
...)
(defn unstraightening [functor-data]
;; Functor B → Spaces → left fibration over B
;; Total space E = union of fibers
...)
```
## Key Results
```
BCI Simplicial Sets:
world-a: X_0=4, X_1=3, X_2=2, X_3=1 (Euler=2)
world-b: X_0=4, X_1=3, X_2=2, X_3=1 (Euler=2)
world-c: X_0=4, X_1=3, X_2=2, X_3=1 (Euler=2)
Horn Filling:
world-b: quasi-category YES, Kan complex YES (uniform signals)
world-a: quasi-category NO (inner fill=0.500, irregular signals)
world-c: quasi-category NO (inner fill=0.222, high diversity)
Segal Spaces:
All 3 worlds satisfy Segal condition (ratio=1.000)
world-a, world-b: complete Segal spaces
world-c: Segal but not complete (no equivalences)
∞-Cosmos:
Mapping spaces: dim_0=16, dim_1=9 (Kan complexes)
Isofibrations: b→a, b→c, a→c verified
3 ∞-functors constructed, all functorial
∞-Adjunction (compress ⊣ expand):
||unit|| = 0.112, ||counit|| = 0.100
Quality: 0.825, ∞-Adjunction: YES
∞-Limits/Colimits:
lim^∞ = [0.523, 0.223, 0.413, 0.120] (coherent)
colim^∞ = [2.053, 1.213, 1.493, 0.840] (coherent)
```
## BCI Integration (Layer 23)
Extends the **Higher Algebra Chain**: L14 → L19 → L20 → L21 → L22 → L23
- **L22 Model Categories**: Model cats present ∞-cats via N(C^cf)
- **L21 Derived Categories**: D(A) embeds as stable ∞-category
- **L20 Operadic Composition**: ∞-operads via dendroidal/Segal operads
- **L19 Sheaf Cohomology**: ∞-sheaves form ∞-topoi
- **L17 de Rham**: Quillen equivalence lifts to ∞-categorical equivalence
- **L8 Persistent Homology**: Persistence modules = ∞-functors from (R,≤)
**L23 is the UNIVERSAL FRAMEWORK**: all 22 previous layers embed naturally.
---
**Skill Name**: infinity-categories
**Type**: Simplicial Sets / Kan Complexes / ∞-Cosmos / Segal Spaces / Straightening
**Trit**: +1 (PLUS)
**GF(3)**: (+1) ∞-functor gen + (0) ∞-cosmos coord + (-1) Kan validator = 0
## Integration with GF(3) Triads
```
infinity-categories (+1) x model-categories (0) x derived-categories (-1) = 0
infinity-categories (+1) x information-geometry (0) x sheaf-cohomology-bci (-1) = 0
```
## CT lattice atlas
Part of: `para-mensch-commons` (CT lattice family).
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!