/asi:directed-intervalfrom asi
Axiomatizes the directed interval type 2 (0→1) for time-directed homotopy, with Rzk definitions and chemputer semantics for modeling reaction pathways.
Ships in asi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
"The directed interval 2 is the walking arrow: a single morphism 0 → 1." — Riehl-Shulman
The directed interval 2 replaces the undirected interval 𝕀 of cubical type theory with a directed version. This axiomatizes the notion of "time flows forward" essential for modeling reactions.
#lang rzk-1
-- CUBES: The category of directed cubes
-- 2 is the basic directed interval [0 → 1]
-- The directed interval (primitive)
#define 2 : CUBE
-- Endpoints
#define 0₂ : 2
#define 1₂ : 2
-- The unique arrow (built-in)
-- There is a morphism 0₂ → 1₂ but NOT 1₂ → 0₂
-- Higher cubes built from 2
#define 2×2 : CUBE := 2 × 2
-- Directed square (all arrows point same way)
#define □ : CUBE := 2 × 2
-- Simplex shapes
#define Δ¹ : CUBE := 2
#define Δ² : CUBE := { (t₁, t₂) : 2 × 2 | t₁ ≤ t₂ }
#define Δ³ : CUBE := { (t₁, t₂, t₃) : 2 × 2 × 2 | t₁ ≤ t₂ ∧ t₂ ≤ t₃ }
-- Hom type as extension type
#define hom (A : U) (x y : A) : U
:= { f : 2 → A | f 0₂ = x ∧ f 1₂ = y }
-- equivalently: (t : 2) → A [t ≡ 0₂ ↦ x, t ≡ 1₂ ↦ y]
| Directed Cube Concept | Chemical Interpretation |
|---|---|
| 2 (interval) | Reaction progress (0% → 100%) |
| 0₂ | Reactants (starting materials) |
| 1₂ | Products |
| hom A x y | Reaction pathway from x to y |
| Δ² | Two-step synthesis (A → B → C) |
| Δ³ | Three-step synthesis with associativity |
| □ (square) | Commuting reaction pathways |
segal-types (-1) ⊗ directed-interval (0) ⊗ rezk-types (+1) = 0 ✓
As a Coordinator (0), directed-interval:
The key innovation is extension types for partial elements:
-- Extension type: functions with prescribed boundary
#define extension-type
(I : CUBE) (ψ : I → TOPE) (A : I → U) (a : (t : ψ) → A t) : U
:= { f : (t : I) → A t | (t : ψ) → f t = a t }
-- This generalizes path types of cubical TT to directed setting
# The directed interval in our system
module DirectedInterval
# Map SplitMix64 index to directed interval position
def self.to_interval(index, max_index)
# 0₂ = index 0, 1₂ = index max_index
index.to_f / max_index.to_f
end
# Check if one interaction is "after" another in directed time
def self.after?(i1, i2)
i1.epoch > i2.epoch # Epoch = position on directed interval
end
# Directed hom: all interactions from x to y
def self.hom(manager, x_epoch, y_epoch)
manager.interactions.select do |i|
i.epoch > x_epoch && i.epoch <= y_epoch
end
end
end
# Directed interval as ACSet
@present SchDirectedInterval(FreeSchema) begin
Point::Ob
Arrow::Ob
src::Hom(Arrow, Point)
tgt::Hom(Arrow, Point)
# The unique arrow 0 → 1
# No arrow 1 → 0 (directedness)
end
@acset_type DirectedIntervalGraph(SchDirectedInterval)
function walking_arrow()
g = DirectedIntervalGraph()
add_parts!(g, :Point, 2) # 0₂ and 1₂
add_part!(g, :Arrow, src=1, tgt=2) # The unique arrow
g
end
No loops: There is no morphism 1₂ → 0₂ (time irreversibility)
Higher simplices: Δⁿ built from directed cubes model n-step processes
Extension types: Generalize path types to directed setting
Cubical structure: Compatible with cubical type theory machinery
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
general: 734 citations in bib.duckdbThis 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
The skill participates in triads satisfying:
(-1) + (0) + (+1) ≡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (plurigrid/asi) — no native marketplace selected
npx claudepluginhub p/plurigrid-asi-plugins-asi1,393 skills in this plugin
/abductive-replHypothesis-Test Loops via REPL for Exploratory Abductive Inference/academic-researchSearch academic papers across arXiv, PubMed, Semantic Scholar, bioRxiv, medRxiv, Google Scholar, and more. Get BibTeX citations, download PDFs, analyze citation networks. Use for literature reviews, finding papers, and academic research./accept-no-substitutesThis skill should be used when agents generate placeholder tokens like "pseudo-", "mock-", "temporary", "TODO", "demo-", or similar incompleteness markers. Detects substitution patterns in agent OUTPUT and triggers mandatory user interview instead of accepting incomplete work. Activates automatically on any output containing forbidden tokens.Other plugins' skills for the same job