covariant-fibrations
Riehl-Shulman covariant fibrations for dependent types over directed
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Install command
npx @skill-hub/cli install plurigrid-asi-covariant-fibrations
Repository
Skill path: skills/covariant-fibrations
Riehl-Shulman covariant fibrations for dependent types over directed
Open repositoryBest for
Primary workflow: Ship Full Stack.
Technical facets: Full Stack.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: plurigrid.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install covariant-fibrations into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/plurigrid/asi before adding covariant-fibrations to shared team environments
- Use covariant-fibrations for development workflows
Works across
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
---
name: covariant-fibrations
description: Riehl-Shulman covariant fibrations for dependent types over directed
version: 1.0.0
---
# Covariant Fibrations Skill: Directed Transport
**Status**: β
Production Ready
**Trit**: -1 (MINUS - validator/constraint)
**Color**: #2626D8 (Blue)
**Principle**: Type families respect directed morphisms
**Frame**: Covariant transport along 2-arrows
---
## Overview
**Covariant Fibrations** are type families B : A β U where transport goes *with* the direction of morphisms. In directed type theory, this ensures type families correctly propagate along the directed interval π.
1. **Directed interval π**: Type with 0 β 1 (not invertible)
2. **Covariant transport**: f : a β a' induces B(a) β B(a')
3. **Segal condition**: Composition witness for β-categories
4. **Fibration condition**: Lift existence (not uniqueness)
## Core Formula
```
For P : A β U covariant fibration:
transport_P : (f : Hom_A(a, a')) β P(a) β P(a')
Covariance: transport respects composition
transport_{gβf} = transport_g β transport_f
```
```haskell
-- Directed type theory (Narya-style)
covariant_fibration : (A : Type) β (P : A β Type) β Type
covariant_fibration A P =
(a a' : A) β (f : Hom A a a') β P a β P a'
```
## Key Concepts
### 1. Covariant Transport
```agda
-- Transport along directed morphisms
cov-transport : {A : Type} {P : A β Type}
β is-covariant P
β {a a' : A} β Hom A a a' β P a β P a'
cov-transport cov f pa = cov.transport f pa
-- Functoriality
cov-comp : cov-transport (g β f) β‘ cov-transport g β cov-transport f
```
### 2. Cocartesian Lifts
```agda
-- Cocartesian lift characterizes covariant fibrations
is-cocartesian : {E B : Type} (p : E β B)
β {e : E} {b' : B} β Hom B (p e) b' β Type
is-cocartesian p {e} {b'} f =
Ξ£ (e' : E), Ξ£ (fΜ : Hom E e e'), (p fΜ β‘ f) Γ is-initial(fΜ)
```
### 3. Segal Types with Covariance
```agda
-- Covariant families over Segal types
covariant-segal : (A : Segal) β (P : A β Type) β Type
covariant-segal A P =
(x y z : A) β (f : Hom x y) β (g : Hom y z) β
cov-transport (g β f) β‘ cov-transport g β cov-transport f
```
## Commands
```bash
# Validate covariance conditions
just covariant-check fibration.rzk
# Compute cocartesian lifts
just cocartesian-lift base-morphism.rzk
# Generate transport terms
just cov-transport source target
```
## Integration with GF(3) Triads
```
covariant-fibrations (-1) β directed-interval (0) β synthetic-adjunctions (+1) = 0 β [Transport]
covariant-fibrations (-1) β elements-infinity-cats (0) β rezk-types (+1) = 0 β [β-Fibrations]
```
## Related Skills
- **directed-interval** (0): Base directed type π
- **synthetic-adjunctions** (+1): Generate adjunctions from fibrations
- **segal-types** (-1): Validate Segal conditions
---
**Skill Name**: covariant-fibrations
**Type**: Directed Transport Validator
**Trit**: -1 (MINUS)
**Color**: #2626D8 (Blue)
## Scientific Skill Interleaving
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
### Graph Theory
- **networkx** [β] via bicomodule
- Universal graph hub
### Bibliography References
- `homotopy-theory`: 29 citations in bib.duckdb
## Cat# Integration
This skill maps to **Cat# = Comod(P)** as a bicomodule in the equipment structure:
```
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: β
Kan Role: Adj
Color: #26D826
```
### GF(3) Naturality
The skill participates in triads satisfying:
```
(-1) + (0) + (+1) β‘ 0 (mod 3)
```
This ensures compositional coherence in the Cat# equipment structure.