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

Solving result changes from sat to unsat when eager inlining is disabled #6617

Closed
AnzhelaSukhanova opened this issue Mar 2, 2023 · 0 comments

Comments

@AnzhelaSukhanova
Copy link

Hi!
Z3 returns sat on the following instance but result is unsat with (set-option :fp.xform.inline_eager false) .

(set-logic HORN)

(declare-fun |P1| ( Int Int Int Int ) Bool)
(declare-fun |P2| ( Int Int Int Int ) Bool)
(declare-fun |P3| ( Int Int Int Int ) Bool)

(assert (forall ((A Int) (B Int) (C Int) (D Int))
  (or (not (P1 A B C D)) (P3 A B C D))))

(assert (forall ((A Int) (B Int) (C Int) (D Int))
  (or (not (P2 A B C D)) (P3 A B C D))))

(assert (forall ((A Int) (B Int) (C Int)) (P1 A B C (- 2))))

(assert (forall ((A Int) (B Int) (C Int) (D Int) (E Int)
         (F Int) (G Int) (H Int) (I Int) (J Int) (K Int))
  (or (not (P1 H I J K)) (not (P1 D E F G)) (P2 C B A (+ G K)))))

(assert (not (P3 0 2 3 1)))

(check-sat)
(exit)
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