summaryrefslogtreecommitdiff
path: root/test/regress/regress0/arith/issue1399.smt2
blob: 80305260e19c4ac5ec73bf8f39224262286eb995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(set-logic LIA)
(set-info :status sat)

(define-fun findIdx ((y1 Int)(y2 Int)(k1 Int)) Int (div (* (- 7) (mod y1 (- 5))) 2))
(declare-fun x1 () Int)
(declare-fun x2 () Int)
(declare-fun k () Int)

(assert (not (and (=> (< x1 x2) (=> (< k x1) (= (findIdx x1 x2 k) 0)))
  (=> (< x1 x2) (=> (> k x2) (= (findIdx x1 x2 k) 2)))
  (=> (< x1 x2) (=> (and (> k x1) (< k x2)) (= (findIdx x1 x2 k) 1))))))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback