code wiki / (root) / nx_ingest_at_scale.nx

nx_ingest_at_scale.nx

buildroot/runtime/nx_ingest_at_scale.nx

4193 B117 linesdepth 6pulls 11 transitivereach 0 importersview sourcekind tooltopic ingest
docsdependenciesstructsconstsfunctions

about

nx_ingest_at_scale.nx -- read a large MetaMath corpus file and report ingest counts. Proves the substrate handles industrial volumes (10k+ theorems) without modification. Per user directive 2026-05-13: substrate must ingest hundreds of thousands of primitives. This is the proof-of-scale.

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_clock.nx nx_theorem_ingest.nx nx_ingest_at_scale.nx

imports: nx_syscalls.nxnx_runtime.nxnx_clock.nxnx_theorem_ingest.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_write strlen print_i64 sys_mmap ↻ itoa sys_mmap ↻ sys_write ↻ nx_clock_monotonic_ns sys_mmap ↻ sys_clock_gettime_mono nx_ingest_corpus nx_ingest_db_alloc nx_mm_next_token nx_mm_skip_ws nx_lex_is_ws nx_loop_begin sys_mmap ↻ nx_loop_step nx_clock_monotonic_ns ↻ nx_loop_break nx_lex_is_ws ↻ nx_ingest_th_at nx_loop_begin ↻ nx_loop_step ↻ nx_loop_break ↻ nx_deriv_chain_alloc nx_ingest_axiom_lookup nx_deriv_add_axiom nx_axiom_is_valid nx_deriv_node_at nx_deriv_add_step nx_drule_arity

structs

none

consts

19const STDOUT: i64 = 1

functions

21func main() -> i64