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

Issues related to options in smt module #7344

Closed
r0ayane opened this issue Aug 14, 2024 · 0 comments
Closed

Issues related to options in smt module #7344

r0ayane opened this issue Aug 14, 2024 · 0 comments

Comments

@r0ayane
Copy link

r0ayane commented Aug 14, 2024

Hi, z3 gives unsat for the following instance.

$ cat test.smt
(set-option :smt.phase_selection 1)
(set-option :smt.arith.propagate_eqs false)
(set-option :smt.arith.eager_eq_axioms false)
(declare-fun i1 () Int)
(declare-fun str1 () String)
(assert (<= 32 (str.len str1)))
(minimize i1)
(check-sat)
$ z3 test.smt
unsat

However, z3 gives sat for the same instance without options.

$ cat no-options.smt
(declare-fun i1 () Int)
(declare-fun str1 () String)
(assert (<= 32 (str.len str1)))
(minimize i1)
(check-sat)
$ z3 no-options.smt
sat

Version: z3 4.13.0 3049f57

NikolajBjorner added a commit that referenced this issue Aug 26, 2024
This issue was closed.
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