(Sub)optimal way to get a legit range info when using a SMT constraint with Z3
问题 This question is related to my previous question Is it possible to get a legit range info when using a SMT constraint with Z3 So it seems that "efficiently" finding the maximum range info is not proper, given typical 32-bit vectors and so on. But on the other hand, I am thinking whether it is feasible to find certain "sub-maximum" range info, which hopefully becomes more efficient. Another thing is that we may want to have certain "safe" guarantee, say for all elements in the sub-maximum