| ⊦ i % ~ j = i % j, j = 0 |
j ≠ 0 ⊦ i % j = i - i / j * j
Used simplifier rules: Div-right: ⊦ j ≠ 0 → i / ~ j = ~(i / j);%divmod-rew: j ≠ 0 ⊦ i / j * j + i % j = i;%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-02: ⊦ ~ ~ i = i; from specification int-abs%sub-eq: ⊦ i - j = i0 ↔ i = i0 + 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%neg-10: ⊦ ~ i = 0 ↔ i = 0; from specification int-abs Used terms: ~ j, i