z3 - How to get all the variables that were added to any constraint in a Solver? -


i using z3py , trying set of variables in constraint in solver. can call solver.assertions() astvector, loop on vector , objects of type boolref, example, i'm stuck. how can recursively iterate on assertion, boolref instance example, individual variables?

thanks taylor answer. think second link addresses question. in more detail, python script leo added in previous answer walks ast, astmap ensures shared sub-expressions walked once.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -