code wiki / _hdl_build / nx_nofloat_k3stack_gate.nx
nx_nofloat_k3stack_gate.nx
buildroot/runtime/_hdl_build/nx_nofloat_k3stack_gate.nx
about
nx_nofloat_k3stack_gate.nx -- gate: N-layer K3 stack with Attention Residuals, deterministic AT DEPTH.
T1 a 4-layer stack RUNS end-to-end and transforms the input
T2 CROSS-LAYER (AttnRes): perturbing the INPUT (layer 0) changes the deep output -- early layers stay
reachable through the stack (the AttnRes property; a plain-residual stack would too, but here we also
verify the layer-0 contribution is WEIGHTED IN, not washed out, by comparing vs a stack that starts deeper)
T3 DEPTH-STABLE: output bounded through 4 layers (no overflow blowup)
T4 DETERMINISTIC bit-identical at depth (the exceed: float stacks drift per-layer + compound)
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_nofloat_k3stack.nxnx_gate_verdict.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 13 | const SG_T: i64 = 4 |
| 14 | const SG_D: i64 = 4 |
| 15 | const SG_DFF: i64 = 8 |
| 16 | const SG_L: i64 = 4 |
| 17 | const SG_Q: i64 = 65536 |
functions
| 19 | func sg_fill(m: *i64, rows: i64, cols: i64, seed: i64) -> i64 called by 1: main |
| 25 | func main() -> i64 |