code wiki / (root) / nx_world_class_test.nx

nx_world_class_test.nx

buildroot/runtime/nx_world_class_test.nx

11182 B271 linesdepth 8pulls 13 transitivereach 0 importersview sourcekind gate/prooftopic world
docsdependenciesstructsconstsfunctions

about

nx_world_class_test.nx -- prove every named blocker is gone. One smoke that exercises arith / classical / tactics / rewriter / emitter end-to-end via v2 kernel. Per user 2026-05-15: "no losses". Each test gets an assertion number; main() returns it on first failure (per nx_smoke_lib.sh convention). Returns 0 only when all pass.

dependencies 6 imports · 0 importers

nx_tactics.nx nx_arith.nx nx_classical.nx nx_proof_emit.nx nx_rewrite.nx nx_probability.nx nx_world_class_test.nx

imports: nx_tactics.nxnx_arith.nxnx_classical.nxnx_proof_emit.nxnx_rewrite.nxnx_probability.nx

imported by: nobody (leaf or entry point)

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

main t1_nat_literal nx_arith_nat nx_arith_zero nx_term_const sys_mmap nx_arith_succ nx_term_app sys_mmap ↻ nx_term_arg t2_peano_axioms nx_k2_chain_new sys_mmap ↻ nx_arith_nat ↻ nx_arith_axiom_plus_zero nx_k2_axiom nx_k2_at nx_k2_eq sys_mmap ↻ nx_term_app ↻ nx_arith_plus nx_term_app ↻ nx_arith_zero ↻ nx_arith_axiom_plus_succ nx_arith_plus ↻ nx_arith_succ ↻ nx_k2_axiom ↻ nx_k2_eq ↻ nx_arith_axiom_zero_not_su nx_k2_axiom ↻ nx_k2_not sys_mmap ↻ nx_term_app ↻ nx_k2_eq ↻ nx_arith_zero ↻ nx_arith_succ ↻ t3_finite_induction nx_k2_chain_new ↻ nx_term_app ↻ nx_arith_nat ↻

structs

none

consts

17const SYM_A: nx_int = 1001
18const SYM_B: nx_int = 1002
19const SYM_P: nx_int = 1100

functions

21func one_axiom(a: nx_int) -> *nx_int
27func two_axioms(a: nx_int, b: nx_int) -> *nx_int
called by 1: t6_rewriter
35func t1_nat_literal() -> nx_int
called by 1: main calls 2: nx_arith_natnx_term_arg
50func t2_peano_axioms() -> nx_int
64func t3_finite_induction() -> nx_int
94func t4_classical_lem() -> nx_int
110func t5_classical_other() -> nx_int
124func t6_rewriter() -> nx_int
149func t7_tactics() -> nx_int
166func t8_emit() -> nx_int
178func t9_probability() -> nx_int
202func main() -> nx_exit