| ⊦ 0 < j ∧ i < 0 → (i0 = i / j ∧ j0 = i % j ↔ i = i0 * j + j0 ∧ j0 ≤ 0 ∧ abs(j0) < j ∧ i0 ≤ 0) |
i % j < 0, i + i % j < ~1, i < j, i < 0, 0 < j, i + 1 < j, j + i % j ≤ 0, i % j + 1 < j ⊦ i % j = 0
Used simplifier rules: divmod-rew: j ≠ 0 ⊦ i / j * j + i % j = i;%div-lezero: ⊦ 0 < j → (i / j ≤ 0 ↔ i < j);%div-mult-neg: ⊦ 0 < j ∧ i ≤ 0 ∧ i0 ≤ 0 ∧ abs(i0) < j → (j * i + i0) / j = i;%mod-mult-neg: ⊦ 0 < j ∧ i ≤ 0 ∧ i0 ≤ 0 ∧ abs(i0) < j → (j * i + i0) % j = i0;%mod-grz: ⊦ 0 < j ∧ i < 0 → ¬ 0 < i % j;%mod-less-01: ⊦ 0 < j → i % j < j;%zero-gels-01: ⊦ i < 0 ∧ 0 ≤ j → i < j; from specification int-abs%ls: ⊦ i + j < j ↔ i < 0; from specification int-basic2%numlsf: ⊦ i < (* j) ∧ j < 0 → i < 0; (forward) from specification int-basic1%negle-07: ⊦ i ≤ ~ j ↔ i + j ≤ 0; from specification int-abs%zero-01: ⊦ i < 0 ∧ j < 0 → i + j < 0; from specification int-basic2%numls-03: ⊦ i + (* j) < (* j0) ↔ i < j0 - j; from specification int-abs%neg-07: ⊦ i < ~ j ↔ i + j < 0; from specification int-abs%abs-08: ⊦ i < 0 → abs(i) = ~ i; from specification int-abs%lels-02: ⊦ i ≠ j → (i ≤ j ↔ i < j); from specification int-abs%abs-06: ⊦ 0 < abs(i) ↔ i ≠ 0; from specification int-abs%forward-lsle: ⊦ i < j ∧ j ≤ j0 → i < j0; (forward) from specification int-abs%forward-le-04: ⊦ j ≤ i ∧ i ≤ 0 → j ≤ 0; (forward) from specification int-abs%forward-lels: ⊦ i ≤ j ∧ j < j0 → i < j0; (forward) from specification int-abs%forward-le: ⊦ i ≤ j ∧ 0 < i → 0 < j; (forward) from specification int-abs%lels: ⊦ ¬ i < j ↔ j ≤ i; from specification int-abs%lels-01: ⊦ ¬ i ≤ j ↔ j < i; from specification int-abs%succ-01: ⊦ i +1 = i + 1; from specification int-basic2%forward-le-05: ⊦ i < j ∧ 0 ≤ i → 0 < j; (forward) from specification int-abs%forward-le-02: ⊦ j < i ∧ i ≤ 0 → j < 0; (forward) from specification int-abs%trans: ⊦ i < j ∧ j < j0 → i < j0; (forward) from specification int-basic1%lf-01: ⊦ i < j ∧ j < i0 → i +1 < i0; (forward) from specification int-basic1%add-c: ⊦ i + j = j + i; from specification int-basic2%add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2%commutativity: ⊦ i * j = j * i; from specification int-mult%associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult%absls: ⊦ ¬ abs(i) < 0; from specification int-abs