code wiki / _hdl_build / nx_autofix_cascade_gate.nx

nx_autofix_cascade_gate.nx

buildroot/runtime/_hdl_build/nx_autofix_cascade_gate.nx

4011 B70 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic autofix
docsdependenciesstructsconstsfunctions

about

nx_autofix_cascade_gate.nx -- gate for THE NEURO-SYMBOLIC ENSEMBLE (nx_autofix_cascade). On nx_gate_verdict (D001 law). Proves the union is computed correctly + sound: T1 instance green in ledger1 ONLY -> resolved T2 instance green in ledger2 ONLY -> resolved (complementarity = the whole point) T3 instance MISS in both -> unresolved T4 union count exact (3/4 over the synthetic complementary pair) T5 property-verified count = greens with symj=GREEN (soundness signal) T6 single-ledger mode = just ledger1 (2/4) -- degrades to one maker cleanly Requires /tmp/nx_autofix_cascade.sov.elf staged. license_tier: ORIGINAL expect_exit: 0

dependencies 4 imports · 0 importers

nx_seg_store.nx nx_deploy_lib.nx nx_gate_verdict.nx nx_syscalls.nx nx_autofix_cascade_gate.nx

imports: nx_seg_store.nxnx_deploy_lib.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

main gv_ctr sys_mmap gv_head gv_puts sys_write ss_writefile sys_openat_wr sys_write ↻ sys_close sys_fsync acg_slen sys_mmap ↻ dep_run_capture sys_fork sys_openat_wr ↻ sys_dup3 sys_mmap ↻ sys_execve_clean sys_close ↻ sys_execve sys_exit sys_wait4 dp_read sys_openat_rd sys_read sys_close ↻ gv_check gv_puts ↻ acg_has acg_slen ↻ gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻

structs

none

consts

15const ACG_CAP: i64 = 65536

functions

17func acg_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 2: acg_hasmain
18func acg_has(q: *u8, n: i64, s: *u8) -> i64
called by 1: main calls 1: acg_slen
32func main() -> i64