def ult(x, y): return simplify(If(ULT(bv(x), bv(y)), 1, 0)).as_long()
def bvredor(x): return simplify(BVRedOr(bv(x))).as_long()
def bitshift(x, y): return simplify(LShR(x, bv(y))).as_long()