Compiled Rust Capsules (rustc -C opt-level=3): 2060 (204866 B .text / 53984 insns)
Equivalence Classes: 152 (52 head-to-head)
Snap-Circuits: 6 (Compiled Binary: 465720 B)
KOMPRESS-SUPER-ULTRA (22/9 Hz): 250241 B / 6009951 B (ratio 250241/6009951, saved 5759710/6009951, 11760 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36903
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 1501..1525 of 2060 matching capsules (Page 61 of 83)
Rank & CrownFunction Name & DomainBest Use & Snap-Circuit RolePin Signature & 64-Vec HashHardware _rdtsc (p/q)Details & Quick Peek
#1501
PEER of 304
steward_diffmpc_ternary_gate_pack
domain: diffmpc | id: b1533df255a7
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)
1152603/100000 cyc/op
1490289/400000 ns/op | 400000000/1490289 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (407 B)
#[inline(always)]
pub fn steward_diffmpc_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
}
#1502
PEER of 312
steward_esp32_vaked_dev_kompress_ditto_stride
domain: esp32.vaked.dev | id: 37f7838c98b5
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: 1/256 (256 B src)
479663/40000 cyc/op
387643/100000 ns/op | 100000000/387643 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (256 B)
#[inline(always)]
pub fn steward_esp32_vaked_dev_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 }
}
#1503
PEER of 312
steward_base_layer_kompress_ditto_stride
domain: base-layer | id: 9332589cca83
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: 251/65536 (251 B src)
4770497/400000 cyc/op
771209/200000 ns/op | 200000000/771209 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (251 B)
#[inline(always)]
pub fn steward_base_layer_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 }
}
#1504
PEER of 312
steward_shabdakosh_kompress_ditto_stride
domain: shabdakosh | id: 354d27691c89
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: 251/65536 (251 B src)
953033/80000 cyc/op
96279/25000 ns/op | 25000000/96279 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (251 B)
#[inline(always)]
pub fn steward_shabdakosh_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 }
}
#1505
PEER of 307
steward_bluesky_mcp_rs_geodesic_seat_ema
domain: bluesky-mcp-rs | id: b1e9a1032bc7
Aye: alexiai-tokyo-steward @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
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: f79426b0bb51
C64 RAM: 223/65536 (223 B src)
2001577/200000 cyc/op
2022/625 ns/op | 312500/1011 ops/us
67 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (223 B)
#[inline(always)]
pub fn steward_bluesky_mcp_rs_geodesic_seat_ema(prev_cm: i64, obs_cm: i64) -> i64 {
    let ema_cm = (prev_cm.wrapping_mul(3).wrapping_add(obs_cm)) / 4;
    (ema_cm.wrapping_mul(10_000_000)) / 11_113_300
}
#1506
PEER of 304
steward_mandala_studio_ternary_gate_pack
domain: mandala-studio | id: cc1dc460c6c2
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: 207/32768 (414 B src)
4528387/400000 cyc/op
182961/50000 ns/op | 50000000/182961 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (414 B)
#[inline(always)]
pub fn steward_mandala_studio_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
}
#1507
PEER of 312
steward_transformers_ultra_kompress_ditto_stride
domain: transformers-ultra | id: 5cac17de0192
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: 259/65536 (259 B src)
4666647/400000 cyc/op
301791/80000 ns/op | 80000000/301791 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (259 B)
#[inline(always)]
pub fn steward_transformers_ultra_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 }
}
#1508
PEER of 312
steward_homebrew_qwave_kompress_ditto_stride
domain: homebrew-qwave | id: 7ef9bfe2fde8
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: 255/65536 (255 B src)
868527/80000 cyc/op
1403977/400000 ns/op | 400000000/1403977 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (255 B)
#[inline(always)]
pub fn steward_homebrew_qwave_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 }
}
#1509
PEER of 312
steward_oxi_cast_kompress_ditto_stride
domain: oxi-cast | id: 7cf52c6e934d
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: 249/65536 (249 B src)
4768637/400000 cyc/op
308339/80000 ns/op | 80000000/308339 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (249 B)
#[inline(always)]
pub fn steward_oxi_cast_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 }
}
#1510
PEER of 304
steward_eightb_agy_fanout_ternary_gate_pack
domain: eightb-agy-fanout | id: 062766a7bb92
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: 417/65536 (417 B src)
910439/80000 cyc/op
1471423/400000 ns/op | 400000000/1471423 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (417 B)
#[inline(always)]
pub fn steward_eightb_agy_fanout_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
}
#1511
PEER of 312
steward_ifran_kompress_ditto_stride
domain: ifran | id: 387056bfc846
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)
577929/50000 cyc/op
1495039/400000 ns/op | 400000000/1495039 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (246 B)
#[inline(always)]
pub fn steward_ifran_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 }
}
#1512
PEER of 304
steward_agnos_ternary_gate_pack
domain: agnos | id: a7509db9055d
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)
4432721/400000 cyc/op
716461/200000 ns/op | 200000000/716461 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (405 B)
#[inline(always)]
pub fn steward_agnos_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
}
#1513
PEER of 304
steward_sciforge_ternary_gate_pack
domain: Sciforge | id: 6c6a3bc3d4ed
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)
4558767/400000 cyc/op
1473599/400000 ns/op | 400000000/1473599 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (408 B)
#[inline(always)]
pub fn steward_sciforge_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
}
#1514
PEER of 304
steward_cinematic_reconstruction_ternary_gate_pack
domain: cinematic-reconstruction | id: bce407f87c87
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: 53/8192 (424 B src)
4485823/400000 cyc/op
724947/200000 ns/op | 200000000/724947 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (424 B)
#[inline(always)]
pub fn steward_cinematic_reconstruction_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
}
#1515
PEER of 304
steward_wigle_triad_ternary_gate_pack
domain: wigle-triad | id: 202086b9c804
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: 411/65536 (411 B src)
18723/1600 cyc/op
94577/25000 ns/op | 25000000/94577 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (411 B)
#[inline(always)]
pub fn steward_wigle_triad_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
}
#1516
PEER of 305
steward_project_zero_one_omni_chan_pq_harmonic_fold
domain: project-zero-one-omni-chan | id: 60dd7048e833
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: 271/65536 (271 B src)
2127313/200000 cyc/op
687601/200000 ns/op | 200000000/687601 ops/us
63 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (271 B)
#[inline(always)]
pub fn steward_project_zero_one_omni_chan_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))
}
#1517
PEER of 312
steward_m8a_kompress_ditto_stride
domain: m8a | id: 38764d57e73a
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: 61/16384 (244 B src)
4702823/400000 cyc/op
760233/200000 ns/op | 200000000/760233 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (244 B)
#[inline(always)]
pub fn steward_m8a_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 }
}
#1518
PEER of 312
steward_mem8v2_kompress_ditto_stride
domain: mem8v2 | id: 817211e2aa99
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)
4695291/400000 cyc/op
759041/200000 ns/op | 200000000/759041 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (247 B)
#[inline(always)]
pub fn steward_mem8v2_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 }
}
#1519
PEER of 305
steward_randomtreemodel_prl_pq_harmonic_fold
domain: RandomTreeModel_PRL | id: 23129af1e46c
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: 33/8192 (264 B src)
4478849/400000 cyc/op
1447649/400000 ns/op | 400000000/1447649 ops/us
63 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (264 B)
#[inline(always)]
pub fn steward_randomtreemodel_prl_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))
}
#1520
PEER of 312
steward_8xtract_kompress_ditto_stride
domain: 8xtract | id: 7151a500061e
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: 31/8192 (248 B src)
599013/50000 cyc/op
1549209/400000 ns/op | 400000000/1549209 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (248 B)
#[inline(always)]
pub fn steward_8xtract_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 }
}
#1521
PEER of 304
steward_unified_8b_is_ternary_gate_pack
domain: unified-8b-is | id: a38d0d7c2b11
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: 413/65536 (413 B src)
457997/40000 cyc/op
740231/200000 ns/op | 200000000/740231 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (413 B)
#[inline(always)]
pub fn steward_unified_8b_is_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
}
#1522
PEER of 304
steward_qbit_protein_studio_ternary_gate_pack
domain: qbit-protein-studio | id: 76870eea2bb0
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)
4570733/400000 cyc/op
295501/80000 ns/op | 80000000/295501 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (419 B)
#[inline(always)]
pub fn steward_qbit_protein_studio_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
}
#1523
PEER of 304
steward_ayeb_ternary_gate_pack
domain: AyeB | id: ea86c171b41c
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: 101/16384 (404 B src)
4390219/400000 cyc/op
283821/80000 ns/op | 80000000/283821 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (404 B)
#[inline(always)]
pub fn steward_ayeb_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
}
#1524
PEER of 304
steward_marketing_ternary_gate_pack
domain: marketing | id: 87f49f9f0a5d
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)
1122781/100000 cyc/op
725813/200000 ns/op | 200000000/725813 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (409 B)
#[inline(always)]
pub fn steward_marketing_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
}
#1525
PEER of 312
steward_mem_16_10_kompress_ditto_stride
domain: mem-16-10 | id: 483ebe57904d
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: 125/32768 (250 B src)
48577/4000 cyc/op
1570651/400000 ns/op | 400000000/1570651 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (250 B)
#[inline(always)]
pub fn steward_mem_16_10_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 }
}
Page 61 of 83 (2060 total capsules)