Skip to content
hatchery-papers logo

Hatchery & Papers: Research Resources

hatchery-papers

Chicken Scheme Hatchery eggs and academic papers for color logic, 2TDX,

SKILL.md

Full skill instructions

Hatchery & Papers: Research Resources

Chicken Scheme Hatchery Eggs

Relevant eggs from http://wiki.call-cc.org/ and https://eggs.call-cc.org/:

Core SRFIs (Built-in)

SRFINameUse
SRFI-1List libraryList operations
SRFI-4Homogeneous vectorsColor arrays
SRFI-9RecordsStructured data
SRFI-18MultithreadingParallel color streams
SRFI-27Random numbersBase RNG
SRFI-69Hash tablesColor caching

SRFI-194: Random Data Generators (Final 2020)

;; From SRFI-194
(import (srfi 194))

;; Custom generator for SplitMixTernary
(define (make-ternary-generator seed)
  (let ((rng (make-splitmix64 seed)))
    (lambda () (splitmix-ternary rng))))

Math Egg

From https://wiki.call-cc.org/eggref/5/math:

  • Random number generation
  • Flonum operations
  • Log-space arithmetic
(import (math base))
(import (math flonum))

Color/​Graphics Eggs

EggDescription
colorsColor space conversions
cairoVector graphics
opengl3D graphics

Academic Papers

Colored Operads

  1. "Theta Theory: operads and coloring" (Marcolli & Larson, 2025)

    • arXiv:2503.06091
    • Colored operad for theta theory
    • Coloring algorithm for syntactic objects
    • Merge operation with color filtering
  2. "On the homotopy theory of equivariant colored operads" (Bonventre & Pereira, 2021)

    • arXiv:2004.01352
    • Model structures on equivariant operads
    • Weak equivalences by families of subgroups
    • Norm map data
  3. "Combinatorial Homotopy Theory for Operads" (Obradović, 2019)

    • arXiv:1906.06260
    • Minimal model of colored operad O
    • Hypergraph polytopes
    • A∞-operad generalization
  4. "Operads: Hopf algebras and coloured Koszul duality" (van der Laan, 2004)

    • Koszul duality for colored operads
    • Hopf algebra structure

2-Dimensional Type Theory / Higher Observational Type Theory

  1. "Higher Observational Type Theory" (Altenkirch, Kaposi, Shulman)

  2. "Narya: A proof assistant for higher-dimensional type theory" (Shulman et al., 2025)

  3. "2-dimensional TFTs via modular ∞-operads" (Steinebrunner, 2025)

    • arXiv:2506.22104
    • Modular ∞-operads
    • Cobordism categories
    • Spectral sequences for moduli spaces

Spectral Gap & Mixing

  1. Ramanujan Graphs (Lubotzky, Phillips, Sarnak)

    • Spectral gap ≥ 2√q for (q+1)-regular graphs
    • Optimal expanders for 3-coloring
  2. "Mixing Time of Markov Chains"

    • Spectral gap λ determines mixing time O(1/λ)
    • Our system: λ = 1/​4, mixing time = 4

DisCoPy & Categorical Diagrams

  1. "DisCoPy: Monoidal Categories in Python" (de Felice et al.)
    • String diagrams
    • Operad interface
    • Quantum circuit compilation

Integration Guide

Using Narya with gay.el

;; 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))

Using Chicken with colored operads

;;; 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

Using 2TDX shadows with operads

The 3-shadow system maps to colored operad structure:

ShadowPolarityOperad ColorType Role
MINUS (-1)ContravariantInputDomain
ERGODIC (0)NeutralIdentityTransport
PLUS (+1)CovariantOutputCodomain

Research Directions

  1. Color logic soundness: Prove GF(3) conservation implies type safety
  2. Spectral gap optimization: Find optimal gap for faster mixing
  3. Operad composition: Verify colored composition preserves invariants
  4. Narya integration: Bridge observational types with color observations

Commands

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

Scientific Skill Interleaving

This skill connects to the K-Dense-AI/​claude-scientific-skills ecosystem:

Graph Theory

  • networkx [○] via bicomodule
    • Universal graph hub

Bibliography References

  • general: 734 citations in bib.duckdb

SDF Interleaving

This skill connects to Software Design for Flexibility (Hanson & Sussman, 2021):

Primary Chapter: 3. Variations on an Arithmetic Theme

Concepts: generic arithmetic, coercion, symbolic, numeric

GF(3) Balanced Triad

hatchery-papers (○) + SDF.Ch3 (○) + [balancer] (○) = 0

Skill Trit: 0 (ERGODIC - coordination)

Secondary Chapters

  • Ch1: Flexibility through Abstraction
  • Ch6: Layering
  • Ch7: Propagators

Connection Pattern

Generic arithmetic crosses type boundaries. This skill handles heterogeneous data.

Cat# Integration

This 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

GF(3) Naturality

The skill participates in triads satisfying:

(-1) + (0) + (+1) ≡ 0 (mod 3)

This ensures compositional coherence in the Cat# equipment structure.

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View