npx skills add smithery/plurigrid --skill yoneda-directed
plurigrid/asi
yoneda-directed
Directed Yoneda lemma as directed path induction. Riehl-Shulman's key insight for synthetic ∞-categories.
Installation
$
npx skills add plurigrid/asi --skill yoneda-directed
Also in this package
Other skills from plurigrid/asi · top by installs.
npx skills add plurigrid/asi
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude Code
Not declared
Cursor
Not declared
Codex
Not declared
GitHub Copilot
Not declared
Windsurf
Not declared
Gemini CLI
Not declared
Cline
Not declared
OpenCode
Not declared
Also listed on
Alternate registries and mirrors of this skill.
Repository health
Stars
62
License
LICENSE
Default branch
main
Open issues
3
Status
Active
Skill metadata
Parsed from SKILL.md frontmatter.
More metadata
- trit
- -1
- polarity
- MINUS
- source
- Riehl-Shulman 2017: A type theory for synthetic ∞-categories
- technologies
- []
- 0
- Rzk
- 1
- Lean4
- 2
- Agda
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md2,256 B -
docs
SUMMARY.md130 B
History
- First seen on skills.sh
- First recorded snapshot · 6 installs
SKILL.md
Directed Yoneda Skill
"The dependent Yoneda lemma is a directed analogue of path induction."
— Emily Riehl & Michael Shulman
The Key Insight
| Standard HoTT | Directed HoTT |
|---|---|
| Path induction | Directed path induction |
| Yoneda for ∞-groupoids | Dependent Yoneda for ∞-categories |
| Types have identity | Segal types have composition |
Core Definition (Rzk)
#lang rzk-1
-- Dependent Yoneda lemma
-- To prove P(x, f) for all x : A and f : hom A a x,
-- it suffices to prove P(a, id_a)
#define dep-yoneda
(A : Segal-type) (a : A)
(P : (x : A) → hom A a x → U)
(base : P a (id a))
: (x : A) → (f : hom A a x) → P x f
:= λ x f. transport-along-hom P f base
-- This is "directed path induction"
#define directed-path-induction := dep-yoneda
Chemputer Semantics
Chemical Interpretation:
- To prove a property of all reaction products from starting material A,
- It suffices to prove it for A itself (the identity "null reaction")
- Directed induction propagates the property along all reaction pathways
GF(3) Triad
yoneda-directed (-1) ⊗ elements-infinity-cats (0) ⊗ synthetic-adjunctions (+1) = 0 ✓
yoneda-directed (-1) ⊗ cognitive-superposition (0) ⊗ curiosity-driven (+1) = 0 ✓
As Validator (-1), yoneda-directed verifies:
- Properties propagate correctly along morphisms
- Base case at identity suffices
- Induction principle is sound
Theorem
For any Segal type A, element a : A, and type family P,
if we have base : P(a, id_a), then for all x : A and f : hom(a, x),
we get P(x, f).
This is analogous to:
"To prove ∀ paths from a, prove for the reflexivity path"
References
- Riehl, E. & Shulman, M. (2017). "A type theory for synthetic ∞-categories." §5.
- Rzk sHoTT library
CT lattice atlas
Part of: para-mensch-commons (CT lattice family).