Performance question: Does introducing integer variables for subexpressions affect performance? #6702
-
Say I have a single arithmetic constraint |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Generally, z3 aims to reduce number of auxiliary Booleans by rewriting during pre-processing. |
Beta Was this translation helpful? Give feedback.
-
How does this work if the equalities are asserted in some implication?
The docs say that |
Beta Was this translation helpful? Give feedback.
-
you will have to set context_solve=true to eliminate variables based on nested equalities. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the answer. |
Beta Was this translation helpful? Give feedback.
you will have to set context_solve=true to eliminate variables based on nested equalities.
Otherwise, such variables aren't going to be eliminated, or equalities are unlikely to be reorganized during pre-processing.