code wiki / (root) / nx_nofloat_propose_solve_gate.nx

nx_nofloat_propose_solve_gate.nx

buildroot/runtime/nx_nofloat_propose_solve_gate.nx

11387 B209 linesdepth 11pulls 29 transitivereach 0 importersview sourcekind gate/prooftopic nofloat
docsdependenciesstructsconstsfunctions

about

nx_nofloat_propose_solve_gate.nx -- PROPOSE->VERIFY rung 2 (2026-07-15): SOLVE-FORMS. Rung 1 proved the loop on completions ("6 plus 7 equals ?" -> 12/12 kernel-certified); this rung asks the model to INVERT the operation -- "what plus 3 equals 7?" -> the no-float Qwen PROPOSES the unknown x, and the LCF kernel certifies the INSTANTIATED claim ("4 plus 3 equals 7") through a full Peano derivation. Wrong x cannot certify (kernel soundness); the model's solve-rate is REPORTED as measured data (first measured run: 1/10 -- inversion is beyond the 0.5B's 3-shot ability; every wrong proposal was kernel-CAUGHT). Teeth stay model-IQ-independent: T1 mechanism live: >=8/10 proposals parse as integers; zero generation or kernel failures T2 soundness cross-check: kernel verdict on the instantiation == independent in-gate arithmetic (0 violations) T3 NEG-CONTROL: all 10 wrong-by-one instantiations (kept IN-GRAMMAR: x+1, stepping to x-1 at the operand caps plus<=12/times<=6 -- first run taught that x+1 can land UNSUPPORTED instead of REFUTED) REFUTED T4 NEG-CONTROL unsolvable honesty: kernel solve-form 'what times 4 equals 13' -> NO-SOLUTION; its nearest instantiations REFUTED; and the LIVE model asked '2 times what equals 9?' can NEVER certify (2x=9 has no integer solution -- whatever the model proposes, the kernel must catch it) T5 determinism: re-running Q1 reproduces BYTE-IDENTICAL text (greedy no-float exceed) 2026-07-15 consolidation: templating/generation/parse/claim now ride nx_propose_verify_lib (single source of truth shared with the organ nx_propose_verify + the completion probe) -- prompts byte-identical, so the measured numbers must reproduce (that reproduction = the migration proof). Requires /home/elderwesto/nx_stage/nx_real_model.gguf. Heavy: ~2-4 min. Return from main (pool reap), never sys_exit. No hw writes (Rule 26). expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_propose_verify_lib.nx nx_gate_verdict.nx nx_nofloat_propose_solve_gate.

imports: nx_syscalls.nxnx_propose_verify_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 af_w sys_now_ms sys_mmap sys_clock_gettime_mono nsv_init sys_now_ms ↻ nsv_log sys_write nf_pool nx_pool_new nx_hw_worker_count nx_hw_cpu_count sys_mmap ↻ sys_munmap sys_mmap ↻ nx_chan_new sys_mmap ↻ _nx_chan_cell sys_thread_create nx_thread_spawn sys_mmap ↻ nx_thread_spawn_fn sys_mmap ↻ sys_mmap ↻ nsv_load_meta sys_mmap ↻ nsv_log ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_gguf_parse nx_le_read_u32 nx_le_read_u64 nx_le_read_u32 ↻ _gguf_skip_value nx_le_read_u64 ↻

structs

none

consts

none

functions

25func main() -> i64