rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)22/9 Hz): 249004 B / 5979082 B (ratio 124502/2989541, saved 2865039/2989541, 11682 ″ dittos)| Rank & Crown | Function Name & Domain | Best Use & Snap-Circuit Role | Pin Signature & 64-Vec Hash | Hardware _rdtsc (p/q) | Details & Quick Peek |
|---|---|---|---|---|---|
| #972 PEER of 302 | steward_shravan_pq_harmonic_fold domain: shravan | id: f9ce34fa660cAye: 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)->i6464-vec BLAKE3: f3c9e53b4edeC64 RAM: 63/16384 (252 B src) | 2153399/200000 cyc/op 278443/80000 ns/op | 80000000/278443 ops/us 63 B .text (17 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (252 B)#[inline(always)]
pub fn steward_shravan_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))
} |
| #1020 PEER of 300 | steward_shravan_ternary_gate_pack domain: shravan | id: acf88a7536f7Aye: 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)->i6464-vec BLAKE3: bc0951af632bC64 RAM: 407/65536 (407 B src) | 4375247/400000 cyc/op 707103/200000 ns/op | 200000000/707103 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (407 B)#[inline(always)]
pub fn steward_shravan_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
} |