[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 4 from proof gcd-rec (previous step)
| ⊦ gcd(abs(i), abs(j)) = gcd(abs(j), abs(i) % abs(j)), j = 0 |
User applied rule insert elim lemma
And obtained the following new goals
- Proof step 5:
abs(i) = i0 * abs(j) + j0 ∧ 0 ≤ j0 ∧ j0 < abs(j) ∧ 0 ≤ i0 ∧ 0 < abs(j) ∧ 0 ≤ abs(i) ⊦ gcd(abs(i), abs(j)) = gcd(abs(j), j0), j = 0
Rule argument
spec: int-div
inst:
name: div-elim-pospos
seq: ⊦ 0 < j ∧ 0 ≤ i
→ ( i0 = i / j ∧ j0 = i % j
↔ i = i0 * j + j0 ∧ 0 ≤ j0 ∧ j0 < j ∧ 0 ≤ i0)
subst: [i, j, i0, j0] → [abs(i), abs(j), i0, j0]
flags: Additional information
Used simplifier rules:
abs-06: ⊦ 0 < abs(i) ↔ i ≠ 0; from specification int-abs%abs-03: ⊦ 0 ≤ abs(i); from specification int-abs%⊦ 0 < j ∧ 0 ≤ i
→ ( i0 = i / j ∧ j0 = i % j
↔ i = i0 * j + j0 ∧ 0 ≤ j0 ∧ j0 < j ∧ 0 ≤ i0); (elim)
Used terms: abs(i), abs(j), i0, j0