code wiki / _hdl_build / nx_superopt_govern_test.nx
nx_superopt_govern_test.nx
buildroot/runtime/_hdl_build/nx_superopt_govern_test.nx
about
nx_superopt_govern_test.nx -- the team builds END TO END, no human in the rule:
the GENERATOR authors a lowering for each constant (by search), the VERIFIER
proves it 1:1, the COUNCIL (3->2->1) governs admission, and the winners are
BANKED into a rewrite library the team grew ITSELF. I wrote the searcher and the
council; the team wrote + selected the rules.
GENERATE (so_best) -> VERIFY (so_verify) -> GOVERN (cc_council) -> BANK
A genuine improvement (cheaper than mul) is ADMITTED; a constant with no cheaper
form (the LCG prime -> mul) is "not worth it" and the council does NOT bank it --
the team only keeps real wins. Known answer: every reducible constant banked,
the non-reducible one rejected. exit 0.
dependencies 2 imports · 0 importers
imports: nx_superopt_strength.nxnx_crew_council.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 sg_puts(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 1: main |
| 18 | func sg_num(v: i64) -> i64 called by 1: main |
| 27 | func main() -> i64 |