| j < 0 ⊦ (j * 2 - 1) / 2 = j |
j < 0 ⊦ (j * 2 - 1) / 2 = ~((~ j * 2 + 1) / 2), (j * 2 - 1) / 2 = j
Used simplifier rules: div2-odd-01: ⊦ i < 0 → (1 - i * 2) / 2 = ~ 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-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%neg-02: ⊦ ~ ~ i = i; from specification int-abs Used formulas: (j * 2 - 1) / 2 = ~((~ j * 2 + 1) / 2)