yoneda-directed
Directed Yoneda lemma as directed path induction. Riehl-Shulman's key insight for synthetic ∞-categories.
Best use case
yoneda-directed is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Directed Yoneda lemma as directed path induction. Riehl-Shulman's key insight for synthetic ∞-categories.
Teams using yoneda-directed should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/yoneda-directed/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How yoneda-directed Compares
| Feature / Agent | yoneda-directed | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Directed Yoneda lemma as directed path induction. Riehl-Shulman's key insight for synthetic ∞-categories.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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) ```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 1. Riehl, E. & Shulman, M. (2017). "A type theory for synthetic ∞-categories." §5. 2. [Rzk sHoTT library](https://rzk-lang.github.io/sHoTT/)
Related Skills
ctp-yoneda
CTP-Yoneda Skill
directed-interval
Directed interval type 2 axiomatizing (0 → 1). Time-directed homotopy for reactions.
zx-calculus
Coecke's ZX-calculus for quantum circuit reasoning via string diagrams with Z-spiders (green) and X-spiders (red)
zulip-cogen
Zulip Cogen Skill 🐸⚡
zls-integration
zls-integration skill
zig
zig skill
zig-syrup-bci
Multimodal BCI pipeline in Zig: DSI-24 EEG, fNIRS mBLL, eye tracking IVT, LSL sync, EDF read/write, GF(3) conservation
zig-programming
zig-programming skill
zeroth-bot
Zeroth Bot - 3D-printed open-source humanoid robot platform for sim-to-real and RL research. Affordable entry point for humanoid robotics.
xlsx
Comprehensive spreadsheet creation, editing, and analysis with support
wycheproof
Google's Wycheproof test vectors for cryptographic implementation testing.
Writing Hookify Rules
This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.