summaryrefslogtreecommitdiff
path: root/test/regress/regress2/sygus/max2-univ.sy
blob: d8222ded2d0e29ab75b5c8370dce58b2a6d74bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
; EXPECT: unsat
; COMMAND-LINE: --lang=sygus2 --sygus-out=status
; 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