code wiki / (root) / nx_tptp_write_test.nx

nx_tptp_write_test.nx

buildroot/runtime/nx_tptp_write_test.nx

3382 B87 linesdepth 8pulls 19 transitivereach 0 importersview sourcekind gate/prooftopic tptp
docsdependenciesstructsconstsfunctions

about

nx_tptp_write_test.nx -- write a clause set to disk, read it back, verify the round-trip preserves the clause count + verdict.

dependencies 17 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_tier.nx nx_str.nx nx_result.nx nx_file_result.nx nx_unify.nx nx_resolution.nx nx_subsumption.nx nx_tautology.nx nx_tptp_write_test.nx

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

imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_str.nxnx_result.nxnx_file_result.nxnx_unify.nxnx_resolution.nxnx_subsumption.nxnx_tautology.nxnx_saturation.nxnx_tptp_symtab.nxnx_tptp_term.nxnx_tptp_formula.nxnx_tptp_load.nxnx_tptp_emit.nxnx_disctree.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 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_tptp_term_skip_ws ↻ sys_mmap ↻ nx_tptp_term_read_ident nx_tptp_is_variable_name nx_tptp_symtab_intern

structs

none

consts

22const SYM_EQ: nx_int = 50

functions

24func main() -> nx_exit