code wiki / (root) / nx_demodulation_test.nx

nx_demodulation_test.nx

buildroot/runtime/nx_demodulation_test.nx

7358 B181 linesdepth 7pulls 8 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_demodulation_test.nx -- demodulation smoke.

dependencies 8 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_tier.nx nx_result.nx nx_unify.nx nx_resolution.nx nx_term_order.nx nx_demodulation.nx nx_demodulation_test.nx

imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_result.nxnx_unify.nxnx_resolution.nxnx_term_order.nxnx_demodulation.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 mk_kbo nx_kbo_new sys_mmap ↻ nx_kbo_register nx_result_err sys_mmap ↻ nx_result_ok sys_mmap ↻ nx_eqn_orient nx_kbo_compare nx_term_eq nx_term_eq ↻ nx_term_arg nx_kbo_var_dominates nx_kbo_var_count nx_kbo_var_count ↻ nx_term_arg ↻ nx_kbo_weight nx_kbo_weight ↻ nx_term_arg ↻ nx_kbo_prec_cmp nx_kbo_compare ↻ nx_term_arg ↻ nx_result_ok ↻ nx_eqn_make sys_mmap ↻ nx_result_err ↻ nx_term_const sys_mmap ↻ nx_result_is_err nx_result_unwrap print sys_write ↻ strlen ↻ print_i64

structs

none

consts

12const SYM_A: nx_int = 100
13const SYM_B: nx_int = 101
14const SYM_F: nx_int = 200
15const SYM_G: nx_int = 201
16const SYM_H: nx_int = 250
18const VAR_X: nx_int = 0
19const VAR_Y: nx_int = 1
20const NX_MAX_VAR: nx_int = 4

functions

22func mk_unary(sym: nx_int, child: *Term) -> *Term
called by 1: main calls 2: sys_mmapnx_term_app
29func mk_binary(sym: nx_int, c0: *Term, c1: *Term) -> *Term
called by 1: main calls 2: sys_mmapnx_term_app
40func mk_kbo() -> *KboState
called by 1: main calls 2: nx_kbo_newnx_kbo_register
50func report(name: *u8, expected_sym: nx_int, actual: *Term) -> nx_int
called by 1: main calls 3: printprint_i64println
57func main() -> nx_exit