Hi,
For this formula,
(declare-fun a () Real)
(declare-fun p () Real)
(declare-fun b () Real)
(declare-fun c () Real)
(declare-fun d () Real)
(declare-fun k () Real)
(declare-fun e () Real)
(declare-fun q () Real)
(assert (or
(not (exists ((f Real))
(=>
(and
(>= c 0)
(> (/ b q) 2)
(>= (/ p q) 1)
(<= d 12)
(>= (/ p q) (- (* 1 k)))
(<= (/ p q) (+ 10 k)))
(<= (+ (* (- 2) (- a e)) d) 12))))
(exists ((o Real))
(forall ((g Real))
(exists ((h Real))
(and
(or
(>= g (* (- 3) h) 57)
(and (> (* 79 o) 8 (+ g h) 0) (= h 0))
(< 0 (+ g h) 0))
(> (+ (* (- 97) o) g) 0)))))))
(assert (= a (+ c e)(* d q)(/ b q)))
(assert (= q (/ b k)))
(check-sat)
(get-model)
Z3 reports sat on this unsat formula, and gives a wrong model:
(model
(define-fun k () Real
(- 6.0))
(define-fun b () Real
(- 6.0))
(define-fun q () Real
1.0)
(define-fun p () Real
5.0)
(define-fun d () Real
(- 6.0))
(define-fun e () Real
(- (/ 1.0 8.0)))
(define-fun c () Real
(- (/ 47.0 8.0)))
(define-fun a () Real
(- 6.0))
)
If I feed this model to the formula, z3 will report unsat
OS: Ubuntu 18.04
Revision: a1d3aca
Hi,
For this formula,
Z3 reports
saton thisunsatformula, and gives a wrong model:If I feed this model to the formula, z3 will report
unsatOS: Ubuntu 18.04
Revision: a1d3aca