code wiki / _hdl_build / nx_provstmt_gate.nx

nx_provstmt_gate.nx

buildroot/runtime/_hdl_build/nx_provstmt_gate.nx

6709 B138 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_provstmt_gate.nx -- teeth over nx_provstmt_lib. IN-PROCESS, fixtures IN MEMORY, no filesystem. THE TOOTH THAT MATTERS IS T13: three DISTINCT digests must land in ORDER (subject, then srcSha256, then closureSha256). A contains-only suite passes with the fields cross-wired -- artifact sha in the predicate and source sha in the subject would satisfy every membership test while attesting the wrong object, which is this rung's entire failure mode. Order plus distinctness is what makes the wiring falsifiable.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_provstmt_lib.nx nx_provstmt_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_provstmt_lib.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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gv_head gv_puts sys_write ↻ sys_mmap ↻ pg_mkhex gv_check gv_puts ↻ pv_hex_ok pv_hex_of pv_hex_eq pv_build pv_hex_ok ↻ pv_cat pv_cq pv_q pv_cat ↻ pg_find

structs

none

consts

none

functions

12func pg_find(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: main
30func pg_mkhex(out: *u8, seedc: i64) -> i64
called by 1: main
37func main() -> i64