code wiki / (root) / nx_paramodulation_test.nx

nx_paramodulation_test.nx

buildroot/runtime/nx_paramodulation_test.nx

7923 B175 linesdepth 7pulls 7 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_paramodulation_test.nx -- paramodulation smoke.

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_tier.nx nx_result.nx nx_unify.nx nx_resolution.nx nx_paramodulation.nx nx_paramodulation_test.nx

imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_result.nxnx_unify.nxnx_resolution.nxnx_paramodulation.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main println sys_write strlen sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ nx_clause_new sys_mmap ↻ nx_clause_add nx_result_err sys_mmap ↻ nx_clause_lit_at nx_result_ok sys_mmap ↻ nx_lit_make sys_mmap ↻ mk_eq sys_mmap ↻ nx_term_app sys_mmap ↻ nx_term_const sys_mmap ↻ mk_p sys_mmap ↻ nx_term_app ↻ nx_paramodulate nx_result_err ↻

structs

none

consts

11const SYM_A: nx_int = 100
12const SYM_B: nx_int = 101
13const SYM_C: nx_int = 102
14const SYM_F: nx_int = 200
15const SYM_G: nx_int = 201
16const SYM_P: nx_int = 300
17const SYM_EQ: nx_int = 50
19const VAR_X: nx_int = 0

functions

22func mk_eq(t1: *Term, t2: *Term) -> *Term
called by 1: main calls 2: sys_mmapnx_term_app
31func mk_p(c: *Term) -> *Term
called by 1: main calls 2: sys_mmapnx_term_app
38func mk_f(c: *Term) -> *Term
called by 1: main calls 2: sys_mmapnx_term_app
45func mk_g(c: *Term) -> *Term
called by 1: main calls 2: sys_mmapnx_term_app
52func main() -> nx_exit