code wiki / (root) / nx_theorem_registry_test.nx

nx_theorem_registry_test.nx

buildroot/runtime/nx_theorem_registry_test.nx

3015 B79 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic theorem
docsdependenciesstructsconstsfunctions

about

nx_theorem_registry_test.nx -- smoke for the L0->L2.5 bulk registry. Loads the 42k+ mathlib4 shard and verifies: - n_records >= 10000 (rock-solid threshold) - lookup by name works (sample known theorem) - kind aggregates are non-zero - source aggregates show all lean

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_tier.nx nx_str.nx nx_theorem_registry.nx nx_theorem_registry_test.nx

imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_str.nxnx_theorem_registry.nx

imported by: nobody (leaf or entry point)

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

main nx_thm_load sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_thm_parse_row nx_thm_src_from_str nx_thm_find nx_thm_find ↻ sys_mmap ↻ nx_str_cpy println sys_write strlen sys_mmap ↻ nx_thm_n print sys_write ↻ strlen ↻ print_i64 sys_mmap ↻ itoa sys_mmap ↻ sys_write ↻ nx_thm_count_by_kind nx_thm_at nx_thm_count_by_source nx_thm_at ↻ nx_thm_at ↻ nx_thm_lookup nx_thm_at ↻ nx_str_eq nx_str_eq ↻

structs

none

consts

15const NX_THM_T_THRESHOLD: nx_int = 10000

functions

17func main() -> nx_exit