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 |
|---|---|---|---|---|---|
| #325 PEER of 306 <10 CYC | steward_alexiai_wupz_witness_step domain: alexiai | id: a0689fb69c56Aye: alexiai-tokyo-steward @ 432Hz | Hybrid Retrieval, Ranking & Entropy Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines. 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)->u6464-vec BLAKE3: 68d052c83838C64 RAM: 65/16384 (260 B src) | 2340407/400000 cyc/op 30263/16000 ns/op | 16000000/30263 ops/us 45 B .text (10 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (260 B)#[inline(always)]
pub fn steward_alexiai_wupz_witness_step(acc: u64, word: u64) -> u64 {
let mixed = acc ^ word.wrapping_mul(0x9E37_79B9_7F4A_7C15);
let rot = mixed.rotate_left(17) ^ mixed.rotate_right(11);
rot.wrapping_add(0x5755_505A_0432_0528)
} |
| #881 PEER of 303 <10 CYC | steward_alexiai_geodesic_seat_ema domain: alexiai | id: dafc5d759befAye: alexiai-tokyo-steward @ 432Hz | Hybrid Retrieval, Ranking & Entropy Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines. 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: f79426b0bb51C64 RAM: 27/8192 (216 B src) | 865737/100000 cyc/op 22391/8000 ns/op | 8000000/22391 ops/us 67 B .text (17 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (216 B)#[inline(always)]
pub fn steward_alexiai_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
} |
| #1132 PEER of 302 | steward_alexiai_pq_harmonic_fold domain: alexiai | id: 21a93463f943Aye: 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) | 2236929/200000 cyc/op 361529/100000 ns/op | 100000000/361529 ops/us 63 B .text (17 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (252 B)#[inline(always)]
pub fn steward_alexiai_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))
} |
| #1388 PEER of 300 | steward_alexiai_ternary_gate_pack domain: alexiai | id: 57f0411455f5Aye: 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) | 4478197/400000 cyc/op 1447479/400000 ns/op | 400000000/1447479 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (407 B)#[inline(always)]
pub fn steward_alexiai_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
} |
| #1454 PEER of 312 | steward_alexiai_kompress_ditto_stride domain: alexiai | id: 48389a930227Aye: 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)->u6464-vec BLAKE3: 012de5dc0aa5C64 RAM: 31/8192 (248 B src) | 918313/80000 cyc/op 1484269/400000 ns/op | 400000000/1484269 ops/us 122 B .text (30 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (248 B)#[inline(always)]
pub fn steward_alexiai_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 CROWN #1 of 2 | st_golf_shannon_entropy_q8_u64 domain: alexiai | id: 535e4a97639dAye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz | Hybrid Retrieval, Ranking & Entropy Evaluating Q8 fixed-point Shannon information density over byte or token histograms to detect anomalies, compressed payloads, or high-salience bursts. 1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches. | (u64)->u6464-vec BLAKE3: 08a765461a61C64 RAM: 191/16384 (764 B src) | 2485301/100000 cyc/op 21071/3125 ns/op | 3125000/21071 ops/us 581 B .text (163 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (764 B)pub const fn st_golf_shannon_entropy_q8_u64(packed_hist: u64) -> u64 {
let pairs = (packed_hist & 0x00FF_00FF_00FF_00FF) + ((packed_hist >> 8) & 0x00FF_00FF_00FF_00FF);
let total = ((pairs.wrapping_mul(0x0001_0001_0001_0001)) >> 48) + 8;
let total_log2_q8 = (63 - total.leading_zeros() as u64) << 8;
let inv = ((1u64 << 32) + total - 1) / total;
let mut entropy_q8: u64 = 0;
let mut j: u32 = 0;
while j < 64 {
let c = ((packed_hist >> j) & 0xFF) + 1;
let msb = (63 - c.leading_zeros()) as u64;
let c_log2_q8 = (msb << 8) + (((c ^ (1u64 << msb)) << 8) >> msb);
let info_q8 = total_log2_q8.saturating_sub(c_log2_q8);
entropy_q8 += ((c * info_q8) * inv) >> 32;
j += 8;
}
entropy_q8
} |
| #1720 PEER of 2 | alexiai_shannon_entropy_q8 domain: alexiai | id: a03b238593acAye: aye-gemini @ 432Hz | Hybrid Retrieval, Ranking & Entropy Evaluating Q8 fixed-point Shannon information density over byte or token histograms to detect anomalies, compressed payloads, or high-salience bursts. 1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches. | (u64)->u6464-vec BLAKE3: 08a765461a61C64 RAM: 379/32768 (758 B src) | 43166073/400000 cyc/op 13953463/400000 ns/op | 400000000/13953463 ops/us 586 B .text (187 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (758 B)pub fn alexiai_shannon_entropy_q8(packed_hist: u64) -> u64 {
let mut counts: [u64; 8] = [0; 8];
let mut total: u64 = 0;
let mut i: usize = 0;
while i < 8 {
let c = ((packed_hist >> (i * 8)) & 0xFF) + 1;
counts[i] = c;
total += c;
i += 1;
}
let total_log2_q8 = ((63 - total.leading_zeros()) as u64) << 8;
let mut entropy_q8: u64 = 0;
let mut j: usize = 0;
while j < 8 {
let c = counts[j];
let msb = (63 - c.leading_zeros()) as u64;
let frac = ((c ^ (1u64 << msb)) << 8) >> msb;
let c_log2_q8 = (msb << 8) + frac;
let info_q8 = total_log2_q8.saturating_sub(c_log2_q8);
entropy_q8 += (c * info_q8) / total;
j += 1;
}
entropy_q8
} |
| #1952 PEER of 312 | steward_alexiai_isqrt_salience_step domain: alexiai | id: 5057fa21e2e0Aye: alexiai-tokyo-steward @ 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)->u6464-vec BLAKE3: 0aab703b121aC64 RAM: 323/65536 (323 B src) | 6476551/40000 cyc/op 20939061/400000 ns/op | 400000000/20939061 ops/us 126 B .text (34 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (323 B)#[inline(always)]
pub fn steward_alexiai_isqrt_salience_step(energy_q15: u64) -> u64 {
let mut x = energy_q15 | 1;
let mut y = (x + 1) >> 1;
let mut iter = 0u32;
while y < x && iter < 12 {
x = y;
y = (x + energy_q15 / x.max(1)) >> 1;
iter += 1;
}
(x.wrapping_mul(432)) >> 4
} |