blob: 5858af98a3bde239e62b1ca0a39501403e3ab713 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
; EXPECT: unsat
; COMMAND-LINE: --no-dump-synth --nl-ext-tplanes
(set-logic NIA)
(synth-fun max ((x Int) (y Int)) Int
((Start Int (0 1 x y
(+ Start Start)
(- Start Start)
(* Start Start)
(ite StartBool Start Start)))
(StartBool Bool ((and StartBool StartBool)
(not StartBool)
(<= Start Start)))))
(declare-var x Int)
(declare-var y Int)
(constraint (>= (max x y) (* x x)))
(constraint (>= (max x y) (* y y)))
(check-synth)
|