| i0 = i / j ∧ j0 = i % j ↔ i = j0 + i0 * j ∧ j0 ≤ 0 ∧ 0 < j + j0, i < j, i < 0, 0 < j, i + 1 < j ⊦ i0 = i / j ∧ j0 = i % j ↔ i = i0 * j + j0 ∧ j0 ≤ 0 ∧ abs(j0) < j |
Used simplifier rules: divmod-rew: j ≠ 0 ⊦ i / j * j + i % j = i;%add-c: ⊦ i + j = j + i; from specification int-basic2%zero-gels-04: ⊦ i ≤ 0 ∧ 0 ≤ j → i ≤ j; from specification int-abs%lels: ⊦ ¬ i < j ↔ j ≤ i; from specification int-abs%forward-lels: ⊦ 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%lf-01: ⊦ i < j ∧ j < i0 → i +1 < i0; (forward) from specification int-basic1%trans: ⊦ i < j ∧ j < j0 → i < j0; (forward) from specification int-basic1%forward-le-02: ⊦ j < i ∧ i ≤ 0 → j < 0; (forward) from specification int-abs%ls: ⊦ i + j < j ↔ i < 0; from specification int-basic2%add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2%succ-01: ⊦ i +1 = i + 1; from specification int-basic2%lst-03: ⊦ i + j < i0 ∧ ¬ j < j0 → i + j0 < i0; from specification int-basic2%zero-gels-03: ⊦ i < 0 ∧ 0 ≤ j → i ≤ j; from specification int-abs%abs-08: ⊦ i < 0 → abs(i) = ~ i; from specification int-abs%neg-13: ⊦ ~ i < j ↔ 0 < j + i; from specification int-abs%lenls: ⊦ i ≤ j → ¬ j < i; from specification int-abs%add-zero-rev: ⊦ 0 + i = i; from specification int-basic2%associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult%commutativity: ⊦ i * j = j * i; from specification int-mult%absls: ⊦ ¬ abs(i) < 0; from specification int-abs%forward-le: ⊦ 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%forward-lsle: ⊦ i < j ∧ j ≤ j0 → i < j0; (forward) from specification int-abs%abs-06: ⊦ 0 < abs(i) ↔ i ≠ 0; from specification int-abs%add-less: ⊦ 0 < i → i1 < i1 + i; from specification int-basic2%lels-02: ⊦ i ≠ j → (i ≤ j ↔ i < j); from specification int-abs%neg-07: ⊦ i < ~ j ↔ i + j < 0; from specification int-abs%numls-03: ⊦ i + (* j) < (* j0) ↔ i < j0 - j; from specification int-abs%zero-01: ⊦ i < 0 ∧ j < 0 → i + j < 0; from specification int-basic2%negle-07: ⊦ i ≤ ~ j ↔ i + j ≤ 0; from specification int-abs%lels-03: ⊦ i < j → (¬ ¬ j ≤ i ↔ false); from specification int-abs