bits.first ⊦ bits = [], bits2uint(bits) = bits2int(bits) + 2 ^ n→i(# bits)
Used simplifier rules: ⊦ i - j = i0 ↔ i = i0 + j;