| bytes2bits(bytes).first, bits2int(bytes2bits(bytes0)) < 0 ⊦ bytes = [], bytes0 = [], bytes2bits(bytes) + bytes2bits(bytes0) = [], bitsinvert(bytes2bits(bytes)) + bitsinvert(bytes2bits(bytes0)) = [], (bits2int(bytes2bits(bytes0)) + 1) % 2 ^ (8 * n→i(# bytes0)) = bits2int(bytes2bits(bytes0)) + 1 |
⊦ abs(i) < j → i % j = i
Used simplifier rules: bytes2bits-nls: bytes ≠ [] ⊦ ¬ 2 ^ (8 * n→i(# bytes)) + bits2int(bytes2bits(bytes)) < 0;% ⊦ i < 0 → abs(i + 1) = abs(i) - 1;% ⊦ i < 0 → abs(i) = ~ i;% ⊦ ~ i - j = ~(i + j);% ⊦ i + j + i0 = (i + j) + i0;% ⊦ i + j = j + i;% ⊦ ~ i < j ↔ 0 < j + i;% ⊦ (* j) < i0 + (* j0) ↔ j - j0 < i0;% ⊦ ~1 < i ↔ 0 ≤ i;% ⊦ ¬ i ≤ j ↔ j < i;% ⊦ i * j * j0 = (i * j) * j0;% ⊦ i * j = j * i; Used terms: 2 ^ (8 * n→i(# bytes0)), bits2int(bytes2bits(bytes0)) + 1