| ⊦ 0 < i ∧ 0 ≤ j ∧ i ≤ j → (i + ~ j) % i = ~(j % i) |
⊦ 0 < i ∧ j < 0 ∧ i ≤ abs(j) → (i + j) % i = j % i
Used simplifier rules: mod-neg-01: j ≠ 0 ⊦ ~ i % j = ~(i % j);%zero-gels-04: ⊦ i ≤ 0 ∧ 0 ≤ j → i ≤ j; from specification int-abs%neg-12: ⊦ ~ i = ~ j ↔ i = j; from specification int-abs%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%negeq: ⊦ ~ i = j ↔ i + j = 0; from specification int-abs%neg-05: ⊦ ~ i < 0 ↔ 0 < i; from specification int-abs%abs-neg: ⊦ abs(~ i) = abs(i); from specification int-abs%abs-16: ⊦ 0 < j → abs(j) = j; from specification int-abs%lels: ⊦ ¬ i < j ↔ j ≤ i; from specification int-abs%anti: ⊦ i ≤ j → (j ≤ i ↔ i = j); from specification int-abs%forward-le: ⊦ i ≤ j ∧ 0 < i → 0 < j; (forward) from specification int-abs%forward-le-01: ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j; (forward) from specification int-abs%forward-le-05: ⊦ i < j ∧ 0 ≤ i → 0 < j; (forward) from specification int-abs%sub-zero-01: ⊦ i - 0 = i; from specification int-abs Used terms: ~ j, i