summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/array-uc.sy
blob: b3d950436634835973dd07380708b89b9820eac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; COMMAND-LINE: --sygus-out=status
; EXPECT: unsat
(set-logic ALL)
(declare-sort U 0)
(synth-fun f ((x (Array U Int)) (y U)) Bool)

(declare-var x (Array U Int))
(declare-var y U)

(constraint (= (f (store x y 0) y) true))
(constraint (= (f (store x y 1) y) false))

; f can be (= (select x y) 0)
(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback