Skip to content
zig-syrup-propagator-interleave <<<<<<< HEAD logo

zig-syrup-propagator-interleave <<<<<<< HEAD

> Bridge connecting zig-syrup advanced computational modules (propagator networks, homotopy continuation, AGM belief revision, QRTP air-gapped transport, passport.gay identity, geo.zig spatial, xev_io async) to the ASI skill graph. Use when wiring Radul-Sussman propagators, implementing CellValue...

plurigrid/asi0installs67stars

SKILL.md

Full skill instructions

zig-syrup Advanced Modules x ASI Interleave

<<<<<<< HEAD VALIDATOR bridge (-1) connecting 7 zig-syrup computational modules to the ASI skill graph.

GF(3) Tripartite Tag

zig-syrup-propagator-interleave(-1) (x) propagator-network(0) (x) homotopy-continuation(+1) = 0

Validation (-1) x Bridge (0) x Solution (+1) = balanced constraint propagation.


Module Anatomy (DeepWiki: plurigrid/​zig-syrup)

======= Bridge connecting 7 zig-syrup computational modules to the ASI skill graph.

Module Anatomy

origin/​main

1. propagator.zig -- Radul-Sussman Propagator Networks

// CellValue: partial information lattice
// Ordering: Nothing < Value < Contradiction
pub fn CellValue(comptime T: type) type {
    return union(enum) {
<<<<<<< HEAD
        nothing,                              // unknown
        value: T,                             // concrete
        contradiction: struct { a: T, b: T }, // conflict
=======
        nothing,
        value: T,
        contradiction: struct { a: T, b: T },
>>>>>>> origin/​main
    };
}

// latticeMerge: the join operation
// Nothing -> adopts incoming
// same Value -> idempotent
// different Value -> Contradiction
// Contradiction absorbs all
pub fn latticeMerge(existing: CellValue(T), incoming: CellValue(T)) CellValue(T) { ... }
  • Cell: holds CellValue + list of Propagator neighbors; alerts neighbors on change
  • Propagator: inputs from Cells, applies function, sets output Cells
  • Bidirectional constraint propagation throughout the network <<<<<<< HEAD
  • Special propagator functions: neurofeedback_gate (BCI), adjacency_gate (spatial), focus_brightness
  • Connected to Orion Reed's "scoped propagators" concept =======
  • Special functions: neurofeedback_gate (BCI), adjacency_gate (spatial), focus_brightness

origin/​main

2. homotopy.zig -- Polynomial Homotopy Continuation

H(x, t) = (1 - t) * G(x) + t * F(x)
  • Deformation from start system G (known solutions) to target system F
  • Complex number polynomial root tracking along paths <<<<<<< HEAD
  • GF(3) trit classification per solution path: stable(+1), saddle(0), unstable(-1)
  • Integrates with syrup serialization (paths are Syrup-serializable)
  • Integrates with continuation.zig for resumable pipeline execution

3. continuation.zig -- AGM Belief Revision + GF(3) Trit Arithmetic

=======

  • Integrates with syrup serialization (paths are Syrup-serializable)
  • Integrates with continuation.zig for resumable pipeline execution

3. continuation.zig -- AGM Belief Revision + Trit Arithmetic

origin/​main

