Debian Codegraph @

test/regress/cli/regress1/sygus/issue3580.sy

raw
1 ; EXPECT: feasible
2 ; COMMAND-LINE: --sygus-out=status --sygus-enum=smart --lang=sygus2
3 (set-logic ALL)
4 (synth-fun f
5 () Bool
6 ((B Bool))
7 (
8 (B Bool (true))
9 )
10 )
11 (synth-fun g
12 ((r Int)) Bool
13 ((B Bool) (I Int) (IConst Int))
14 (
15 (B Bool ((= I I) (=> B B)))
16 (I Int (r 0 (mod I IConst)))
17 (IConst Int ((Constant Int)))
18 )
19 )
20 (constraint (g 0))
21 (constraint (not (g 1)))
22 (constraint (g 2))
23 (constraint f)
24 (check-synth)