I have a number of constraints asserting for bits in BitVec and I wonder what is the most efficient way of asserting constraints for a specific bit in a BitVec?
Assume I want to assert that the 5th bit in a BitVec is 1, is there any way that is more efficient (lower check time) than this?
bitvec = BitVec('bitvec',10)
s.add(Extract(5,5,bitvec)==1)