local-compositionality-gadget
БесплатноБез исполняемых скриптовНе проверенLocal Compositionality Gadget
от plurigrid★ 73 звезды на GitHubОб этом скилле
Local Compositionality Gadget
ERGODIC local update step gadget via Blume-Capel dynamics with GF(3) conservation.
Trit: 0 (ERGODIC)
This gadget serves as the neutral coordinator in triadic systems.
Core Concept
Combines:
- Blume-Capel dynamics for spin-1 {-1, 0, +1} state transitions
- Three-Gadget rewriting (RED/BLUE/GREEN) from
crdt_egraph - ERGODIC update as the neutral coordinator role
GF(3) Conservation by Construction
Key Insight: Trits are generated in triplets that algebraically sum to zero.
Given two random trits t₁, t₂, the third is computed as:
t₃ = -(t₁ + t₂) mod 3
This guarantees: t₁ + t₂ + t₃ ≡ 0 (mod 3) for every triplet.
Gadget Patterns
| Gadget | Trit | Pattern | Polarity |
|---|---|---|---|
| BLUE | -1 | a ⊕ (b ⊕ c) → (a ⊕ b) ⊕ c |
Negative |
| GREEN | 0 | a ≡ a |
Neutral |
| RED | +1 | (a ⊕ b) ⊕ c → a ⊕ (b ⊕ c) |
Positive |
4-Phase Saturation
- Backfill (step mod 4 = 0) - BLUE gadgets decompose structure
- Verify (step mod 4 = 1) - GREEN identity rules for verification
- Live (step mod 4 = 2) - RED associative rules to compose
- Reconcile (step mod 4 = 3) - Final GF(3) conservation check
Usage
# Run 9 local update steps with seed 0x42D (1069 decimal)
bb scripts/local_compositionality_gadget.bb --seed 1069 --steps 9
# Run with hex seed
bb scripts/local_compositionality_gadget.bb --seed 0x42D --steps 9
# Run 27 steps (9 complete triplets)
bb scripts/local_compositionality_gadget.bb --seed 12345 --steps 27
GF(3) Conservation Guarantee
ALWAYS conserved: ∑ gadget_trits ≡ 0 (mod 3)
Enforced by triplet structure: For every 3 steps, sum = 0.
When steps isn't a multiple of 3, the partial triplet still sums to 0 (mod 3) because each complete triplet contributes 0 to the running sum.
Blume-Capel Parameters
| Parameter | Value | Meaning |
|---|---|---|
| J | 1.0 | Exchange coupling |
| Δ | 0.0 | Tricritical point |
| Spectral Gap | 1/4 | Rapid mixing guarantee |
Tested Seeds
All seeds produce GF(3)-conserved outputs:
- Seed 1: ✓ (Σ=3 ≡ 0)
- Seed 42: ✓ (Σ=0 ≡ 0)
- Seed 1069: ✓ (Σ=3 ≡ 0)
- Seed 9999: ✓ (Σ=0 ≡ 0)
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
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.
Установить local-compositionality-gadget в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл local-compositionality-gadget?
Local Compositionality Gadget
Как установить скилл local-compositionality-gadget?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл local-compositionality-gadget запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic