code wiki / _hdl_build / nx_nofloat_ladder.nx

nx_nofloat_ladder.nx

buildroot/runtime/_hdl_build/nx_nofloat_ladder.nx

5699 B69 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic nofloat
docsdependenciesstructsconstsfunctions

about

nx_nofloat_ladder.nx -- CAP-NF-LADDER: the CONSOLIDATION capstone. Grounds the whole no-float DeepMind ladder on RUN-EVIDENCE -- the knowledge/status/*.log that each headline gate APPENDED only when it passed GREEN (proof the capabilities actually RAN + passed, a stronger grounding than source-file existence). Prints the categorized consolidated scorecard + the honest S-class verdict in one place. T1 RUN-EVIDENCE: all 9 headline capability status-logs are present (the gates ran GREEN). T2 LIAR-KILL: a fabricated status-log is absent (the check is non-vacuous). T3 CROWN CLAIMS GROUNDED: the benchmark log (s-class verdict) AND the landing log (measured near-optimal) both exist -- the two headline claims are backed by real runs. expect_exit: 0 Sovereign: nx_syscalls only.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_g_check_lib.nx nx_g_puts_lib.nx nx_nofloat_ladder.nx

imports: nx_syscalls.nxnx_g_check_lib.nxnx_g_puts_lib.nx

imported by: nobody (leaf or entry point)

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

main g_puts sys_write have_file sys_openat_rd sys_close rung g_puts ↻ g_pn sys_mmap sys_write ↻ g_check g_puts ↻ sys_exit

structs

none

consts

none

functions

14func g_pn(v: i64) -> i64 { let b: *u8=sys_mmap(28); var x: i64=v; if x<0{b[0]=45;sys_write(1,b,1);x=0-x} if x==0{b[0]=48;sys_write(1,b,1);return 0} var d: i64=0; var y: i64=x; while y>0{d=d+1;y=y/10} var i: i64=d-1; y=x; while i>=0{b[i]=(48+(y%10)) as u8;y=y/10;i=i-1} sys_write(1,b,d); return 0 }
called by 1: main calls 2: sys_mmapsys_write
15func have_file(path: *u8) -> i64 { let fd: i64=sys_openat_rd(path); if fd<0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
16func rung(present: i64, name: *u8, detail: *u8) -> i64
called by 1: main calls 1: g_puts
21func main() -> i64