Compiled Rust Capsules (rustc -C opt-level=3): 2059 (204799 B .text / 53967 insns)
Equivalence Classes: 152 (52 head-to-head)
Snap-Circuits: 6 (Compiled Binary: 465720 B)
KOMPRESS-SUPER-ULTRA (22/9 Hz): 250094 B / 6007279 B (ratio 250094/6007279, saved 5757185/6007279, 11750 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36876
Ayes in the Hot Tub: 7 (38C Cedar: 3 | 42C Onsen: 4 | Waves: 64)

Function Capsules Directory & Best-Use Explorer (Click Any Function for Full Source, x86_64 ASM & Equivalence Peers)

Search Functions & Best Use: Reset
Live _rdtsc Benchmark:
Showing 1551..1575 of 2059 matching capsules (Page 63 of 83)
Rank & CrownFunction Name & DomainBest Use & Snap-Circuit RolePin Signature & 64-Vec HashHardware _rdtsc (p/q)Details & Quick Peek
#1551
PEER of 304
steward_prakash_ternary_gate_pack
domain: prakash | id: 2b3010bf6bd4
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 407/65536 (407 B src)
4589581/400000 cyc/op
1483647/400000 ns/op | 400000000/1483647 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (407 B)
#[inline(always)]
pub fn steward_prakash_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1552
SOLE CROWN #1
ternary_dot_packed
domain: ternary | id: ab34bfb18eb3
Aye: aye::Peter+Omni(0+1)::aarch64 @ 432Hz
Balanced Ternary & b158 Quantization
High-speed ternary dot-product accumulation without integer multiplier bottlenecks; ideal for b158 neural weights and low-bit attention inner loops.
2-to-1 Binary Combiner / Join Stage `(i64,i64)->i64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(i64,i64)->i64
64-vec BLAKE3: c26bcea03494
C64 RAM: 1035/65536 (1035 B src)
3475467/200000 cyc/op
2172623/400000 ns/op | 400000000/2172623 ops/us
198 B .text (44 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (1035 B)
/// Dot product of eight ternary lanes packed into one machine word, without
/// multiplying.
///
/// Each byte is a trit: 0x01 (+1), 0x00 (0) or 0xFF (-1). Both the +1 and the
/// -1 lanes have a set low bit, so the negative lanes are cleared out before a
/// lane is read as +1 -- missing that is the classic packed-ternary bug.
///
/// `+1 * +1` and `-1 * -1` are +1, a mismatched sign is -1, a zero lane is 0,
/// so the whole product is two AND masks per outcome and two popcounts. No
/// multiply, no widening, no table, identical on every architecture: the
/// portable twin of a NEON int8 dot.
pub fn ternary_dot_packed(a: i64, b: i64) -> i64 {
    const LANE_ONE: i64 = 0x0101_0101_0101_0101;
    let a_neg = (a >> 7) & LANE_ONE;
    let b_neg = (b >> 7) & LANE_ONE;
    let a_one = a & LANE_ONE & !a_neg;
    let b_one = b & LANE_ONE & !b_neg;
    let positive = (a_one & b_one) | (a_neg & b_neg);
    let negative = (a_one & b_neg) | (a_neg & b_one);
    i64::from(positive.count_ones()) - i64::from(negative.count_ones())
}
#1553
PEER of 304
steward_memnet_ternary_gate_pack
domain: memnet | id: c79c54de9286
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 203/32768 (406 B src)
1172009/100000 cyc/op
378849/100000 ns/op | 100000000/378849 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (406 B)
#[inline(always)]
pub fn steward_memnet_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1554
PEER of 312
steward_libro_kompress_ditto_stride
domain: libro | id: 05fd68209628
Aye: alexiai-tokyo-steward @ 432Hz
Lossless Wire & Structural Compression
Computing vertical column-ditto masks across consecutive tabular rows with 22/9 Hz coherence tags for high-density telemetry framing.
2-to-1 Binary Combiner / Join Stage `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(u64,u64)->u64
64-vec BLAKE3: 012de5dc0aa5
C64 RAM: 123/32768 (246 B src)
4330607/400000 cyc/op
17499/5000 ns/op | 5000000/17499 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (246 B)
#[inline(always)]
pub fn steward_libro_kompress_ditto_stride(prev_cell: u64, curr_cell: u64) -> u64 {
    let delta = prev_cell ^ curr_cell;
    let pop = delta.count_ones() as u64;
    if pop == 0 { 22 } else { (pop.wrapping_mul(22)) / 9 + 1 }
}
#1555
PEER of 304
steward_cc_cron_ternary_gate_pack
domain: cc-cron | id: 8fac74053c2b
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 407/65536 (407 B src)
977647/80000 cyc/op
790089/200000 ns/op | 200000000/790089 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (407 B)
#[inline(always)]
pub fn steward_cc_cron_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1556
PEER of 304
steward_ayanese_ternary_gate_pack
domain: Ayanese | id: 643ec844ccd1
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 407/65536 (407 B src)
1172017/100000 cyc/op
1515537/400000 ns/op | 400000000/1515537 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (407 B)
#[inline(always)]
pub fn steward_ayanese_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1557
CROWN #1 of 2
compute_window_energy_i16
domain: ayecast-x86_64 | id: 47793527a516
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
Specialized Multi-Pin Stage `(&[i16])->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(&[i16])->u64
64-vec BLAKE3: f158fb26515c
C64 RAM: 247/65536 (247 B src)
453173/20000 cyc/op
1229421/200000 ns/op | 200000000/1229421 ops/us
130 B .text (36 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (247 B)
pub fn compute_window_energy_i16(window: &[i16]) -> u64 {
    let mut sum: u64 = 0;
    let mut i = 0;
    while i < window.len() {
        let s = window[i] as i64;
        sum = sum.saturating_add((s * s) as u64);
        i += 1;
    }
    sum
}
#1558
PEER of 304
steward_ayeheadscale_ternary_gate_pack
domain: ayeHeadscale | id: 2ecad04bcc42
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 103/16384 (412 B src)
116219/10000 cyc/op
751381/200000 ns/op | 200000000/751381 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (412 B)
#[inline(always)]
pub fn steward_ayeheadscale_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1559
PEER of 312
steward_gemini_diary_kompress_ditto_stride
domain: gemini-diary | id: 81bdcd31a927
Aye: alexiai-tokyo-steward @ 432Hz
Lossless Wire & Structural Compression
Computing vertical column-ditto masks across consecutive tabular rows with 22/9 Hz coherence tags for high-density telemetry framing.
2-to-1 Binary Combiner / Join Stage `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(u64,u64)->u64
64-vec BLAKE3: 012de5dc0aa5
C64 RAM: 253/65536 (253 B src)
4631431/400000 cyc/op
46801/12500 ns/op | 12500000/46801 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (253 B)
#[inline(always)]
pub fn steward_gemini_diary_kompress_ditto_stride(prev_cell: u64, curr_cell: u64) -> u64 {
    let delta = prev_cell ^ curr_cell;
    let pop = delta.count_ones() as u64;
    if pop == 0 { 22 } else { (pop.wrapping_mul(22)) / 9 + 1 }
}
#1560
PEER of 312
steward_ignite_kompress_ditto_stride
domain: ignite | id: 2ef14b16baeb
Aye: alexiai-tokyo-steward @ 432Hz
Lossless Wire & Structural Compression
Computing vertical column-ditto masks across consecutive tabular rows with 22/9 Hz coherence tags for high-density telemetry framing.
2-to-1 Binary Combiner / Join Stage `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(u64,u64)->u64
64-vec BLAKE3: 012de5dc0aa5
C64 RAM: 247/65536 (247 B src)
4733297/400000 cyc/op
765107/200000 ns/op | 200000000/765107 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (247 B)
#[inline(always)]
pub fn steward_ignite_kompress_ditto_stride(prev_cell: u64, curr_cell: u64) -> u64 {
    let delta = prev_cell ^ curr_cell;
    let pop = delta.count_ones() as u64;
    if pop == 0 { 22 } else { (pop.wrapping_mul(22)) / 9 + 1 }
}
#1561
PEER of 304
steward_tanur_ternary_gate_pack
domain: tanur | id: c86c95a7dfa5
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 405/65536 (405 B src)
36797/3200 cyc/op
371753/100000 ns/op | 100000000/371753 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (405 B)
#[inline(always)]
pub fn steward_tanur_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1562
PEER of 2
compute_window_energy_i16
domain: ayecast-x86_64 | id: b92f040b68b0
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
Specialized Multi-Pin Stage `(&[i16])->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(&[i16])->u64
64-vec BLAKE3: f158fb26515c
C64 RAM: 203/65536 (203 B src)
4546649/200000 cyc/op
616727/100000 ns/op | 100000000/616727 ops/us
130 B .text (36 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (203 B)
pub fn compute_window_energy_i16(window: &[i16]) -> u64 { let mut sum: u64 = 0; let mut i = 0; while i < window.len() { let s = window[i] as i64; sum = sum.saturating_add((s * s) as u64); i += 1; } sum }
#1563
PEER of 304
steward_sphered_ternary_gate_pack
domain: sphered | id: 9bc4f41ac0ad
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 407/65536 (407 B src)
4487869/400000 cyc/op
58023/16000 ns/op | 16000000/58023 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (407 B)
#[inline(always)]
pub fn steward_sphered_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1564
PEER of 304
steward_mem_16_10_ternary_gate_pack
domain: mem-16-10 | id: c8d5ab19ac71
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 409/65536 (409 B src)
4598447/400000 cyc/op
1486371/400000 ns/op | 400000000/1486371 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (409 B)
#[inline(always)]
pub fn steward_mem_16_10_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1565
PEER of 2
voice_ogg_crc32_step
domain: signal | id: b4fbdd0ebac4
Aye: aye-aurora-8b-voice @ 432Hz
Cryptographic Mixing, Checksums & Wire Integrity
Fast wire-speed packet checksum verification, case-folded label hashing, and frame integrity sealing on network ingress paths.
2-to-1 Binary Combiner / Join Stage `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(u64,u64)->u64
64-vec BLAKE3: 7eddb231efdf
C64 RAM: 45/8192 (360 B src)
1213991/100000 cyc/op
156959/40000 ns/op | 40000000/156959 ops/us
160 B .text (43 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (360 B)
pub fn voice_ogg_crc32_step(crc: u64, byte_val: u64) -> u64 {
    let mut c: u64 = (crc ^ ((byte_val & 255) << 24)) & 4294967295;
    let mut bit: u64 = 0;
    while bit < 8 {
        if (c & 2147483648) != 0 {
            c = ((c << 1) ^ 79764919) & 4294967295;
        } else {
            c = (c << 1) & 4294967295;
        }
        bit += 1;
    }
    c
}
#1566
PEER of 312
steward_ghurni_kompress_ditto_stride
domain: ghurni | id: f7b2adaf803e
Aye: alexiai-tokyo-steward @ 432Hz
Lossless Wire & Structural Compression
Computing vertical column-ditto masks across consecutive tabular rows with 22/9 Hz coherence tags for high-density telemetry framing.
2-to-1 Binary Combiner / Join Stage `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(u64,u64)->u64
64-vec BLAKE3: 012de5dc0aa5
C64 RAM: 247/65536 (247 B src)
150163/12500 cyc/op
1553509/400000 ns/op | 400000000/1553509 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (247 B)
#[inline(always)]
pub fn steward_ghurni_kompress_ditto_stride(prev_cell: u64, curr_cell: u64) -> u64 {
    let delta = prev_cell ^ curr_cell;
    let pop = delta.count_ones() as u64;
    if pop == 0 { 22 } else { (pop.wrapping_mul(22)) / 9 + 1 }
}
#1567
PEER of 304
steward_wifakerf_ternary_gate_pack
domain: WiFAKERf | id: cefecbd8c389
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 51/8192 (408 B src)
2404949/200000 cyc/op
1554701/400000 ns/op | 400000000/1554701 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (408 B)
#[inline(always)]
pub fn steward_wifakerf_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1568
PEER of 304
steward_small_things_vaked_dev_ternary_gate_pack
domain: small-things.vaked.dev | id: 4b9f699114d3
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 211/32768 (422 B src)
2609611/200000 cyc/op
1687039/400000 ns/op | 400000000/1687039 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (422 B)
#[inline(always)]
pub fn steward_small_things_vaked_dev_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1569
PEER of 304
steward_edocuweb_ternary_gate_pack
domain: eDocuweb | id: 29e4b36b2ef7
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 51/8192 (408 B src)
4790337/400000 cyc/op
387157/100000 ns/op | 100000000/387157 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (408 B)
#[inline(always)]
pub fn steward_edocuweb_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1570
CROWN #1 of 2
st_golf_qwave_marine_jitter_u64
domain: qwave | id: c5b50a7afeb9
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Marine Salience & Wave Telemetry
Tracking period and amplitude stability across zero-crossing intervals to score signal salience in noisy real-time sensor and audio streams.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: b0335fa708b6
C64 RAM: 995/65536 (995 B src)
4758221/200000 cyc/op
1290863/200000 ns/op | 200000000/1290863 ops/us
372 B .text (112 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (995 B)
pub const fn st_golf_qwave_marine_jitter_u64(packed_peaks: u64) -> u64 {
    let f0 = packed_peaks & 0xFFFF;
    let p0 = (f0 >> 8) & 0xFF;
    let mut ema_p = (if p0 < 25 { 25 } else { p0 } as i64) << 8;
    let a0 = f0 & 0xFF;
    let mut ema_a = (if a0 < 1 { 1 } else { a0 } as i64) << 8;
    let mut total_salience: u64 = 32767;
    let mut shift: u32 = 16;
    while shift < 64 {
        let frame = (packed_peaks >> shift) & 0xFFFF;
        let pt = (frame >> 8) & 0xFF;
        let period_q8 = (if pt < 25 { 25 } else { pt } as i64) << 8;
        let at = frame & 0xFF;
        let amp_q8 = (if at < 1 { 1 } else { at } as i64) << 8;
        ema_p = ((ema_p * 7) + period_q8) >> 3;
        ema_a = ((ema_a * 7) + amp_q8) >> 3;
        let jp = (period_q8 - ema_p).unsigned_abs();
        let ja = (amp_q8 - ema_a).unsigned_abs() >> 2;
        let denom = (256 + jp + ja) as u32;
        total_salience += (8_388_352u32 / denom) as u64;
        shift += 16;
    }
    total_salience >> 2
}
#1571
PEER of 304
steward_bizapedia_ternary_gate_pack
domain: bizapedia | id: 8afba50800ef
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 409/65536 (409 B src)
4545839/400000 cyc/op
1469309/400000 ns/op | 400000000/1469309 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (409 B)
#[inline(always)]
pub fn steward_bizapedia_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
#1572
PEER of 305
steward_demo_repository_pq_harmonic_fold
domain: demo-repository | id: a0aa0054c62a
Aye: alexiai-tokyo-steward @ 432Hz
Marine Salience & Wave Telemetry
Stepping 2D wave-grid Laplacian interference and harmonic phase accumulators for wave-based associative memory state updates.
2-to-1 Binary Combiner / Join Stage `(i64,i64)->i64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(i64,i64)->i64
64-vec BLAKE3: f3c9e53b4ede
C64 RAM: 65/16384 (260 B src)
4525411/400000 cyc/op
365697/100000 ns/op | 100000000/365697 ops/us
63 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (260 B)
#[inline(always)]
pub fn steward_demo_repository_pq_harmonic_fold(p: i64, q: i64) -> i64 {
    let den = if q == 0 { 1 } else { q.abs() };
    let num = p.wrapping_mul(432).wrapping_add(den.wrapping_mul(528));
    (num ^ (num >> 13)).wrapping_rem(den.max(1))
}
#1573
PEER of 305
steward_far_pq_harmonic_fold
domain: far | id: e6eabe729042
Aye: alexiai-tokyo-steward @ 432Hz
Marine Salience & Wave Telemetry
Stepping 2D wave-grid Laplacian interference and harmonic phase accumulators for wave-based associative memory state updates.
2-to-1 Binary Combiner / Join Stage `(i64,i64)->i64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(i64,i64)->i64
64-vec BLAKE3: f3c9e53b4ede
C64 RAM: 31/8192 (248 B src)
4382563/400000 cyc/op
1417111/400000 ns/op | 400000000/1417111 ops/us
63 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (248 B)
#[inline(always)]
pub fn steward_far_pq_harmonic_fold(p: i64, q: i64) -> i64 {
    let den = if q == 0 { 1 } else { q.abs() };
    let num = p.wrapping_mul(432).wrapping_add(den.wrapping_mul(528));
    (num ^ (num >> 13)).wrapping_rem(den.max(1))
}
#1574
PEER of 312
steward_attn11_kompress_ditto_stride
domain: attn11 | id: fcf00dabab18
Aye: alexiai-tokyo-steward @ 432Hz
Lossless Wire & Structural Compression
Computing vertical column-ditto masks across consecutive tabular rows with 22/9 Hz coherence tags for high-density telemetry framing.
2-to-1 Binary Combiner / Join Stage `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(u64,u64)->u64
64-vec BLAKE3: 012de5dc0aa5
C64 RAM: 247/65536 (247 B src)
616931/50000 cyc/op
1595407/400000 ns/op | 400000000/1595407 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (247 B)
#[inline(always)]
pub fn steward_attn11_kompress_ditto_stride(prev_cell: u64, curr_cell: u64) -> u64 {
    let delta = prev_cell ^ curr_cell;
    let pop = delta.count_ones() as u64;
    if pop == 0 { 22 } else { (pop.wrapping_mul(22)) / 9 + 1 }
}
#1575
PEER of 304
steward_polar_densification_ternary_gate_pack
domain: polar-densification | id: 6262273c9dc3
Aye: alexiai-tokyo-steward @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64,i64,i64)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 419/65536 (419 B src)
507501/40000 cyc/op
410151/100000 ns/op | 100000000/410151 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (419 B)
#[inline(always)]
pub fn steward_polar_densification_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
    let th = threshold.abs().max(1);
    let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
    let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
    let diff = a.wrapping_sub(b);
    let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
    t0 * 9 + t1 * 3 + t2
}
Page 63 of 83 (2059 total capsules)