packages feed

toysolver-0.4.0: samples/smt/division-by-zero.smt2

(set-option :produce-models true)
(set-logic QF_LRA)
(declare-const x1 Real)
(declare-const x2 Real)

(define-fun y1 () Real (/ x1 0))
(define-fun y2 () Real (/ x2 0))
(check-sat) ; sat
(get-value (x1 x2 y1 y2))

(assert (not (= y1 y2)))
(check-sat) ; sat
(get-value (x1 x2 y1 y2))

(assert (= x1 x2))
(check-sat) ; unsat