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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap 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 ↻

structs

none

consts

19const STDOUT: i64 = 1

functions

21func main() -> i64