summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/process-arg-invariance.sy
blob: 3c18b6c75d5e97c3e5e3f298c1e2117fd8e9f3f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; COMMAND-LINE: --cegqi-si=none --sygus-out=status --no-sygus-add-const-grammar
; EXPECT: unsat
(set-logic LIA)

(synth-fun f ((x1 Int) (x2 Int) (x3 Int) (x4 Int) (x5 Int) (x6 Int) (x7 Int) (x8 Int) (x9 Int) (x10 Int)) Int)


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

; should be able to determine that only 3 arguments 
; (one of 5...9, one of 1 or 4, one of 2 or 3) is relevant for f

(constraint (> (f (+ x x) (+ x 1) (+ x 1) (+ x x) x x x x x 0) (+ x x x)))
(constraint (<= (f x x x x x x x x x 0) (+ x x x)))

(check-synth)

generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback