code wiki / _hdl_build / nx_authoring_triangulation.nx
nx_authoring_triangulation.nx
buildroot/runtime/_hdl_build/nx_authoring_triangulation.nx
about
nx_authoring_triangulation.nx -- Verifies 'team authored it' claims through data-driven triangulation of independent, falsifiable authoring evidence.
dependencies 4 imports · 0 importers
imports: nx_gate_gn.nxnx_gate_base.nxnx_synth_fit.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 22 | const TRI_MAGIC_2187: i64 = 2187 |
| 23 | const TRI_MAGIC_2316: i64 = 2316 |
| 25 | const TRI_KMAX: i64 = 24 |
functions
| 29 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" calls 1: gw |
| 31 | func indep_pow(b: i64, k: i64) -> i64 { var r: i64=1; var i: i64=0; while i<k { r=r*b; i=i+1 } return r } |
| 32 | func indep_powsum(k: i64, x: i64) -> i64 { var s: i64=0; var i: i64=1; while i<=x { s=s+indep_pow(i,k); i=i+1 } return s } |
| 35 | func detect_k(xs: *i64, ys: *i64, n: i64, hy0: i64, hy1: i64, kmax: i64) -> i64 |
| 41 | func mk_powsum(k_true: i64, xs: *i64, ys: *i64, n: i64) -> i64 { var i: i64=0; while i<n { xs[i]=i; ys[i]=sf_powsum(k_true,i); i=i+1 } return 0 } |
| 43 | func main() -> i64 |