Skip to content

Z3 incorrect result #2715

@muchang

Description

@muchang

Hi,
For this formula,

(declare-fun a () Real)
(assert (= (/ (* 2 a) a) (/ a a) 1))
(check-sat)

Z3 reports unsat, while CVC4 reports sat.
If I feed this model to Z3:

(define-fun a () Real 0.0)

Z3 reports sat

OS: Ubuntu 18.04
Revision: d95b549

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions