bv static learning and rewrites for power of 2 terms