[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 12 from proof mod2-2pot-01 (previous step)
| 0 ≤ i, 0 ≤ i0, 0 < 2 ^ i ⊦ (i0 % 2 ^ i * 2 + 1) / 2 = i0 % 2 ^ i |
Heuristic elimination applied rule insert elim lemma
And closed the goal!
Rule argument
spec: int-div
inst:
name: div-elim-pos
seq: ⊦ 0 < j ∧ 0 ≤ i
→ ( i0 = i / j ∧ j0 = i % j
↔ i = i0 * j + j0 ∧ 0 ≤ j0 ∧ j0 < j)
subst: [i, j, i0, j0] → [i0, 2 ^ i, i1, j]
flags: Additional information
Used simplifier rules:
div-two: ⊦ 0 ≤ i → (2 * i + 1) / 2 = i; from specification int-div%associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult%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%⊦ 0 < j ∧ 0 ≤ i
→ (i0 = i / j ∧ j0 = i % j ↔ i = i0 * j + j0 ∧ 0 ≤ j0 ∧ j0 < j); (elim)
Used terms: i0, 2 ^ i, i1, j