Question about a method to change AST in z3py #6474
Unanswered
hagozaebii
asked this question in
Q&A
Replies: 1 comment
-
expressions are immutable objects in z3. You have to build new expressions if you want to have a variant. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am a novice in z3py. Recently, I've tried to change a part of AST into another AST.
For example, if we have a formula 1 == 2, I wanna change 1 into 3. I tried some codes as below.
After I checked z3py implementation, I noticed why my code won't work. Is there any method to change AST?
Thanks for your time!
Beta Was this translation helpful? Give feedback.
All reactions