We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running the following formula
(declare-fun local_parts () Bool) (declare-fun nbparts () Int) (declare-fun objective () Int) (assert (and (< 1 nbparts) (= objective (+ (* (- nbparts) nbparts) nbparts (ite local_parts 9 0))))) (maximize objective) (check-sat)
on the command line via command
z3 -smt2 /tmp/file_with_above_formula -model
the returned solution is
sat ( (define-fun local_parts () Bool false) (define-fun nbparts () Int 2) (define-fun objective () Int (- 2)) )
local_parts() should be true.
local_parts()
Z3 commit: 3c16edc
This is a distillation of https://gitlab.com/krr/IDP-Z3/-/issues/153
The text was updated successfully, but these errors were encountered:
b6f7dea
Thanks!
Sorry, something went wrong.
No branches or pull requests
Running the following formula
on the command line via command
the returned solution is
local_parts()
should be true.Z3 commit: 3c16edc
This is a distillation of https://gitlab.com/krr/IDP-Z3/-/issues/153
The text was updated successfully, but these errors were encountered: