code wiki / (root) / nx_cad_exceed_gate.nx

nx_cad_exceed_gate.nx

buildroot/runtime/nx_cad_exceed_gate.nx

3038 B60 linesdepth 14pulls 43 transitivereach 0 importersview sourcekind gate/prooftopic cad
docsdependenciesstructsconstsfunctions

about

nx_cad_exceed_gate.nx -- liar-kill gate for the MEASURED CAD exceed census. Proves the three superiority axes by RUNNING them (not asserting), and enforces census HONESTY: the census must admit real BEHIND axes (a census claiming zero gaps is refused). This is what lets nishifamily.com/cad say "superior" about the narrow axes it actually leads on, while staying honest about modeling breadth. expect_exit: 0.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_cad_exceed.nx nx_cad_exceed_gate.nx

imports: nx_syscalls.nxnx_cad_exceed.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 w sys_write nx_cad_measure_determinism nx_cad_make_cylinder sys_mmap ↻ nx_cos_turn_q10 sys_mmap ↻ _nx_trig_reduce _nx_cos_q1_table nx_sin_turn_q10 nx_cos_turn_q10 ↻ nx_cad_extrude nx_mesh_alloc sys_mmap ↻ nx_mesh_set_vertex nx_mesh_set_triangle sys_mmap ↻ nx_stl_write_mesh nx_le_write_u32 sw_put_mesh_vert nx_le_write_u32 ↻ f32_from_q14 f32_from_i64 nx_mesh_get_vertex_x nx_mesh_get_vertex_y nx_mesh_get_vertex_z nx_le_write_u16 chk w ↻ eqi nx_cad_measure_watertight nx_mesh_make_icosphere nx_mesh_make_octahedron nx_mesh_alloc ↻ nx_mesh_set_vertex ↻ nx_mesh_set_triangle ↻ nx_mesh_subdivide nx_mesh_alloc ↻

structs

none

consts

none

functions

11func w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: chkmain calls 1: sys_write
12func wn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
21func chk(cond: i64, pass: *i64, fail: *i64, label: *u8) -> i64
called by 1: main calls 1: w
26func eqi(a: i64, b: i64) -> i64 { if a == b { return 1 } return 0 }
called by 1: main
28func main() -> i64