nx_propose_verify_lib.nx
buildroot/runtime/nx_propose_verify_lib.nx
about
nx_propose_verify_lib.nx -- the PROPOSE->VERIFY primitive as a reusable LIBRARY (2026-07-15): few-shot
templating + greedy no-float generation (through the PRODUCTION serve core) + first-integer proposal
parse + concrete-claim building for kernel certification. Composes nx_nofloat_serve_core (the PROPOSER)
and nx_autoformalize_lib (the DISPOSER: af_decide -- a wrong proposal cannot certify, soundness by
construction). This is the autonomous-building safety primitive: generator proposes, sound checker
disposes, nothing unverified is trusted. Consumers: nx_propose_verify (organ/CLI) + the probe gates
nx_nofloat_propose_verify_gate / nx_nofloat_propose_solve_gate (single source of truth for the templates:
the gates measure EXACTLY the code path the organ serves).
Caller must nsv_init(<gguf path>) ONCE before pvl_generate (and RETURN from main -- pool-worker reap).
license_tier: ORIGINAL (lib: no main -- build standalone gives rc=102 by design)
dependencies 2 imports · 8 importers
imports: nx_nofloat_serve_core.nxnx_autoformalize_lib.nx
imported by: nx_autofix_auto.nxnx_autofix_localfix.nxnx_hybrid_moe_cascade_gate.nxnx_nofloat_propose_chat_gate.nxnx_nofloat_propose_solve_gate.nxnx_nofloat_propose_verify_gate.nxnx_propose_verify.nxnx_zero_claude_ledger_gate.nx
structs
| none |
consts
| none |
functions
| 15 | func pvl_first_uint(s: *u8, n: i64, res: *i64) -> i64 |
| 38 | func pvl_prompt_complete(dst: *u8, a: i64, b: i64, op: i64) -> i64 |
| 51 | func pvl_prompt_solve(dst: *u8, k: i64, c: i64, op: i64, slot: i64) -> i64 |
| 75 | func pvl_generate(pb: *u8, plen: i64, tx: *u8, mt: *i64, max_new: i64) -> i64 |
| 97 | func pvl_last_uint(s: *u8, n: i64, res: *i64) -> i64 called by 1: main |
| 128 | func pvl_prompt_solve_chat(dst: *u8, k: i64, c: i64, op: i64, slot: i64) -> i64 |
| 147 | func pvl_generate_chat(pb: *u8, plen: i64, tx: *u8, mt: *i64, max_new: i64) -> i64 |
| 167 | func pvl_claim(dst: *u8, prm: *i64) -> i64 |