Debian Codegraph @

test/regress/cli/regress1/sygus/find_inv_eq_bvmul_4bit_withoutgrammar-v2.sy

raw
1 ; EXPECT: feasible
2 ; COMMAND-LINE: --lang=sygus2 --sygus-out=status
3
4 (set-logic BV)
5
6 (synth-fun inv ((s (_ BitVec 4)) (t (_ BitVec 4))) (_ BitVec 4))
7
8 (declare-var s (_ BitVec 4))
9 (declare-var t (_ BitVec 4))
10
11
12 (define-fun l ( (s (_ BitVec 4)) (t (_ BitVec 4))) Bool
13 (= (bvmul (inv s t) s) t)
14 )
15 (define-fun SC ((s (_ BitVec 4)) (t (_ BitVec 4))) Bool
16 (= (bvand (bvor (bvneg s) s) t) t)
17 )
18 (constraint
19 (=>
20 (SC s t)
21 (l s t)
22 )
23 )
24
25 ; should not generate witness terms in solution
26 (check-synth)