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

Incorrect model #5866

Closed
AnzhelaSukhanova opened this issue Feb 25, 2022 · 0 comments
Closed

Incorrect model #5866

AnzhelaSukhanova opened this issue Feb 25, 2022 · 0 comments

Comments

@AnzhelaSukhanova
Copy link

Hello,
For this instance

(set-logic HORN)

(declare-fun P ( ) Bool)

(assert (forall ((A Int)
         (B Int)
         (C Int)
         (D Int)
         (E Int)
         (F Int)
         (G Int)
         (H Int)
         (I (Array Int Int))
         (J (Array Int Int))
         (K (Array Int Int)))
  (let ((a!1 (and (= (select J H) (select J G))
                  (= (+ A) (select J A))
                  (= G A)
                  (not (<= G (+ H)))
                  (or (<= (select J H) H)))))
    (=> a!1 P))))

(assert (=> P false))

(check-sat)
(get-model)
(exit)

z3 returns

sat
(
  (define-fun P () Bool
    true)
)

This interpretation is incorrect for the last clause.

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

2 participants