summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/sets-pred-test.sy
blob: f45329b2707b91758600f35f1cb59395c6096de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; EXPECT: unsat
; COMMAND-LINE: --lang=sygus2 --sygus-out=status
(set-logic ALL)
(synth-fun P ((x (Set Int))) Bool)

(constraint (not (P (as emptyset (Set Int)))))
(constraint (not (P (insert 1 2 (as emptyset (Set Int))))))
(constraint (P (insert 0 (as emptyset (Set Int)))))
(constraint (P (insert 0 4 5 (as emptyset (Set Int)))))
(constraint (not (P (singleton 45))))

(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback