nx_prover_eval.nx
buildroot/runtime/nx_prover_eval.nx
about
nx_prover_eval.nx -- honest benchmark of nx_prover capability + timing.
Builds realistic test scenarios + measures (a) success rate
(b) cycles needed (c) per-theorem wall time. Reports gaps where
the current Phase A0 prover (forward chaining + MP) fails.
genealogy_id: brodal_okasaki_1996 (data structures) +
wos_overbeek_lusk_boyle_1992 (atp benchmarks)
lineage_id: theorem_proving_benchmark + timing
dependencies 5 imports · 1 importers
imports: syscalls.nxnx_axioms.nxnx_clock.nxnx_derive.nxnx_prover.nx
imported by: nx_prover_eval_test.nx
structs
| 30 | struct EvalCase |
| 41 | struct EvalResult |
| 51 | struct EvalSummary |
consts
| 25 | const NX_EVAL_OUTCOME_PROVED: i64 = 0 |
| 26 | const NX_EVAL_OUTCOME_FAILED_BUDGET: i64 = 1 |
| 27 | const NX_EVAL_OUTCOME_NO_RULES: i64 = 2 |
| 28 | const NX_EVAL_OUTCOME_TIMEOUT: i64 = 3 |
| 39 | const NX_EVAL_CASE_BYTES: i64 = 40 |
| 49 | const NX_EVAL_RESULT_BYTES: i64 = 40 |
functions
| 62 | func nx_eval_summary_alloc() -> *EvalSummary called by 1: main |
| 79 | func nx_eval_run_case(case_id: i64, |
| 107 | func nx_eval_accumulate(summary: *EvalSummary, r: *EvalResult) -> i64 called by 1: main |
| 121 | func ev_putc(fd: i64, c: i64) -> i64 called by 1: ev_i64 |
| 128 | func ev_str(fd: i64, s: *u8, n: i64) -> i64 called by 1: nx_eval_emit_summary |
| 133 | func ev_i64(fd: i64, n: i64) -> i64 |
| 157 | func nx_eval_emit_summary(fd: i64, sum: *EvalSummary) -> i64 |