[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 153 from proof fix-bits2bytes-01 (previous step)

# bits = n0 * 8, n0 + 1 < n, n0 < n ⊦ bits = [], mklist(i2b(0), n - n0) = bits2bytes(firstn(8, mklist(false, (n - n0) * 8))) + bits2bytes(restn(8, mklist(false, (n - n0) * 8))), n = n0, bits.first

User applied rule insert rewrite lemma

And obtained the following new goals

Rule argument

seq: ⊦ m ≤ n → firstn(m, mklist(boolvar, n)) = mklist(boolvar, m) subst: [n, boolvar, m] → [(n - n0) * 8, false, 8] rotate: F spec: list-del inst: bitlista name: first-mklist

Additional information

Used simplifier rules: ⊦ ¬ m ≤ n ↔ n < m;% ⊦ m0 * m < m ↔ m0 = 0 ∧ m ≠ 0;% ⊦ n < m → m - n ≠ 0;% ⊦ m0 * m * n = (m0 * m) * n;% ⊦ m * n = n * m; Used terms: (n - n0) * 8, false, 8