| j < 0, gcd(abs(i), abs(j)) = abs(i) * i0 + abs(j) * j0, abs(j) ≤ abs(i) ⊦ i < 0, ∃ i0, j0. gcd(abs(i), abs(j)) = i * i0 + j * j0 |
Used simplifier rules: gcd-neg: ⊦ gcd(~ i, j) = gcd(i, j);%gcd-com: ⊦ gcd(i, j) = gcd(j, i);%Abs-pos: ⊦ ¬ j < 0 → abs(j) = j; from specification int-abs%abs-08: ⊦ i < 0 → abs(i) = ~ i; from specification int-abs%minus-left: ⊦ ~ i * j = ~(i * j); from specification int-mult%associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult%commutativity: ⊦ i * j = j * i; from specification int-mult%neg-15: ⊦ i + ~ j = i - j; from specification int-abs%add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2%add-c: ⊦ i + j = j + i; from specification int-basic2%sub-eq: ⊦ i - j = i0 ↔ i = i0 + j; from specification int-abs Used terms: i0, ~ j0