code wiki / _hdl_build / _bf_erfc_oracle_gate.nx
_bf_erfc_oracle_gate.nx
buildroot/runtime/_hdl_build/_bf_erfc_oracle_gate.nx
about
_bf_erfc_oracle_gate.nx -- ALGEBRAIC self-gate for the sovereign 120-bit erfc CF
oracle (nx_bigfloat120_erfc, ME2-ERF-002 foundation). No external reference: the
oracle proves ITSELF by the identity erf(x)+erfc(x)=1, checked at FULL bigfloat
precision in the overlap window x in [1.5,1.75] where BOTH the 48-term erf Taylor AND
the depth-240 erfc CF are accurate. Two INDEPENDENT methods agreeing to >2^-80 on the
identity is conclusive proof both are correct (a correlated 80-bit error is nil).
Plus a structural check over the TARGET domain x in [1.75,6]: erfc strictly decreasing
and strictly positive (the property the f64 kernel will rely on).
Durable: ERFCORACLE row -> knowledge/status/math_engine.log. Exit 0 iff both held.
license_tier: ORIGINAL
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_bigfloat120.nxnx_bigfloat120_div.nxnx_bigfloat120_trig.nxnx_bigfloat120_erfc.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
| none |
functions
| 17 | func eg_p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 18 | func eg_f(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 } |
| 19 | func eg_n(fd: i64, v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m; sys_write(fd,"-" as *u8,1)}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1}; while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(fd,bb,k); return 0 } |
| 21 | func main() -> i64 |