const Belief = struct { proposition: []const u8, entrenchment: f64 };
const BeliefSet = struct {
    beliefs: std.ArrayList(Belief),
<<<<<<< HEAD
    fn expand(self, b: Belief) void { ... }                // add without consistency check
    fn contract(self, prop: []const u8) void { ... }       // remove belief + negation
    fn revise(self, b: Belief) void {                      // Levi identity: (K - !p) + p
=======
    fn expand(self, b: Belief) void { ... }     // add without consistency check
    fn contract(self, prop: []const u8) void { ... }  // remove belief + negation
    fn revise(self, b: Belief) void {            // Levi identity: (K - !p) + p
>>>>>>> origin/​main
        self.contract(negate(b.proposition));
        self.expand(b);
    }
};

const Trit = enum { minus, zero, plus };  // -1, 0, +1
<<<<<<< HEAD
// Conserved across: serialization, transport, propagators, identity, BCI
=======
>>>>>>> origin/​main

4. QRTP -- QR Transfer Protocols (Air-Gapped Identity)

  • Fountain-coded QR codes for data transfer across air gaps
  • Each source block = Cell, each encoded block = Propagator
  • Contradiction = transmission error detection <<<<<<< HEAD
  • "Scoped propagators applied to erasure decoding" (Orion Reed connection) =======
  • Scoped propagators applied to erasure decoding

origin/​main

5. passport.gay -- Identity Protocol

  • Homotopy continuity for liveness detection (deformation must be continuous) <<<<<<< HEAD
  • Generates GF(3) trit trajectories as identity fingerprints =======
  • Generates trit trajectories as identity fingerprints

origin/​main

  • Identity proofs fountain-encoded into QR frames via QRTP for air-gapped verification

6. geo.zig -- Geographic Integration

  • OLC (Open Location Code / Plus Codes) encoding/​decoding
  • Syrup serialization for geographic types: CodeArea, Coordinate, PlusCode
  • Zero-copy coordinate handling with CID determinism for coordinates
  • Spatial propagation via adjacency_gate in propagator.zig

7. xev_io -- Completion-Based Async I/​O

  • Async I/​O for Syrup protocol via libxev
  • Completion-based (not readiness-based): aligns with propagator "alert on change" model
  • Drives the wire protocol layer for zig-syrup OCapN transport

<<<<<<< HEAD

ASI Integration Points

propagator.zig <-> propagators skill

Direct match. ASI propagators skill provides the Radul-Sussman theory; propagator.zig is the Zig implementation. CellValue lattice, bidirectional constraints, and scoped propagation patterns shared.

neurofeedback_gate <-> reafference-corollary-discharge

fn neurofeedback_gate(focus: Cell(f32), brightness: Cell(f32)) Propagator {
    // EEG focus level -> display brightness via propagator constraint
}

Reafference = predicted sensory consequence of motor command. The neurofeedback_gate IS a corollary discharge: predicts brightness from focus. Wire to unified-reafference skill.

BCI propagator functions <-> bci-phenomenology

  • 8ch EEG -> focus level -> CellValue(f32) -> neurofeedback_gate -> brightness
  • Fisher-Rao distance on EEG manifold -> trit classification via continuation.zig
  • Phenomenal field as propagator network: each qualia = Cell, attention = Propagator
  • ASI skills: bci-colored-operad, sheaf-cohomology-bci =======

ASI Integration Points

propagator.zig <-> propagators skill

Direct match. ASI propagators skill provides the Radul-Sussman theory; propagator.zig is the Zig implementation.

neurofeedback_gate <-> reafference-corollary-discharge

The neurofeedback_gate IS a corollary discharge: predicts brightness from focus. Wire to unified-reafference skill.

origin/​main

continuation.zig <-> abductive-monte-carlo

AGM belief revision IS abductive reasoning:

  • expand = add hypothesis without consistency check (abduction)
  • contract = remove refuted hypothesis (contraction)
  • revise = Levi identity: contract negation, then expand (belief update) <<<<<<< HEAD
  • Trit tracks hypothesis status: minus=refuted, zero=suspended, plus=accepted

homotopy.zig <-> homotopy continuation skills, polynomial-dynamics

  • Polynomial system solving for CRN equilibria (crn-topology)
  • Solution path tracking with GF(3) classification
  • Liveness detection for passport.gay (continuous deformation = alive)
  • ASI skills: crn-topology, turing-chemputer, chemical-organization-theory

QRTP <-> proof-of-frog, merkle-proof-validation

  • Fountain coding = erasure-resilient data transport (cf. Proof-of-Frog offline validation)
  • QR air-gap verification = merkle proof without network connectivity
  • Propagator-based decoder: each frame incrementally resolves Cells toward proof completion
  • ASI skills: proof-of-frog, spi-parallel-verify, bisimulation-game

passport.gay <-> gay-integration, gay-monte-carlo

  • GF(3) trit trajectories from homotopy paths = Gay.jl color fingerprints
  • SplitMix64 seed from MAC -> color -> trit trajectory -> passport identity
  • Conservation: sum of trit trajectory = 0 mod 3 (identity invariant)
  • ASI skills: gay-mcp, gay-monte-carlo, splitmix-ternary, gf3-pr-verify

geo.zig <-> osm-topology, geohash-coloring, duckdb-spatial

  • OLC Plus Codes = spatial addressing for propagator networks
  • Syrup-serialized coordinates feed adjacency_gate (spatial propagation)
  • CID-deterministic coordinates enable content-addressed spatial data
  • DuckDB spatial queries over Syrup-encoded geographic types
  • ASI skills: osm-topology, geohash-coloring, duckdb-quadruple-interleave =======

homotopy.zig <-> crn-topology, polynomial-dynamics

  • Polynomial system solving for CRN equilibria
  • Solution path tracking with classification
  • Liveness detection for passport.gay (continuous deformation = alive)

QRTP <-> proof-of-frog, merkle-proof-validation

  • Fountain coding = erasure-resilient data transport
  • QR air-gap verification = merkle proof without network connectivity
  • Propagator-based decoder: each frame incrementally resolves Cells toward proof completion

geo.zig <-> osm-topology, geohash-coloring, duckdb-spatial

  • OLC Plus Codes = spatial addressing for propagator networks
  • Syrup-serialized coordinates feed adjacency_gate
  • CID-deterministic coordinates enable content-addressed spatial data

origin/​main

xev_io <-> nashator, zig-syrup wire protocol

  • libxev completion-based I/​O drives zig-syrup OCapN transport layer
  • Nashator (:9999) uses same wire format: 4-byte BE + JSON-RPC 2.0 <<<<<<< HEAD
  • xev_io async patterns align with nashator's event loop
  • ASI skills: nashator (/​i/​nashator/), zig-syrup (/​i/​zig-syrup/)

Gap Registry

Gap IDModuleMissing CapabilityCandidate ASI Skills
G1propagator.zigNo dependent type checking on CellValue latticetype-checker, narya-proofs
G2homotopy.zigNo GPU-accelerated path trackingvibe-gpu, basin-gpu-game
G3continuation.zigNo persistent belief revision log (only in-memory)duckdb-timetravel, time-travel-crdt
G4QRTPNo forward error correction beyond fountain codingreed-solomon (not yet exists)
G5passport.gayNo revocation mechanism for compromised identitiesanoma-intents, aptos-gf3-society
G6geo.zigNo H3 hexagonal indexing (only OLC)geohash-coloring, low-discrepancy-sequences
G7xev_ioNo TLS layer on async transportkeychain-secure, constant-time-analysis
G8cross-moduleNo unified test harness across all 7 modulesharness-writing, property-based-testing
G9propagator.zigScoped propagator formalization (Orion Reed) not provenproofgeneral-narya, formal-verification

=======

Gap Registry

GapModuleMissing Capability
G1propagator.zigNo dependent type checking on CellValue lattice
G2homotopy.zigNo GPU-accelerated path tracking
G3continuation.zigNo persistent belief revision log (only in-memory)
G4QRTPNo forward error correction beyond fountain coding
G5passport.gayNo revocation mechanism for compromised identities
G6geo.zigNo H3 hexagonal indexing (only OLC)
G7xev_ioNo TLS layer on async transport
G8cross-moduleNo unified test harness across all 7 modules

origin/​main

Cross-Connection Map

propagator.zig
  +-- neurofeedback_gate -> bci-phenomenology, reafference-corollary-discharge
  +-- adjacency_gate     -> osm-topology, geohash-coloring (via geo.zig)
  +-- QRTP fountain      -> air-gapped identity (passport.gay)
  +-- scoped propagators -> abductive-monte-carlo constraint networks

homotopy.zig
  +-- polynomial solving  -> crn-topology, chemical-organization-theory
<<<<<<< HEAD
  +-- GF(3) path trits    -> continuation.zig trit classification
=======
>>>>>>> origin/​main
  +-- liveness detection  -> passport.gay identity proof

continuation.zig
  +-- AGM belief revision -> abductive-monte-carlo, dynamic-sufficiency
<<<<<<< HEAD
  +-- GF(3) trit S=0      -> all layers (serialization -> transport -> BCI -> identity)
=======
>>>>>>> origin/​main
  +-- resumable pipelines -> duckdb-timetravel, time-travel-crdt

geo.zig
  +-- OLC encoding        -> osm-topology, duckdb-spatial
  +-- Syrup coordinates   -> adjacency_gate spatial propagation
  +-- CID determinism     -> merkle-proof-validation

xev_io
  +-- libxev async        -> nashator event loop, zig-syrup wire protocol
  +-- completion model    -> propagator "alert on change" alignment

<<<<<<< HEAD

Related Skills

  • propagators -- Radul-Sussman theory; CellValue lattice patterns
  • bci-colored-operad / sheaf-cohomology-bci -- BCI <-> neurofeedback_gate
  • reafference-corollary-discharge -- corollary discharge <-> neurofeedback prediction
  • abductive-monte-carlo / abductive-repl -- AGM belief revision integration
  • dynamic-sufficiency -- belief revision drives the 145-ref universal hub
  • crn-topology / turing-chemputer -- homotopy.zig for CRN equilibrium solving
  • proof-of-frog / merkle-proof-validation -- QRTP air-gapped verification
  • gay-integration / gay-monte-carlo -- GF(3) trit trajectories, SplitMix64 identity
  • osm-topology / geohash-coloring / duckdb-spatial -- geo.zig spatial integration
  • nashator -- xev_io async patterns, wire protocol alignment
  • zig-syrup / zig-programming -- parent skill; core OCapN serialization
  • splitmix-ternary -- trit stream generation for passport.gay
  • polynomial-dynamics -- homotopy continuation theory =======

origin/​main

ACP atlas

Part of: acp-commons.

More skills from plurigrid

cargo logo
plurigrid/asi

cargo

Rust package manager (36 subcommands).

67 0
View

Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma...

67 0
View

**Status**: 🌳 Production Ready (upstream in StringZilla v3+) **Type**: High-Performance String Operations / SIMD-Accelerated Text Processing **Principle**: Zero-copy views, SIMD/SWAR acceleration, deterministic hashing **Frame**: Cross-language interoperability (C, C++, Python, Rust, Go, Swift, ...

67 0
View
conformal-ga logo
plurigrid/asi

conformal-ga

Conformal Geometric Algebra (CGA) for circles, spheres, and Möbius transformations

67 0
View

Verifies code implements exactly what documentation specifies for blockchain audits. Use when comparing code against whitepapers, finding gaps between specs and implementation, or performing compliance checks for protocol implementations.

67 0
View
zig-systems logo
plurigrid/asi

zig-systems

Systems programming and performance optimization using Zig. Provides low-level abstractions, memory-safe compiled code, and performance benchmarking. Use for system-level operations, optimization, and interoperability with C/POSIX APIs.

67 0
View
paypal-mcp logo
plurigrid/asi

paypal-mcp

PayPal MCP server integration for invoices, payments, subscriptions, disputes, and transaction reporting via @paypal/mcp.

67 0
View
unison logo
plurigrid/asi

unison

Unison language - content-addressed functional programming with abilities for effects, distributed computing, and structural types. Use for pure functional code, effect management, distributed systems, and refactoring-safe codebases.

67 0
View
tasks-acset logo
plurigrid/asi

tasks-acset

Google Tasks management via TasksACSet. Transforms task operations into GF(3)-typed Interactions, routes to triadic queues, detects saturation for task-zero-as-condensed-state.

67 0
View
c logo
plurigrid/asi

c

World C Skill

67 0
View
syrup logo
plurigrid/asi

syrup

Syrup binary serialization for OCapN/CapTP wire format. Canonical encoding for capability messages.

67 0
View
skill-installer logo
plurigrid/asi

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

67 0
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