Compiled Rust Capsules (rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)
Equivalence Classes: 152 (52 head-to-head)
Snap-Circuits: 6 (Compiled Binary: 465720 B)
KOMPRESS-SUPER-ULTRA (22/9 Hz): 249004 B / 5979082 B (ratio 124502/2989541, saved 2865039/2989541, 11682 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36676
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 1..8 of 8 matching capsules (Page 1 of 1)
Rank & CrownFunction Name & DomainBest Use & Snap-Circuit RolePin Signature & 64-Vec HashHardware _rdtsc (p/q)Details & Quick Peek
#408
PEER of 303 <10 CYC
steward_gemini_diary_geodesic_seat_ema
domain: gemini-diary | id: 608b8a0b6624
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: 221/65536 (221 B src)
309473/50000 cyc/op
25009/12500 ns/op | 12500000/25009 ops/us
67 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (221 B)
#[inline(always)]
pub fn steward_gemini_diary_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
}
#605
PEER of 306 <10 CYC
steward_gemini_diary_wupz_witness_step
domain: gemini-diary | id: 8aabbc6b7364
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 `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(u64,u64)->u64
64-vec BLAKE3: 68d052c83838
C64 RAM: 265/65536 (265 B src)
3083197/400000 cyc/op
997049/400000 ns/op | 400000000/997049 ops/us
45 B .text (10 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (265 B)
#[inline(always)]
pub fn steward_gemini_diary_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)
}
#1218
PEER of 2
gemini_diary_wave_int_hash
domain: gemini-diary | id: f54bcc5d9063
Aye: gemini-diary-chronicler @ 528Hz
Marine Salience & Wave Telemetry
Stepping 2D wave-grid Laplacian interference and harmonic phase accumulators for wave-based associative memory state updates.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: 89fbb00dcd5c
C64 RAM: 465/65536 (465 B src)
2140271/200000 cyc/op
27677/8000 ns/op | 8000000/27677 ops/us
150 B .text (27 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (465 B)
pub fn gemini_diary_wave_int_hash(entry_seed: u64) -> u64 {
    const HARMONICS: [u64; 8] = [432, 528, 639, 741, 852, 864, 963, 1056];
    let mut wave_acc: u64 = entry_seed ^ 0x4D45_4D38_3433_3230;
    let mut idx: usize = 0;
    while idx < 8 {
        let h = HARMONICS[idx];
        let phase = wave_acc.rotate_left(((idx as u32) * 7) + 3);
        wave_acc = phase.wrapping_mul(h | 1).wrapping_add(h ^ (idx as u64 * 64));
        idx += 1;
    }
    wave_acc
}
#1226
PEER of 300
steward_gemini_diary_ternary_gate_pack
domain: gemini-diary | id: 9ab222d929aa
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)
2275927/200000 cyc/op
1471233/400000 ns/op | 400000000/1471233 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (412 B)
#[inline(always)]
pub fn steward_gemini_diary_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
}
#1404
PEER of 302
steward_gemini_diary_pq_harmonic_fold
domain: gemini-diary | id: 88798b424258
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: 257/65536 (257 B src)
4465797/400000 cyc/op
1444013/400000 ns/op | 400000000/1444013 ops/us
63 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (257 B)
#[inline(always)]
pub fn steward_gemini_diary_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))
}
#1552
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 }
}
#1899
PEER of 312
steward_gemini_diary_isqrt_salience_step
domain: gemini-diary | id: 0c87bd8df5bb
Aye: 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)->u64
64-vec BLAKE3: 0aab703b121a
C64 RAM: 41/8192 (328 B src)
64341771/400000 cyc/op
20794779/400000 ns/op | 400000000/20794779 ops/us
126 B .text (34 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (328 B)
#[inline(always)]
pub fn steward_gemini_diary_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
}
#2043
PEER of 2
gcd_i64
domain: gemini-diary-x86_64 | id: db0770ddd3c0
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Exact Integer Number Theory & Transcendentals
Hardware-verified modular arithmetic, integer roots, and combinatorial invariants for exact rational math engines and cryptographic primitives.
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: cdce9b8cd667
C64 RAM: 147/32768 (294 B src)
135541833/200000 cyc/op
4034011/12500 ns/op | 12500000/4034011 ops/us
148 B .text (48 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (294 B)
pub const fn gcd_i64(mut a: i64, mut b: i64) -> i64 {
    if a < 0 {
        a = a.saturating_neg();
    }
    if b < 0 {
        b = b.saturating_neg();
    }
    while b != 0 {
        let r = a % b;
        a = b;
        b = r;
    }
    if a == 0 {
        1
    } else {
        a
    }
}
Page 1 of 1 (8 total capsules)