ies/music-topos/.codex/skills/yoneda-directed/SKILL.md
Directed Yoneda lemma as directed path induction. Riehl-Shulman's key insight for synthetic ∞-categories.
npx skillsauth add plurigrid/asi yoneda-directedInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
"The dependent Yoneda lemma is a directed analogue of path induction." — Emily Riehl & Michael Shulman
| Standard HoTT | Directed HoTT | |---------------|---------------| | Path induction | Directed path induction | | Yoneda for ∞-groupoids | Dependent Yoneda for ∞-categories | | Types have identity | Segal types have composition |
#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
Chemical Interpretation:
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:
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"
development
BDD-Driven Mathematical Content Verification Skill Combines Behavior-Driven Development with mathematical formula extraction, verification, and transformation using: - Cucumber/Gherkin for specification - RSpec for implementation verification - mathpix-gem for LaTeX/mathematical content extraction - Pattern matching on syntax trees for formula validation Enables iterative discovery and verification of mathematical properties through executable specifications.
tools
Meta-skill that generates domain-specific AI skills from tool documentation
development
Code Query with AI-enhanced deterministic analysis via SplitMix ternary classification
development
# Tree-Sitter Analyzer Skill **Version**: 1.0.0 **Status**: Production Ready **Date**: December 22, 2025 **Phase**: 2 Stage 3 Foundation --- ## Overview Automated code structure analysis for module verification and cross-prover theorem mapping using tree-sitter incremental parsing. Enables 100x+ speedup on integration verification tasks compared to manual analysis. **Quick Stats**: - 550+ lines of code (2 modules) - 350+ lines of tests (10 test cases, 10/10 PASS) - <1ms per operation (well