code wiki / (root) / nx_world_demo_test.nx

nx_world_demo_test.nx

buildroot/runtime/nx_world_demo_test.nx

13478 B284 linesdepth 9pulls 20 transitivereach 0 importersview sourcekind gate/prooftopic world
docsdependenciesstructsconstsfunctions

about

nx_world_demo_test.nx -- 10 visual demos of registered primitives. Run end-to-end via v2 kernel + visualisations + honest audit.

dependencies 6 imports · 0 importers

nx_corpus_full.nx nx_proof_emit.nx nx_prove_propositional.nx nx_proof_sqrt2_v3.nx nx_arith.nx nx_probability.nx nx_world_demo_test.nx

imports: nx_corpus_full.nxnx_proof_emit.nxnx_prove_propositional.nxnx_proof_sqrt2_v3.nxnx_arith.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 nx_corpus_full nx_prim_registry_new nx_prim_register nx_prim_at print_registry_summary nx_prim_count_by_domain nx_prim_at ↻ demo1_deriv_x3 nx_calc_x nx_term_var sys_mmap nx_calc_pow nx_calc_bin nx_term_app sys_mmap ↻ nx_calc_const_int nx_term_app ↻ nx_calc_deriv nx_calc_const_int ↻ nx_calc_add nx_calc_bin ↻ nx_calc_deriv ↻ nx_term_arg nx_calc_sub nx_calc_bin ↻ nx_calc_mul nx_calc_bin ↻ nx_calc_pow ↻ nx_calc_cos nx_calc_un nx_term_app ↻ nx_calc_un ↻ nx_calc_sin nx_calc_un ↻ nx_calc_exp nx_calc_un ↻ nx_calc_bin ↻ nx_emit_term nx_emit_term ↻

structs

none

consts

11const SYM_A: nx_int = 1001
12const SYM_B: nx_int = 1002
13const SYM_P: nx_int = 1100

functions

15func one_axiom(a: nx_int) -> *nx_int
21func empty_axioms() -> *nx_int
called by 1: demo6_k_combinator
26func demo1_deriv_x3() -> nx_int
40func demo2_matmul() -> nx_int
72func demo3_dot() -> nx_int
98func demo4_induction() -> nx_int
123func demo5_sqrt2() -> nx_int
called by 1: main calls 1: nx_proof_sqrt2_v3
134func demo6_k_combinator() -> nx_int
150func demo7_chem() -> nx_int
166func demo8_dim_analysis() -> nx_int
184func demo9_prob() -> nx_int
199func demo10_fibonacci() -> nx_int
called by 1: main calls 1: nx_render_line
210func print_audit() -> nx_int
called by 1: main
243func print_registry_summary(r: *PrimRegistry) -> nx_int
called by 1: main calls 1: nx_prim_count_by_domain
260func main() -> nx_exit