code wiki / (root) / nx_climbout_docs_gate.nx

nx_climbout_docs_gate.nx

buildroot/runtime/nx_climbout_docs_gate.nx

2864 B50 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic climbout
docsdependenciesstructsconstsfunctions

about

nx_climbout_docs_gate.nx -- R5c GATE: proves a real bill DOCUMENT flows into the climb-out plan. A bill's TEXT (what the scanner/browser produces) -> nx_doc_extract -> 5 structured line-items -> nx_fin_audit -> the recover figure ($2,650), matching the pre-structured path. Exits 0 iff ALL pass. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_money.nx nx_climbout_docs.nx nx_climbout_docs_gate.nx

imports: nx_syscalls.nxnx_money.nxnx_climbout_docs.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap cor_recover_from_bill sys_mmap ↻ dx_extract_bill sys_mmap ↻ dx_tokenize dx_tok_date dx_dig dx_is5 dx_dig ↻ dx_tok_int dx_dig ↻ dx_tok_money dx_dig ↻ aud_duplicates mny_add aud_unbundle mny_add ↻ aud_mue aud_lookup mny_div_round mny_div_floor mny_add ↻ mny_add ↻ g_puts sys_write g_putn sys_write ↻ sys_mmap ↻ chk g_puts ↻ g_putn ↻

structs

none

consts

none

functions

8func g_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: chkmain calls 1: sys_write
9func g_putn(v: i64) -> i64
called by 2: chkmain calls 2: sys_writesys_mmap
18func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64
called by 1: main calls 2: g_putsg_putn
24func main() -> i64