| i0 < 0, 0 < j, 0 ≤ i ⊦ (i % j * i0) % j = (i * i0) % j |
(i % j * i0) % j = ~(i % j * ~ i0) % j, 0 < j, i0 < 0, 0 ≤ i ⊦ (i % j * i0) % j = (i * i0) % j
Used simplifier rules: ⊦ ~ i * j = ~(i * j); (s)%associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult%commutativity: ⊦ i * j = j * i; from specification int-mult% ⊦ ~ ~ i = i; (s) Used formulas: (i % j * i0) % j = ~(i % j * ~ i0) % j