Chicken Scheme Hatchery eggs and academic papers for color logic, 2TDX, colored operads, and higher observational type theory.
/plugin marketplace add plurigrid/asi/plugin install plurigrid-asi-skills@plurigrid/asiThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Relevant eggs from http://wiki.call-cc.org/ and https://eggs.call-cc.org/:
| SRFI | Name | Use |
|---|---|---|
| SRFI-1 | List library | List operations |
| SRFI-4 | Homogeneous vectors | Color arrays |
| SRFI-9 | Records | Structured data |
| SRFI-18 | Multithreading | Parallel color streams |
| SRFI-27 | Random numbers | Base RNG |
| SRFI-69 | Hash tables | Color caching |
;; From SRFI-194
(import (srfi 194))
;; Custom generator for SplitMixTernary
(define (make-ternary-generator seed)
(let ((rng (make-splitmix64 seed)))
(lambda () (splitmix-ternary rng))))
From https://wiki.call-cc.org/eggref/5/math:
(import (math base))
(import (math flonum))
| Egg | Description |
|---|---|
colors | Color space conversions |
cairo | Vector graphics |
opengl | 3D graphics |
"Theta Theory: operads and coloring" (Marcolli & Larson, 2025)
"On the homotopy theory of equivariant colored operads" (Bonventre & Pereira, 2021)
"Combinatorial Homotopy Theory for Operads" (Obradović, 2019)
"Operads: Hopf algebras and coloured Koszul duality" (van der Laan, 2004)
"Higher Observational Type Theory" (Altenkirch, Kaposi, Shulman)
"Narya: A proof assistant for higher-dimensional type theory" (Shulman et al., 2025)
"2-dimensional TFTs via modular ∞-operads" (Steinebrunner, 2025)
Ramanujan Graphs (Lubotzky, Phillips, Sarnak)
"Mixing Time of Markov Chains"
;; gay.el can interface with Narya for type checking
;; Narya provides observational bridge types
(require 'gay)
;; Create bridge type with color observation
(defun gay-narya-bridge (source target)
"Create Narya-style observational bridge."
(gay-bridge-create
:source source
:target target
:transport 'narya-transport
:color nil
:version 0))
;;; Colored operad implementation
(define-record-type colored-operad
(make-colored-operad colors operations composition)
colored-operad?
(colors colored-operad-colors)
(operations colored-operad-operations)
(composition colored-operad-composition))
;; GF(3) conservation as coloring constraint
(define (gf3-colored-merge op1 op2)
(let ((c1 (operation-color op1))
(c2 (operation-color op2)))
(make-operation
(merge-trees (operation-tree op1) (operation-tree op2))
(modulo (- (+ c1 c2)) 3)))) ; Balance to 0
The 3-shadow system maps to colored operad structure:
| Shadow | Polarity | Operad Color | Type Role |
|---|---|---|---|
| MINUS (-1) | Contravariant | Input | Domain |
| ERGODIC (0) | Neutral | Identity | Transport |
| PLUS (+1) | Covariant | Output | Codomain |
just chicken-eggs # List installed eggs
just install-math-egg # Install math egg
just narya-check # Type check with Narya
just operad-color # Demonstrate colored operad