code wiki / _hdl_build / _cegis_validator.nx

_cegis_validator.nx

buildroot/runtime/_hdl_build/_cegis_validator.nx

1865 B64 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic cegis
docsdependenciesstructsconstsfunctions

about

CONVERGED BY THE NISHI TEAM CEGIS LOOP (_cegis_authored): counterexample-guided, zero disagreements with the oracle on the full probe domain. NOT retrieved.

dependencies 1 imports · 0 importers

nx_syscalls.nx _cegis_validator.nx

imports: nx_syscalls.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 resynth _c_and _c_le sys_exit

structs

none

consts

none

functions

4func _c_le(a: i64, b: i64) -> i64 { if a <= b { return 1 } return 0 }
called by 1: resynth
5func _c_and(a: i64, b: i64) -> i64 { return a & b }
called by 1: resynth
6func _c_shr(a: i64, b: i64) -> i64 { return a >> (b & 63) }
7func _c_min(a: i64, b: i64) -> i64 { if a < b { return a } return b }
8func _c_max(a: i64, b: i64) -> i64 { if a > b { return a } return b }
9func _c_add(a: i64, b: i64) -> i64 { return a + b }
10func _c_sub(a: i64, b: i64) -> i64 { return a - b }
11func _c_mul(a: i64, b: i64) -> i64 { return a * b }
12func _c_shl(a: i64, b: i64) -> i64 { return a << (b & 63) }
13func _c_div(a: i64, b: i64) -> i64 { if b == 0 { return 0 } return a / b }
14func _c_mod(a: i64, b: i64) -> i64 { if b == 0 { return 0 } return a % b }
15func _c_abs(a: i64) -> i64 { if a < 0 { return 0 - a } return a }
16func resynth(a: i64, b: i64) -> i64 { return _c_and(_c_le(b, 99), _c_le(10, a)) }
called by 1: main calls 2: _c_and_c_le
17func main() -> i64