| prime(i), 1 < i, 0 < i ⊦ i = 2 + abs(i - 2) |
⊦ ¬ j < 0 → abs(j) = j
Used simplifier rules: Sub-def: ⊦ 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%abs-08: ⊦ i < 0 → abs(i) = ~ i; from specification int-abs%minus-sub: ⊦ ~(i - j) = j - i; from specification int-abs%sub-add-01: ⊦ i + (j - i0) = i + j - i0; from specification int-abs%sub-eq: ⊦ i - j = i0 ↔ i = i0 + j; from specification int-abs%add-mult-two: ⊦ i + i = 2 * i; from specification int-mult%sub-ls: ⊦ i - j < i0 ↔ i < j + i0; from specification int-abs%two-ls: ⊦ 0 < j → (j < 2 ↔ j = 1); from specification int-basic1%one-01: ⊦ i = 1 → i * j = 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%lel: ⊦ i < i0 ∧ i = i1 → i1 < i0; (forward) from specification oelem[intlista] Used terms: i - 2