Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong model #2556

Closed
wintered opened this issue Sep 13, 2019 · 0 comments
Closed

Wrong model #2556

wintered opened this issue Sep 13, 2019 · 0 comments

Comments

@wintered
Copy link

Hi,

for this formula, we fed the model to formula and got unsat. Double-checking with CVC4 yields
unsat.

(declare-fun a () Real)
(declare-fun b () Real)
(declare-fun c () Real)
(declare-fun d () Real)
(declare-fun f () Real)
(declare-fun e () Real)
(declare-fun g () Real)
(declare-fun j () Real)
(declare-fun k () Real)
(declare-fun h () Real)
(declare-fun m () Real)
(declare-fun i () Real)
(assert
  (not
    (exists
      ((l Real))
      (=>
        (and
          (=> (<= 0 l) (< l g (* e l) 0))
          (>= (/ c m) 0)
        )
        (<=
          (- f k)
          (*
            (/ 1 2)
            (+
              (* (* 2 (/ c m)) j)
              (* 2 (- f k))
            )
          )
        )
      )
    )
  )
)
(assert (= h (/ a e) (* b h)))
(assert (= h (/ b g) (/ c m)))
(assert (= j (/ d i)))
(assert (= i (/ d j)))
(check-sat)

Model:

  (define-fun j () Real
    (- 1.0))
  (define-fun d () Real
    (- (/ 1.0 2.0)))
  (define-fun i () Real
    (/ 1.0 2.0))
  (define-fun c () Real
    (- 1.0))
  (define-fun m () Real
    0.0)
  (define-fun b () Real
    1.0)
  (define-fun g () Real
    1.0)
  (define-fun a () Real
    (- (/ 1.0 8.0)))
  (define-fun e () Real
    (- (/ 1.0 8.0)))
  (define-fun h () Real
    1.0)
  (define-fun f () Real
    0.0)
  (define-fun k () Real
    0.0)

OS: Ubuntu 18.05
Revision: 0c972b8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant