| 0 ≤ i % j ⊦ i % j = abs(i) % j, j = 0 |
⊦ ¬ j < 0 → abs(j) = j
Used simplifier rules: mod-neg-01: j ≠ 0 ⊦ ~ i % j = ~(i % j);%mod-grz-01: ⊦ i < 0 ∧ j ≠ 0 → ¬ 0 < i % j;%abs-08: ⊦ i < 0 → abs(i) = ~ i; from specification int-abs%negeq: ⊦ ~ i = j ↔ i + j = 0; from specification int-abs%add-mult-two: ⊦ i + i = 2 * 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%zero-neq-01: ⊦ 0 < i → (i * j = 0 ↔ j = 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%lels-02: ⊦ i ≠ j → (i ≤ j ↔ i < j); from specification int-abs Used terms: i