code wiki / (root) / nx_haar_gate.nx

nx_haar_gate.nx

buildroot/runtime/nx_haar_gate.nx

4760 B111 linesdepth 7pulls 8 transitivereach 0 importersview sourcekind gate/prooftopic haar
docsdependenciesstructsconstsfunctions

about

nx_haar_gate.nx -- REFEREE for R-FACE-1 (nx_haar). 24x24 windows. Three synthetic patterns: EDGE: left half luma=10, right half=200 (a vertical edge). FLAT: all 50. CHECK: 2x2 checker, TL/BR=200, TR/BL=10. Asserts: - EDGE_H on EDGE == hand-composed (left-rect - right-rect) AND == -54720. - EDGE_V on EDGE == 0 (a vertical edge has no top/bottom contrast). - every feature on FLAT == 0. - FOUR on CHECK == hand-composed AND == 54720; FOUR on FLAT == 0 (discrim). Every value PRINTED. stdout + knowledge/status/haar_gate.log. Exit 0/1. Sovereign: syscalls + nx_image + nx_integral + nx_haar. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

syscalls.nx nx_image.nx nx_integral.nx nx_haar.nx nx_haar_gate.nx

imports: syscalls.nxnx_image.nxnx_integral.nxnx_haar.nx

imported by: nobody (leaf or entry point)

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

main sys_openat_append gp nx_image_alloc sys_mmap nx_image_set nx_integral_build nx_image_get nx_haar_eval nx_integral_rect_sum nx_integral_rect_sum ↻ gn

structs

none

consts

18const N: i64 = 24

functions

20func gp(logfd: i64, s: *u8) -> i64
called by 1: main
27func gn(logfd: i64, v: i64) -> i64
called by 1: main
42func main() -> i64