Back to skills
SkillHub ClubShip Full StackFull Stack

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.

Stars
10
Hot score
84
Updated
March 20, 2026
Overall rating
C3.6
Composite score
3.6
Best-practice grade
B77.6

Install command

npx @skill-hub/cli install plurigrid-asi-covariant-fibrations

Repository

plurigrid/asi

Skill path: skills/covariant-fibrations

Riehl-Shulman covariant fibrations for dependent types over directed

Open repository

Best 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

Claude CodeCodex CLIGemini CLIOpenCode

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.
covariant-fibrations | SkillHub