code wiki / _hdl_build / nx_ecomat_domledger_gate.nx

nx_ecomat_domledger_gate.nx

buildroot/runtime/_hdl_build/nx_ecomat_domledger_gate.nx

2878 B56 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic ecomat
docsdependenciesstructsconstsfunctions

about

nx_ecomat_domledger_gate.nx -- proves the per-domain walk RECONCILES with the aggregate rollup. The per-domain ledger only earns trust if it adds up to the number the rollup already publishes. T3/T4/T5 walk the same store by two separate code paths and demand the domain count, sum_cur and sum_bar agree TO THE LEVEL. This is a reconciliation, not an independent measurement -- both paths share the record codec and em_domain_level -- but it is exactly the drift that would otherwise ship silently, because a per-domain file that quietly disagrees with the headline is worse than no per-domain file at all: it makes every future attribution wrong with a receipt. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 2 imports · 0 importers

nx_ecomat_domledger_lib.nx nx_gate_verdict.nx nx_ecomat_domledger_gate.nx

imports: nx_ecomat_domledger_lib.nxnx_gate_verdict.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 edl_walk ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall sys_munmap ss_cat ↻ ss_loadfile sys_map_file sys_openat_rd sys_lseek sys_close ss_readall ↻ ss_load_aux2 sys_mmap ↻ ss_cat ↻ ss_loadfile ↻ ss_r32 sys_munmap ↻ ssl_total_keys ss_r32 ↻ ssl_pow2 ssl_build ss_r32 ↻ ssl_hash_entry ss_r32 ↻ ssl_key_eq ss_r32 ↻ ss_r32 ↻ ssl_lookup

structs

none

consts

none

functions

13func dg_eq(a: i64, b: i64) -> i64 { if a == b { return 1 } return 0 }
called by 1: main
15func main(argc: i64, argv: *i64) -> i64