code wiki / (root) / nx_gensota_gate.nx

nx_gensota_gate.nx

buildroot/runtime/nx_gensota_gate.nx

2236 B46 linesdepth 6pulls 7 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_gensota_gate.nx -- executable proof for the per-generation rollup instrument. Imports gs_run DIRECTLY (main stripped by expand_imports) -- no fork, no PATH. Teeth prove the instrument BITES BOTH WAYS on the REAL store: T1 runs GREEN at bar=0 (partition sums, BFS completes, every gen printed) T2 neg-control: bar=1001 permil is unsatisfiable -> MUST return RED(1); a rollup that cannot fail is not an instrument T3 blind is not green: an absent store MUST return INSTRUMENT-BLIND(3), not 0 T4 absent bars conf reads as -1 (the caller REFUSES rather than defaults) T5 the deployed bars conf parses to a sane permil (0..1000) license_tier: ORIGINAL expect_exit:0 No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_gensota.nx nx_gensota_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_gensota.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 gs_run gs_w sys_write ↻ gs_slen gs_wn sys_mmap ↻ sys_write ↻ eg_load sys_mmap ↻ sov_get_ints sys_mmap ↻ ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_scan_seglist sov_get_copy sys_mmap ↻ ss_get ↻ sys_mmap ↻ gs_tab_insert gs_hash_node gs_isval gs_ends gs_nlen gs_slen ↻ gs_sib gs_nlen ↻ gs_tab_has gs_hash_str gs_nameeq gv_check gv_puts ↻

structs

none

consts

15const GG_RC_GREEN: i64 = 0
16const GG_RC_RED: i64 = 1
17const GG_RC_BLIND: i64 = 3

functions

19func main() -> i64