summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/max2-univ.sy
blob: 0e00cfd9b95faecf6a83d95bad4b1ada0ef42c50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; EXPECT: unsat
; COMMAND-LINE: --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