code wiki / _hdl_build / nx_neurosym_loop_gate.nx

nx_neurosym_loop_gate.nx

buildroot/runtime/_hdl_build/nx_neurosym_loop_gate.nx

5989 B72 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

dependencies 4 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_cdcl_lib.nx nx_syscalls.nx nx_neurosym_loop_gate.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_cdcl_lib.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write sys_mmap dispatch_sat solve sys_mmap ↻ lit_true var_of lit_false var_of ↻ var_of ↻ lit_true ↻ gn dispatch_arith sys_exit

structs

none

consts

none

functions

19func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
21func dispatch_sat(NV: i64, nc: i64, lits: *i64, cs: *i64, cl: *i64, val: *i64, lc: *i64) -> i64 { return solve(NV, nc, lits, cs, cl, val, lc) }
23func dispatch_arith(op: i64, a: i64, b: i64) -> i64 { if op==1 { return a*b } if op==0 { return a+b } return a-b }
25func main() -> i64