blob: 428cb2adc61b008efd31faad319a2346931e7aaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
; EXPECT: unsat
; COMMAND-LINE: --cegqi-si --no-dump-synth
(set-logic LIA)
(synth-fun max2 ((x Int) (y Int)) Int
((Start Int ((Variable Int)
(Constant Int)
(+ Start Start)
(- Start Start)
(ite StartBool Start Start)))
(StartBool Bool ((and StartBool StartBool)
(or StartBool StartBool)
(not StartBool)
(<= Start Start)
(= Start Start)
(>= Start Start)))))
(declare-var x Int)
(declare-var y Int)
(constraint (= (max2 x y) (+ x y 500)))
(check-synth)
|