| b2i(bytes0.first) = ~1, bytes0.rest = [], 0 ≤ b2i(by), ∀ bytes1. # bytes1 < #(bytes0 + by ') → b2i(bytes1.first) = ~1 ∧ 0 ≤ b2i(bytes1.rest.first) → bits2bytes(sgn(bytes2bits(bytes1))) = bytes1 ∨ # bytes1 = 1 ∨ bytes1 = [] ⊦ bytes0 = [], bits2bytes(sgn(bytes2bits(bytes0) + byte2bits(by))) = bytes0 + by ', true ∈ bytes2bits(bytes0) ∧ false ∈ bytes2bits(bytes0) |
bytes0 = by0 + bytes, b2i(by0) = ~1, bytes = [], 0 ≤ b2i(by), ∀ bytes1. # bytes1 < #(bytes0 + by ') → b2i(bytes1.first) = ~1 ∧ 0 ≤ b2i(bytes1.rest.first) → bits2bytes(sgn(bytes2bits(bytes1))) = bytes1 ∨ # bytes1 = 1 ∨ bytes1 = [] ⊦ bytes0 = [], bits2bytes(sgn(bytes2bits(bytes0) + byte2bits(by))) = bytes0 + by ', true ∈ bytes2bits(bytes0) ∧ false ∈ bytes2bits(bytes0)
Used simplifier rules: bytes ≠ [] ⊦ by = bytes.first ∧ bytes0 = bytes.rest ↔ bytes = by + bytes0; (elim) Used terms: bytes0, by0, bytes