code wiki / (root) / nx_solve_test.nx

nx_solve_test.nx

buildroot/runtime/nx_solve_test.nx

2349 B57 linesdepth 9pulls 23 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_solve_test.nx -- composite CASC solver smoke. Runs all 6 TPTP-Easy files through the one-call entry point and confirms each gets the expected verdict.

dependencies 18 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_tier.nx nx_result.nx nx_unify.nx nx_resolution.nx nx_subsumption.nx nx_tautology.nx nx_disctree.nx nx_paramodulation.nx nx_solve_test.nx

diagram shows first 10 each side; +8 more imports, +0 more importers in the complete lists below.

imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_result.nxnx_unify.nxnx_resolution.nxnx_subsumption.nxnx_tautology.nxnx_disctree.nxnx_paramodulation.nxnx_saturation.nxnx_pre_sat.nxnx_sine.nxnx_tptp_symtab.nxnx_tptp_term.nxnx_tptp_formula.nxnx_tptp_load.nxnx_solve.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 solve_one nx_solve_opts_default sys_mmap ↻ nx_solve_tptp_file nx_tptp_load_cnf_file sys_mmap ↻ nx_read_file_result sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_result_err sys_mmap ↻ nx_result_ok sys_mmap ↻ nx_result_is_err nx_result_unwrap nx_tptp_symtab_new sys_mmap ↻ nx_tptp_load_skip nx_tptp_load_skip ↻ nx_tptp_load_read_ident nx_str_eq nx_result_err ↻ nx_tptp_symtab_reset_vars nx_tptp_parse_cnf_clause nx_tptp_term_skip_ws nx_clause_new sys_mmap ↻ nx_tptp_parse_literal nx_tptp_term_skip_ws ↻ nx_tptp_parse_term nx_lit_make

structs

none

consts

24const SYM_EQ: nx_int = 50

functions

26func solve_one(path: *u8, expected: nx_int) -> nx_int
40func main() -> nx_exit