code wiki / _hdl_build / nx_synth_oe_test.nx
nx_synth_oe_test.nx
buildroot/runtime/_hdl_build/nx_synth_oe_test.nx
about
nx_synth_oe_test.nx -- scale + EXCEED for the synthesizer, measured. The
observational-equivalence synthesizer reaches DEPTH-3 programs the naive <=2
enumerator (nx_synth) cannot, and we MEASURE the pruning that makes it possible:
candidates tried (P) vs distinct behaviours kept (V). P/V is the collapse the
SOTA technique buys -- A/B on the same task. Each synthesized program is checked
on HELD-OUT inputs (not in the spec). Known answer: all targets found, held-out
verified, at least one is depth-3, and V < P (dedup working) -> exit 0.
dependencies 1 imports · 0 importers
imports: nx_synth_oe.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
| 11 | func oe_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 |
| 12 | func oe_num(v: i64) -> i64 called by 1: main |
| 20 | func oe_depth(c: *SoeCtx, v: i64) -> i64 |
| 29 | func oe_target(id: i64, x: i64) -> i64 called by 1: main |
| 35 | func oe_name(id: i64) -> *u8 called by 1: main |
| 42 | func main() -> i64 |