code wiki / (root) / nx_fof_cnf_test.nx

nx_fof_cnf_test.nx

buildroot/runtime/nx_fof_cnf_test.nx

7623 B170 linesdepth 8pulls 18 transitivereach 0 importersview sourcekind gate/prooftopic fof
docsdependenciesstructsconstsfunctions

about

nx_fof_cnf_test.nx -- FOF -> CNF pipeline smoke + end-to-end FOF -> discount-loop UNSAT.

dependencies 15 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_tier.nx nx_str.nx nx_result.nx nx_unify.nx nx_resolution.nx nx_subsumption.nx nx_tautology.nx nx_saturation.nx nx_fof_cnf_test.nx

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

imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_str.nxnx_result.nxnx_unify.nxnx_resolution.nxnx_subsumption.nxnx_tautology.nxnx_saturation.nxnx_tptp_symtab.nxnx_tptp_term.nxnx_fof.nxnx_fof_parse.nxnx_fof_cnf.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_symtab_new sys_mmap ↻ parse nx_str_len mk_input nx_str_len ↻ sys_mmap ↻ sys_mmap ↻ nx_fof_parse nx_fof_parse_iff nx_fof_elim_iff nx_fof_neg sys_mmap ↻ nx_fof_elim_iff ↻ nx_fof_quantified sys_mmap ↻ nx_fof_binary sys_mmap ↻ nx_fof_elim_imp nx_fof_neg ↻ nx_fof_elim_imp ↻ nx_fof_quantified ↻ nx_fof_binary ↻ nx_fof_to_nnf nx_fof_binary ↻ nx_fof_to_nnf ↻ nx_fof_quantified ↻ nx_fof_neg ↻ print sys_write ↻ strlen ↻ print_i64 sys_mmap ↻ itoa sys_mmap ↻

structs

none

consts

20const SYM_EQ: nx_int = 50
21const NX_FOF_CLAUSE_CAP: nx_int = 16

functions

23func mk_input(s: *u8) -> *u8
called by 1: parse calls 2: nx_str_lensys_mmap
32func parse(input: *u8, st: *TptpSymtab) -> *Fof
40func main() -> nx_exit