[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 39 from proof bits2bytes-fill (previous step)

((8 - # bits % 8) + # bits) % 8 = 0, 8 < (8 - # bits % 8) + # bits, 8 < # bits ⊦ i2b(bits2int(firstn(# bits % 8, bits))) ' = bits2bytes(firstn(8, mklist(bits.first, 8 - # bits % 8) + bits)), bits = [], 8 + # bits = # bits % 8, # bits % 8 = 0

User applied rule insert rewrite lemma

And obtained the following new goals

Rule argument

name: bits2bytes-base rotate: F subst: [bits] → [firstn(8, mklist(bits.first, 8 - # bits % 8) + bits)]

Additional information

Used simplifier rules: ⊦ # firstn(n, bits) = n; Used terms: firstn(8, mklist(bits.first, 8 - # bits % 8) + bits)