code wiki / _hdl_build / nx_nn_gate.nx

nx_nn_gate.nx

buildroot/runtime/_hdl_build/nx_nn_gate.nx

3125 B50 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic nn
docsdependenciesstructsconstsfunctions

about

nx_nn_gate.nx -- proves the sovereign fixed-point neural inference substrate (nx_nn): a 2-layer MLP forward pass computes a KNOWN function bit-exactly, and the Q-scale descaling is correct. This is the inference machinery the neural PLC / learned RVQ codebook runs on the phone CPU; with trained weights it becomes the net.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_emit_lib.nx nx_nn.nx nx_nn_gate.nx

imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_nn.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main g_puts sys_write sys_mmap nn_linear nn_relu g_pn sys_mmap ↻ sys_write ↻ g_check g_puts ↻ sys_exit

structs

none

consts

none

functions

8func main() -> i64