code wiki / (root) / nx_paper_forge_gate.nx

nx_paper_forge_gate.nx

buildroot/runtime/nx_paper_forge_gate.nx

6573 B144 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic paper
docsdependenciesstructsconstsfunctions

about

nx_paper_forge_gate.nx -- KAT + neg-controls for the manuscript compiler (AS-1). Proves the two refusals that make a compiled paper trustworthy: REFUSE-UNCITED an unknown {ID} cannot be silently dropped or emitted bare REFUSE-UNSTRUCTURED a manuscript missing a graded section is detected and named plus ledger lookup, expansion shape, determinism, and NON-VACUITY (the expansion really carries the ledger's value, so the gate cannot pass on an empty emitter). DRY nx_gate_verdict lib (D001 migrate-on-touch).

dependencies 2 imports · 0 importers

nx_paper_forge.nx nx_gate_verdict.nx nx_paper_forge_gate.nx

imports: nx_paper_forge.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 pf_app pf_lookup pf_eol gv_check gv_puts ↻ pf_expand sys_mmap ↻ pf_lookup ↻ pf_appn pf_app ↻ pb_find pf_required pb_find ↻ gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻

structs

none

consts

none

functions

11func main() -> i64