summaryrefslogtreecommitdiff
path: root/test/regress/regress2/sygus/strings-no-syntax-len.sy
blob: 22048f1ec0a2d146d9d8361faa4eb32f914d85fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; EXPECT: unsat
; COMMAND-LINE: --sygus-out=status
(set-logic ALL)

(synth-fun f ((x String)) Int)

(declare-var x String)
(constraint (>= (f (str.++ "A" x)) (f x)))
(constraint (= (f "A") 2))
(constraint (= (f "BB") 4))
(constraint (= (f "BCB") 6))

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