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
BoolTactics
x
And(True, x)
When applying BoolTactics to simplify a Bool, the result is not simplified all the way. Specifically, here is my minimal proof of concept:
Bool
>>> import z3 >>> c = z3.Context() >>> x = z3.Bool("x", c) >>> t = z3.Then(z3.Tactic("simplify", ctx=c),z3.Tactic("propagate-ineqs", ctx=c),z3.Tactic("propagate-values", ctx=c),z3.Tactic("unit-subsume-simplify", ctx=c),z3.Tactic("aig", ctx=c),ctx=c) >>> print(t(x).as_expr()) And(True, x)
In older versions of z3, such as 4.10, the final line simply printed x as one would expect; the behavior is different in this version 4.12.1.0.
z3
4.10
4.12.1.0
Environment: Version: 4.12.1.0 A new python virtualenv with pip install z3-solver
pip install z3-solver
The text was updated successfully, but these errors were encountered:
fe348b8
No branches or pull requests
When applying
BoolTactics
to simplify aBool
, the result is not simplified all the way. Specifically, here is my minimal proof of concept:In older versions of
z3
, such as4.10
, the final line simply printedx
as one would expect; the behavior is different in this version4.12.1.0
.Environment:
Version: 4.12.1.0
A new python virtualenv with
pip install z3-solver
The text was updated successfully, but these errors were encountered: