| i2 + i = i3 + 1, i2 ≤ abs(i3 - i), 0 ≤ i2, ∀ j0, i1, i0. i→n(j0 - i1) < i→n(i2) → true → (i0 ∈ count-i2j(i1, j0) ↔ i1 ≤ i0 ∧ i0 ≤ j0) ⊦ i0 ∈ count-i2j(i, i3) ∨ i0 = i3 + 1 ↔ i ≤ i0 ∧ i0 ≤ i3 + 1 |
Used simplifier rules: count-empty: ⊦ count-i2j(j, j - 1) = [];%add-in: ⊦ i + j = i + i0 ↔ j = i0; from specification int-basic2%add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2%add-c: ⊦ i + j = j + i; from specification int-basic2%forward-lele: ⊦ j ≤ j0 ∧ j0 ≤ j1 → j ≤ j1; (forward) from specification int-abs%abs-03: ⊦ 0 ≤ abs(i); from specification int-abs%numle-02: ⊦ (* j) ≤ i0 + (* j0) ↔ j - j0 ≤ i0; from specification int-abs%succ-01: ⊦ i + 1 ≤ j ↔ i < j; from specification int-abs%absls-06: ⊦ i < abs(i) ↔ i < 0; from specification int-abs%mone-08: ⊦ i < 0 → (~1 ≤ i ↔ i = ~1); from specification int-abs%lel: ⊦ i < i0 ∧ i = i1 → i1 < i0; (forward) from specification oelem[intlista]%forward-le-02: ⊦ j < i ∧ i ≤ 0 → j < 0; (forward) from specification int-abs%minus-add: i < 0 ⊦ (* i) + j = j - ~ i; from specification int-abs%in-empty: ⊦ ¬ i ∈ []; from specification list[intlista]%add-zero: ⊦ i + 0 = i; from specification int-basic2%ler: ⊦ i ≤ i; from specification int-abs%anti: ⊦ i ≤ j → (j ≤ i ↔ i = j); from specification int-abs% ⊦ i0 = i - j ↔ i = i0 + j; (elim) Used terms: i3, i, i4