summaryrefslogtreecommitdiff
path: root/test/regress/regress2/sygus/strings-no-syntax-len.sy
blob: e0b039c167a89a48da70fc6892cd02f24b6fb29d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; EXPECT: unsat
; COMMAND-LINE: --lang=sygus2 --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