nx_backward_subsume_test.nx
buildroot/runtime/nx_backward_subsume_test.nx
about
nx_backward_subsume_test.nx -- backward subsumption smoke.
Setup: load specific-then-general clauses into the queue. After the
general clause arrives in `processed`, the older specific clause it
subsumes should be removed by backward subsumption -- so the final
n_processed reflects only the survivors.
dependencies 9 imports · 0 importers
imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_result.nxnx_unify.nxnx_resolution.nxnx_subsumption.nxnx_tautology.nxnx_saturation.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 18 | const SYM_A: nx_int = 100 |
| 19 | const SYM_P: nx_int = 200 |
| 20 | const SYM_Q: nx_int = 201 |
| 21 | const SYM_EQ: nx_int = 50 |
| 23 | const VAR_X: nx_int = 0 |
functions
| 25 | func mk_p(p_sym: nx_int, c_sym: nx_int) -> *Term |
| 31 | func mk_p_var(p_sym: nx_int, var_id: nx_int) -> *Term |
| 37 | func main() -> nx_exit |