summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/max2-univ.sy
blob: 927148d81178390f03105a1945efacfd94d9032c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; EXPECT: unsat
; COMMAND-LINE: --no-dump-synth
; Synthesize the maximum of 2 integers, but property has 4 variables (requires 2 passes)
(set-logic LIA)
(synth-fun max2 ((x Int) (y Int)) Int)
(declare-var x Int)
(declare-var y Int)
(declare-var r Int)
(declare-var w Int)
(constraint (=> (< r 0) (=> (or (and (= x w) (= y (+ w r))) (and (= x (+ w r)) (= y w))) (= (max2 x y) w))))
(check-synth)

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