| j < 0, i < 0 ⊦ i0 = i / j ∧ j0 = i % j ↔ i = i0 * j + j0 ∧ j0 ≤ 0 ∧ j < j0 |
⊦ 0 < j ∧ 0 < i → (i0 = i / j ∧ j0 = i % j ↔ i = i0 * j + j0 ∧ 0 ≤ j0 ∧ j0 < j)
Used simplifier rules: neg-01: j ≠ 0 ⊦ ~ i / j = ~(i / j);%neg: j ≠ 0 ⊦ i / ~ j = ~(i / j);%mod-neg-01: j ≠ 0 ⊦ ~ i % j = ~(i % j);%mod-neg: j ≠ 0 ⊦ i % ~ j = i % j;%neg: ⊦ 0 < ~ i ↔ i < 0; from specification int-abs%zero-gels-01: ⊦ i < 0 ∧ 0 ≤ j → i < j; from specification int-abs%neg-10: ⊦ ~ i = 0 ↔ i = 0; from specification int-abs%negeq: ⊦ ~ i = j ↔ i + j = 0; from specification int-abs%zero-left: ⊦ 0 * i = 0; from specification int-mult%associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult%commutativity: ⊦ i * j = j * i; from specification int-mult%add-zero-rev: ⊦ 0 + i = i; from specification int-basic2%add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2%add-c: ⊦ i + j = j + i; from specification int-basic2%lenls: ⊦ i ≤ j → ¬ j < i; from specification int-abs%lels-03: ⊦ i < j → (¬ ¬ j ≤ i ↔ false); from specification int-abs%neg-02: ⊦ ~ ~ i = i; from specification int-abs%neg-12: ⊦ ~ i = ~ j ↔ i = j; from specification int-abs%minus-left: ⊦ ~ i * j = ~(i * j); from specification int-mult%neg-11: ⊦ ~ i + ~ j = ~(i + j); from specification int-abs%negle-07: ⊦ i ≤ ~ j ↔ i + j ≤ 0; from specification int-abs%neg-01: ⊦ ~ j < ~ i ↔ i < j; from specification int-abs Used terms: ~ j, ~ i, i0, ~ j0