nx_gpe_marschner_gate.nx
buildroot/runtime/nx_gpe_marschner_gate.nx
about
nx_gpe_marschner_gate.nx -- referee for hr_marschner_lobe (graphics.matrix watch contract,
2026-08-30): the NPC hair fragment path must carry the Karis-2016 closed-form Marschner
R/TT/TRT lobes with melanin-derived absorption, in BOTH the emitter SOURCE
(buildroot/runtime/nx_game_page_emit.nx) and the SERVED beach page
(sites/nishifamily/world/beach.html). Teeth are arithmetic + byte-binding: the pheomelanin
discriminator (a red-genome lock absorbs less red per melanin unit than a dark-genome lock,
so its TT forward-transmission lobe is strictly brighter backlit) is proven in integer
milli-units over the SAME H8 palette rows the page ships, and binding teeth pin those
constants to the subject bytes so the gate's arithmetic and the shader cannot drift apart
silently. DECLARED IMPRECISION, so the next reader does not trust this as exact: the
discriminator and angular teeth are FORMULA-level, never pixel-level -- a rendered-pixel A/B
needs a browser rig this gate does not have; what IS provable here is the formula over the
shipped constants plus the byte binding of every constant to both subjects.
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.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
| 18 | const GMG_SRC: *u8 = "buildroot/runtime/nx_game_page_emit.nx" |
| 19 | const GMG_PAGE: *u8 = "sites/nishifamily/world/beach.html" |
functions
| 21 | func gmg_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: gmg_find |
| 23 | func gmg_find(b: *u8, n: i64, pat: *u8) -> i64 |
| 37 | func gmg_has(b: *u8, n: i64, pat: *u8) -> i64 { if gmg_find(b, n, pat) >= 0 { return 1 } return 0 } |
| 38 | func gmg_absent(b: *u8, n: i64, pat: *u8) -> i64 { if gmg_find(b, n, pat) >= 0 { return 0 } return 1 } |
| 40 | func main() -> i64 |