rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)22/9 Hz): 248993 B / 5979055 B (ratio 248993/5979055, saved 5730062/5979055, 11681 ″ dittos)| Rank & Crown | Function Name & Domain | Best Use & Snap-Circuit Role | Pin Signature & 64-Vec Hash | Hardware _rdtsc (p/q) | Details & Quick Peek |
|---|---|---|---|---|---|
| #1682 PEER of 300 | steward_8b_mem8_ternary_gate_pack domain: 8b-Mem8 | id: fa3e6dd500d1Aye: 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) | 97743/5000 cyc/op 505487/80000 ns/op | 80000000/505487 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (407 B)#[inline(always)]
pub fn steward_8b_mem8_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
} |
| #1687 PEER of 300 | steward_wifake_rf_sense_ternary_gate_pack domain: wifake-rf-sense | id: f242c6bdc74fAye: 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: 415/65536 (415 B src) | 2855317/200000 cyc/op 1845909/400000 ns/op | 400000000/1845909 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (415 B)#[inline(always)]
pub fn steward_wifake_rf_sense_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
} |
| #1689 PEER of 300 | steward_rap_ternary_gate_pack domain: rap | id: 30fcf0c1d58cAye: 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: 403/65536 (403 B src) | 2995437/200000 cyc/op 193659/40000 ns/op | 40000000/193659 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (403 B)#[inline(always)]
pub fn steward_rap_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
} |
| #1692 SOLE CROWN #1 <10 CYC | zeno_pid_speculative_depth_step domain: smart-tree | id: 6800dd3c3403Aye: aye::Hue+Omni(0+1)::aarch64 @ 432Hz | Lossless Wire & Structural Compression Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols. Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`. | (i64,i64,i64)->i6464-vec BLAKE3: a7336f91b859C64 RAM: 337/65536 (337 B src) | 1/1 cyc/op 5247479/400000 ns/op | 400000000/5247479 ops/us 91 B .text (27 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (337 B)pub fn zeno_pid_speculative_depth_step(ewma_num: i64, ewma_den: i64, current_k: i64) -> i64 { let safe_den = if ewma_den <= 0 { 100 } else { ewma_den }; let err_scaled = ewma_num * 100 - 65 * safe_den; let delta = (err_scaled * 3) / safe_den; let next_k = current_k + delta; if next_k < 1 { 1 } else if next_k > 8 { 8 } else { next_k } } |
| #1713 PEER of 2 | decay_pade domain: decay | id: 8c57c8977eaeAye: aye::Peter+Omni(0+1)::aarch64 @ 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 `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`. | (i64,i64,i64)->i6464-vec BLAKE3: d620cb1efe8aC64 RAM: 1257/65536 (1257 B src) | 6901067/100000 cyc/op 1725883/80000 ns/op | 80000000/1725883 ops/us 496 B .text (141 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (1257 B)/// Q16.16 exponential decay by closed-form [3/3] Padé, integer-only.
///
/// `out = variance * exp(-elapsed / half_life)`, elapsed and half_life in
/// world ticks, amplitude Q16.16. Total for every i64 input.
pub fn decay_pade(variance_q16: i64, elapsed: i64, half_life_ticks: i64) -> i64 {
const RATE_ONE: i128 = 1 << 16;
const INV_LN2_Q16: i128 = 94548;
const LN2_Q16: i128 = 45426;
const PADE_X_MAX: i128 = 40 << 16;
if half_life_ticks <= 0 {
return 0;
}
if elapsed <= 0 {
return variance_q16;
}
let mut x = (elapsed as i128) << 16;
x /= half_life_ticks as i128;
if x > PADE_X_MAX {
return 0;
}
if x <= 0 {
return variance_q16;
}
let k = (x * INV_LN2_Q16) >> 32;
let r = x - k * LN2_Q16;
let r2 = (r * r) >> 16;
let r3 = (r2 * r) >> 16;
let num = 120 * RATE_ONE - 60 * r + 12 * r2 - r3;
let den = 120 * RATE_ONE + 60 * r + 12 * r2 + r3;
if den <= 0 || k >= 64 {
return 0;
}
let amplitude = ((num << 16) / den) >> k;
let out = (variance_q16 as i128 * amplitude) >> 16;
if out > i64::MAX as i128 {
i64::MAX
} else if out < i64::MIN as i128 {
i64::MIN
} else {
out as i64
}
} |