code wiki / (root) / nx_stmt_gate.nx

nx_stmt_gate.nx

buildroot/runtime/nx_stmt_gate.nx

8132 B188 linesdepth 10pulls 16 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_stmt_gate.nx -- F985 INDEPENDENT GATE: statements derived from the ledger. Builds a real business on the ledger (owner capital in, cash spent, revenue earned) and proves the accounting equation holds BY DERIVATION at every step -- nobody types a balance-sheet figure -- and that an unresolvable account REFUSES the whole statement rather than quietly dropping it. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 1 imports · 0 importers

nx_stmt_lib.nx nx_stmt_gate.nx

imports: nx_stmt_lib.nx

imported by: nobody (leaf or entry point)

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

main sg_id mt_catcopy mt_catn nxi_buf coa_type_put canon_encode 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 ↻ cc_cmp cc_w32 cc_len sys_munmap reg_put reg_put_x sts_lock sts_mm sys_mmap ↻ sts_werr sys_exit ↻ ss_cat sys_openat_append sts_werr ↻ sys_flock reg_key reg_cat ss_get

structs

none

consts

none

functions

9func sg_puts(s: *u8) -> i64
called by 2: sg_ckmain
15func sg_putn(v: i64) -> i64
called by 2: sg_ckmain
29func sg_ck(cnt: *i64, name: *u8, got: i64, want: i64) -> i64
called by 1: main calls 2: sg_putssg_putn
40func sg_id(tag: *u8, nonce: i64, out: *u8) -> i64
called by 1: main calls 2: mt_catcopymt_catn
47func main(argc: i64, argv: *i64) -> i64