Debian Codegraph @

test/regress/cli/regress1/sygus/hd-sdiv.sy

raw
1 ; EXPECT: feasible
2 ; COMMAND-LINE: --lang=sygus2 --sygus-si=none --sygus-out=status
3 (set-logic BV)
4
5 (define-fun hd01 ((x (_ BitVec 32))) (_ BitVec 32) (bvand x #x00000001))
6
7 (synth-fun f ((x (_ BitVec 32))) (_ BitVec 32)
8 ((Start (_ BitVec 32)))
9 ((Start (_ BitVec 32) ((bvsdiv Start Start)
10 (bvand Start Start)
11 x
12 #x00000001))))
13
14 (declare-var y (_ BitVec 32))
15 (constraint (= (hd01 y) (f y)))
16 (check-synth)