[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 27 from proof sis-neg-low (previous step)

# int2bits(j0) = 17, j0 < 0, j0 < ~32768, i0 * 65536 + j0 < ~32768, ~65536 < j0, i0 * 65536 + j0 < 0, i0 < 0, # int2bits(j0).rest < 16 ⊦ j0 = 0, s2i(i2s(bits2int(lastn(16, int2bits(i0 - 1) + fillsgn(16, int2bits(j0).rest))))) = j0 + 65536

User applied rule insert rewrite lemma

And obtained the following new goals

Rule argument

spec: list-data inst: bitlista name: length-rest seq: ⊦ bits ≠ [] → # bits.rest = (# bits)-1 subst: [bits] → [int2bits(j0)] flags: rewrite

Additional information

Used simplifier rules: int2bits-not-empty: ⊦ int2bits(j) ≠ []; from specification int2bits%commutativity: ⊦ i * j = j * i; from specification int-mult%add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2%add-c: ⊦ i + j = j + i; from specification int-basic2%pred-03: ⊦ n -1 = n - 1; from specification nat%ls-01: n0 ≤ n ⊦ n - n0 < m ↔ n < m + n0; from specification nat%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%lf-02: ⊦ m < n ∧ m = n0 → n0 < n; (forward) from specification nat-basic1%lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic1%ls-02: ⊦ m < n → ¬ n < m; from specification nat-basic1 Used terms: int2bits(j0)